Build precise queries to find exactly what you need
Press ESC to close
Hi,
Came across your useful plugin for monitoring Linux Stats. I have downloaded the check_linux perl package and installed it on my remote server. But I’ve issues to run the following plugin. To be honest I’m a newbie into this nagios monitoring server and how to configure it. Appreciate if you could lead me to the correct direction
As far as my concerned my steps is as below
At host/remote server
1. root@server# cd /root/nagios 2. root@server nagios# wget http://localhost/components/com_mtree/attachment.php?link_id=2516&cf_id=24 3. root@server nagios# tar –zxvf Sys-Statistics-Linux-0.66.tar.gz 4. root@server nagios# cd Sys-Statistics-Linux-0.66 5. root@server Sys-Statistics-Linux-0.66# perl Makefile.PL 6. root@server Sys-Statistics-Linux-0.66# make 7. root@server Sys-Statistics-Linux-0.66# make install 8. root@server# vi /usr/local/nagios/etc/nrpe.cfg
and I add the harcoded command argument in the nrpe.cfg
# Check network usage on eth0 command[check_net]=/usr/local/nagios/libexec/check_linux_stats.pl -N -w 1000000 -c 1500000 -p eth0 -s 5
9. restart xinetd service && restart nrpe service
At monitoring server
1. Install theLinux Stats plugin same as above
2. go to cd /usr/local/nagios/etc/service.cfg and add the following:
define service{ use generic-service host_name fastrocom.com service_description Network Usage check_command check_nrpe!check_net } 3. go to cd /usr/local/nagios/etc/objects/command.cfg and add the following:
# ‘check_net_usage’ command definition define command{ command_name check_net command_line $USER1$/check_net -I $HOSTADDRESS$ $ARG1$ }
I believe I miss a few steps and due to this I’m unable to generate the report at Nagios monitoring System. If I go to /usr/local/nagios/libexec/ there is no linux stats plugin available at that directory
Your guidance and advice is highly appreciated
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!