How to extract numeric values from messages and graph them
Posted: Thu Apr 16, 2015 2:59 pm
Hello folks,
Admittedly I am new user to the Nagios Log server, but I am not able to figure out how we can pull out one numerical value from a log entry and graph those values over time (and generate alerts if it is out of spec)
Example log entry is below - this is an extract from the Message field.
2015-04-16 17:54 - TotalRequests=17,TotalTime=120,AverageTime=7 NameRequest:Requests=6,TotalTime=40,AverageTime=6 docRequest:Requests=5,TotalTime=53,AverageTime=10 loginRequest:Requests=6,TotalTime=27,AverageTime=4
Any help or a document on how to do this would be appreciated.
Thanks,
Alex
Admittedly I am new user to the Nagios Log server, but I am not able to figure out how we can pull out one numerical value from a log entry and graph those values over time (and generate alerts if it is out of spec)
Example log entry is below - this is an extract from the Message field.
2015-04-16 17:54 - TotalRequests=17,TotalTime=120,AverageTime=7 NameRequest:Requests=6,TotalTime=40,AverageTime=6 docRequest:Requests=5,TotalTime=53,AverageTime=10 loginRequest:Requests=6,TotalTime=27,AverageTime=4
Any help or a document on how to do this would be appreciated.
Thanks,
Alex