Custom Host Template Fileds

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
mrnoodle
Cacti User
Posts: 59
Joined: Sun Apr 02, 2006 3:56 pm

Custom Host Template Fileds

Post by mrnoodle »

I would like to suggest the addition of some custom Host Template fields that could be used to allow the system to collect data from hosts via SNMP, or possibly custom scripts, when the device is either added to the system or re-indexed. Since it is likely that this data could contain text and would not be something that would be polled on a regular basis to generate graph data, the custom data collected about the host would then be inserted and stored in the MYSQL database and could then be made available to the rest of the system as a variable, similiar to the "host_description" variable.

For example, the SNMP MIB location used to query the software version of a given host could be defined in the first custom field of the host template. When generating graphs for this host, you could include a comment in the legend that read "Software Version: |query_custom1|".

It would be nice if the custom fields could be added to the host template dynamically in a manner similar to how Data Sources are added to data templates (then you would have to use |query_custom_nameofcustomrecord| ), but that would be likely more difficult to implement than just adding 5 or 10 custom fields to all host templates and allowing them to either be enabled or disabled when the host template is modified.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please post a feature request to the mantis system at http://bugs.cacti.net
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests