Xymon Mailing List Archive search

NCV module doesn't seem to accept GAUGE

3 messages in this thread

list Jeff Ehrenberg · Fri, 10 Mar 2006 10:26:02 -0500 ·
I have created a test to check the SMTP queues on a Windows box using WMI.  I have added the appropriate ncv settings to the hobbitserver.cfg file and the also created the definition for the graph in hobbitgraph.cfg.  I am getting the graph to display on my status page but the lines are all flat.  I used the rrdtool to dump the results of my rrd file and it looks like all of the data sets are being entered as DERIVE although I specified GAUGE.  Here are some of the output.

-STATUS MESSAGE Sent to Hobbit-
smtphealth
SMTP Health Check:
Inbound Connections:	10
Outbound Connections:	20
Local Queue Length:	1
Local Retry Queue Length:	0
Remote Queue Length:	3
Remote Retry Queue Length:	3

-FROM hobbitserver.cfg-
TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,ExchDB=ncv,smtphealth=ncv"
NCV_ExchDB="STORE:GAUGE" NCV_smtphealth="InboundConnections:GAUGE,OutboundConnections:GAUGE,LocalQueueLength:GAUGE,LocalRetryQueueLeng:GAUGE,RemoteQueueLength:GAUGE,RemoteRetryQueueLen:GAUGE"

<!-- Round Robin Database Dump -->
<rrd>
        <version> 0001 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1142001796 </lastupdate> <!-- 2006-03-10 09:43:16 EST -->

        <ds>
                <name> InboundConnections </name>
                <type> DERIVE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> 0.0000000000e+00 </min>
                <max> NaN </max>

                <!-- PDP Status -->
                <last_ds> 0 </last_ds>
                <value> 0.0000000000e+00 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds>

        <ds>
                <name> OutboundConnections </name>
                <type> DERIVE </type>


Jeff Ehrenberg
 
Technology Services Coordinator
NY State Association of REALTORS, Inc. 
XXX Washington Avenue 
Albany, NY  XXXXX 
XXX.XXX.XXXX
user-dcbfb773aea6@xymon.invalid
list Dan Vande More · Fri, 10 Mar 2006 16:33:04 -0600 ·
Is it the formatting of your email client, or are you missing a
newline between NCV_ExchDB and NCV_smtphealth? Is NCV_ExchDB's gauge
working?
quoted from Jeff Ehrenberg

On 3/10/06, Jeff Ehrenberg <user-dcbfb773aea6@xymon.invalid> wrote:
I have created a test to check the SMTP queues on a Windows box using WMI.  I have added the appropriate ncv settings to the hobbitserver.cfg file and the also created the definition for the graph in hobbitgraph.cfg.  I am getting the graph to display on my status page but the lines are all flat.  I used the rrdtool to dump the results of my rrd file and it looks like all of the data sets are being entered as DERIVE although I specified GAUGE.  Here are some of the output.

-STATUS MESSAGE Sent to Hobbit-
smtphealth
SMTP Health Check:
Inbound Connections:    10
Outbound Connections:   20
Local Queue Length:     1
Local Retry Queue Length:       0
Remote Queue Length:    3
Remote Retry Queue Length:      3

-FROM hobbitserver.cfg-
TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,ExchDB=ncv,smtphealth=ncv"
NCV_ExchDB="STORE:GAUGE" NCV_smtphealth="InboundConnections:GAUGE,OutboundConnections:GAUGE,LocalQueueLength:GAUGE,LocalRetryQueueLeng:GAUGE,RemoteQueueLength:GAUGE,RemoteRetryQueueLen:GAUGE"

<!-- Round Robin Database Dump -->
<rrd>
        <version> 0001 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1142001796 </lastupdate> <!-- 2006-03-10 09:43:16 EST -->

        <ds>
                <name> InboundConnections </name>
                <type> DERIVE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> 0.0000000000e+00 </min>
                <max> NaN </max>

                <!-- PDP Status -->
                <last_ds> 0 </last_ds>
                <value> 0.0000000000e+00 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds>

        <ds>
                <name> OutboundConnections </name>
                <type> DERIVE </type>


Jeff Ehrenberg

Technology Services Coordinator
NY State Association of REALTORS, Inc.
XXX Washington Avenue
Albany, NY XXXXX
XXX.XXX.XXXX
user-dcbfb773aea6@xymon.invalid

list Jeff Ehrenberg · Fri, 10 Mar 2006 19:52:12 -0500 ·
I did not have a new line between NCV_ExchDB and NCV_smtphealth, but I
did add one but it didn't make a difference.
The ExchDB GAUGE is not working either.  When I dump the rrd file it
also shows up us DERIVE.  
I am running Hobbit 4.1.2p1.
quoted from Dan Vande More

-----Original Message-----
From: Dan Vande More [mailto:user-f3c4c62d9d50@xymon.invalid] 
Sent: Friday, March 10, 2006 5:33 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] NCV module doesn't seem to accept GAUGE

Is it the formatting of your email client, or are you missing a
newline between NCV_ExchDB and NCV_smtphealth? Is NCV_ExchDB's gauge
working?

On 3/10/06, Jeff Ehrenberg <user-dcbfb773aea6@xymon.invalid> wrote:
I have created a test to check the SMTP queues on a Windows box using
WMI  I have added the appropriate ncv settings to the hobbitserver.cfg
file and the also created the definition for the graph in
hobbitgraph.cfg.  I am getting the graph to display on my status page
but the lines are all flat.  I used the rrdtool to dump the results of
my rrd file and it looks like all of the data sets are being entered as
DERIVE although I specified GAUGE.  Here are some of the output.
-STATUS MESSAGE Sent to Hobbit-
smtphealth
SMTP Health Check:
Inbound Connections:    10
Outbound Connections:   20
Local Queue Length:     1
Local Retry Queue Length:       0
Remote Queue Length:    3
Remote Retry Queue Length:      3

-FROM hobbitserver.cfg-
TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tc
p,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sen
dmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy
,hobbitd,ExchDB=ncv,smtphealth=ncv"
NCV_ExchDB="STORE:GAUGE"
NCV_smtphealth="InboundConnections:GAUGE,OutboundConnections:GAUGE,Local
QueueLength:GAUGE,LocalRetryQueueLeng:GAUGE,RemoteQueueLength:GAUGE,Remo
teRetryQueueLen:GAUGE"
quoted from Dan Vande More
<!-- Round Robin Database Dump -->
<rrd>
        <version> 0001 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1142001796 </lastupdate> <!-- 2006-03-10 09:43:16
EST -->
        <ds>
                <name> InboundConnections </name>
                <type> DERIVE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> 0.0000000000e+00 </min>
                <max> NaN </max>

                <!-- PDP Status -->
                <last_ds> 0 </last_ds>
                <value> 0.0000000000e+00 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds>

        <ds>
                <name> OutboundConnections </name>
                <type> DERIVE </type>


Jeff Ehrenberg

Technology Services Coordinator
NY State Association of REALTORS, Inc.
XXX Washington Avenue
Albany, NY XXXXX
XXX.XXX.XXXX
user-dcbfb773aea6@xymon.invalid