On 6 March 2010 01:04, Litwin, Matthew <mlit...@stubhub.com> wrote: > Is it possible to set up entries in serviceextinfo.conf to match a pattern to > avoid having to re-enter similarly named services with the exact same > notes_url definition? > > For instance, can entries like this: > > define serviceextinfo { > service_description Oracle Tablespace - STSPDB - STREAMS_TBS > hostgroup SRWC-solaris-siebel-db > notes_url > /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ > } > define serviceextinfo { > service_description Oracle Tablespace - SBLDB - USERS > hostgroup SRWC-solaris-siebel-db > notes_url > /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ > } > define serviceextinfo { > service_description Oracle Tablespace - SBLDB - STUB_DATA01 > hostgroup SRWC-solaris-siebel-db > notes_url > /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ > } > .... > > which all have a service_description that starts with "Oracle Tablespace" be > defined in a singular definition somehow?
Which release of Nagios are you using? In Nagios 3 serviceextinfo definitions are deprecated. You can now put the notes_url directive in the service definition itself. You can set up a service template which just contains the notes_url directive and apply that template only to your Oracle Tablespace service definitions. hth, Jim ------------------------------------------------------------------------------ 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