[Xymon] Assistance with Custom NCV graph on 4.3.4

White, Bruce bewhite at fellowes.com
Sat Aug 20 05:53:19 CEST 2011


Bob,

 

 

Your graph definition has a DEF and line for "primary" but that is not I
the output from your rrd tool dump.  I see QueueRelease, default, and
googprod in your rrd dump, but no primary.

 

    ......Bruce

 

 


 
 Bruce White
 Senior Enterprise Systems Engineer | Phone: 1-630-671-5169 | Fax: 630-893-1648 | bewhite at fellowes.com | http://www.fellowes.com/
 
 
 
Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
 
________________________________

From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf
Of Robert E Gordon
Sent: Friday, August 19, 2011 8:36 PM
To: xymon at xymon.com
Subject: [Xymon] Assistance with Custom NCV graph on 4.3.4

 

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:G
AUGE,postini:GAUGE,decrypt:GAUGE,primary:GAUGE,alert:GAUGE,reinject:GAUG
E,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.6500000000
e+02</v><v>0.0000000000e+00</v><v>0.0000000000e+00</v><v>0.0000000000e+0
0</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.6911666667
e+02</v><v>0.0000000000e+00</v><v>0.0000000000e+00</v><v>0.0000000000e+0
0</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.6625666667
e+02</v><v>0.0000000000e+00</v><v>0.0000000000e+00</v><v>0.0000000000e+0
0</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 ---

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110819/93878f57/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fellbrand1.jpg
Type: image/jpeg
Size: 3463 bytes
Desc: fellbrand1.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110819/93878f57/attachment.jpg>


More information about the Xymon mailing list