Logging all service checks
Spyou
spyou at club-internet.fr
Fri Jan 9 23:09:20 CET 2004
At 23:00 09/01/2004, you wrote:
>I like to be well informed :). What I would really like is Nagios to log
>EVERY service check and keep that data archived as well. This way I could
>look at a host and view, for example, how many processes it had during every
>service check for a day. I would see the number of processes climbing, I
>could see it reach the limit, then fall back down, etc.
You can use the perfdata commands.
ie
(nagios.cfg):
process_performance_data=1
service_perfdata_command=handler
(misccommands.cfg):
define command{
command_name handler
command_line /some/script/that/logs/everything $HOSTNAME$
$SERVICEDESC$ '$OUTPUT$'
}
Then, you'll have to create the script that will log or whatever you wants
(mine graphs values issued by a large number of services into rrd's databases)
____________________________________
'Spyou' - www.spyou.org - root at spyou.org
#gtr / ircnet.kaptech.fr - UIN : 6871374
Please, tell me who i am !
- Supertramps
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list