[Nagios-devel] empty tokes with devel version service checks

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] empty tokes with devel version service checks

Post by Guest »

--=-pO9WPA3sJgfqCFKJ2zUN
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

I'm having a weird problem with nagios (cvs version, from end of
April):

This is on a simple https test:

***** Nagios *****

Notification Type: PROBLEM

Service: HTTPS Frontend
Host: MBNet
Address: XXX.YYY.ZZZ
State: CRITICAL

Date/Time: $

Additional Info:


So it would seem like=20

# 'notify-by-email' command definition
define command{
command_name notify-by-email
command_line /usr/bin/printf "%b" "***** Nagios *****\n
\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost:
$HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:
$DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "**
$NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$
**" $CONTACTEMAIL$
}

is losing $OUTPUT$ and $DATETIME$.

I tried digging around the code, but I didn't exactly get where those
variables are set in order to discove where to problem could be.

So, is this known? Should I just update the build?

Thanks, Rui

--=20
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?

Please AVOID sending me WORD, EXCEL or POWERPOINT attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

--=-pO9WPA3sJgfqCFKJ2zUN
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCiL6No+C50no0+t4RAgybAKCXCKlXKvRMfSwXiLNy18radnkAeQCfc723
WuTfg3B147H+ZqdRyWAeu3Q=
=j5aZ
-----END PGP SIGNATURE-----

--=-pO9WPA3sJgfqCFKJ2zUN--





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked