RE export configs from Nagios 1.1 to 2.7.

Ben Rosenberg red.kryptonite at gmail.com
Mon Mar 19 21:24:41 CET 2007


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 brosenbe at direwolf:~/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 <marc at ena.com> wrote:
>
>
> > -----Original Message-----
> > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> > bounces at lists.sourceforge.net] On Behalf Of Cyrille Bollu
> > Sent: Thursday, March 15, 2007 11:57 AM
> > To: abid dar
> > Cc: nagios-users-bounces at lists.sourceforge.net; Nagios-
> > users at lists.sourceforge.net
> > Subject: [Nagios-users] RE export configs from Nagios 1.1 to 2.7.
> >
> >
> > I'm a newbie but I think Nagios 1.x's config is not compatible with
> Nagios
> > 2.x's one.
>
> They mostly are. The OP can read the What's New docco and make the
> changes manually. I found the object_config_fix program that Andreas
> wrote at http://oss.op5.se/nagios/ to be useful in my conversion.
>
> --
> Marc
>
> -------------------------------------------------------------------------
> 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 at 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
>


-- 
Faith is the truth of passion. Since no passion is more true than
another, faith is the truth of nothing.

-------------------------------------------------------------------------
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 at 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





More information about the Users mailing list