pb with plugin snmp

Subhendu Ghosh sghosh at sghosh.org
Tue Apr 8 18:46:28 CEST 2003


The problem is noted earlier on during the configure process - it could 
not find an appropriate snmpget program

Do you have net-snmp from net-snmp.sourceforge.net ?

remove config.cache
rerun configure
(look for errors about snmp)
if ok - run make; make install

-sg

On Tue, 8 Apr 2003 pierre.buisson at dgi.finances.gouv.fr wrote:

> I dont know how to install check_snmp in the libexec directory.
> 
> I have already install the plugin nagios-plugins-1.3.0 and executed 
> configure - make all  - make install, but the compiled version snmp dont 
> go in the libexec directory. 
> 
> Thanks for your help
> 
> You can see below the log of installation
> 
> 
> [root at nagios nagios-plugins-1.3.0]# make all
> Making all in lib
> make[1]: Entre dans le ripertoire 
> `/usr/local/nagios/nagios-plugins-1.3.0/lib'
> make[1]: Rien ` faire pour `all'.
> make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/lib'
> Making all in plugins
> make[1]: Entre dans le ripertoire 
> `/usr/local/nagios/nagios-plugins-1.3.0/plugin
> s'
> make[1]: Quitte le ripertoire 
> `/usr/local/nagios/nagios-plugins-1.3.0/plugins'
> Making all in plugins-scripts
> make[1]: Entre dans le ripertoire 
> `/usr/local/nagios/nagios-plugins-1.3.0/plugin
> s-scripts'
> make[1]: Rien ` faire pour `all'.
> make[1]: Quitte le ripertoire 
> `/usr/local/nagios/nagios-plugins-1.3.0/plugins-sc
> ripts'
> make[1]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0'
> make[1]: Rien ` faire pour `all-am'.
> make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0'
> [root at nagios nagios-plugins-1.3.0]#
> 
> 
> 
> [root at nagios nagios-plugins-1.3.0]# make install
> Making install in lib
> make[1]: Entre dans le ripertoire 
> `/usr/local/nagios/nagios-plugins-1.3.0/lib'
> make[2]: Entre dans le ripertoire 
> `/usr/local/nagios/nagios-plugins-1.3.0/lib'
> make[2]: Rien ` faire pour `install-exec-am'.
> make[2]: Rien ` faire pour `install-data-am'.
> make[2]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/lib'
> make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/lib'
> Making install in plugins
> make[1]: Entre dans le ripertoire 
> `/usr/local/nagios/nagios-plugins-1.3.0/plugin
> s'
> make[2]: Entre dans le ripertoire 
> `/usr/local/nagios/nagios-plugins-1.3.0/plugin
> s'
> /bin/sh ../mkinstalldirs /usr/local/nagios/libexec
>   /usr/bin/install -c -o nagios -g nagios check_disk 
> /usr/local/nagios/libexec/c
> heck_disk
>   /usr/bin/install -c -o nagios -g nagios check_dummy 
> /usr/local/nagios/libexec/
> check_dummy
>   /usr/bin/install -c -o nagios -g nagios check_http 
> /usr/local/nagios/libexec/c
> heck_http
>   /usr/bin/install -c -o nagios -g nagios check_load 
> /usr/local/nagios/libexec/c
> heck_load
>   /usr/bin/install -c -o nagios -g nagios check_mrtg 
> /usr/local/nagios/libexec/c
> heck_mrtg
>   /usr/bin/install -c -o nagios -g nagios check_mrtgtraf 
> /usr/local/nagios/libex
> ec/check_mrtgtraf
>   /usr/bin/install -c -o nagios -g nagios check_nwstat 
> /usr/local/nagios/libexec
> /check_nwstat
>   /usr/bin/install -c -o nagios -g nagios check_overcr 
> /usr/local/nagios/libexec
> /check_overcr
>   /usr/bin/install -c -o nagios -g nagios check_ping 
> /usr/local/nagios/libexec/c
> heck_ping
>   /usr/bin/install -c -o nagios -g nagios check_procs 
> /usr/local/nagios/libexec/
> check_procs
>   /usr/bin/install -c -o nagios -g nagios check_real 
> /usr/local/nagios/libexec/c
> heck_real
>   /usr/bin/install -c -o nagios -g nagios check_smtp 
> /usr/local/nagios/libexec/c
> heck_smtp
>   /usr/bin/install -c -o nagios -g nagios check_ssh 
> /usr/local/nagios/libexec/ch
> eck_ssh
>   /usr/bin/install -c -o nagios -g nagios check_tcp 
> /usr/local/nagios/libexec/ch
> eck_tcp
>   /usr/bin/install -c -o nagios -g nagios check_time 
> /usr/local/nagios/libexec/c
> heck_time
>   /usr/bin/install -c -o nagios -g nagios check_udp 
> /usr/local/nagios/libexec/ch
> eck_udp
>   /usr/bin/install -c -o nagios -g nagios check_ups 
> /usr/local/nagios/libexec/ch
> eck_ups
>   /usr/bin/install -c -o nagios -g nagios check_users 
> /usr/local/nagios/libexec/
> check_users
>   /usr/bin/install -c -o nagios -g nagios check_vsz 
> /usr/local/nagios/libexec/ch
> eck_vsz
>   /usr/bin/install -c -o nagios -g nagios negate 
> /usr/local/nagios/libexec/negat
> e
>   /usr/bin/install -c -o nagios -g nagios urlize 
> /usr/local/nagios/libexec/urliz
> e
>   /usr/bin/install -c -o nagios -g nagios check_nagios 
> /usr/local/nagios/libexec
> /check_nagios
>   /usr/bin/install -c -o nagios -g nagios check_dns 
> /usr/local/nagios/libexec/ch
> eck_dns
>   /usr/bin/install -c -o nagios -g nagios check_dns 
> /usr/local/nagios/libexec/ch
> eck_dns
>   /usr/bin/install -c -o nagios -g nagios check_by_ssh 
> /usr/local/nagios/libexec
> /check_by_ssh
>   /usr/bin/install -c -o nagios -g nagios check_swap 
> /usr/local/nagios/libexec/c
> heck_swap
>   /usr/bin/install -c -o nagios -g nagios check_dig 
> /usr/local/nagios/libexec/ch
> eck_dig
>   /usr/bin/install -c -o nagios -g nagios check_nt 
> /usr/local/nagios/libexec/che
> ck_nt
> make  install-exec-hook
> make[3]: Entre dans le ripertoire 
> `/usr/local/nagios/nagios-plugins-1.3.0/plugin
> s'
> cd /usr/local/nagios/libexec && \
> for i in check_ftp check_imap check_nntp check_pop ; do rm -f $i; ln -sf 
> check_t
> cp $i ; done
> make[3]: Quitte le ripertoire 
> `/usr/local/nagios/nagios-plugins-1.3.0/plugins'
> make[2]: Rien ` faire pour `install-data-am'.
> make[2]: Quitte le ripertoire 
> `/usr/local/nagios/nagios-plugins-1.3.0/plugins'
> make[1]: Quitte le ripertoire 
> `/usr/local/nagios/nagios-plugins-1.3.0/plugins'
> Making install in plugins-scripts
> make[1]: Entre dans le ripertoire 
> `/usr/local/nagios/nagios-plugins-1.3.0/plugin
> s-scripts'
> make[2]: Entre dans le ripertoire 
> `/usr/local/nagios/nagios-plugins-1.3.0/plugin
> s-scripts'
> /bin/sh ../mkinstalldirs /usr/local/nagios/libexec
>  /usr/bin/install -c -o nagios -g nagios check_breeze 
> /usr/local/nagios/libexec/
> check_breeze
>  /usr/bin/install -c -o nagios -g nagios check_disk_smb 
> /usr/local/nagios/libexe
> c/check_disk_smb
>  /usr/bin/install -c -o nagios -g nagios check_flexlm 
> /usr/local/nagios/libexec/
> check_flexlm
>  /usr/bin/install -c -o nagios -g nagios check_ircd 
> /usr/local/nagios/libexec/ch
> eck_ircd
>  /usr/bin/install -c -o nagios -g nagios check_log 
> /usr/local/nagios/libexec/che
> ck_log
>  /usr/bin/install -c -o nagios -g nagios check_ntp 
> /usr/local/nagios/libexec/che
> ck_ntp
>  /usr/bin/install -c -o nagios -g nagios check_oracle 
> /usr/local/nagios/libexec/
> check_oracle
>  /usr/bin/install -c -o nagios -g nagios check_rpc 
> /usr/local/nagios/libexec/che
> ck_rpc
>  /usr/bin/install -c -o nagios -g nagios check_sensors 
> /usr/local/nagios/libexec
> /check_sensors
>  /usr/bin/install -c -o nagios -g nagios check_wave 
> /usr/local/nagios/libexec/ch
> eck_wave
>  /usr/bin/install -c -o nagios -g nagios check_ifstatus 
> /usr/local/nagios/libexe
> c/check_ifstatus
>  /usr/bin/install -c -o nagios -g nagios check_ifoperstatus 
> /usr/local/nagios/li
> bexec/check_ifoperstatus
>  /usr/bin/install -c -o nagios -g nagios check_mailq 
> /usr/local/nagios/libexec/c
> heck_mailq
>  /usr/bin/install -c -o nagios -g nagios utils.sh 
> /usr/local/nagios/libexec/util
> s.sh
>  /usr/bin/install -c -o nagios -g nagios utils.pm 
> /usr/local/nagios/libexec/util
> s.pm
> make[2]: Rien ` faire pour `install-data-am'.
> make[2]: Quitte le ripertoire 
> `/usr/local/nagios/nagios-plugins-1.3.0/plugins-sc
> ripts'
> make[1]: Quitte le ripertoire 
> `/usr/local/nagios/nagios-plugins-1.3.0/plugins-sc
> ripts'
> make[1]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0'
> make[2]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0'
> make[2]: Rien ` faire pour `install-exec-am'.
> make[2]: Rien ` faire pour `install-data-am'.
> make[2]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0'
> make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0'
> [root at nagios nagios-plugins-1.3.0]# 
> 
> 
> 
>  

-- 




-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list