[Check_mk (english)] Migrating from Nagios to Check_MK

Hi all.

We have a Nagios server with over 500 hots and 2000 services that want to migrate to Check_MK.

Initially Check_MK agent is not installed on mostly of these hosts. They are being checked by custom plugins defined on Nagios.

We want to know if there is a script for migrating these services defined on Nagios config to check_mk configuration files.

Thanks for your help and sorry for my very bad English.

···


Joaquín Manuel Llano Montero

Linux Registered User #481540
http://joaquinllanomontero.wordpress.com

Hi,

Hi all.

We have a Nagios server with over 500 hots and 2000 services that want to migrate to Check_MK.

Initially Check_MK agent is not installed on mostly of these hosts. They are being checked by custom plugins defined on Nagios.

We want to know if there is a script for migrating these services defined on Nagios config to check_mk configuration files.

Thanks for your help and sorry for my very bad English.

There is no migration script that does this automatically.
You can use the extra_nagios_conf or legacy_services config options to pull in your old plugins.

Personal opinion follows here:

With that said, the best way is to first deploy the agents to all systems and once they're all available, run inventory and tune levels.
Once you get high-quaility notifications after 2 weeks of carefully adjusting, turn off all auto-inventorized stuff on the old nagios.
After that, define the Check_MK system a the new main one and only use the old one for those checks that aren't easily defined via rules and need some extra thinking to move over.

Initially just testing a few servers/services to define which of the Nagios plugins need to find their way to the new system is reasonable, but then one must to put all effort into rolling out enough agents to achieve unifomity.

Trying to add one system
and then another one
is a road to utter disaster.

Greetings (and have fun migrating),
Florian

···

On 03/20/2012 09:22 AM, Joaquin Manuel wrote:

--
Mathias Kettner GmbH | \/ | |/ / M A T H I A S K E T T N E R
Florian Heigl | |\/| | ' /
Steinstr. 44 | | | | . \ Linux Beratung& Schulung
81667 M�nchen |_| |_|_|\_\ http://mathias-kettner.de
Tel.: 089 / 1890 4210
Fax.: 089 / 1890 4211 Mail: fh@mathias-kettner.de

did that manually in 3 days in a 3k services setup, not that modular, with checkmk snmp inventory only. some days in advance to learn and prepare checkmk, but afterall, a new host is just some tags plus -vII plus -O now :slight_smile:

still, passive checks remain off the hook.

···

On 20.03.2012 22:15, Florian Heigl wrote:

Hi,

On 03/20/2012 09:22 AM, Joaquin Manuel wrote:

Hi all.

We have a Nagios server with over 500 hots and 2000 services that want to migrate to Check_MK.

Initially Check_MK agent is not installed on mostly of these hosts. They are being checked by custom plugins defined on Nagios.

We want to know if there is a script for migrating these services defined on Nagios config to check_mk configuration files.

Thanks for your help and sorry for my very bad English.

There is no migration script that does this automatically.

--
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email: michael.friedrich@univie.ac.at
phone: +43 1 4277 14359
mobile: +43 664 60277 14359
fax: +43 1 4277 14338
web: http://www.univie.ac.at/zid
            http://www.aco.net

Lead Icinga Core Developer

I recently did a complete migration from straight-up Nagios to check_mk.

Basically, what I did was to pull the entire old Nagios config into check_mk as extra_nagios_conf. Then I installed the agent on all the hosts, inventoried, and then started reducing duplicates out.

The biggest thing, though, was passive checks. I ended up patching check_mk so that you can actually declare passive checks using the normal legacy_checks and extra_service_conf syntax (the released code ignores any "use" or "disable_active_checks" settings). The patch was sent to the this list as well as to Matthias, but I've no idea whether he likes it or hates it. 8)

···

On Mar 20, 2012, at 4:18 PM, Michael Friedrich wrote:

On 20.03.2012 22:15, Florian Heigl wrote:

Hi,

On 03/20/2012 09:22 AM, Joaquin Manuel wrote:

Hi all.

We have a Nagios server with over 500 hots and 2000 services that want to migrate to Check_MK.

Initially Check_MK agent is not installed on mostly of these hosts. They are being checked by custom plugins defined on Nagios.

We want to know if there is a script for migrating these services defined on Nagios config to check_mk configuration files.

Thanks for your help and sorry for my very bad English.

There is no migration script that does this automatically.

did that manually in 3 days in a 3k services setup, not that modular, with checkmk snmp inventory only. some days in advance to learn and prepare checkmk, but afterall, a new host is just some tags plus -vII plus -O now :slight_smile:

still, passive checks remain off the hook.

--
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email: michael.friedrich@univie.ac.at
phone: +43 1 4277 14359
mobile: +43 664 60277 14359
fax: +43 1 4277 14338
web: http://www.univie.ac.at/zid
          http://www.aco.net

Lead Icinga Core Developer
http://www.icinga.org

_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Thanks all a lot for your help.

Migration is nearly completed.

Regards

···

2012/3/21 Brian Gallew brian.gallew@copart.com

I recently did a complete migration from straight-up Nagios to check_mk.

Basically, what I did was to pull the entire old Nagios config into check_mk as extra_nagios_conf. Then I installed the agent on all the hosts, inventoried, and then started reducing duplicates out.

The biggest thing, though, was passive checks. I ended up patching check_mk so that you can actually declare passive checks using the normal legacy_checks and extra_service_conf syntax (the released code ignores any “use” or “disable_active_checks” settings). The patch was sent to the this list as well as to Matthias, but I’ve no idea whether he likes it or hates it. 8)

On Mar 20, 2012, at 4:18 PM, Michael Friedrich wrote:

On 20.03.2012 22:15, Florian Heigl wrote:

Hi,

On 03/20/2012 09:22 AM, Joaquin Manuel wrote:

Hi all.

We have a Nagios server with over 500 hots and 2000 services that want to migrate to Check_MK.

Initially Check_MK agent is not installed on mostly of these hosts. They are being checked by custom plugins defined on Nagios.

We want to know if there is a script for migrating these services defined on Nagios config to check_mk configuration files.

Thanks for your help and sorry for my very bad English.

There is no migration script that does this automatically.

did that manually in 3 days in a 3k services setup, not that modular, with checkmk snmp inventory only. some days in advance to learn and prepare checkmk, but afterall, a new host is just some tags plus -vII plus -O now :slight_smile:

still, passive checks remain off the hook.

DI (FH) Michael Friedrich

Vienna University Computer Center

Universitaetsstrasse 7 A-1010 Vienna, Austria

email: michael.friedrich@univie.ac.at

phone: +43 1 4277 14359

mobile: +43 664 60277 14359

fax: +43 1 4277 14338

web: http://www.univie.ac.at/zid

      [http://www.aco.net](http://www.aco.net)

Lead Icinga Core Developer

http://www.icinga.org


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en


Joaquín Manuel Llano Montero

Linux Registered User #481540
http://joaquinllanomontero.wordpress.com