Nagios Nrpe Network Bandwidth Monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jnash
Posts: 17
Joined: Sat Apr 28, 2012 12:07 pm

Nagios Nrpe Network Bandwidth Monitoring

Post 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!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios Nrpe Network Bandwidth Monitoring

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jnash
Posts: 17
Joined: Sat Apr 28, 2012 12:07 pm

[SOLVED] Re: Nagios Nrpe Network Bandwidth Monitoring

Post by jnash »

that's it! i also installed "yum install perl-Readonly" to complete the needed package!
thanks so much!