Migrating from Nagios Core to Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
fsbeaunix
Posts: 31
Joined: Mon Apr 20, 2015 2:58 pm
Location: Michigan, USA

Migrating from Nagios Core to Nagios XI

Post by fsbeaunix »

Hello,

I am migrating from Nagios Core to Nagios XI. I have a check in nagios core that is called check_web_ping_wrapper under the services config. Under the command expansion i have the commands and it looks like it points to an .sh (see screen shot also).

Nagios core:
Command Name Command Line
To expand: check_web_ping_wrapper
check_web_ping_wrapper $USER1$/check_http_wrapper.sh $HOSTNAME$
-> $USER1$/check_http_wrapper.sh $HOSTNAME$

How do I go about setting this up in Nagios XI? I am not too familar with nagios core as i didn't set it up, but have tried to migrate all of our notifications over. This one looks to have a script it uses.
You do not have the required permissions to view the files attached to this post.
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: Migrating from Nagios Core to Nagios XI

Post by vtrac »

Hi,
Please following the below KB article on how to add new plugin into Nagios XI.

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Let for example, once you have create the new plugin, you can then add a command name called "check_web_ping_wrapper".
This then has a command line of "$USER1$/check_http_wrapper.sh $HOSTNAME$"

You can manually run the command by open a command prompt on your Nagios XI and run:

Code: Select all

/usr/local/nagios/libexec/check_http_wrapper.sh x.x.x.x

Regards,
Vinh
Locked