Search found 6 matches

by geofs
Mon Jun 25, 2007 2:02 am
Forum: Help: General
Topic: Leading spaces in SNMP values: Bug in process_poller_output?
Replies: 4
Views: 1246

When I graph similar values via the OID field in a data template, it works. It seems that leading spaces, text and units are removed automatically. I still haven't found how to achieve the same result with VALUE/REGEXP. Please can someone give some advice on this? It works with my little hack but I'...
by geofs
Mon Jun 25, 2007 1:53 am
Forum: Scripts and Templates
Topic: Monitor Vmware ESX
Replies: 238
Views: 484845

Alright...it works, I get data, it's graphed, but something is up.... I dunno if the CPU units are right on VM CPU usage, as I'm seeing numbers like "622.98" "590.32" and so on... I'm wondering if that's 62% and 59%... It may be related to ymartin59's post on page 2. Have a look at it... My graphs ...
by geofs
Thu Jun 21, 2007 8:56 am
Forum: Help: General
Topic: Leading spaces in SNMP values: Bug in process_poller_output?
Replies: 4
Views: 1246

rony wrote:The field is a string, hence they way it is parsed.
Ok. So what is the correct way to extract the numeric value? Make a script? Btw there should be a way to get rid of those (mis-)leading spaces?
by geofs
Thu Jun 21, 2007 8:34 am
Forum: Help: General
Topic: Leading spaces in SNMP values: Bug in process_poller_output?
Replies: 4
Views: 1246

Leading spaces in SNMP values: Bug in process_poller_output?

Hi, I had problems removing leading spaces from snmp values. I kept getting NaNs in my graphs. I use VALUE/REGEXP in my snmp query XML. SNMP Output: .1.3.6.1.4.1.2.3.51.1.2.20.1.5.1.1.3.1 = STRING: " 43.00 Centigrade" Regex: <source>VALUE/REGEXP: *([0-9]{1,3}\.[0-9]{1,3}).*</source> I inserted a lit...
by geofs
Thu Jun 21, 2007 4:46 am
Forum: Scripts and Templates
Topic: Monitor Vmware ESX
Replies: 238
Views: 484845

Sure, I was just waiting to see if they really work :wink: They do.

Here are the patched scripts:
by geofs
Wed Jun 13, 2007 8:16 am
Forum: Scripts and Templates
Topic: Monitor Vmware ESX
Replies: 238
Views: 484845

Hi, This is quite old but I tought i'd share what i found. Argh. Still graph mismatches ! "Verify all fields" is not enough when some VMs are stopped and another one is started => newly started VM appears in the wrong graph, at least for CPU and Memory. A "rebuild poller cache" is necessary, what a ...