Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This is a simple perl script that parses /var/log/nagios/status.dat and prints how long execution of each service type took. Useful for performance tuning. THIS IS NOT A PLUGIN - it is a console utility.
Current Version
0.21
Last Release Date
2012-01-15
Owner
William Leibzon
Website
http://william.leibzon.org/nagios/
License
GPL
Compatible With
This is a simple perl script that parses /var/log/nagios/status.dat and prints how long execution of each service type took sorting data by time - it both prints each individual service took on top and on the button in reverse order consolidates services with same names but on different hosts so you get an idea of data for this service on average.
This is useful for performance tuning to find which plugins and checks are executing too long. Just run it and see what it does.
Worked as described. Just replaced the below line with the actual one. #my $file="/var/log/nagios/status.dat"; - old line my $file="/usr/local/nagios/var/status.dat"; - new line Run the file & export all data into a text file using ">" sign.
A must-have to find out nagios controls perf issues. Thanks a lot for your contribution William Leibzon!!!! For my NagiosXI, I only had to change the variable: my $file="/var/log/nagios/status.dat"; for: my $file="/usr/local/nagios/var/status.dat"; And worked like a charm. My NagiosXI version is: Nagios XI (5.4.4)
Hi Seems like a very useful script but getting the following exception. Do you have fix Illegal division by zero at ./profile_nagios_executiontime.pl line 49.
You must be logged in to submit a review.
To:
From:
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!