NAGIOS check_snmp missing

Hi all, today i made an initial test on snmp monitoring from nagios. But first of all i looked that something missing.

After initial configuration by NConf of check_snmp service  Nagios reports on the hosts configured the error .. missing plugin ..

After some hard working with NConf configuration( test with some command arguments on some OIDs ) i’ve checked out my libexec directory with all plugins and discovered that the initial installation of plugins missed something.

I cannot get check_snmp to appear in my libexec.

I have resolved the issue by installing these packages  (in this order)

0. sudo apt-get install snmp-mibs-downloader

1. sudo apt-get install libperl-dev
2. sudo apt-get install libnet-snmp-perl
3. sudo apt-get install libsnmp-session-perl
4. downloaded net-snmp- from, then ./configure, make and finally make install

after that, downloaded nagios-plugins-1.4.11.tar.gz from, followed by
sudo tar xvzf nagios-plugins-1.4.11.tar.gz
cd nagios-plugins-1.4.11
sudo ./configure –with-nagios-user=nagiois –with-nagios-group=nagios
sudo make
sudo make install

After that i have tested all  executing /usr/lib/nagios/libexec/check_snmp -H x.x.x.x -C public -o sysUpTime.0

If there is some problems with a library snmp that report an error of missed file libnetsnmp check this out:

cp /usr/local/lib/ file in to /usr/lib






~ di diegotech su marzo 14, 2012.


Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:


Stai commentando usando il tuo account Chiudi sessione /  Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione /  Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione /  Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione /  Modifica )


Connessione a %s...

%d blogger hanno fatto clic su Mi Piace per questo: