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.
Migrating from Nagios Core to Nagios XI
Migrating from Nagios Core to Nagios XI
You do not have the required permissions to view the files attached to this post.
Re: Migrating from Nagios Core to Nagios XI
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:
Regards,
Vinh
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.xRegards,
Vinh