[Patch] Nagios 3.0.3: extinfo.cgi to show hosts custom vars and parents

Marcus Fleige marcus.fleige at de.rhenus.com
Thu Sep 25 10:24:39 CEST 2008


Good morning,

that's nice suggestions and great feedback, thank you all!

For a conclusion:
To make the patch more usable, there should be made two enhancements:

1.) "cgi_customvar_blacklist" or similar in cgi.cfg to hide specific 
custom vars from being blacklisted.

2.) "authorized_for_custom_vars" in contact objects to define the 
contacts allowed to view custom vars, with a default value of false.

Some more questions about this:
- What about the generic switch for display of custom vars?
- Should the blacklist parameter be able to deal with patterns (like 
"SNMP_*"or something?)?
- What about combining both and define "authorized_for_custom_vars" not 
as a binary, but a string parameter, e.g. 
"authorized_for_custom_vars=*", "authorized_for_custom_vars=LOCATION_*" etc.

Did i get this right?

One more generic point: rumours (and Andreas' announcement) say, Ethan 
"might" be working on some new UI, so do you think it's still useful to 
invest work and time to this?

After all, I'm not sure if my copy-and-paste coding skills are 
appropriate to fulfill your requests, plus i can't make sure when i'll 
be able to find the time to do this. :-( (BTW: Thanks for your support 
offer, Hendrik!) First of all i'll give the code a closer look to get a 
feeling for this whole programming stuff. ;-)


Regards,

Marcus

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/




More information about the Developers mailing list