Xymon Mailing List Archive search

Resolved: [hobbit] NCV - problems setting to GAUGE

list Charles Jones
Fri, 29 Sep 2006 08:14:53 -0700
Message-Id: <user-2156950821e3@xymon.invalid>

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

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