Alias wrong

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Alias wrong

Postby nprice » Thu May 05, 2011 4:02 pm

I have defined an alias for a host (GPS Switch) but when i get notifcation emails its changed 1 letter in the alias (GPA Switch) its changes the "S" into an "A".
The only place I can find it splet wrong is in the retention.dat file.
I have tried stopping the nagios service deleting the retention.dat file shutting down the server, restating the server and then nagios. I check the newly made retention.dat and its back in the again misspelt.


It is correct in the .cfg file.

so where does nagios store it to get it wrong and how do i correct it
nprice
 
Posts: 3
Joined: Thu May 05, 2011 3:46 pm

Re: Alias wrong

Postby mguthrie » Fri May 06, 2011 4:54 pm

Try restarting Nagios as well as deleting the retention.dat file. The host alias is stored in a config file somewhere under the /<path>/<to>/nagios/etc directory.
mguthrie
 
Posts: 4384
Joined: Mon Jun 14, 2010 10:21 am

Re: Alias wrong

Postby nprice » Fri May 06, 2011 6:52 pm

i tried restating nagios its still in there.

Even if i change the alias completely it still picks up the old alias.

It must be stored elsewhere but i cant find where.

Even a complet shut down and restart of the server doesnt help
nprice
 
Posts: 3
Joined: Thu May 05, 2011 3:46 pm


Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 32 guests