Host Urgency Patch
Jochen Bern
Jochen.Bern at LINworks.de
Wed May 4 11:26:34 CEST 2011
Quick patch just 'cause I felt like it ... ;-)
Introducing a new status.cgi sort mode (sortoption=16384) where hosts
are sorted by state, but with the order being based on "urgency"
(down>unreachable>pending>ok) instead of the historically assigned (?)
state IDs (unreachable>down>up>pending).
Note 1: Patch does not include any hyperlink pointing to the new mode.
(I'll put one straight into the static menu HTML for ourselves.)
Note 2: I'm working on top of an already-patched 3.2.3, so the line
numbers in status.c and cgiutils.h are likely off WRT official release.
Kind regards,
J. Bern
--
Jochen Bern, Systemingenieur --- LINworks GmbH <http://www.LINworks.de/>
Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt
PGP (1024D/4096g) FP = D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C27
Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202
Unternehmenssitz Weiterstadt, Geschäftsführer Metin Dogan, Oliver Michel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nagios-3.2.3-HostUrgency-patch.txt
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20110504/d3475de8/attachment.txt>
-------------- next part --------------
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel
More information about the Developers
mailing list