Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Variable support for templates

 
Post new topic   Reply to topic    Cacti Forum Index -> Feature Requests
Author Message
ymilner



Joined: 12 Nov 2002
Posts: 25

PostPosted: Thu Aug 14, 2003 5:41 am    Post subject: Variable support for templates Reply with quote

I have a situation where I have to monitor lots of wireless terminals. However, the SNMP agent is the base station - single IP. The terminals are identified by an id, which is included in the OID string. For example:

To get a certain counter from a specific terminal, you would query the base station with this OID:

.1.3.6.1.4.1.1150.2.1.1.5.2.1.10659.12.term_id.1

Here, the term_id is a single digit, but it could be string like 1.2.3

What I would like is a general possibility of variables, that can be entered at the data source creation/graph creation time.
It should work like this:

When creating a template for data source, one should be able to put in any test field a special symbol, like //*x//, where x would be a variable number, or a variable name.

Then, when a data source is created using this template, it should give a prompt to enter a value for variable(s).

The same functionaly is also useful for graph templates. For example, if I have a template for subscriber load, and I also want to graph his CIR/MIR using HRULE. In this case, the HRULE value should be a variable, and when one creates a new subscriber using host/graph template, he will be asked to enter the appropriate MIR/CIR values.




Cheers,

Yuly
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2235
Location: Carlisle, PA

PostPosted: Sat Aug 16, 2003 12:59 am    Post subject: Reply with quote

I think this is a really good idea and I will consider adding it to both graph and data templates. I am guessing that these variables will never be templated, that is the user will have to fill all of them in for each graph/data source that is created based on the template.

This feature has been added to my list of things to do, hopefully I will get to it soon.

-Ian
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Feature Requests All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group