Hi all, I have some printers where I use SNMP to get data for the toner levels. Now I have some problem with a few Xerox printers. You have to calculate between 2 different values to get the percentage of the toner levels. Is there some way to calculate "snmp object value""snmp object value 2" * 100 I tried by an execute script but I do not get the3 values how I want it. Hope someone can help me :) Renzo asked 24 Jul '19, 09:25 renzo_massi |
Hi Renzo, You can use the SNMP monitor to get the calculated value you need from the two objects. First you will need to add an new monitored object, I'd suggest using the "snmp object value" form you example. Then edit that monitored object and add a variable ($Var1$) to be used in your calculation, this would be your "snmp object value 2". This gets you all of the data needed to calculate the actual number that you need. Next, in the Scale Value box you could enter something like this... (value \ $Var1$) * 100 You may also want to add an Alias to this Monitored Object because you are calculating something different from the original object. Thanks Please make sure to mark your questions accepted when you have your answer by clicking the gray check mark to the left of the answer. answered 24 Jul '19, 10:37 Quinn ♦♦ |
Hi Quinn, I understand your explanation only I can not figure out how to add a variable to a monitored snmp object. I thought it was at the custom properties part but that is not working. Also I dont see something under the edit options of the monitored snmp object. Am I missing something maybe? answered 25 Jul '19, 02:50 renzo_massi |
Renzo, When you have the menu opened to edit the monitored SNMP object there is an Advanced Options button, select that. That will expand the menu to give you more options. There will be 4 variables that you can enter OIDs for under the Object OID. For example $Var1$ and $Var2$... Once you have OIDs in the variables you can use them in the Scale Value option. Thanks Please make sure to mark your questions accepted when you have your answer by clicking the gray check mark to the left of the answer. answered 25 Jul '19, 09:11 Quinn ♦♦ |
Ah, that option is missing. I think the version is to old here. Version 6(year 2015). I go upgrade first then, now understand why I can not see this :) answered 25 Jul '19, 09:19 renzo_massi The cheapest way to make sure that the Yearly Support is current on your licenses. Then you can download and upgrade for Free. I can check your support status if you would like. I'll need to know the license number. If you want to send this in an email please send it to support@poweradmin.com
(25 Jul '19, 09:45)
Quinn ♦♦
|