Title: check_if_by_snmp output

Hi Gritsch,

 

I tried executing the command but it seems the command is not there in the system. I have installed net-snmp on the system. Can you please let me know whether snmpwalk comes along with net-snmp package or I need to install some other package separately to get the snmpwalk?

 

Regards,

Dash

 

 


From: Gritsch Peter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 15, 2006 7:49 PM
To: Mrutyunjaya Dash
Subject: AW: [Nagios-users] check_if_by_snmp output

 

Hi Dash!

 

Looks like a problem with SNMP generally. Did you set up a default community file?

Try

 

snmpwalk -v 2c -c `cat $HOME/.snmp4nagios/community` \

localhost .1.3.6.1.2.1.1

 

Unless this returns some information about localhost, there is likely a problem with either

the snmp agent @ localhost or the way communities are configured in SNMP4Nagios.

 

Run with -v -v -v and check the log (/var/log/messages usually) for the community the plugin

uses.

 

Concerning the "Nagios Plugins" Style output you describe below: Use the command line

switch "-N" to get this (i.e. use something like

 

./check_if_by_snmp -R /opt/rrdtool/ \

-T -L -H localhost -i 2 -I eth0 -N

Hope that helps,

Peter


Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Mrutyunjaya Dash
Gesendet: Mittwoch, 15.
März 2006 14:51
An: [email protected]
Betreff: [Nagios-users] check_if_by_snmp output

Hi List,

I just installed the snmp4nagios with all the required libraries. Now when I am trying to execute the following command, I am getting the output as below. But according to the document, the output should be something in different way. I believe there is something wrong. Can anyone give some idea on this?

./check_if_by_snmp -R /opt/rrdtool/ -T -L -H localhost -i 2 -I eth0

Timeout! Peer = localhost, OID = 1.3.6.1.2.1.2.2.1.7.2

Whereas the output should be in this way as below

OK - eth0: I: 1410937 kO, 12672117 Pkt; O: 1339265 kO, 12722878 Pkt

|’estimated speed’=100000000

’input octets’=1444800491c ’input packets’=12672117c ’input errors’=0c

’output octets’=1371407644c ’output packets’=12722878c ’output errors’=0c

 

Regards,

Mrutyunjaya Dash

IT Engineer

Juniper Networks Pvt Ltd.

Bangalore

Reply via email to