lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

Howto create templates with variable mutlipliers

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
Rainy
Helper


Joined: 31 Mar 2004
Posts: 10

PostPosted: Mon Nov 19, 2007 10:21 am    Post subject: Howto create templates with variable mutlipliers Reply with quote

Hi folks,

I'm currently in a situation I don't know how to handle Confused

I try to monitor some ESX-Servers, however the storage devices don't report their true/real values but only as a multiplier for an offset, which itself could be read out by another SNMP-query.

How can I create template graphs which have the variable for their respecting multipliers included?

As a workaround I have to create some non-template graphs with a fixed multiplier. In case, the values change on a new system it would however be a poor solution. Embarassed Any hints?

With regards

Rainy
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Mon Nov 19, 2007 1:36 pm    Post subject: Reply with quote

If you have a set batch of OIDs that would apply to a single subdevice, what you can do is:
1) create your subdevice as usual
2) add a variable/property to the subdevice (from the page that shows all subdevices) - feel free to name it whatever you like ("multiplier" is fine) and assign the value of the multiplier
3) when you build your template graphs you can add your OID monitors as usual and then change the value multiplier to your variable - all that is needed is to surround your variable name with percent signs, like this: %multiplier%

Hopefully that works; it's been awhile since I've tried multiplying by a variable. Unfortunately we don't have a way to multiple one monitor by another, so this would be something you would have to adjust manually.

-Doug
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group