[Nagiosplug-help] getting bigIP an snmp Plugins to work
Thomas Guyot-Sionnest
dermoth at aei.ca
Tue Apr 8 17:03:38 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 08/04/08 03:30 AM, Heiko wrote:
> Hello,
> i found some plugins to monitor bigIP LoadBalancers on NGE,#
> when i try to run one of these I get the following errors:
>
> ./check_bigip_pool_201
First of all you should rename it to check_bigip_pool. It doesn't matter
much... the reason I changed the name is simply because I'm too lazy to
make a tar archive and nagiosexchange doesn't allow duplicate file names...
> Can't locate Nagios/Plugin.pm in @INC (@INC contains:
> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
> /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi
> /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi
> /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi
> /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/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
> /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi
> /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi
> /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi
> /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
> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8
> .) at ./check_bigip_pool_201 line 28.
> BEGIN failed--compilation aborted at ./check_bigip_pool_201 line 28.
This is my plugin and you need the Nagios::Plugin Perl module.
Any of these commands should install it (not every system have the cpan
executable):
# cpan Nagios::Plugin
# perl -MCPAN -e 'install Nagios::Plugin'
> ./bigip_service.pl
> Can't locate iControlTypeCast.pm in @INC (@INC contains:
> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
> /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi
> /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi
> /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi
> /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/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
> /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi
> /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi
> /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi
> /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
> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8
> . ..) at ./bigip_service.pl line 8.
> BEGIN failed--compilation aborted at ./bigip_service.pl line 8.
I'm not the author of this one but looks like it uses F5's API. just as
above you can try to install it from CPAN:
# cpan iControlTypeCast
# perl -MCPAN -e 'install iControlTypeCast'
If it's not on CPAN then look on the F5's web site... you should find it
there (you may need a curtomer login though - I'm not sure as I haven't
looked for a long time).
If you download it it will likely coma with a Makefile.PL file - just
run perl on it to create the Makefile, then make/make install should work.
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH+4lK6dZ+Kt5BchYRAhadAKCMaKD3sghB/jCe7GnJPKl93ovFogCeLTmb
fdthNbpNiV8ZbuQdujRnCD8=
=6Q3b
-----END PGP SIGNATURE-----
More information about the Help
mailing list