Legacy checks with old Nagios Client

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jpipitone
Posts: 102
Joined: Tue Oct 12, 2010 1:21 pm

Legacy checks with old Nagios Client

Post 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
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Legacy checks with old Nagios Client

Post by tonyyarusso »

Both check_nt and check_nrpe are supported by both XI and the current version of NSClient++, so you should be fine.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
jpipitone
Posts: 102
Joined: Tue Oct 12, 2010 1:21 pm

Re: Legacy checks with old Nagios Client

Post by jpipitone »

Nice! Thank you
jpipitone
Posts: 102
Joined: Tue Oct 12, 2010 1:21 pm

Re: Legacy checks with old Nagios Client

Post 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?
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Legacy checks with old Nagios Client

Post by tonyyarusso »

Could you post your NSC.ini, service definition, and command definition?
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
jpipitone
Posts: 102
Joined: Tue Oct 12, 2010 1:21 pm

Re: Legacy checks with old Nagios Client

Post 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!
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Legacy checks with old Nagios Client

Post by tonyyarusso »

Ah, excellent.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked