snmp process check , error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
pkrk
Posts: 27
Joined: Tue Sep 05, 2017 8:12 am

snmp process check , error

Post by pkrk »

when i run this command
./check_snmp_process.pl -H testserver -l SNMPtst -x W3gwN -L SHA -n http -w 3,8 -c 0,15

i got this error
ERROR: Process name table : The requested table is empty or does not exist.

for the other checks the scritps are working proper
for example check_snmp_storage.pl and check_snmp , i got the results that i want , but for the check_snmp_process.pl it doesn't work

i 'm using centos 7 , and nagiosxi
kyang

Re: snmp process check , error

Post by kyang »

Are you able to do a snmpwalk using v3 with that user on that host?

Does it work with v2c?

Code: Select all

./check_snmp_process.pl -H <host> -v2c -C <communitystring> -n http -w 3,8 -c 0,15
Could you post your snmpd.conf from /etc/snmp/.

Also, what version of NET-SNMP are you running?

Code: Select all

snmpd --version
pkrk
Posts: 27
Joined: Tue Sep 05, 2017 8:12 am

Re: snmp process check , error

Post by pkrk »

the snmp walk works , all the other snmp checks works as well , just the check process doesn't work

NET-SNMP version: 5.7.2

the snmpd.conf is the defaut of nagiosxi

this command suggest by you doesn't work
./check_snmp_process.pl -H <host> -v2c -C <communitystring> -n http -w 3,8 -c 0,15

i got timeout error with is ok , once i used V3 with user/passw
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: snmp process check , error

Post by dwhitfield »

Can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.

You can also generate a profile manually using the script at /usr/local/nagiosxi/html/includes/components/profile/getprofile.sh

That should generate a profile in /usr/local/nagiosxi/var/components/ which you can get off the server with an application such as FileZilla.

After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.

If you get an error that PROFILE BUILD FAILED, please see https://support.nagios.com/kb/article.p ... ategory=44
Locked