Config Problems


#1

Seem to be having some serious issues with nagios v3 that i can’t seem to fault

One of the faults is that i keep getting this message…

[blockquote]
It appears as though you do not have permission to view information for any of the services you requested…

If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI
and check the authorization options in your CGI configuration file.[/blockquote]
as seen in picture 2, but then if i click the menu option again it works as it should (picture 3)

Also in pictures 5 & 6 with in 6 seconds first i don’t have any errors and then i do!

Also if i get a problem with a serivce it doesn’t seem to try and recheck it

As you can see in some of the attachements strange things keep happening.

Could anyone point me in the right direction and point out what could be wrong.

{e_FILE}public/1210152571_10461_FT0_1.jpg
{e_FILE}public/1210152571_10461_FT0_2.jpg
{e_FILE}public/1210152571_10461_FT0_3.jpg
{e_FILE}public/1210152571_10461_FT0_4.jpg
{e_FILE}public/1210152571_10461_FT0_5.jpg
{e_FILE}public/1210152571_10461_FT0_6.jpg

#2

Do you somehow maybe have 2 nagios processes running? The only time I see wierdness like this after I’ve done “service nagios reload” following a config change, although nowadays I always use “restart” instead. I would suggest that a “service nagios stop”, followed by a “killall -9 nagios” to make sure all the processes are got rid off, then finally “service nagios start” might clear up your issues.

HTH

/S


#3

great the seemd to sort the problem with the permissions problems

any ideas why certain hosts haven’t been checked in a few days?

Dan


#4

I would have thought it would have all been related, but otherwise possibly there has been a configuration mistake some days ago - some things to consider might include:
Does the ‘pre-flight check’ (-v option) report any errors?
Are you able to back out any recent changes to your config? (i.e. restore a backed up copy of the recently changed configuration file)
Can you manually ‘reschedule’ a check?
Has somebody inadvertantly set “notifications_enabled” to “0” in one or more host/service object templates?
Is the server actually performing the checks but not recording them? (i.e. can you see the checks happening in the log file?)

Hopefully looking into one or more of these areas will help narrow down your issue.

HTH

/S


#5

thanks guys all seems to be working great now :slight_smile:

Dan