Hi Adam,
I've got the following in my /etc/cron.d/observium:
33 */6 * * * root /opt/observium/discovery.php -h all
>> /dev/null 2>&1
*/5 * * * * root /opt/observium/discovery.php -h new
>> /dev/null 2>&1
*/5 * * * * root /opt/observium/poller-wrapper.py 1
>> /dev/null 2>&1
And syslog does state that these are running.
If I go to one of the graphs that is not displaying, it states:
"No RRD information returned. This may be because the graph module
doesn't yet return this data."
And clicking on the "RRD Files Used" states that the device is
neither polled or discovered.
I've run:
php ./discovery.php -h all
php ./discovery.php -h new
But I'm not 100% sure what signifies success with this!
Cheers,
Tim
On 24/01/14 16:44, Adam Armstrong
wrote:
This means that the RRD file doesn't exist, so the
filename isn't being passed to the graph definition system.
Sometimes this returns an error, sometimes it returns a broken
image like here, depending upon the age of the code.
It's likely your poller isn't actually being run.
adam.
On 2014-01-24 07:09, Tim Smith wrote:
Hi all,
I am having problems with generating graphs for my Observium
install.
What I have managed to find out is that that the system executes
the
following command:
rrdtool graph /tmp/C9DwA903iBza9yzw.png --alt-autoscale-max
--rigid -E
--start 1390482368 --end 1390568768 --width 1159 --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:'DejaVuSansMono' --font
AXIS:7:'DejaVuSansMono' --font-render-mode normal
COMMENT:'Bits/s Cur
Avg Max' COMMENT:'Total' COMMENT:'n' CDEF:inB= CDEF:outB=
CDEF:octets=inB,outB,+ CDEF:doutB=outB,-1,* CDEF:inbits=inB,8,*
CDEF:outbits=outB,8,* CDEF:bits=inbits,outbits,+
CDEF:doutbits=doutB,8,* VDEF:95thin=inbits,95,PERCENT
VDEF:95thout=outbits,95,PERCENT VDEF:d95thout=doutbits,5,PERCENT
VDEF:totin=inB,TOTAL VDEF:avein=inbits,AVERAGE
VDEF:totout=outB,TOTAL
VDEF:aveout=outbits,AVERAGE VDEF:tot=octets,TOTAL COMMENT:' n'
HRULE:999999999999999#FFFFFF:'Total In ':
GPRINT:inbits:LAST:%5.2lf%s
GPRINT:inbits:AVERAGE:%5.2lf%s GPRINT:inbits:MAX:%5.2lf%s
GPRINT:totin:%5.2lf%sB COMMENT:'n'
HRULE:999999999999990#FFFFFF:'
Out': GPRINT:outbits:LAST:%5.2lf%s
GPRINT:outbits:AVERAGE:%5.2lf%s
GPRINT:outbits:MAX:%5.2lf%s GPRINT:totout:%5.2lf%sB COMMENT:'n'
HRULE:999999999999990#FFFFFF:' Agg': GPRINT:bits:LAST:%5.2lf%s
GPRINT:bits:AVERAGE:%5.2lf%s GPRINT:bits:MAX:%5.2lf%s
GPRINT:tot:%5.2lf%sB COMMENT:'n' HRULE:0#999999
The error returned is:
RRDTool Output: ERROR: String ends after the = sign on
'CDEF:inB='
I would imagine this is a config issue but I am not sure where
to
look. Any help would be gratefully received!
Cheers,
Tim
_______________________________________________
observium mailing list
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