Minor patch for statuswml.cgi
Marcus Fleige
marcus.fleige at de.rhenus.com
Tue Dec 11 14:57:24 CET 2007
Hi List, hi Ethan,
once again i have a small cosmetic change which fits perfectly to my
lazyness during on-call schedule times. ;-)
What does it do?
Actually, it sets default values for the acknowledgement dialogs.
Ok. Why?
If you are notified by Short Message at night, it is obvious to have a
first look at the problem via the WAP interface. If you find the problem
unworthy being handled at night, you can directly acknowledge it and
have a closer look at it the next morning. At this point you realize
there is nothing more annoying than typing your Name and a comment into
a dialog with the help of your mobile phone's keys.
Normally, when you access the nagios frontend via wml (WAP), you ideally
authenticate against the webservers htaccess config before you view
unhandled problems etc. If you want to achknowledge a service or host
problem, you have to fill two fields of information: Author and comment.
The patch fills the 'com_author' value with the username you
authenticated as. Additionally, it defaults the comment field to
'acknowledged by WAP'. So, all you have to do is press the OK-Button and
the problem is ack'ed. Optionally, you still can input a more meaningful
comment or another author name.
I hope this is useful for someone. Feedback welcome! ;-)
Regards,
Marcus Fleige
-------------- next part --------------
A non-text attachment was scrubbed...
Name: statuswml.diff
Type: text/x-patch
Size: 504 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20071211/209b33ef/attachment.bin>
-------------- next part --------------
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-------------- 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