Ad Widget

Collapse

Monitoring ACI environment via Zabbix Agent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maxdis
    Junior Member
    • Sep 2019
    • 1

    #1

    Monitoring ACI environment via Zabbix Agent

    Hi,

    We have a Cisco ACI environment with Nexus 9000 switches, and the only way I can access them is via a NUC which has Zabbix Agent installed on it. I can already do a snmpwalk from the NUC to the switches, that works fine.

    My question: How do I get the data from the Zabbix Agent/NUC to my Zabbix Server? Can this be done via an external script?

    In short: How do I monitor a switch through a Zabbix Agent? Or is there another way to do this? Running Zabbix server version 4.0.7.

    Thanks in advance!

    Max
  • 1berto
    Senior Member
    • Sep 2018
    • 182

    #2
    Don't know about this platform, but by your post i'm assuming that the NUC is like a 'hub' for the monitoring information and have a zabbix agent installed on it. You can create UserParameter and write any script to get the values.
    1) On zabbix agent (/etc/zabbix/zabbix_agentd.conf): UserParameter=get_value, /path/to/script.sh
    2) On zabbix server: Create an item with the key get_value
    If you need you can use parameters, like UserParameter=get_value[*}, /path/to/script.sh $1 $2 $3
    being $1, $2, $3 the parameters set on Zabbix Server
    Depending on the number of switches and items you want to get this could be very complex, but could work.
    Please note that this will have just one host (the NUC) on the Zabbix Interface.

    If you have only some items and switches maybe you could use external checks on zabbix server...
    With external checks the zabbix server (or proxy) will execute a command and return the value, this way you could create a host for each switch and try something like:
    /etc/zabbix/external_checks/check_switch
    Create each switch as a host and create an external item with the key: check_switch[ {HOST.HOST} ]
    this will execute the check_switch script passing the hostname as parameter.
    If you use proxy the script is executed (so must exist) in the proxy.

    It's not possible to use SNMP with those switches?

    http://zabbix.com/documentation/curr...ser_parameters
    http://zabbix.com/documentation/curr...types/external


    Comment

    Working...