[Nagiosplug-help] Nagat 1.0a2 not working with Redhat 8.0

New User brmm28 at yahoo.com
Wed Dec 18 13:14:06 CET 2002


I have Redhat 8.0 installed with the following rpms PHP 4.2.2-8.0.5 and Apache 2.0.40-11. I have installed Nagat 1.0a2. When I go to the Nagat webpage I have the links and the buttons but the page does not have a background.  

 

If I click on the host’s link, new I get this:

 

Warning: Variable passed to reset() is not an array or object in /var/www/html/nagat/hostedit.php on line 110

 

0 ) { print ObjectInheritance($hostname,OBJECTTYPE); } if( !empty($hostname) ) { $userobjs = NagiosObjectUsage($hostname,OBJECTTYPE); if ( $userobjs != NULL ) { print ObjectUsage($hostname,OBJECTTYPE,$userobjs); } } ?>

 

If I click host groups, new I get this

 

Warning: Variable passed to reset() is not an array or object in /var/www/html/nagat/hostgroupedit.php on line 81

 

0 ) { print ObjectInheritance($hostgroupname,OBJECTTYPE); } $userobjs = NagiosObjectUsage($hostgroupname,OBJECTTYPE); if ( $userobjs != NULL ) { print ObjectUsage($hostgroupname,OBJECTTYPE,$userobjs); } ?>

 

As I click other links I get similar result has anyone found a fix for this problem? If at all possible I would like to get this working with the current version of Apache and PHP that I am using. 

 

Any help would be greatly appreciated 

 

Thanks!

 

 



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20021218/035c9131/attachment.html>


More information about the Help mailing list