Hello,
I have a ramdom problem with centreon_linux_snmp.pl plugin, sometimes it works but sometimes not.
perl ./centreon_linux_snmp.pl --plugin=os::linux::snmp::plugin --mode=processcount --hostname=10.175.15.xx --snmp-version='3' --snmp-username=centreon --authpassphrase=xxx --authprotocol=MD5 --privpassphrase=xxx --privprotocol=DES --warning='' --critical='' --process-path=/Appli/centreon/bin/centcore
OK: Number of current processes running: 0 | 'nbproc'=0;;;0;
perl ./centreon_linux_snmp.pl --plugin=os::linux::snmp::plugin --mode=processcount --hostname=10.175.15.xx --snmp-version='3' --snmp-username=centreon --authpassphrase=xxx --authprotocol=MD5 --privpassphrase=xxx --privprotocol=DES --warning='' --critical='' --process-path=/Appli/centreon/bin/centcore
UNKNOWN: SNMP GET Request : Timeout
Why the SNMP request is ramdomly in error? I checked the snmp log but no messages
And the most surprising is the check is always OK without the --process-path parameter:
perl ./centreon_linux_snmp.pl --plugin=os::linux::snmp::plugin --mode=processcount --hostname=10.175.15.xx --snmp-version='3' --snmp-username=centreon --authpassphrase=xxx --authprotocol=MD5 --privpassphrase=xxx --privprotocol=DES --warning='' --critical=''
OK: Number of current processes running: 174 | 'nbproc'=174;;;0;