Page 1 of 1

Nagios Nrpe Network Bandwidth Monitoring

Posted: Sun Apr 29, 2012 1:15 pm
by jnash
Hi,
i installed nagios XI on one server and i'm monitoring another (slave) by means of server plugins.
i configured many things like cpu check, memory, proc and so way, that are ok. So at the end i need to configure a Network Bandwidth Monitoring. I figure out the slave by means of NRPE give information to the server. The server will then evaluate
warning and critical and track the bandwidth usage in a graph.
I installed manually NRPE and relative plugins on the slave, i installed nsmp on the slave and now i want know which plugin i need to doing this.
i used i.e. "check_tcptraffic" but i receive those error when i launch this:

Code: Select all

Can't locate Nagios/Plugin/Threshold.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./check_tcptraffic line 36.
BEGIN failed--compilation aborted at ./check_tcptraffic line 36.
so how i can solve? or maybe u can suggest me a nice plugin that do what i need with no problem?

thanks in advance!

Re: Nagios Nrpe Network Bandwidth Monitoring

Posted: Mon Apr 30, 2012 9:41 am
by scottwilkerson
This looks like you don't have the Nagios/Plugin/Threshold.pm package installed and this plugin is trying to use it..

If this is a system with yum on it you could run the following to install it

Code: Select all

yum install perl-Nagios-Plugin -y

[SOLVED] Re: Nagios Nrpe Network Bandwidth Monitoring

Posted: Tue May 01, 2012 4:57 am
by jnash
that's it! i also installed "yum install perl-Readonly" to complete the needed package!
thanks so much!