I've been using Nagios for awhile (since netsaint). I'm not sure if this is possible, so I'm asking here. I hope this makes sense.
I currently have a service that I run for every host in a hostgroup. The service is executed by pulling a macro from the host definition $_HOSTPARAM1$. This works well for instances where there is a 1 to 1 relationship between the host and the service. Meaning I'm just calling one instance of the service for each host. What I need to do is have multiple instances of this same service for some of the hosts depending on the macros on the host. For example HOST1 - SERVICE ($PARAM1$) HOST2 - SERVICE ($PARAM1$) - SERVICE ($PARAM2$) HOST3 - SERVICE ($PARAM1$) - SERVICE ($PARAM2$) - SERVICE ($PARAM3$) I know I can modify my service to take in multiple parameters, but then the whole service would be down if any of the parameters caused the service instance to be down. I also can't create multiple service copies because the number of "PARAMS" is dynamic per host. Any ideas on how to do something like this? Thanks for any suggestions. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null