--------------060208020103020400000305
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=UTF-8; format=flowed
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
--------------060208020103020400000305
Content-Transfer-Encoding: 7bit
Content-Type: text/x-patch;
name="statuswml.diff"
Content-Disposition: inline;
filename="statuswml.diff"
964c964
\n",getenv("REMOTE_USER"));
---
> printf("\n");
966c966
\n");
---
> printf("\n");
1170c1170
\n",getenv("REMOTE_USER"));
---
> printf("\n");
1172c1172
\n");
---
> printf("\n");
--------------060208020103020400000305--
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]