notify-{host, service}-by-email command resistant to changes
Marcus
adesperateuser at googlemail.com
Thu Sep 4 16:47:09 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Marc,
thanks for the hint.
Marc Powell schrieb:
> On Sep 4, 2008, at 3:09 AM, Marcus wrote:
>> I just tried to get the Macro $HOSTNOTESURL$ below my notification-
>> email
>> for an enhanced usability experience.
>> However, the changes I made to the command-definition are not taken
>> into
>> account, when nagios makes my mta send me a mail
>
> Sounds like you have multiple nagios daemons running at the same time.
I doubt that I actually had two instances running, but who knows.
Maybe there is an issue with my restart-script (from init.d)...
I just killed nagios thoroughly (blood everywhere), and now, the
test-mail I just initiated after restarting shows me the changes.
I even almost got the desired result (a link to host or service) by
building the linkification manually, by combining the servername and
$HOSTNAME$-variable.
But, for services that contain spaces, it doesn't work.
By the way, the $HOSTNOTESURL$ definitely doesn't produce any output on
my system, same goes for the $SERVICENOTESURL$. Is it supposed to
produce a valid html-link or something like that? I didn't quite
understand that part of the current documentation.
Thanks,
Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIv/Tt+qVaNRZYOakRAoT7AKCsBviDLe7gtVta8gG5kQMKGZ0phACfWNXv
mW2tnCzHjGj7thSsfdWdNnc=
=rzjv
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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