Announcement

Collapse

New forum rules

The forum get new posts rules.

A new user will be moderate for new post. After five valid posts, the user will be to have right to post without moderation.

If you have some issue to post or to connect, contact us.
See more
See less

Timeout if process-name is defined on os::linux::snmp::plugin on new poller install

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Timeout if process-name is defined on os::linux::snmp::plugin on new poller install

    Version : centreon-3.4.6.el7

    some lines of code will explain better than a few words.. :

    [centreon@DC44-COS-MSUP01 plugins]$ /usr/lib/centreon/plugins/centreon_linux_snmp.pl --plugin=os::linux:nmp:lugin --mode=processcount --hostname=192.168.2.20 --snmp-version='2c' --snmp-community='community2' --process-status --process-name='ntpd' --regexp-name --regexp-path --regexp-args --critical='1:1'
    UNKNOWN: SNMP GET Request : Timeout

    With other plugin :
    [centreon@mastercentreon plugins]$ /usr/lib/nagios/plugins/check_snmp_process.pl -H '192.168.2.20' -C community2 -n ntpd
    1 process matching ntpd (> 0)

    Without processname filter :
    [admlinux@DC44-COS-MSUP01 plugins]$ /usr/lib/centreon/plugins/centreon_linux_snmp.pl --plugin=os::linux:nmp:lugin --mode=processcount --hostname=192.168.2.20 --snmp-version='2c' --snmp-community='community2' --process-status --process-name
    OK: Number of current processes running: 87 | 'nbproc'=87;;;0;



    On other poller :
    [centreon@DC44-COS-MSUP01 plugins]$ /usr/lib/centreon/plugins/centreon_linux_snmp.pl --plugin=os::linux:nmp:lugin --mode=processcount --hostname=192.168.1.5 --snmp-version='2c' --snmp-community='community1' --process-status --process-name='ntpd' --regexp-name --regexp-path --regexp-args --critical='1:1'
    OK: Number of current processes running: 1 | 'nbproc'=1;;1:1;0;



    all packages are up to date on centreon master and all poller.

    Thank you in advance for your help
    Last edited by Christophe85; 5th December 2018, 17:58.
Working...
X