Xymon Mailing List Archive search

Rrd file isn't created

6 messages in this thread

list Paul Root · Mon, 7 Mar 2011 09:24:44 -0600 ·
Hi,
        I have a test on a machine titled 'AMOS'. Xymon server is 4.2.3.

        It's a simple script, that receives info from an automation from within a program. It has a single data point, and it's output looks like this:


rows : 20

$Id: hbtStatus,v 1.15 2011/02/07 21:03:28 root Exp $


        I went into the script and changed the colons in the time to :

        In hobbitserver.cfg, I changed the TEST2RRD line to:

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,files,procs=processes,ports,clock,lines,ops,stats,cifs,JVM,JMS,HitCache,Session,JDBCConn,ExecQueue,JTA,TblSpace,RollBack,MemReq,InvObj,snapmirr,snaplist,snapshot,AMOS=ncv,if_load=devmon,temp=devmon"

        and at the end (near the end) added:

NCV_AMOS="rows:GAUGE"


        Then I killed hobbitd_rrd (both instances). I waited 10-15 minutes, but no rrd file. I restarted xymon completely. Still no rrd file.

        I'm not able to find anything in any log file about what's happening.

        Any ideas?

Thanks,
Paul.


Paul Root
Lead Internet Systems Eng
Qwest Network Services


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful.  If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
list Asif Iqbal · Mon, 7 Mar 2011 12:28:12 -0500 ·
quoted from Paul Root
On Mon, Mar 7, 2011 at 10:24 AM, Root, Paul <user-c80045f511e8@xymon.invalid> wrote:
Hi,
       I have a test on a machine titled 'AMOS'. Xymon server is 4.2.3.

       It's a simple script, that receives info from an automation from within a program. It has a single data point, and it's output looks like this:


rows : 20

$Id: hbtStatus,v 1.15 2011/02/07 21:03:28 root Exp $


       I went into the script and changed the colons in the time to &#58;

       In hobbitserver.cfg, I changed the TEST2RRD line to:

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,files,procs=processes,ports,clock,lines,ops,stats,cifs,JVM,JMS,HitCache,Session,JDBCConn,ExecQueue,JTA,TblSpace,RollBack,MemReq,InvObj,snapmirr,snaplist,snapshot,AMOS=ncv,if_load=devmon,temp=devmon"

       and at the end (near the end) added:

NCV_AMOS="rows:GAUGE"


       Then I killed hobbitd_rrd (both instances). I waited 10-15 minutes, but no rrd file. I restarted xymon completely. Still no rrd file.

       I'm not able to find anything in any log file about what's happening.

       Any ideas?
These rae the two paths used to receive and generate rrd files

hobbitd_channel --> status --> hobbitd_rrd -> rrd files
hobbitd_channel --> data --> hobbitd_rdd --> rrd files

Use hobbitd_capture to see if are receiving any rrd data, from that
host, through either of the two channels. If you are sending it
through status then
look under status channel and so on and so forth.
quoted from Paul Root

Thanks,
Paul.


Paul Root
Lead Internet Systems Eng
Qwest Network Services


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful.  If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.

-- 

Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
list Paul Root · Mon, 7 Mar 2011 13:41:54 -0600 ·
quoted from Asif Iqbal
-----Original Message-----
From: Asif Iqbal [mailto:user-6f4b51ac2a40@xymon.invalid]
Sent: Monday, March 07, 2011 11:28 AM
To: Root, Paul
Cc: xymon at xymon.com
Subject: Re: [Xymon] Rrd file isn't created

On Mon, Mar 7, 2011 at 10:24 AM, Root, Paul
<user-c80045f511e8@xymon.invalid> wrote:
Hi,
       I have a test on a machine titled 'AMOS'. Xymon
server is 4.2.3.

       It's a simple script, that receives info from an
automation from within a program. It has a single data point,
and it's output looks like this:


rows : 20

$Id: hbtStatus,v 1.15 2011/02/07 21:03:28 root Exp $


       I went into the script and changed the colons in the
