Page 1 of 1

Legacy checks with old Nagios Client

Posted: Thu Apr 07, 2011 10:34 am
by jpipitone
We've launched our NagiosXI installation to production, and everything is working smoothly with no issues.

My question is, we are planning on uninstalling the legacy Nagios Agent from all of our machines on the network, however I wanted to confirm that the legacy host and service checks that we've imported from our existing Nagios Core 2.9 install will work with the new NSClient++

I am under the impression that the legacy service checks such as check_nt_disk_X will not work as the new NagiosXI service checks don't support them.

If this is the case, is there an easy way to convert these legacy checks to the newest version, or are we going to have to manually add all of our hosts again using the Configuration Wizards?

I appreciate any help.

CentOS 5 32 bit
Manual Install of XI

Re: Legacy checks with old Nagios Client

Posted: Thu Apr 07, 2011 11:00 am
by tonyyarusso
Both check_nt and check_nrpe are supported by both XI and the current version of NSClient++, so you should be fine.

Re: Legacy checks with old Nagios Client

Posted: Thu Apr 07, 2011 11:14 am
by jpipitone
Nice! Thank you

Re: Legacy checks with old Nagios Client

Posted: Thu Apr 07, 2011 11:32 am
by jpipitone
OK - so I've uninstalled the Nagios Agent, and re-installed NSClient++ - there's no password set for check_nt checks, and I left the field blank during installation.

I've entered the allowed host, but the service checks still continue to fail for a simple check_nt_disk...

Any ideas what I may be missing?

Re: Legacy checks with old Nagios Client

Posted: Thu Apr 07, 2011 11:50 am
by tonyyarusso
Could you post your NSC.ini, service definition, and command definition?

Re: Legacy checks with old Nagios Client

Posted: Thu Apr 07, 2011 12:02 pm
by jpipitone
Turns out my service command looked like:

Code: Select all

$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l BackupExecRPCService
However, in my NSC.ini file, the port was set to 12489, so I've just changed the port to 1248, and everything checks out.

Thanks for your help!

Re: Legacy checks with old Nagios Client

Posted: Thu Apr 07, 2011 12:14 pm
by tonyyarusso
Ah, excellent.