Page 4 of 5
Re: Custom SNMP check
Posted: Mon Jul 06, 2015 9:20 am
by tmcdonald
Sorry, but ssax is out of the office today (we thought he would get the files on July 2). Can you resend them to me? I will make sure they get to the team.
Update: Files received and placed in shared drive.
Re: Custom SNMP check
Posted: Mon Jul 06, 2015 10:53 am
by angus
I sent them to you. They are sitting in my outbox, is that normal?
Re: Custom SNMP check
Posted: Mon Jul 06, 2015 4:53 pm
by tgriep
I was able to replicate what you are seeing on the performance graphs and I am working with the developers to see if this can be resolved.
I'll post back any information as soon as possible.
Re: Custom SNMP check
Posted: Thu Jul 09, 2015 10:42 am
by lgroschen
Have had another user with a similar, if not the same, issue you are having here. Looking into this as there may be a bug- we will let you know when we figure anything out.
Re: Custom SNMP check
Posted: Fri Jul 24, 2015 9:07 am
by tgriep
We have a fix for the SNMP counter's not graphing correctly. Here is the link to the post that explains how to resolve it.
https://support.nagios.com/forum/viewto ... 65#p146465
Re: Custom SNMP check
Posted: Mon Jul 27, 2015 7:49 am
by angus
I am looking at the final posts. I am a little lost with some of the instructions but i will figure it out. My concern is that there doesn't seem to be a resolution posted. At the end you are still getting the #c value. Did you just not post the solution evidence because it wasn't needed for your purposes?
Re: Custom SNMP check
Posted: Mon Jul 27, 2015 9:09 am
by angus
I went through this process and have not seen a change in 30 minutes. I must have missed a step. Please confirm this will remove the C from the value.
Thanks.
Re: Custom SNMP check
Posted: Mon Jul 27, 2015 9:51 am
by tgriep
No, the letter c will still be there on the performance data.
What the template is suppose to do is change the graph type to Gauge and plot that.
Can you run this command on the RRD file and post back the top 20 lines? Replace <ServiceName> with the full path to the rrd file.
rrdtool info <ServiceName>.rrd
Re: Custom SNMP check
Posted: Mon Jul 27, 2015 10:23 am
by angus
filename = "IPPP_TCP_Connections.rrd"
rrd_version = "0003"
step = 60
last_update = 1438010208
ds[1].type = "DERIVE"
ds[1].minimal_heartbeat = 8460
ds[1].min = 0.0000000000e+00
ds[1].max = NaN
ds[1].last_ds = "U"
ds[1].value = 0.0000000000e+00
ds[1].unknown_sec = 48
rra[0].cf = "AVERAGE"
rra[0].rows = 2880
rra[0].cur_row = 595
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 2880
rra[1].cur_row = 1065
rra[1].pdp_per_row = 5
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 1
Re: Custom SNMP check
Posted: Mon Jul 27, 2015 11:00 am
by tgriep
If everything worked, this line
Should be GAUGE, not DERIVE.
Could you edit the following file
Code: Select all
/usr/local/nagios/etc/pnp/process_perfdata.cfg
And change the loglevel to below?
Then run the following tail command in a shell, delete the XML and RRD files for that service, go to that service in XI and schedule an immediate check 3 times and then post the output of the tail command?
Code: Select all
tail -f /usr/local/nagios/var/perfdata.log