Snoopy.class.inc Error after upgrading 3.2.1 to 3.3.1

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
ayush1440
Posts: 6
Joined: Wed Dec 28, 2011 6:36 am

Snoopy.class.inc Error after upgrading 3.2.1 to 3.3.1

Post by ayush1440 »

Hello Friends,


I have upgrade my nagios-core 3.2.1 to 3.3.1 version. Everything is working perfect except Home page webUI.

When I click on Home page nothing shows in page. Apache logs shows error..

PHP Warning: require_once(./includes/rss/extlib/Snoopy.class.inc): failed to open stream: No such file or directory in /usr/local/nagios/share/includes/rss/rss_fetch.inc on line 35, referer: http://www.example.com/nagios/side.php
PHP Fatal error: require_once(): Failed opening required './includes/rss/extlib/Snoopy.class.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/local/nagios/share/includes/rss/rss_fetch.inc on line 35, referer: http://www.example.com/nagios/side.php

Also have another issue regarding map. On WebUI nothing shows in map.

Error is - The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server.

Kindly please help me to recover both error.

Help would be appreciated.

Thanks in Advance.
ayush1440
Posts: 6
Joined: Wed Dec 28, 2011 6:36 am

Re: Snoopy.class.inc Error after upgrading 3.2.1 to 3.3.1

Post by ayush1440 »

I google more and i found solution and now it solves problem.

It working perfectly.

But I found other thing and that I am sharing with you.

Everything is working perfectly. But After upgrading to 3.3.1, Nagios Web-UI shows lots of variation on Host & services status.

Like If I click on services tab in left side to see all services.

Once it shows all OK, then I click one more time, it shows pending issue and when I see Schedule time for service check, it already gone and service is actual on OK status but it doesn't update on WebUI.

When I click once again on Services tab, situation is different, it shows either all OK or changes as before .

But in back-end or Actual all services are checked but On web-UI status is different.
I have attached screenshot of web-Ui. you can see that status is pending on some servers but schedule command time is already gone



I don't know why it happens, but can somebody gives me any advise for this. ?

Thanks in Advance.
Attachments
Screen shot for information.
Screen shot for information.
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Snoopy.class.inc Error after upgrading 3.2.1 to 3.3.1

Post by jsmurphy »

It sounds like there are multiple instances of nagios started, try running '/etc/init.d/nagios stop' and then 'ps -ef | grep nagios' if you can still see it running then 'killproc /usr/local/nagios/bin/nagios' and then start it again.

Another way to tell is to open up the event log page and look for checks that never return.
ayush1440
Posts: 6
Joined: Wed Dec 28, 2011 6:36 am

Re: Snoopy.class.inc Error after upgrading 3.2.1 to 3.3.1

Post by ayush1440 »

Thanks a lot for replying,

You are right, I stopped service and then check ps -ef | grep nagios.

Its shows two nagios process running, I killed both and then start Nagios.

Lets see if shows any errors,

Thanks a lot for reply. I will be in touch with you if founds any error.
Locked