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?
not bring any results in perfomance graphs
Re: not bring any results in perfomance graphs
The issue is the oid value being returned:mhinjos wrote: OUTPUT: SNMP OK - 3116367872 | iso.3.6.1.4.1.3375.2.1.1.2.1.44.0=3116367872c
Code: Select all
3116367872cLets 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.0Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: not bring any results in perfomance graphs
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?
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
Can you post the check and command you are running?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: not bring any results in perfomance graphs
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

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
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
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
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: not bring any results in perfomance graphs
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
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
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
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: not bring any results in perfomance graphs
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
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.