I have an idea for a field to add to the status.log for each
service/host line. I don't know if its doable, but it would definitely
be useful, especially for programs that parse status.log.
Is there any way you can add a "Dependent Service/Host Health" field?
This field would hold the worst status of any of the services/hosts
that the particular service or host is dependent on.
Example:
Service "web" is dependent on services "http", "tomcat", and "oracle".
If all of these services are ok, the value in the status log for this
field would be 0 (OK). However, if "tomcat" is a warning, and "oracle"
is critical, then this field would get set to 2 (critical is exit code
2, and takes priority over the warning).
I know in general, that each line of the status log is purely in terms
of that one service or host. However, if you run through the dependency
logic before the status.log is updated, it seems reasonable that this
could be added in.
Please let me know what you think.
Russell Scibetti
--
Russell Scibetti
Quadrix Solutions, Inc.
http://www.quadrix.com
(732) 235-2335, ext. 7038
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]