Need help no nagios_config:

9 views
Skip to first unread message

Zia

unread,
Jul 31, 2008, 5:41:55 PM7/31/08
to Nagios Config
Importing Nagios Configuration Files from '.
$nagiosConfigDirectoryPath.' ...
',4096)."\n"; echo "Nagios Config Installation Status:\n";
for($scriptCount=0; $scriptCount '; flush(); ob_flush(); $the_script =
$scripts[$scriptCount]; $the_script = $the_script."_import.php";
require_once($the_script); // usleep(900000); switch($the_script)
{ case "cleardb_import.php": echo "Cleared the information out of
nagios_config database
"; echo "STATUS: Cleared info out of nagios_config database"; break;
case "misccommands_import.php": echo "imported the miscellaneous
commands from misccommands.cfg
"; echo "STATUS: imported misc commands from misccommands.cfg"; break;
case "checkcommands_import.php": echo "imported the check commands
from checkcommands.cfg
"; echo "STATUS: imported check commands from checkcommands.cfg";
break; case "contactgroups_import.php": echo "imported the contact
groups from contactgroups.cfg
"; echo "STATUS: imported contact groups from contactgroups.cfg";
break; case "contacts_import.php": echo "imported the contacts from
contacts.cfg
"; echo "STATUS: imported contacts from contacts.cfg"; break; case
"timeperiods_import.php": echo "imported the time (notification)
periods from timeperiods_import.php
"; echo "STATUS: imported time periods from timeperiods.cfg"; break;
case "services_import.php": echo "imported the service information
from services.cfg
"; echo "STATUS: imported service information from services.cfg";
break; case "hosts_import.php": echo "imported the host information
from hosts.cfg
"; echo "STATUS: imported host information from hosts.cfg"; break;
case "hostgroups_import.php": echo "imported the host group
information from hostgroups.cfg
"; echo "STATUS: imported host group information from hostgroups.cfg";
break; case "serviceescalations_import.php": echo "imported the
service escalation information from serviceescalations.cfg
"; echo "STATUS: imported the service escalation information from
serviceescalations.cfg"; break; } } echo "Finished! Click HERE to get
started!"; ob_end_flush(); ?> >>Finished importing the Nagios config
files into !

I am getting this when i run install.php: it doesn't show any progress

can someone help me on setting nagios_config.
Reply all
Reply to author
Forward
0 new messages