Ad Widget

Collapse

Can I perform calculations for a map label?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johnw230873
    Member
    • Aug 2010
    • 54

    #1

    Can I perform calculations for a map label?

    I have a made of my core switch and instead of show the speed as bps I wanted to show this as a % being used.

    On the label I’ve pop in an element {SW1-01-2C29-04:ifInOctets.101021.last(0)} which shows the last value but what I really want to do is something like
    ({FMGPN-01-2C29-04:ifInOctets.101021.last(0)} / 100000) *100.

    Can I do this in the label on the map as if my current used speed is 4000 if I try this I get

    (4000 /100000) *100 i.e. reads the calculation as a sting so doesn't calculate it.
  • JBo
    Senior Member
    • Jan 2011
    • 310

    #2
    Hi,

    You can't perform that kind of calculation in maps.
    However, you can add a calculated item to your host and use it in the map.

    Regards,
    JBo

    Comment

    • johnw230873
      Member
      • Aug 2010
      • 54

      #3
      Ta, this works nicely

      Comment

      Working...