List services using a given plugin

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

List services using a given plugin

Post by vmesquita »

I am doing a Nagios reinstall. To make sure everything is working right, I would like to test each customized plugin with at least one of the servers it is being used, to make sure it's working.

How can I find out which services use a specific command? Maybe some SQL query... Any ideas?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: List services using a given plugin

Post by lmiltchev »

You could log into Nagios Core interface

Code: Select all

http://ip address/nagios
click on the "Configuration" link under the "System" menu on the left, select "Object Type = Services", and click on "Continue".

You will be able to see all of your services on the page, the check command they are using, along with the arguments that are passed, check period, notification interval, etc.

Is this what you were looking for?
Be sure to check out our Knowledgebase for helpful articles and solutions!
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Re: List services using a given plugin

Post by vmesquita »

This is what I wanted however it's not working correctly. It shows 2279 services while we have 5475. The last line in incomplete which suggests it stops enumerating after a certain point
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: List services using a given plugin

Post by lmiltchev »

I am not aware of any "limit" on this page, and I haven't been able to recreate the issue in-house.

Have you tried filtering the services by service name or a host as a possible "workaround"?
example01.PNG
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked