How to monitor duplicate service names?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
acoustix
Posts: 6
Joined: Thu Feb 09, 2012 12:48 pm

How to monitor duplicate service names?

Post by acoustix »

I'm running Nagios core 4.0.7 and I'm rolling out VMware View servers that I'll need to monitor. It looks like VMware named some of their services the same. For example, on my View Connection server the service named "wsbroker" is the VMware View Connection Server service. On the View Security server the service named "wsbroker" is the VMware View Security Server service.

Is it possible to monitor both of these services with the same name, but show different service descriptions?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: How to monitor duplicate service names?

Post by sreinhardt »

Sure can, just setup the command and arguments to allow a specification of the service, then use the service name that you would like to see for the actual service name field in nagios. Service name within the config, does nothing really other than provide something to name the service, config, and store what you would like to see it named as.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked