On 3/19/07, Ben Rosenberg <[EMAIL PROTECTED]> wrote:

I'm not a PHP guru, so I'm not sure what this out put means. Could you
hip me to how you used the object_config_fix script to convert your
1.x cfg files to 2.x cfg files?

- Ben

3:22PM [EMAIL PROTECTED]:~/Desktop/convert/ > php object_config_fix.php

Warning: Invalid argument supplied for foreach() in
/home/brosenbe/Desktop/convert/object_config_fix.php on line 124



################################################################
No host objects configured (somethings very wrong with that)
Exiting to prevent configuration damage
################################################################


zsh: exit 1     php object_config_fix.php

On 3/15/07, Marc Powell <[EMAIL PROTECTED]> wrote:



Just looking at the source, you need to supply your main configuration file
as a command line argument, so I would guess something like

php object_config_fix.php /usr/local/nagios/etc/nagios.cfg

Rob
-------------------------------------------------------------------------
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
[email protected]
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

Reply via email to