Time-Saving Tricks For Object Definitions (and regexp)

Mathieu Gagné mgagne at iweb.com
Tue Jan 13 03:04:42 CET 2009


Hi all,

After 2h of "fun", I'm writing to suggestion a modification to the 
documentation.

http://nagios.sourceforge.net/docs/3_0/objecttricks.html

The documentation does not tell explicitly that you HAVE to disable 
"use_regexp_matching" to use those "tricks".

In fact, if it is not disabled, "real" regexp is used and expected in 
all object definitions and those tricks no longer work.

My suggestion would be to modify the first sentence to:

"The examples I give below use "standard" matching of object names
  and *require* use_regexp_matching to be *disabled*."

The documentation is currently misleading and causing confusion for some 
users and myself:
http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg13031.html

Thanks.

--
Mathieu Gagné

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword




More information about the Developers mailing list