How to upgrade nagios Version 2.12 ?

J. Bakshi joydeep at infoservices.in
Wed Apr 1 14:19:40 CEST 2009


Andreas Ericsson wrote:
> J. Bakshi wrote:
>> Dear list,
>>
>> Hope you all are well.
>>
>> Nagios 3.x has been released :-) I'm running nagios Version 2.12 and
>> like to upgrade it to 3.x
>> Is there any script  which can convert the nagios 2.12 configuration to
>> 3.X ?
>>
>> I did the configuration manually and it was a huge work, that's why I'm
>> looking for a converter program this time.
>>
>
> No conversion should be necessary, but if you absolutely want something
> and you have sed >= 4.0.9 you can run the following on all your object
> configuration files
>
> sed -i -e 's/retry_check_interval/retry_interval/' \
>     -e 's/max_check_attempts/check_attempts/'
>     $cfg_file
>
> Nagios will complain about some variables in nagios.cfg, but nothing
> major. Insofar as object configuration goes, 2 > 3 upgrades are quite
> painfree.
>

Ok, thanks
then I'll go accordingly

Have a nice time


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