monitoring hosts by arp

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
polecat
Posts: 2
Joined: Thu Dec 15, 2011 8:55 am

monitoring hosts by arp

Post by polecat »

Good evening!
Can anybody help me? I try to use check_arping.pl script which I found here But when I try test any host from command line I give an error

Code: Select all

Can't locate Net/Arping.pm in @INC (@INC contains: /usr/lib/nagios/plugins /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at ./check_arping.pl line 33

Hove me solve this problem? Or maybe you can advise me any other tools to monitoring host by arp?
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: monitoring hosts by arp

Post by jsmurphy »

You need to install the Arping perl module http://search.cpan.org/~radek/Net-Arping-0.03/Arping.pm

If that box has internet access you should be able to run cpan Net::Arping on the command line and it will download and install it for you.
polecat
Posts: 2
Joined: Thu Dec 15, 2011 8:55 am

Re: monitoring hosts by arp

Post by polecat »

:roll: I can`t understand how it made. May be obtain any manual?
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: monitoring hosts by arp

Post by jsmurphy »

The easiest way would be just to type "cpan Net::Arping" on the command line. If you need to compile it most modules come with a file in the tar called INSTALL that gives instructions.
Locked