+ symbol instead of space in Nagios hostname
-
kalyan1709
- Posts: 43
- Joined: Tue Oct 16, 2012 12:45 am
+ symbol instead of space in Nagios hostname
Hi,
Recently I have upgraded my Nagios core from 3.2.3 to 3.5.
The problem after doing this is: I am receiving alerts as shown below:
** PROBLEM Service Alert: Server+1/CPU Load is WARNING ** ('+' symbol in my host name)
Prior to update I have received the same alert with out '+' symbol and with space as shown below:
** PROBLEM Service Alert: Server 1/CPU Load is WARNING **
Is there any issue with Nagios Core 3.5 version??
Thanks,
KalyanP
Recently I have upgraded my Nagios core from 3.2.3 to 3.5.
The problem after doing this is: I am receiving alerts as shown below:
** PROBLEM Service Alert: Server+1/CPU Load is WARNING ** ('+' symbol in my host name)
Prior to update I have received the same alert with out '+' symbol and with space as shown below:
** PROBLEM Service Alert: Server 1/CPU Load is WARNING **
Is there any issue with Nagios Core 3.5 version??
Thanks,
KalyanP
Re: + symbol instead of space in Nagios hostname
I have not heard of such an issue. Is this happening with all host notifications, or only a subset?
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.
-
kalyan1709
- Posts: 43
- Joined: Tue Oct 16, 2012 12:45 am
Re: + symbol instead of space in Nagios hostname
It is happening with the hosts whose hostname is having spaces (like Server 1, Server 2, ....)
I found below URL when I google about this:
http://tracker.nagios.org/view.php?id=407
Time stamp issue is also there for me ("0d+0h+2m+29s instead of "0d 0h 2m 29s)
Thanks,
KalyanP
I found below URL when I google about this:
http://tracker.nagios.org/view.php?id=407
Time stamp issue is also there for me ("0d+0h+2m+29s instead of "0d 0h 2m 29s)
Thanks,
KalyanP
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: + symbol instead of space in Nagios hostname
Looks like that was fixed in 3.5.1kalyan1709 wrote:It is happening with the hosts whose hostname is having spaces (like Server 1, Server 2, ....)
I found below URL when I google about this:
http://tracker.nagios.org/view.php?id=407
Time stamp issue is also there for me ("0d+0h+2m+29s instead of "0d 0h 2m 29s)
Thanks,
KalyanP
-
kalyan1709
- Posts: 43
- Joined: Tue Oct 16, 2012 12:45 am
Re: + symbol instead of space in Nagios hostname
Is there any upgrade procedure from 3.5 to 3.5.1??
-
kalyan1709
- Posts: 43
- Joined: Tue Oct 16, 2012 12:45 am
Re: + symbol instead of space in Nagios hostname
Can any one know how to apply the patch available in URL: http://tracker.nagios.org/view.php?id=407 ??
Re: + symbol instead of space in Nagios hostname
In order to apply the patch, you will need to build from source. How did you originally install nagios - through a repository or a source tarball?
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.
-
kalyan1709
- Posts: 43
- Joined: Tue Oct 16, 2012 12:45 am
Re: + symbol instead of space in Nagios hostname
Using Source tarball.
Re: + symbol instead of space in Nagios hostname
You could patch it, but my suggestion would be to upgrade to 3.5.1. Is that not an option?
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.
-
kalyan1709
- Posts: 43
- Joined: Tue Oct 16, 2012 12:45 am
Re: + symbol instead of space in Nagios hostname
Thanks. I will do the upgrade.