$HOSTALIAS$ macro acting weird again in 3.4.4
$HOSTALIAS$ macro acting weird again in 3.4.4
It looks like restarting nagios was a temporary fix. Once again nagios is replacing spaces with plus signs and special characters with their url encoded equivalent in the $HOSTALIAS$ macro on e-mail notifications.
Regards,
-P
Regards,
-P
Re: $HOSTALIAS$ macro acting weird again in 3.4.4
hmmmm. This is something that should not be so inconsistent. Do you have more than 1 nagios process running?
Code: Select all
ps -aef | grep nagios
service nagios stop
killall nagios
service nagios start
ps -aef | grep nagios
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: $HOSTALIAS$ macro acting weird again in 3.4.4
I have multiple nagios processes running, but it looks like one of them was a zombie possibly leftover from the time of the upgrade. It is dead now.
Thanks for the tip!
-P
Thanks for the tip!
-P
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: $HOSTALIAS$ macro acting weird again in 3.4.4
Let us know if this issue returns!
Re: $HOSTALIAS$ macro acting weird again in 3.4.4
It's baaack!
Re: $HOSTALIAS$ macro acting weird again in 3.4.4
Get your pitchforks and torches ready.
You might find this interesting, you are not the only one to experience this problem:
http://tracker.nagios.org/view.php?id=407
There is a patch for core in the comments there. Are you restarting nagios through the command pipe?
You might find this interesting, you are not the only one to experience this problem:
http://tracker.nagios.org/view.php?id=407
There is a patch for core in the comments there. Are you restarting nagios through the command pipe?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: $HOSTALIAS$ macro acting weird again in 3.4.4
That definitely sounds like my problem. I've applied the patch.
Thanks,
-P
Thanks,
-P
Re: $HOSTALIAS$ macro acting weird again in 3.4.4
Great, Let us know if it resolves your problem. If it does, you may want to create a comment concerning that on the tracker bug page as well. Cheers.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: $HOSTALIAS$ macro acting weird again in 3.4.4
It's been a couple weeks and it looks the the patch fixed the problem. Yay!
Thanks!
-P
Thanks!
-P
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: $HOSTALIAS$ macro acting weird again in 3.4.4
Great! Thanks for letting us know!