Service Check Using SNMPv3

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
Posts: 6
Joined: Thu Apr 11, 2024 1:16 am

Service Check Using SNMPv3

Post by rj-admin2 »

I've successfully managed to interogate our Sophos XG 230 firewall to get CPU Load information using snmpwalk from the Nagios XI server CLI. However when configured and run, the service within Nagios XI produces the following error:

No valid data returned (No Such Instance currently exists at this OID)

The snmpwalk command used is:
snmpwalk -v3 -l authPriv -u <snmp-user> -a MD5 -A 'MD5Pass' -x DES -X 'DESPass' <IPAddress>
Returning (2 CPU Firewall): HOST-RESOURCES-MIB::hrProcessorLoad.196608 = INTEGER: 19
HOST-RESOURCES-MIB::hrProcessorLoad.196609 = INTEGER: 20

In terms of the Nagios service configuration:
check_xi_service_snmp! -p 161 -o '' -P 3 --seclevel=authPriv --secname=<snmp-user> --authproto=MD5 --authpasswd='MD5Pass' --privpasswd='DESPass' -x des -m SFOS-FIREWALL-MIB -w 80 -c 95

Can someone point me in the right direction in terms of why I'm getting the error within Nagios XI or is there already a plugin I can use that would return the correct data from the firewall?

User avatar
Posts: 127
Joined: Mon Apr 06, 2020 2:49 pm

Re: Service Check Using SNMPv3

Post by lgute »

Hi @rj-admin2, thanks for reaching out.

This is what the SNMP Wizard sets up.

Code: Select all

check_xi_service_snmp! -o '<OID>' -P 3 --seclevel=authPriv --secname='<snmp-user>' --authproto=md5 --authpasswd='<authpass>' --privpasswd='<privpass>' -m <MIB> -w 80 -c 95

Maybe try...

Code: Select all

check_xi_service_snmp! -o '' -P 3 --seclevel=authPriv --secname='<snmp-user>' --authproto=md5 --authpasswd='MD5Pass' --privpasswd='DESPass' -m SFOS-FIREWALL-MIB -w 80 -c 95
Please let us know if you have any other questions or concerns.

Post Reply