Page 1 of 1

not bring any results in perfomance graphs

Posted: Wed Feb 26, 2014 9:12 am
by mhinjos
I have a problem I'm not able to see

I´m using check_snmp to F5, I have several services defined and all the graphics look good, but this does not bring any results in perfomance graphs
check_snmp -H XXXXXX -C XXXXXX -p 161 --protocol=2c -o .1.3.6.1.4.1.3375.2.1.1.2.1.44.0
This is the result of the check

OUTPUT: SNMP OK - 3116367872 | iso.3.6.1.4.1.3375.2.1.1.2.1.44.0=3116367872c

Any idea?

Re: not bring any results in perfomance graphs

Posted: Wed Feb 26, 2014 12:49 pm
by abrist
mhinjos wrote: OUTPUT: SNMP OK - 3116367872 | iso.3.6.1.4.1.3375.2.1.1.2.1.44.0=3116367872c
The issue is the oid value being returned:

Code: Select all

3116367872c
It includes a "c" char at the end which will break graphing support as decimals/integers are the only supported types for perfdata.
Lets check to see what the oid is actually returning, if it includes the "c" or not:

Code: Select all

snmpget -c <community> -v2c <device ip> 3.6.1.4.1.3375.2.1.1.2.1.44.0

Re: not bring any results in perfomance graphs

Posted: Fri Feb 28, 2014 3:54 am
by mhinjos
I added a command with the snmpget and changed the service, but I see that in Advanced Status Details the field Performance Data goes to zero

result: SNMPv2-SMI::enterprises.3375.2.1.1.2.1.44.0 = Counter64: 3116367872


Service State: Ok
Duration: 2d 15h 15m 34s
State Type: Hard
Current Check: 1 of 3
Last Check: 28/02/2014 09:38:40
Next Check: 28/02/2014 10:08:40
Last State Change: 25/02/2014 18:38:29
Last Notification: Never
Check Type: Active
Check Latency: 0.139 seconds
Execution Time: 0.04161 seconds
State Change: 0%
Performance Data:

any idea?

Re: not bring any results in perfomance graphs

Posted: Fri Feb 28, 2014 12:33 pm
by abrist
Can you post the check and command you are running?

Re: not bring any results in perfomance graphs

Posted: Mon Mar 03, 2014 4:19 am
by mhinjos
I have graphs as the number of customers with the finished result at c if you paint the graphics, I think it's a problem of the output format

Advanced Status Details
Service State: Ok
Duration: 47d 0h 5m 37s
State Type: Hard
Current Check: 1 of 3
Last Check: 03/03/2014 09:55:46
Next Check: 03/03/2014 10:25:46
Last State Change: 15/01/2014 10:06:12
Last Notification: Never
Check Type: Active
Check Latency: 0.166 seconds
Execution Time: 0.02881 seconds
State Change: 0%
Performance Data: iso.3.6.1.4.1.3375.2.1.1.2.1.8.0=1252c

Image

Now the output of my command is as follows, I have also tried to leave the number with no letter and not get the graphics to load


SNMP OK - 3116367872| Memory usage=3116367872B

the command
snmpget -c XXXXX -v2c balanceador_f5_principal:161 .1.3.6.1.4.1.3375.2.1.1.2.1.44.0

Re: not bring any results in perfomance graphs

Posted: Mon Mar 03, 2014 1:01 pm
by slansing
Yeah, so it looks like it is actually graphing, that performance data is being returned based on what you are checking, what are you expecting to see that is different than what is being displayed.

Re: not bring any results in perfomance graphs

Posted: Tue Mar 04, 2014 7:39 am
by mhinjos
Hi, sorry I have not understood, I have not explained well what I put you is an example of graph itself is painted, numbered + c

The snmpget into a script that results is

SNMP OK - 3116367872| Memory=3116367872B

and this is not painted in the graph, I do not quite understand why it does not

Re: not bring any results in perfomance graphs

Posted: Tue Mar 04, 2014 4:37 pm
by sreinhardt
So just to be sure, the previous examples were of a different service graph and metrics? Is the response from the service with issues: SNMP OK - 3116367872| Memory=3116367872B