Unable to retrieve info for interface status in Nagios

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Unable to retrieve info for interface status in Nagios

Postby lalitam » Thu Aug 09, 2018 10:20 pm

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
lalitam
 
Posts: 3
Joined: Tue Jul 17, 2018 12:41 am

Re: Unable to retrieve info for interface status in Nagios

Postby cdienger » Fri Aug 10, 2018 12:55 pm

Can you provide the service definition please?

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.
User avatar
cdienger
Support Tech
 
Posts: 2198
Joined: Tue Feb 07, 2017 11:26 am

Re: Unable to retrieve info for interface status in Nagios

Postby lalitam » Sun Aug 12, 2018 6:47 pm

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
Attachments
Run Check Command.pdf
(194.69 KiB) Downloaded 13 times
Nagios_Service definition.PNG
lalitam
 
Posts: 3
Joined: Tue Jul 17, 2018 12:41 am

Re: Unable to retrieve info for interface status in Nagios

Postby cdienger » Mon Aug 13, 2018 10:39 am

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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
cdienger
Support Tech
 
Posts: 2198
Joined: Tue Feb 07, 2017 11:26 am

Re: Unable to retrieve info for interface status in Nagios

Postby lalitam » Mon Aug 13, 2018 6:56 pm

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
Attachments
Service definition_ New command.PNG
lalitam
 
Posts: 3
Joined: Tue Jul 17, 2018 12:41 am

Re: Unable to retrieve info for interface status in Nagios

Postby cdienger » Tue Aug 14, 2018 2:45 pm

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).
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
cdienger
Support Tech
 
Posts: 2198
Joined: Tue Feb 07, 2017 11:26 am


Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 21 guests