Patterns in serviceextinfo.conf?

Litwin, Matthew mlitwin at stubhub.com
Sat Mar 6 02:04:56 CET 2010


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?

Thanks,
Matthew Litwin
mlitwin at stubhub.com<mailto:mlitwin at stubhub.com>
415.222.8475


------------------------------------------------------------------------------
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 at 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





More information about the Users mailing list