Search found 7 matches
- Fri May 29, 2015 1:23 pm
- Forum: Open Source Nagios Projects
- Topic: Macros missing in notifications?
- Replies: 12
- Views: 3863
Re: Macros missing in notifications?
Feel free to lock it! Hopefully it will stay working.
- Fri May 29, 2015 12:33 pm
- Forum: Open Source Nagios Projects
- Topic: Macros missing in notifications?
- Replies: 12
- Views: 3863
Re: Macros missing in notifications?
It was definitely restarting, because all of my custom code changes were in place. Please don't spend any more effort on this. If it happens again, I will start up where I left off debugging the illegal macro substation. I still wonder if was memory corruption happening from something, somewhere, so...
- Fri May 29, 2015 12:21 pm
- Forum: Open Source Nagios Projects
- Topic: Macros missing in notifications?
- Replies: 12
- Views: 3863
Re: Macros missing in notifications?
Well, this is disappointing. I tracked this down to the clean_macro_chars function. This function takes the config option "illegal_macro_output_chars" and it strips this data from the string. From my debug output, this was basically stripping ALL characters out, with the exception of a few...
- Fri May 29, 2015 8:24 am
- Forum: Open Source Nagios Projects
- Topic: Macros missing in notifications?
- Replies: 12
- Views: 3863
Re: Macros missing in notifications?
Hate to be the nay-sayer in the room, but things don't just stop working without changing something. As I read this, it happened on 4.0.8 in addition to now in 4.1-rc? Generally speaking when you have a problem going from stable --> RC is NOT the way to fix it :) Whoever said I didn't change anythi...
- Thu May 28, 2015 4:19 pm
- Forum: Open Source Nagios Projects
- Topic: Macros missing in notifications?
- Replies: 12
- Views: 3863
Re: Macros missing in notifications?
A little more from the debug log. [1432847786.445135] [2048.1] [pid=32474] **** BEGIN MACRO PROCESSING *********** [1432847786.442842] [2048.2] [pid=32474] Processing part: 'HOSTACKAUTHOR' [1432847786.442857] [2048.2] [pid=32474] macros[49] (HOSTACKAUTHOR) match. [1432847786.442877] [2048.2] [pid=32...
- Thu May 28, 2015 3:54 pm
- Forum: Open Source Nagios Projects
- Topic: Macros missing in notifications?
- Replies: 12
- Views: 3863
Re: Macros missing in notifications?
Strange about the double \. I removed those. But it didn't change anything. I can reproduce this pretty quickly. I submit the command externally like so: echo "[`date +%s`] ACKNOWLEDGE_HOST_PROBLEM;v-itutil;2;1;0;my@email.com;This is only a test" > /opt/nagios/var/rw/nagios.cmd Then I see ...
- Thu May 28, 2015 12:51 pm
- Forum: Open Source Nagios Projects
- Topic: Macros missing in notifications?
- Replies: 12
- Views: 3863
Macros missing in notifications?
Greetings everyone, The last few days I've noticed that macros in my notifications do not seem to me expanding. For example, here is the email I have been receiving. ***** Nagios ***** Notification Type: ACKNOWLEDGEMENT (jgu) Host: v-itutil State: DOWN Address: v-itutil2 Info: kpg: Iv / - v-u2 T y D...