Duplicates Found

Thomas Guyot-Sionnest dermoth at aei.ca
Sat Jan 31 01:19:13 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 30/01/09 03:53 AM, Handle Thomas (LZD) wrote:
> Good Morning,
> 
>  
> 
> First of all I have to say that I´m new to Nagios, I got the project 4
> weeks ago from a resigned employee.
> 
> Two weeks ago, my firm had to move the emergency stop.
> 
> Since this moment, we´re experiencing problems like “DUPLICATES FOUND”.

I'm not too sure if I understand you, but if you're getting duplicate
object errors on Nagios startup it may be possible that the config was
broken AFTER the last Nagios restart (ex. by the former employee). The
only way to fix this is to use backups of your config or fix the errors
one by one.

In the mean time if you need to get nagios back up and still have the
objects.cache file in the var directory, you could possibly back it up
and use it as a precache file (works with nagios 3.x only): copy the
file as objects.precache and start nagios with "-u".

Once you fixed your config, you can always double-check that you didn't
messed it up by comparing the backed-up object.cache and the new one.
use "diff" or "vimdiff" for that. The only difference should be the date
in the headers.

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJg5kB6dZ+Kt5BchYRAqr+AKCm923wEXqNZNvyo9tN6kUtvqC8OgCgjf9d
dvpSx7ytlF0UO8YhFXWb5IU=
=z8sK
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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