check_snmp plugin not visible

Ambati Srinivas am.srini at gmail.com
Mon Mar 8 21:13:16 CET 2010


   Hi,

>
> Please elaborate on  'add --with-snmp to your plugins compile' as I am new
> to monitoring. so missing net-snmp-devel packages was the prob?
>
>     Very much appreciate.


> Thanks,
>
> AM
>
>
>
>
>
> On Tue, Mar 9, 2010 at 1:33 AM, Kyle O'Donnell <nagios at z3b.org> wrote:
>
>> yum install net-snmp-devel
>>
>> add --with-snmp to your plugins compile
>>
>> On Tue, 9 Mar 2010 01:26:37 +0530, Ambati Srinivas <am.srini at gmail.com>
>> wrote:
>> > Hi,
>> >
>> > I never expected this speed reply :-) Thanks much.
>> >
>> > Yep Installed net-snmp-5.4.2.1-19.fc12.i686  and
>> > net-snmp-utils-5.4.2.1-19.fc12.i686 on nagios core however I have not
>> yet
>> > enable snmp monitoring in file /usr/local/nagios/etc/nagios.cfg   does
>> that
>> > effect???
>> >
>> > vi /usr/local/nagios/etc/nagios.cfg
>> > # Definitions for monitoring a router/switch
>> > #cfg_file=/usr/local/nagios/etc/objects/switch.cfg
>> >
>> >
>> > Please advice further
>> >
>> > AM
>> >
>> >
>> >
>> >
>> > On Tue, Mar 9, 2010 at 1:16 AM, Kyle O'Donnell <nagios at z3b.org> wrote:
>> >
>> >> What were you configure options?  Do you have net-snmp(dev libs too)
>> >> installed?
>> >>
>> >>
>> >> On Tue, 9 Mar 2010 01:05:46 +0530, Ambati Srinivas <am.srini at gmail.com
>> >
>> >> wrote:
>> >> > Hi,
>> >> >
>> >> > I very recently installed nagios Nagios-3.2.0 and
>> >> Nagios-plugins-1.4.14on
>> >> > fedora 12. All went however I am not able to execute nor see
>> check_snmp
>> >> > under /usr/local/nagios/libexec/
>> >> >
>> >> > For your reference:
>> >> > [root at nagios01 plugins]# cd /usr/local/nagios/libexec/
>> >> > [root at nagios01 libexec]# ls
>> >> > check_apt       check_file_age      check_log       check_oracle
>> >> > check_tcp
>> >> > check_breeze    check_flexlm        check_mailq     check_overcr
>> >> > check_time
>> >> > check_by_ssh    check_ftp           check_mrtg      check_ping
>> >> > check_udp
>> >> > check_clamd     check_http          check_mrtgtraf  check_pop
>> >> > check_ups
>> >> > check_cluster   check_icmp          check_nagios    check_procs
>> >> > check_users
>> >> > check_dhcp      check_ide_smart     check_nntp      check_real
>> >> > check_wave
>> >> > check_dig       check_ifoperstatus  check_nt        check_rpc
>> >> negate
>> >> > check_disk      check_ifstatus      check_ntp       check_sensors
>> >> urlize
>> >> > check_disk_smb  check_imap          check_ntp_peer  check_smtp
>> >> utils.pm
>> >> > check_dns       check_ircd          check_ntp_time  check_ssh
>> >> utils.sh
>> >> > check_dummy     check_load          check_nwstat    check_swap
>> >> > [root at nagios01 libexec]#
>> >> >
>> >> >
>> >> >
>> >> > While I can see files in /nagios-plugins-1.4.14/plugins (after untar)
>> >> > check_snmp
>> >> > check_snmp.c
>> >> > check_snmp.o
>> >> > For your refernce:
>> >> > [root at nagios01 Downloads]# ls
>> >> > nagios-3.2.0         nagios-plugins-1.4.14
>> >> > nagios-3.2.0.tar.gz  nagios-plugins-1.4.14.tar.gz
>> >> > [root at nagios01 Downloads]# pwd
>> >> > /home/xxxxxxxx/Downloads
>> >> > [root at nagios01 Downloads]# ls
>> >> > nagios-3.2.0         nagios-plugins-1.4.14
>> >> > nagios-3.2.0.tar.gz  nagios-plugins-1.4.14.tar.gz
>> >> > [root at nagios01 Downloads]#
>> >> > [root at nagios01 libexec]# cd
>> >> > /home/xxxxxxxx/Downloads/nagios-plugins-1.4.14/plugins
>> >> > [root at nagios01 plugins]# pwd
>> >> > /home/xxxxxxxx/Downloads/nagios-plugins-1.4.14/plugins
>> >> > [root at nagios01 plugins]# ls
>> >> > check_apt          check_ide_smart.o    check_overcr    check_udp
>> >> > check_apt.c        check_imap           check_overcr.c  check_ups
>> >> > check_apt.o        check_ldap.c         check_overcr.o  check_ups.c
>> >> > check_by_ssh       check_load           check_pgsql.c   check_ups.o
>> >> > check_by_ssh.c     check_load.c         check_ping      check_users
>> >> > check_by_ssh.o     check_load.o         check_ping.c    check_users.c
>> >> > check_clamd        check_mrtg           check_ping.o    check_users.o
>> >> > check_cluster      check_mrtg.c         check_pop       common.h
>> >> > check_cluster.c    check_mrtg.o         check_procs     Makefile
>> >> > check_cluster.o    check_mrtgtraf       check_procs.c   Makefile.am
>> >> > check_dig          check_mrtgtraf.c     check_procs.o   Makefile.in
>> >> > check_dig.c        check_mrtgtraf.o     check_radius.c  negate
>> >> > check_dig.o        check_mysql.c        check_real      negate.c
>> >> > check_disk         check_mysql_query.c  check_real.c    negate.o
>> >> > check_disk.c       check_nagios         check_real.o    netutils.c
>> >> > check_disk.o       check_nagios.c       check_smtp      netutils.h
>> >> > check_dns          check_nagios.o       check_smtp.c    netutils.o
>> >> > check_dns.c        check_nntp           check_smtp.o    popen.c
>> >> > check_dns.o        check_nt             check_snmp      popen.h
>> >> > check_dummy        check_nt.c           check_snmp.c    popen.o
>> >> > check_dummy.c      check_nt.o           check_snmp.o    runcmd.c
>> >> > check_dummy.o      check_ntp            check_ssh       runcmd.h
>> >> > check_fping.c      check_ntp.c          check_ssh.c     runcmd.o
>> >> > check_ftp          check_ntp.o          check_ssh.o     sslutils.c
>> >> > check_game.c       check_ntp_peer       check_swap      sslutils.o
>> >> > check_hpjd         check_ntp_peer.c     check_swap.c    t
>> >> > check_hpjd.c       check_ntp_peer.o     check_swap.o    urlize
>> >> > check_hpjd.o       check_ntp_time       check_tcp       urlize.c
>> >> > check_http         check_ntp_time.c     check_tcp.c     urlize.o
>> >> > check_http.c       check_ntp_time.o     check_tcp.o     utils.c
>> >> > check_http.o       check_nwstat         check_time      utils.h
>> >> > check_ide_smart    check_nwstat.c       check_time.c    utils.o
>> >> > check_ide_smart.c  check_nwstat.o       check_time.o
>> >> > [root at nagios01 plugins]#
>> >> >
>> >> > Please advice,
>> >> >
>> >> > am
>> >>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100309/349e9189/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
-------------- next part --------------
_______________________________________________
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