Hi Team,
We are currently testing Nagios to monitor our network equipment. We would like to monitor important interfaces bandwidth, status and cpu utilization for the devices.
I am able to retrieve data regarding the bandwidth but getting following error when trying to track "interface status": UNKNOWN - No info is being retrieved or check_ifoperstatus v2.0.3 (nagios-plugins 2.0.3).
How can this be fixed?
Kind Regards
Lalita
Unable to retrieve info for interface status in Nagios
Re: Unable to retrieve info for interface status in Nagios
Can you provide the service definition please?
Are you able to run the command from the command line?
Are you able to run the command from the command line?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Unable to retrieve info for interface status in Nagios
Hi cdienger,
I appreciate your quick response. I am pretty new to this product and am using GUI.
In GUI, the service definition(.png) and "Run Check Command" output (.pdf) are in the attachments. Please do let me know if there is any further info I can provide.
Kind Regards
Lalita
I appreciate your quick response. I am pretty new to this product and am using GUI.
In GUI, the service definition(.png) and "Run Check Command" output (.pdf) are in the attachments. Please do let me know if there is any further info I can provide.
Kind Regards
Lalita
- Attachments
-
- Run Check Command.pdf
- (194.69 KiB) Downloaded 154 times
Re: Unable to retrieve info for interface status in Nagios
Try it with settings where $ARG1$ = public, $ARG2$ = 2, AND $ARG3$ = -v -p 161.
The command would then look like:
/usr/local/nagios/libexec -H $HOSTADDRESS$ -C public -k 2 -v 2 -p 161
The command would then look like:
/usr/local/nagios/libexec -H $HOSTADDRESS$ -C public -k 2 -v 2 -p 161
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Unable to retrieve info for interface status in Nagios
Thank you,
With the command: usr/local/nagios/libexec -H $HOSTADDRESS$ -C public -k 2 -v 2 -p 161 ; I am getting the following output
[nagios@ns01ngmonp01 ~]$ /usr/local/nagios/libexec/check_ifoperstatus -H 172.20.254.254 -C public -k 2 -v 2 -p 161 WARNING: SNMP error: No response from remote host "172.20.254.254"
Kind Regards
Lalita
With the command: usr/local/nagios/libexec -H $HOSTADDRESS$ -C public -k 2 -v 2 -p 161 ; I am getting the following output
[nagios@ns01ngmonp01 ~]$ /usr/local/nagios/libexec/check_ifoperstatus -H 172.20.254.254 -C public -k 2 -v 2 -p 161 WARNING: SNMP error: No response from remote host "172.20.254.254"
Kind Regards
Lalita
Re: Unable to retrieve info for interface status in Nagios
Is there a public community on the device? Does it accept snmp v2 requests? Do you get different results if you try "-k 0", "-k 1", "-k 3", etc ...?
It would appear the request is getting sent, but no response is coming back which can mean either the network communication is failing(routing, or firewall issue maybe) or the destination doesn't like the request and ignore it for some reason(incorrect settings perhaps).
It would appear the request is getting sent, but no response is coming back which can mean either the network communication is failing(routing, or firewall issue maybe) or the destination doesn't like the request and ignore it for some reason(incorrect settings perhaps).
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.