Help with Nagios Looking Glass
Andy Shellam
andy.shellam-lists at mailnetwork.co.uk
Mon Mar 19 11:38:47 CET 2007
Hi Mike,
Sorry to hear you're having trouble!
The error you're getting means that NLG cannot find (or read) all of the
files it needs to determine that Nagios is running, and for it to read
it's status information from.
The files it looks for are:
- comments.dat
- downtime.dat (not currently used but it still checks it anyway)
- objects.cache
- status.dat
It looks for them by default in /usr/local/nagios/var.
Someone on the list has noticed before that their "status.dat" file was
actually "status.log", in which case symlinking status.dat to status.log
did the trick.
Please check these files exist and are readable by your webserver user.
If you believe they're all intact, please reply back with the following:
- the output of "ls -l /usr/local/nagios/var" (change the path to
Nagios' var directory if different)
- the result of "head /usr/local/nagios/var/status.dat" (run as your
webserver user, change the path to Nagios' var directory if different)
- the value of the ServerNagiosFiles and ServerNagiosFeed settings from
your "nlg/server/s3_client.inc.php" config file
Regards,
Andy.
Mike Davis wrote:
> I think I have followed everything in the documentation, and have
> googled for a while before writing to the list. I'm using Nagios 2.8
> and NLG 1.03 on Fedora 6, Apache 2.2.3.
>
> I have enabled ?debug=yes and here is the output...
>
> Attempting to contact the poller at http://xxx:xxx@xxxx.com/nagios/server/s3_poller.php?fid=0&gid=0
>
> The poller returned a FAILURE code: The polling server feed returned a 'failure' code; the polling
> server said: The poller could not read all of Nagios' status files - Nagios might not be running
>
> *** S3 Client -> PingPoller() finished ***
>
>
> Nagios is in fact running and working well. Any information on how I
> can enable more verbose logging to see just where the problem is? I've
> been checking permissions all over and everything seems correct.
>
> Thanks in advance...
>
> Mike
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> 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
>
> !DSPAM:37,45fdd3e5103001990925181!
>
>
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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