Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with check_snmp_process.pl with snmpv3 but not check_snmp_storage.pl #75

Open
stephdant opened this issue Jul 2, 2020 · 3 comments

Comments

@stephdant
Copy link

I have configure snmp v3 on a vcenter, it works for check_snmp_storage.pl but not for check_snmp_process.pl with the same configuration

Work
check_snmp_storage.pl -H @ip -l $USER4$ -x $USER5$ -X $USER5$ -L sha,aes -m /storage/archive -e -w 90 -c 95 -S 0 -q FixedDisk -f
All selected storages (<90%) : OK | '/'=5723.9648MB;9746;10288;0;10829 '/boot'=33.9639MB;108;114;0;120 '/dev'=0.0000MB;7208;7609;0;8009 '/dev/shm'=0.7930MB;7217;7618;0;8019 '/run'=0.6602MB;7217;7618;0;8019 '/storage/autodeploy'=22.4961MB;8949;9446;0;9943 '/storage/core'=1152.6016MB;45235;47748;0;50261 '/storage/db'=278.0000MB;8949;9446;0;9943 '/storage/dblog'=3701.5117MB;13485;14234;0;14983 '/storage/imagebuilder'=22.5000MB;8949;9446;0;9943 '/storage/log'=1864.0938MB;8949;9446;0;9943 '/storage/netdump'=1.2539MB;886;935;0;984 '/storage/seat'=1649.1797MB;22556;23809;0;25062 '/storage/updatemgr'=68.9414MB;90592;95624;0;100657 '/sys/fs/cgroup'=0.0000MB;7217;7618;0;8019 '/tmp'=1.3477MB;7217;7618;0;8019 '/var/spool/snmp'=0.0000MB;1;1;0;1

Don't work
./check_snmp_process3.pl -H @ip -l $USER4$ -x $USER5$ -X $USER5$ -L sha,aes -n -r -v
0 0 0 0
Alarm at 15
SNMPv3 AuthPriv login : $USER4$, sha, aes
ERROR: Process name table : No response from remote host "@ip".

Could you help me?

@SteScho
Copy link
Owner

SteScho commented Jul 2, 2020

Hi,

-n needs a process name. Do you forget that or is it just missing in your example?

@stephdant
Copy link
Author

hello,
Thx for your reply,

The check_snmp_process.pl with this option-n -r -v, list all services in a server.

This command return the same error
./check_snmp_process.pl -H @ip -l $USER4$ -x $USER5$ -X $USER5$ -L sha,aes -n postgres -v

@SteScho
Copy link
Owner

SteScho commented Jul 6, 2020

Unfortunately I don't have a vcenter to test that. It looks like that vcenter did not use the same oid for processes than other systems. Are you able to fix that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants