Re: [Nagios-users] snmp questions

2007-06-28 Thread Raphaël 'SurcouF' Bordet
Le mercredi 27 juin 2007 à 18:21 +0200, Ronan REYNAUD a écrit :
 Hi

Hi,

 I’m new to nagios, and I’d like to get some snmp requests.
 
 It’s Ok for some requests (Uptime for example)
 
 But I can’t get  Disk Space. (No Data received from Host)
 
 I tried to used snmpget in a console, and get the same bad result.
 
 May be the Oids are wrong..

You must better use hrStorageTable OIDs.

 Could someone give me a clue ?

Try to use check_snmp_storage plugin wrote by Patrick Proy : 

http://nagios.manubulon.com/snmp_storage.html

-- 
Raphaël 'SurcouF' Bordet



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] snmp questions

2007-06-27 Thread Ronan REYNAUD
Hi

 

I'm new to nagios, and I'd like to get some snmp requests.

It's Ok for some requests (Uptime for example)

But I can't get  Disk Space. (No Data received from Host)

I tried to used snmpget in a console, and get the same bad result.

May be the Oids are wrong..

 

Could someone give me a clue ?

 

Thanks

 

R. Reynaud

 

 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] snmp questions

2007-06-27 Thread Dmitriy Kirhlarov
Ronan REYNAUD wrote:
 Hi
 
  
 
 I’m new to nagios, and I’d like to get some snmp requests.
 
 It’s Ok for some requests (Uptime for example)
 
 But I can’t get  Disk Space. (No Data received from Host)
 
 I tried to used snmpget in a console, and get the same bad result.
 
 May be the Oids are wrong..
 
  
 
 Could someone give me a clue ?

are you have something like:
disk / 1
disk /tmp 1
disk /usr 1
disk /var 1

in your snmpd.conf?

after that you can get data from OIDs starting from
1.3.6.1.4.1.2021.9.1.1.1

It's UCD-SNMP-MIB

WBR.
Dmitriy


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null