time to &#58;

       In hobbitserver.cfg, I changed the TEST2RRD line to:

TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=
tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperatu> re,apache,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth
,citrix,bbgen,bbtest,bbproxy,hobbitd,files,procs=processes,por
ts,clock,lines,ops,stats,cifs,JVM,JMS,HitCache,Session,JDBCCon
n,ExecQueue,JTA,TblSpace,RollBack,MemReq,InvObj,snapmirr,snapl
ist,snapshot,AMOS=ncv,if_load=devmon,temp=devmon"
quoted from Asif Iqbal
       and at the end (near the end) added:

NCV_AMOS="rows:GAUGE"


       Then I killed hobbitd_rrd (both instances). I waited
10-15 minutes, but no rrd file. I restarted xymon completely.
Still no rrd file.
       I'm not able to find anything in any log file about
what's happening.

       Any ideas?
These rae the two paths used to receive and generate rrd files

hobbitd_channel --> status --> hobbitd_rrd -> rrd files
hobbitd_channel --> data --> hobbitd_rdd --> rrd files

Use hobbitd_capture to see if are receiving any rrd data, from that
host, through either of the two channels. If you are sending it
through status then
look under status channel and so on and so forth.
I let 'hobbitd_capture --hosts=<machine> --tests=AMOS' run for an hour. No output.

The script is running every 15 minutes.
quoted from Asif Iqbal

This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful.  If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
list Henrik Størner · Mon, 07 Mar 2011 22:42:50 +0100 ·
quoted from Paul Root
          I have a test on a machine titled 'AMOS'. Xymon
server is 4.2.3.
No, the test is named AMOS, the machine is mdsobj3.
OK, I misunderstood then - I thought the name of the machine was "AMOS".
         MESSAGE="rows : $3"
.
.
.

         $BB $BBDISP "status $MACHINE.$TEST $COLOR $MESSAGE $id"
Try putting a line-break before the $MESSAGE. Like

$BB $BBDISP "status $MACHINE.$TEST $COLOR
$MESSAGE $id"


Regards,
Henrik
list Paul Root · Tue, 8 Mar 2011 14:07:43 -0600 ·
quoted from Henrik Størner
-----Original Message-----
From: Henrik Størner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Monday, March 07, 2011 3:43 PM
To: Root, Paul; xymon at xymon.com
Subject: Re: [Xymon] Rrd file isn't created
          I have a test on a machine titled 'AMOS'. Xymon
server is 4.2.3.
No, the test is named AMOS, the machine is mdsobj3.
OK, I misunderstood then - I thought the name of the machine
was "AMOS".
         MESSAGE="rows : $3"
.
.
.

         $BB $BBDISP "status $MACHINE.$TEST $COLOR $MESSAGE $id"
Try putting a line-break before the $MESSAGE. Like

$BB $BBDISP "status $MACHINE.$TEST $COLOR
$MESSAGE $id"
That didn't help.

<CENTER><TABLE ALIGN=CENTER BORDER=0 SUMMARY="Detail Status">
<TR><TD><H3> pending : 4 <p>$Id&#58; hbtStatus,v 1.15 2011/02/07 21&#58;03&#58;28 root Exp $</H3>

</TD></TR></TABLE>

Regards,
Henrik
quoted from Paul Root
This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful.  If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
list Henrik Størner · Thu, 10 Mar 2011 07:43:17 +0100 ·
quoted from Paul Root
Den 08-03-2011 21:07, Root, Paul skrev:
          $BB $BBDISP "status $MACHINE.$TEST $COLOR $MESSAGE $id"
Try putting a line-break before the $MESSAGE. Like

$BB $BBDISP "status $MACHINE.$TEST $COLOR
$MESSAGE $id"
That didn't help.
OK, could you run these two commands:

   bb 127.0.0.1 "hobbitdboard test=amos fields=hostname,msg"
   bbcmd env | grep -i ncv

and send me the output.


Regards,
Henrik