Hello,
Eduardo Martinez schrieb:
This is not really a problem but a curiosity.
Maybe I missed something in the documentation but I could not find where to
edit this. I want to add a few lines to the notification style that is sent
out by Nagios.
...
But how is the entire notification generated?
Usually, the commands that create the notifications rely on the printf
command. Just look up how your notification commands are defined - they
are just commands as all the check commands.
You will - probably - find something like 'printf "something" | mail -s
Nagios $some_address$' in there.
Then, understand Nagios' macros (described in the manual) and how the
command printf works (man printf on the shell should help).
Arno
Any help would be greatly appreciated.
Thank you very much,
-Ed
This email is intended only for the use of the individual or entity to which it
is addressed and may contain information that is privileged and confidential.
If the reader of this email message is not the intended recipient, you are
hereby notified that any dissemination, distribution, or copying of this
communication is prohibited. If you have received this email in error, please
notify the sender and destroy/delete all copies of the transmittal. Thank you.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nagios-users mailing list
[email protected]
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
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nagios-users mailing list
[email protected]
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