Xymon Mailing List Archive search

NCV - problems setting to GAUGE

5 messages in this thread

list Charles Jones · Thu, 28 Sep 2006 17:29:13 -0700 ·
I defined an NCV as type GAUGE:

$ tail -1 hobbitserver.cfg
NCV_modjk=modjk:GAUGE"

But when I actually peek at the rrd file, it sys it is type DERIVE.

<!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1159488942 </lastupdate> <!-- 2006-09-29 00:15:42 
GMT -->

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


Any idea what could be the issue? I tried deleting the rrd and letting 
hobbit recreate it, it was again created with DERIVE type
list Charles Jones · Thu, 28 Sep 2006 17:37:32 -0700 ·
I noticed the typo when I sent the email. It's actually NCV_modjk="modjk:GAUGE"  (proper quotes).

-Charles
quoted from Charles Jones

Charles Jones wrote:
I defined an NCV as type GAUGE:

$ tail -1 hobbitserver.cfg
NCV_modjk=modjk:GAUGE"

But when I actually peek at the rrd file, it sys it is type DERIVE.

<!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1159488942 </lastupdate> <!-- 2006-09-29 00:15:42 GMT -->

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


Any idea what could be the issue? I tried deleting the rrd and letting hobbit recreate it, it was again created with DERIVE type
list Charles Jones · Thu, 28 Sep 2006 17:47:44 -0700 ·
*sigh* I really need to stop doing this. And by "this" I mean; I will have a problem, and try and try to figure it out, so I give up and send an email about it. While waiting for a reply I poke around and figure out the problem. Maybe next time I should just send the email to myself :)

-Charles
quoted from Charles Jones

Charles Jones wrote:
I noticed the typo when I sent the email. It's actually NCV_modjk="modjk:GAUGE"  (proper quotes).

-Charles

Charles Jones wrote:
I defined an NCV as type GAUGE:

$ tail -1 hobbitserver.cfg
NCV_modjk=modjk:GAUGE"

But when I actually peek at the rrd file, it sys it is type DERIVE.

<!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1159488942 </lastupdate> <!-- 2006-09-29 00:15:42 GMT -->

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


Any idea what could be the issue? I tried deleting the rrd and letting hobbit recreate it, it was again created with DERIVE type
list Rolf Masfelder · Fri, 29 Sep 2006 08:21:48 +0200 ·
share your knowledge: what was the problem ???

Am Freitag 29 September 2006 02:47 schrieb Charles Jones:
quoted from Charles Jones
*sigh* I really need to stop doing this. And by "this" I mean; I will
have a problem, and try and try to figure it out, so I give up and
send an email about it. While waiting for a reply I poke around and
figure out the problem. Maybe next time I should just send the email
to myself :)

-Charles

Charles Jones wrote:
I noticed the typo when I sent the email. It's actually
NCV_modjk="modjk:GAUGE"  (proper quotes).

-Charles

Charles Jones wrote:
I defined an NCV as type GAUGE:

$ tail -1 hobbitserver.cfg
NCV_modjk=modjk:GAUGE"

But when I actually peek at the rrd file, it sys it is type
DERIVE.

<!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1159488942 </lastupdate> <!-- 2006-09-29
00:15:42 GMT -->

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


Any idea what could be the issue? I tried deleting the rrd and
letting hobbit recreate it, it was again created with DERIVE type
-- 

Rolf Masfelder

Tel.:	XXXXX XXX XXX
FAX:	XXXXX XXX XXX
Mobil:	XXXX XX XX XXX
world:	0700 NECTORGMbh
EMail: 	user-7583fc084b48@xymon.invalid

http://www.nector.de
list Charles Jones · Fri, 29 Sep 2006 08:14:53 -0700 ·
The problem was with some other tests that I was sending, which were 
named slightly different:
NCV_modjkaltname="modjkaltname:GAUGE"

While my testname was different for these other NCV's, the actual NCV 
value they were sending was the same, so the fix was to change those to:
NCV_modjkaltname="modjk:GAUGE"

And restart hobbit. The problem was that hobbit was previously getting 
the NCV name of "modjk", but my previous definitions were for 
"modjkaltname", which didn't match so Hobbit used the default DERIVE 
type. Once I purged the rrd files, updated to the correct names, and 
restarted hobbit, it created proper GAUGE type rrds.

-Charles
quoted from Rolf Masfelder

Rolf Masfelder wrote:
share your knowledge: what was the problem ???

Am Freitag 29 September 2006 02:47 schrieb Charles Jones:
  
*sigh* I really need to stop doing this. And by "this" I mean; I will
have a problem, and try and try to figure it out, so I give up and
send an email about it. While waiting for a reply I poke around and
figure out the problem. Maybe next time I should just send the email
to myself :)

-Charles

Charles Jones wrote:
    
I noticed the typo when I sent the email. It's actually
NCV_modjk="modjk:GAUGE"  (proper quotes).

-Charles

Charles Jones wrote:
      
I defined an NCV as type GAUGE:

$ tail -1 hobbitserver.cfg
NCV_modjk=modjk:GAUGE"

But when I actually peek at the rrd file, it sys it is type
DERIVE.

<!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1159488942 </lastupdate> <!-- 2006-09-29
00:15:42 GMT -->

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


Any idea what could be the issue? I tried deleting the rrd and
letting hobbit recreate it, it was again created with DERIVE type