Thanks Adam! I thought I did something wrong. Upgraded/downgraded/removed/add the device several times in Observium.
-John
________________________________ Från: observium observium-bounces@observium.org för Adam Armstrong adama@observium.org Skickat: den 13 juli 2017 17:42 Till: observium@observium.org Ämne: Re: [Observium] Juniper SRX340
Ahh, this was an annoying interaction of having the graph mode set to mrtg.
I've disabled MRTG mode for logarithmic scaled graphs, so it should work after r8695.
adam.
On 13/07/2017 15:35:03, John Klasa john.klasa@itiviti.com wrote:
Sorry this is the whole command or information from that page.
Performance & Output
RRDTool Output: ERROR: for a logarithmic yaxis you must specify a lower-limit > 0 RRDtool Runtime: 0.013s | Total time: 0.014s
RRDTool Command
/usr/bin/rrdtool graph /tmp/P6gBqgeJqwOo3dCq.png --logarithmic -Y --lower-limit 0 --alt-autoscale-max --rigid --start 1499869096 --end 1499955496 --width 1152 --height 300 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c FONT#000000 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal --font LEGEND:8:'DroidSansMono,DejaVuSansMono' --font AXIS:7:'DroidSansMono,DejaVuSansMono' --font-render-mode normal -E COMMENT:'Sessions ' COMMENT:' Now' COMMENT:' Avg' COMMENT:' Min' COMMENT:' Max' COMMENT:'\l' DEF:CurrentCPSession=/var/log/observium/rrd/fw5-sthlm/juniper-srx5000-spu-monitoring-mib_jnxjsspumonitoringobjectstable.rrd:CurrentCPSession:AVERAGE DEF:CurrentCPSession_min=/var/log/observium/rrd/fw5-sthlm/juniper-srx5000-spu-monitoring-mib_jnxjsspumonitoringobjectstable.rrd:CurrentCPSession:MIN DEF:CurrentCPSession_max=/var/log/observium/rrd/fw5-sthlm/juniper-srx5000-spu-monitoring-mib_jnxjsspumonitoringobjectstable.rrd:CurrentCPSession:MAX DEF:MaxCPSession=/var/log/observium/rrd/fw5-sthlm/juniper-srx5000-spu-monitoring-mib_jnxjsspumonitoringobjectstable.rrd:MaxCPSession:AVERAGE DEF:MaxCPSession_min=/var/log/observium/rrd/fw5-sthlm/juniper-srx5000-spu-monitoring-mib_jnxjsspumonitoringobjectstable.rrd:MaxCPSession:MIN DEF:MaxCPSession_max=/var/log/observium/rrd/fw5-sthlm/juniper-srx5000-spu-monitoring-mib_jnxjsspumonitoringobjectstable.rrd:MaxCPSession:MAX LINE1.5:CurrentCPSession#ff7f00:"CP Sessions " GPRINT:CurrentCPSession:LAST:%6.1lf%S GPRINT:CurrentCPSession:AVERAGE:%6.1lf%S GPRINT:CurrentCPSession_min:MIN:%6.1lf%S GPRINT:CurrentCPSession_max:MAX:%6.1lf%S COMMENT:'\l' LINE1.5:MaxCPSession#6a3d9a:"Max CP Sessions " GPRINT:MaxCPSession:LAST:%6.1lf%S GPRINT:MaxCPSession:AVERAGE:%6.1lf%S GPRINT:MaxCPSession_min:MIN:%6.1lf%S GPRINT:MaxCPSession_max:MAX:%6.1lf%S COMMENT:'\l'
__________________________________________________ John Klasa Managed Services • Itiviti Senior Network Administrator
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: den 13 juli 2017 16:17 To: 'Observium' Subject: Re: [Observium] Juniper SRX340
Dunno, what was the actual graph command? Adam. Sent from http://www.bluemail.me/r?b=10066 On 13 Jul 2017, at 15:13, John Klasa wrote: Hi, thanks for that. It says this.
Performance & Output RRDTool Output: ERROR: for a logarithmic yaxis you must specify a lower-limit > 0 RRDtool Runtime: 0.013s | Total time: 0.014s
Any suggestion? ________________________________________
John Klasa Managed Services • Itiviti Senior Network Administrator
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: den 13 juli 2017 15:54 To: 'Observium' Subject: Re: [Observium] Juniper SRX340
If you click on a graph to get to the graph browser there's an option on the right hand side to show the rrd command. This will also show you whatever error is causing that graph to not be generated. Adam. Sent from http://www.bluemail.me/r?b=10066 On 13 Jul 2017, at 14:40, John Klasa wrote: Hi, I have an issue with a SRX340 device running 15.1X49-D90 and it seems to poll sessions from the device but Observium is unable to graph and draw the graphs? Looks like this. ________________________________________
Any debugging I can do to find out? I did a poller –dd and it looks like this:
less /var/tmp/fw5.log | egrep -i session
SQL[SELECT @@SESSION.sql_mode;] SQL[SELECT @@SESSION.sql_mode;] jnxJsSPUMonitoringCurrentFlowSession.0 = 184 jnxJsSPUMonitoringMaxFlowSession.0 = 262144 jnxJsSPUMonitoringCurrentCPSession.0 = 0 jnxJsSPUMonitoringMaxCPSession.0 = 0 [jnxJsSPUMonitoringCurrentFlowSession] => string(3) "184" [jnxJsSPUMonitoringMaxFlowSession] => string(6) "262144" [jnxJsSPUMonitoringCurrentCPSession] => string(1) "0" [jnxJsSPUMonitoringMaxCPSession] => string(1) "0" ds[CurrentFlowSession].index = 0 ds[CurrentFlowSession].type = "GAUGE" ds[CurrentFlowSession].minimal_heartbeat = 600 ds[CurrentFlowSession].min = 0.0000000000e+00 ds[CurrentFlowSession].max = 1.0000000000e+11 ds[CurrentFlowSession].last_ds = "195" ds[CurrentFlowSession].value = 1.1503313835e+04 ds[CurrentFlowSession].unknown_sec = 0 ds[MaxFlowSession].index = 1 ds[MaxFlowSession].type = "GAUGE" ds[MaxFlowSession].minimal_heartbeat = 600 ds[MaxFlowSession].min = 0.0000000000e+00 ds[MaxFlowSession].max = 1.0000000000e+11 ds[MaxFlowSession].last_ds = "262144" ds[MaxFlowSession].value = 1.5464229241e+07 ds[MaxFlowSession].unknown_sec = 0 ds[CurrentCPSession].index = 2 ds[CurrentCPSession].type = "GAUGE" ds[CurrentCPSession].minimal_heartbeat = 600 ds[CurrentCPSession].min = 0.0000000000e+00 ds[CurrentCPSession].max = 1.0000000000e+11 ds[CurrentCPSession].last_ds = "0" ds[CurrentCPSession].value = 0.0000000000e+00 ds[CurrentCPSession].unknown_sec = 0 ds[MaxCPSession].index = 3 ds[MaxCPSession].type = "GAUGE" ds[MaxCPSession].minimal_heartbeat = 600 ds[MaxCPSession].min = 0.0000000000e+00 ds[MaxCPSession].max = 1.0000000000e+11 ds[MaxCPSession].last_ds = "0" ds[MaxCPSession].value = 0.0000000000e+00 ds[MaxCPSession].unknown_sec = 0 'CurrentFlowSession' => array('label' => 'CurrentFlowSession'), 'MaxFlowSession' => array('label' => 'MaxFlowSession'), 'CurrentCPSession' => array('label' => 'CurrentCPSession'), 'MaxCPSession' => array('label' => 'MaxCPSession'), fdb_count,jnxJsSPUMonitoringFlowSessions, jnxJsSPUMonitoringCPSessions, poller_perf
It seems Observium is getting the value from the device?
Regards
-John ________________________________________
observium mailing list mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium ________________________________________
observium mailing list mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium