We are trying to monitor Cisco Nexus Switches using SNMP V3 protocol using wizards with authNoPriv security.
while we are adding the device Wizard successfully list & add the ports, but after apply config there is error
"UNKNOWN - No info is being retrieved."
after doing bit R&D i noticed that while adding wizard add -x ' ' -X ' ' flag to the command with blank value even though security level is authNoPriv,
Code: Select all
[root@s1-mgmt-nxi-002 tmp]# /usr/local/nagios/libexec/check_ifoperstatnag 436230656 -v3 -u 'nagios-admin' -A 'ZAQ123edc' -x '' -X '' -a 'SHA' -l 'authNoPriv' 10.128.255.13
Invalid privacy protocol specified after -x flag: -X
USAGE: snmpget [OPTIONS] AGENT OID [OID]...
Code: Select all
[root@s1-mgmt-nxi-002 tmp]# /usr/local/nagios/libexec/check_ifoperstatnag 436230656 -v3 -u 'nagios-admin' -A 'ZAQ123edc' -a 'SHA' -l 'authNoPriv' 10.128.255.13
OK - Interface Ethernet1/46 (index 436230656) is up.
We have to monitor Around 110 such devices, for which we can't edit each & every services manually for every interface, kindly help with workaround or bug fix for this.