[Xymon] Assistance with Custom NCV graph on 4.3.4
Ralph Mitchell
ralphmitchell at gmail.com
Sat Aug 20 04:30:57 CEST 2011
You could try generating the graph by hand. Something like this ought to do
it:
cd /path/to/rrd/directory
rrdtool graph x.png -t "Mail Queue Length" -v "Queue Size" \
DEF:primary=PPSmsgq.rrd:primary:GAUGE \
DEF:googprod=PPSmsgq.rrd:googprod:GAUGE \
LINE2:primary#FF0000 \
LINE2:googprod#0FF00
If you get no error message, try to display x.png. That'll tell you that
the rrd has good data.
If there anything in the xymon logs??
Ralph Mitchell
On Fri, Aug 19, 2011 at 9:35 PM, Robert E Gordon <
robert.e.gordon at seagate.com> wrote:
> Hello -
>
> I recently added a few custom tests to my 4.3.4 installation and although
> the tests show up fine, the graphs are totally broken on the new tests...
> (All of the built in tests are working ok..).. In looking through the
> mailing list I was able to find several entries that said "try this" and
> "try that" however so far nothing has worked. (On a related note, the slab
> demo on the xymon site is experiencing similar issues..)
>
> Here is the information on the system....
>
> Operating System: Ubuntu 11.04 64b
> Xymon Version: 4.3.4
>
> ################################
> ## Test Name: PPSmsgq
> ################################
> QueueRelease : 0
> spamdigest : 0
> encrypt : 0
> default : 0
> postini : 0
> decrypt : 0
> primary : 1492
> alert : 0
> reinject : 0
> tlsfallback : 0
> spam5 : 0
> googprod : 0
> digest : 0
>
> ################################
> ## xymonserver.cfg
> ################################
> TEST2RRD+=",esmtp,PPSmsgq=ncv,PPSMisc"
> GRAPHS+=",esmtp,PPSmsgq,PPSMisc"
>
>
> NCV_PPSmsgq="QueueRelease:GAUGE,spamdigest:GAUGE,encrypt:GAUGE,default:GAUGE,postini:GAUGE,decrypt:GAUGE,primary:GAUGE,alert:GAUGE,reinject:GAUGE,tlsfallback:GAUGE,spam5:GAUGE,googprod:GAUGE,digest:GAUGE"
> # NCV_PPSmsgq="*:GAUGE"
>
> (Note.. I have tried both the the NCV_PPSmsgq entries above...)
>
> ################################
> ## graphs.cfg
> ################################
> [PPSmsgq]
> TITLE Mail Queue Length
> YAXIS Queue Size
> DEF:primary=PPSmsgq.rrd:primary:GAUGE
> DEF:googprod=PPSmsgq.rrd:googprod:GAUGE
> LINE2:primary#@COLOR@
> LINE2:googprod#@COLOR@
>
> ################################
> ## tasks.cfg
> ################################
> [rrdstatus]
> ENVFILE /opt/xymon/server/etc/xymonserver.cfg
> NEEDS xymond
> CMD xymond_channel --channel=status
> --log=$XYMONSERVERLOGS/rrd-status.log xymond_rrd --rrddir=$XYMONVAR/rrd
> --extra-tests=PPSmsgq,PPSMisc
>
> # "rrddata" updates RRD files with information that arrives as "data"
> messages.
> [rrddata]
> ENVFILE /opt/xymon/server/etc/xymonserver.cfg
> NEEDS xymond
> CMD xymond_channel --channel=data
> --log=$XYMONSERVERLOGS/rrd-data.log xymond_rrd --rrddir=$XYMONVAR/rrd
> --extra-tests=PPSmsgq,PPSMisc
>
> ################################
> ## RRD Datafile Head....
> ################################
> <?xml version="1.0" encoding="utf-8"?>
> <!DOCTYPE rrd SYSTEM "http://oss.oetiker.ch/rrdtool/rrdtool.dtd">
> <!-- Round Robin Database Dump -->
> <rrd>
> <version>0003</version>
> <step>300</step> <!-- Seconds -->
> <lastupdate>1313802922</lastupdate> <!-- 2011-08-19 18:15:22 PDT
> -->
>
> <ds>
> <name> QueueRelease </name>
> <type> GAUGE </type>
> <minimal_heartbeat>600</minimal_heartbeat>
> <min>NaN</min>
> <max>NaN</max>
>
> <!-- PDP Status -->
> <last_ds>0</last_ds>
> <value>0.0000000000e+00</value>
> <unknown_sec> 0 </unknown_sec>
> </ds>
>
> .... snip ....
>
> <ds>
> <name> default </name>
> <type> GAUGE </type>
> <minimal_heartbeat>600</minimal_heartbeat>
> <min>NaN</min>
> <max>NaN</max>
>
> <!-- PDP Status -->
> <last_ds>0</last_ds>
> <value>0.0000000000e+00</value>
> <unknown_sec> 0 </unknown_sec>
> </ds>
>
> .... snip ....
>
> <ds>
> <name> googprod </name>
> <type> GAUGE </type>
> <minimal_heartbeat>600</minimal_heartbeat>
> <min>NaN</min>
> <max>NaN</max>
>
> <!-- PDP Status -->
> <last_ds>1</last_ds>
> <value>2.2000000000e+01</value>
> <unknown_sec> 0 </unknown_sec>
> </ds>
>
> .... snip ....
>
> <!-- 2011-08-19 18:05:00 PDT / 1313802300 -->
> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v><v>0.0000000000e+00</v><v>0.0000000
>
> 000e+00</v><v>0.0000000000e+00</v><v>0.0000000000e+00</v><v>5.6500000000e+02</v><v>0.0000000000e+00</v><v>0.0000000000e+00</v><v>0.0000000000e+00</v><v>0.00
> 00000000e+00</v><v>8.2700000000e+00</v><v>0.0000000000e+00</v></row>
> <!-- 2011-08-19 18:10:00 PDT / 1313802600 -->
> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v><v>0.0000000000e+00</v><v>0.0000000
>
> 000e+00</v><v>0.0000000000e+00</v><v>0.0000000000e+00</v><v>5.6911666667e+02</v><v>0.0000000000e+00</v><v>0.0000000000e+00</v><v>0.0000000000e+00</v><v>0.00
> 00000000e+00</v><v>3.0966666667e+00</v><v>0.0000000000e+00</v></row>
> <!-- 2011-08-19 18:15:00 PDT / 1313802900 -->
> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v><v>0.0000000000e+00</v><v>0.0000000
>
> 000e+00</v><v>0.0000000000e+00</v><v>0.0000000000e+00</v><v>5.6625666667e+02</v><v>0.0000000000e+00</v><v>0.0000000000e+00</v><v>0.0000000000e+00</v><v>0.00
> 00000000e+00</v><v>1.5133333333e+00</v><v>0.0000000000e+00</v></row>
> .... snip ....
>
> Data is going into the database.....
>
> Any suggestions on what I can try next?
>
> Thanks for the help -
>
> -
>
> Bob Gordon
> --- This message encrypted in Double-ROT-13 for your protection ---
>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110819/a9e97e60/attachment.html>
More information about the Xymon
mailing list