Mail notification differences
Dean Bishop
dbishop at ehvert.com
Wed Apr 9 20:50:44 CEST 2003
This can be worked around by using "echo -e" instead of printf.
Later,
dean
-----Original Message-----
From: Subhendu Ghosh [mailto:sghosh at sghosh.org]
Sent: April 9, 2003 1:59 PM
To: Nagios Users List (E-mail)
Subject: Re: [Nagios-users] Mail notification differences
windows notification output is missing the data because c:\ <--- the "\"
is a shell meta-character
-sg
On Wed, 9 Apr 2003, Jose Orlando Muñoz Bravo (HP) wrote:
> Hi all,
>
> I´m using checks for Windows and UNIX plataforms, I want to underestand
why the notifications are different in the "additional info" informatión
> the informatión in the misccommands.cfg file is " ....... Additional
Info:\n\n$OUTPUT$" but the mail received change for each plataform here are
the 2 examples.
>
> Notification from Windows2K servers
> ==========================================
> Notification Type: PROBLEM
>
> Service: Drive C:
> Host: w2krecover
> Address: 192.168.170.68
> State: CRITICAL
>
> Date/Time: Wed Apr 9 02:32:46 COT 2003
>
> Additional Info:
>
> C:
> ==========================================
>
> Notification from Unix servers
> ==========================================
>
> Notification Type: PROBLEM
>
> Service: /Sap_arch
> Host: Atenea
> Address: 192.168.170.82
> State: CRITICAL
>
> Date/Time: Wed Apr 9 09:10:47 COT 2003
>
> Additional Info:
>
> Only 2.78G (8%) free on /Sap_arch
> =========================================
>
> I like to receive the values in the W2k servers like i can see in the web
interface.
>
>
> Thanks for your answers
>
> Jomb.
>
>
--
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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
More information about the Users
mailing list