Frost, Mark {PBG} wrote: > As a followup, it looks like (perhaps among other issues) the > s3_poller.php script is timing out. > > I've turned on the displaying of PHP error messages and when I put the > s3_poller.php URL in and wait, I eventually get: > > Fatal error: Maximum execution time of 30 seconds exceeded in > /usr/local/nlg_101/server/sync-files/s3_functions.inc.php on line 248 >
Yep what that's doing is parsing your var/status.dat file to get the current services and their statuses. How big is your Nagios installation? (i.e. how many hosts/services?) > Looking at that file, this seems to be looking at one of my nagios "var" > files... > > preg_match_all("/(?:\n|\r\n)\w*service > {(?:\n|\r\n)\s*host_name=" . $ServerObject->HostName . "(?:\n|\r\n)/", > stream_get_contents($StatusFileHandle), $ServiceMatches, > PREG_OFFSET_CAPTURE, 0); > > Mark > Andy. ------------------------------------------------------------------------- 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@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