Addons

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
Louis
Posts: 11
Joined: Wed Jan 15, 2014 7:23 pm
Location: Perth, Australia
Contact:

Addons

Post by Louis »

Howdy,

Forgive my ignorance for what seems like a really basic task, but I can't figure it out for the life of me. :?

I've imported some plugins in NagiosXI > Admin > Manage Plugins, but they aren't showing up in the drop-down menu in Configure > CCM > Services > Add New > Check Command.

What am I doing wrong?

Cheers. :)
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Addons

Post by tmcdonald »

You need to create a new command based off that plugin. It's a little weird, I know, but you get used to it. If you go to Configure -> Core Configuration Manager -> Commands, you will be able to create a new command. Usually it is just the same name as the plugin. For the command line portion, they give the example:

$USER1$/check_example -H $HOSTADDRESS$

$USER1$ needs to stay there, along with the forward slash and the name of the plugin. After that you can add in whatever switches you want. If you want to be able to add in arguments later, you can do something like

$USER1$/check_example -w $ARG1$ -c $ARG2$

and when you define the service you can fill in $ARG1$ and $ARG2$ in the text boxes on the right in the service page.
Former Nagios employee
User avatar
Louis
Posts: 11
Joined: Wed Jan 15, 2014 7:23 pm
Location: Perth, Australia
Contact:

Re: Addons

Post by Louis »

AH, makes perfect sense. Thank you :)
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Addons

Post by tmcdonald »

I'll leave this thread open for a bit, in case you have any issues. Whether you get it working or not, let us know so we can either help you or lock the thread.
Former Nagios employee
Locked