NCV module doesn't seem to accept GAUGE
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. 130 Washington Avenue Albany, NY 12210 518.463.0300 jehrenberg at nysar.com
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 <Jehrenberg at nysar.com> 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. 130 Washington Avenue Albany, NY 12210 518.463.0300 jehrenberg at nysar.com
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (2)
-
bigdan@gmail.com
-
Jehrenberg@nysar.com