Plugin problem

Assaf Flatto assaf.flatto at ssp-intl.com
Mon Jul 13 19:01:11 CEST 2009


what you need is the perl-Net-SNMP rpm installed .

Also you want to recompile the plugins as you may find that othrs do not work due to missing 
dependencies .

Assaf

On Monday 13 July 2009 15:49:21 Natalie Aloi wrote:
> Hello, I am trying to get to nagios 3.0.6 running with plugins v1.4.13 - my
> old installation on another server also had a plugins.d directory with a
> bunch of checK_xxx.cfg files in it (I've tried to incorporate those, so I
> wouldn't have to completely rewrite oid queries, etc) so not sure if that
> is a part of my trouble: - but check out this output, should I be able to
> run a check_xxx from the command line?
>
> drwxr-xr-x 8 nagios nagios 4096 2009-07-09 15:37 ..
> drwxrwxr-x 2 nagios nagios 4096 2009-07-09 10:13 .
> -r-sr-x--- 1 root nagios 77549 2009-07-09 10:13 check_dhcp
> -r-sr-x--- 1 root nagios 82964 2009-07-09 10:13 check_icmp
> -r-xr-x--- 1 nagios nagios 3143 2009-07-09 10:13 check_file_age
> -r-xr-x--- 1 nagios nagios 15310 2009-07-09 10:13 check_ifoperstatus
> -r-xr-x--- 1 nagios nagios 12853 2009-07-09 10:13 check_ifstatus
> -r-xr-x--- 1 nagios nagios 20367 2009-07-09 10:13 check_mailq
> -r-xr-x--- 1 nagios nagios 9707 2009-07-09 10:13 check_rpc
> -r-xr-x--- 1 nagios nagios 1176 2009-07-09 10:13 check_sensors
> -r-xr-x--- 1 nagios nagios 3019 2009-07-09 10:13 check_wave
> -r-xr-x--- 1 nagios nagios 2053 2009-07-09 10:13 utils.pm
> -r-xr-x--- 1 nagios nagios 862 2009-07-09 10:13 utils.sh
> -r-xr-x--- 1 nagios nagios 2265 2009-07-09 10:13 check_breeze
> lrwxrwxrwx 1 root root 9 2009-07-09 10:13 check_clamd -> check_tcp
> -r-xr-x--- 1 nagios nagios 8163 2009-07-09 10:13 check_disk_smb
> -r-xr-x--- 1 nagios nagios 6395 2009-07-09 10:13 check_flexlm
> lrwxrwxrwx 1 root root 9 2009-07-09 10:13 check_ftp -> check_tcp
> lrwxrwxrwx 1 root root 9 2009-07-09 10:13 check_imap -> check_tcp
> -r-xr-x--- 1 nagios nagios 7429 2009-07-09 10:13 check_ircd
> -r-xr-x--- 1 nagios nagios 6062 2009-07-09 10:13 check_log
> lrwxrwxrwx 1 root root 9 2009-07-09 10:13 check_nntp -> check_tcp
> -r-xr-x--- 1 nagios nagios 74784 2009-07-09 10:13 check_nt
> -r-xr-x--- 1 nagios nagios 8366 2009-07-09 10:13 check_oracle
> lrwxrwxrwx 1 root root 9 2009-07-09 10:13 check_pop -> check_tcp
> lrwxrwxrwx 1 root root 9 2009-07-09 10:13 check_udp -> check_tcp
> -r-xr-x--- 1 nagios nagios 79726 2009-07-09 10:13 check_by_ssh
> -r-xr-x--- 1 nagios nagios 75190 2009-07-09 10:13 check_dig
> -r-xr-x--- 1 nagios nagios 81691 2009-07-09 10:13 check_dns
> -r-xr-x--- 1 nagios nagios 62246 2009-07-09 10:13 check_nagios
> -r-xr-x--- 1 nagios nagios 83198 2009-07-09 10:13 check_procs
> -r-xr-x--- 1 nagios nagios 64279 2009-07-09 10:13 check_swap
> -r-xr-x--- 1 nagios nagios 50065 2009-07-09 10:13 check_ide_smart
> -r-xr-x--- 1 nagios nagios 69260 2009-07-09 10:13 check_ntp_time
> -r-xr-x--- 1 nagios nagios 69297 2009-07-09 10:13 check_ups
> -r-xr-x--- 1 nagios nagios 59154 2009-07-09 10:13 check_users
> -r-xr-x--- 1 nagios nagios 62436 2009-07-09 10:13 negate
> -r-xr-x--- 1 nagios nagios 58567 2009-07-09 10:13 urlize
> -r-xr-x--- 1 nagios nagios 84165 2009-07-09 10:13 check_ping
> -r-xr-x--- 1 nagios nagios 60601 2009-07-09 10:13 check_real
> -r-xr-x--- 1 nagios nagios 85400 2009-07-09 10:13 check_smtp
> -r-xr-x--- 1 nagios nagios 58171 2009-07-09 10:13 check_ssh
> -r-xr-x--- 1 nagios nagios 71905 2009-07-09 10:13 check_tcp
> -r-xr-x--- 1 nagios nagios 60179 2009-07-09 10:13 check_time
> -r-xr-x--- 1 nagios nagios 48688 2009-07-09 10:13 check_mrtgtraf
> -r-xr-x--- 1 nagios nagios 78674 2009-07-09 10:13 check_ntp
> -r-xr-x--- 1 nagios nagios 72638 2009-07-09 10:13 check_ntp_peer
> -r-xr-x--- 1 nagios nagios 93506 2009-07-09 10:13 check_nwstat
> -r-xr-x--- 1 nagios nagios 63258 2009-07-09 10:13 check_overcr
> -r-xr-x--- 1 nagios nagios 43928 2009-07-09 10:13 check_cluster
> -r-xr-x--- 1 nagios nagios 102640 2009-07-09 10:13 check_disk
> -r-xr-x--- 1 nagios nagios 39490 2009-07-09 10:13 check_dummy
> -r-xr-x--- 1 nagios nagios 129089 2009-07-09 10:13 check_http
> -r-xr-x--- 1 nagios nagios 62067 2009-07-09 10:13 check_load
> -r-xr-x--- 1 nagios nagios 49117 2009-07-09 10:13 check_mrtg
> -r-xr-x--- 1 nagios nagios 67505 2009-07-09 10:13 check_apt
>
> [root at dns libexec]# ./check_ifoperstatus
>
> Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec
> /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0
> /usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/site_perl/5.8.8
> /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6
> /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.8.8
> /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6
> /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl .) at
> ./check_ifoperstatus line 41. BEGIN failed--compilation aborted at
> ./check_ifoperstatus line 41.
>
> [root at dns libexec]# yum -y update snmp
> Loaded plugins: refresh-packagekit
> updates-newkey | 3.4 kB 00:00
> fedora | 2.4 kB 00:00
> updates | 2.6 kB 00:00
> Setting up Update Process
> Could not find update match for snmp
> No Packages marked for Update
>
> [root at dns libexec]# yum -y install snmp
> Loaded plugins: refresh-packagekit
> Setting up Install Process
> Parsing package install arguments
> No package snmp available.
> Nothing to do
>
> [root at dns libexec]# ps -ef | grep snmpd
> root 3357 1 0 Jul10 ? 00:00:24 /usr/sbin/snmpd -Lsd -Lf /dev/null -p
> /var/run/snmpd.pid -a root 6156 5846 0 11:43 pts/2 00:00:00 grep snmpd
> [root at dns libexec]#
>
> Network Operations Center Manager
> Experis Data Center LLC
> 8209 Valley Pike
> PO Box 535
> Middletown,VA 22645
> phone:540-869-8702
> cell:240-988-3267
> fax:540-869-8710
> e-mail:naloi at experisdatacenters.com



-- 
Assaf Flatto
SSP Ops Team
Linux System Administrator
169 Euston Road, London, NW1 2AE





IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and Wales
(company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY
 
 

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
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