Problems With proc statament at snmpd.conf

Saulo Augusto Silva sauloaugustosilva at gmail.com
Fri May 16 15:16:53 CEST 2008


Hi ,

Did anyone here face the problem to have the proc configured and did not
received any change using nagios check_plugin ? Ifact any change in
configured proc process is changed .

Here my snmpd.conf 

syslocation Server Room 
 syscontact Sysadmin (root at localhost) 
 rocommunity public 127.0.0.1 
 rocommunity  mycommunit  

# OID = .1.3.6.1.4.1.2021.9.1.7.1 
 disk /  10000 
  # OID = .1.3.6.1.4.1.2021.9.1.7.2 
 disk /var 10000 
 # OID = .1.3.6.1.4.1.2021.9.1.7.3 
 disk /usr 10000 
 # OID = .1.3.6.1.4.1.2021.9.1.7.4 
 disk /tmp 10000 
 # OID = .1.3.6.1.4.1.2021.9.1.7.5 
 disk /home 10000 
 # OID = .1.3.6.1.4.1.2021.9.1.7.6 
 disk /opt 10000 
 # OID = .1.3.6.1.4.1.2021.9.1.7.7 
 disk /db/db2data 10000
 # OID = .1.3.6.1.4.1.2021.9.1.7.8 
 disk /dn/db2backup 10000
 # OID = .1.3.6.1.4.1.2021.9.1.7.9 
 disk /db/actlog 10000
 # OID = .1.3.6.1.4.1.2021.9.1.7.10 
 disk /db/tmp 10000
 proc db2sysc
 proc snmpd

the snmpwalk : 
snmpwalk -v 2c -c public 127.0.0.1 .1.3.6.1.4.1.2021.2.1
UCD-SNMP-MIB::prIndex.1 = INTEGER: 1
UCD-SNMP-MIB::prIndex.2 = INTEGER: 2
UCD-SNMP-MIB::prNames.1 = STRING: db2sysc
UCD-SNMP-MIB::prNames.2 = STRING: snmpd
UCD-SNMP-MIB::prMin.1 = INTEGER: 0
UCD-SNMP-MIB::prMin.2 = INTEGER: 0
UCD-SNMP-MIB::prMax.1 = INTEGER: 0
UCD-SNMP-MIB::prMax.2 = INTEGER: 0
UCD-SNMP-MIB::prCount.1 = INTEGER: 0
UCD-SNMP-MIB::prCount.2 = INTEGER: 0
UCD-SNMP-MIB::prErrorFlag.1 = INTEGER: 1
UCD-SNMP-MIB::prErrorFlag.2 = INTEGER: 1
UCD-SNMP-MIB::prErrMessage.1 = STRING: No db2sysc process running.
UCD-SNMP-MIB::prErrMessage.2 = STRING: No snmpd process running.
UCD-SNMP-MIB::prErrFix.1 = INTEGER: 0
UCD-SNMP-MIB::prErrFix.2 = INTEGER: 0
UCD-SNMP-MIB::prErrFixCmd.1 = STRING: 
UCD-SNMP-MIB::prErrFixCmd.2 = STRING:

The ps -e 

ps -e |grep db2sysc 
 9812 pts/0    00:00:00 db2syscr
 9814 pts/0    00:00:00 db2sysc
 9815 pts/0    00:00:00 db2syscr
 9816 pts/0    00:00:00 db2syscr
 9817 pts/0    00:00:00 db2syscr

So the process is running but SNMP do not send the correct value to
Nagios and  never get alert . 

Any help will be appreciated .

Saulo Silva  


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list