R: R: Upgrading

Marco Borsani m.borsani at it.net
Thu Jun 30 14:37:12 CEST 2005


Hi

I try to download/use :
host_to_service_contacts.php.gz
hostgroups_to_service_contacts.php.gz

but
1) only way I can is using "save as" of my browser
2) these files are not in "gz" format
3) when I try ro run I receive errors like:
	./host_to_service_contacts.php.gz php -f marco.cfg -a
	Error in argument 1, char 3: option not found

Are these the correct files?
What is my fault?

Thanks
Marco


-}-----Messaggio originale-----
-}Da: nagios-users-admin at lists.sourceforge.net
-}[mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Andreas
-}Ericsson
-}Inviato: mercoledì 29 giugno 2005 17.00
-}A: nagios-users at lists.sourceforge.net
-}Oggetto: Re: R: [Nagios-users] Upgrading
-}
-}
-}Marco Borsani wrote:
-}> Hi all.
-}> I am installing nagios-2.0b3 over nagios 1.2.
-}> In the original installation I had one file contained all
-}contacts, contact
-}> groups, hosts, host groups and services ... HOW can I convert old sintax
-}> with newone?
-}
-}Use the tools at http://oss.op5.se/nagios (see below on why they're not
-}there right now).
-}
-}Take a backup first though. I wrote them a long time ago and I won't fix
-}your configuration for you if it breaks.
-}
-}> Is there a documentation about new sintax ?
-}
-}That would be the 2.0 documentation. Particularly the "What's
-}New" section.
-}
-}> In the bigger.cfg-sample and minimal.cfg-sample files I see some new
-}> "variables", but I need to know which are new rules.
-}>
-}> Regards
-}> M.Borsani
-}>
-}> PS: the conversion tools are not available on http://oss.op5.se/nagios
-}>
-}
-}They will be in a couple of hours. There was a major power outage where
-}I live last night, and I forgot to reboot the server before I
-}left for work.
-}
-}> -}-----Messaggio originale-----
-}> -}Da: nagios-users-admin at lists.sourceforge.net
-}> -}[mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Andreas
-}> -}Ericsson
-}> -}Inviato: giovedì 10 marzo 2005 21.46
-}> -}A: nagios-users at lists.sourceforge.net
-}> -}Oggetto: Re: [Nagios-users] Upgrading
-}> -}
-}> -}
-}> -}Dimitri Yioulos wrote:
-}> -}> I installed Nagios 1.2-1 from Dag Wieers' rpm on a CentOS 3.4
-}> -}(RHEL AS 3)
-}> -}> box, and have it working great (except for status map icons,
-}> -}which I'll ask
-}> -}> about in another post).  I'd like to upgrade to 2.0-0b2 via
-}> -}rpm.  Can I do
-}> -}> this safely.  Are there any tweaks I have to make, or any
-}gotchas I'd
-}> -}> encounter?
-}> -}>
-}> -}
-}> -}Config file formats are wildly mismatching. I wrote a couple of
-}> -}conversion tools once upon a time that might be useful to you.
-}> -}They're at http://oss.op5.se/nagios but be warned that no help is
-}> -}available for any of them and I take no responsibility in case they
-}> -}don't fix everything for you. I just know they worked nicely for me.
-}> -}
-}> -}--
-}> -}Andreas Ericsson                   andreas.ericsson at op5.se
-}> -}OP5 AB                             www.op5.se
-}> -}Lead Developer
-}> -}
-}> -}
-}> -}-------------------------------------------------------
-}> -}SF email is sponsored by - The IT Product Guide
-}> -}Read honest & candid reviews on hundreds of IT Products from
-}real users.
-}> -}Discover which products truly live up to the hype. Start reading now.
-}> -}http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
-}> -}_______________________________________________
-}> -}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
-}>
-}>
-}
-}--
-}Andreas Ericsson                   andreas.ericsson at op5.se
-}OP5 AB                             www.op5.se
-}Lead Developer
-}
-}
-}-------------------------------------------------------
-}SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
-}from IBM. Find simple to follow Roadmaps, straightforward articles,
-}informative Webcasts and more! Get everything you need to get up to
-}speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
-}_______________________________________________
-}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



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
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