Page 1 of 1

monitoring hosts by arp

Posted: Thu Dec 15, 2011 12:45 pm
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?

Re: monitoring hosts by arp

Posted: Thu Dec 15, 2011 4:41 pm
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.

Re: monitoring hosts by arp

Posted: Fri Dec 16, 2011 2:27 am
by polecat
:roll: I can`t understand how it made. May be obtain any manual?

Re: monitoring hosts by arp

Posted: Sun Dec 18, 2011 3:56 pm
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.