Xymon Mailing List Archive search

Creating Custom Graphs

13 messages in this thread

list Eyal Rif · Sun, 26 Mar 2006 15:31:02 +0200 ·
Hi,

I am trying to create new custom graph.

I am getting the following data in "status" and "data" channels under iostat -

c0d0p7-rps:0.00
c0d0p7-wps:15.01
c0d0p1-rps:0.00
c0d0p1-wps:0.00
c0d0p10-rps:0.00
c0d0p10-wps:4.60

I have added a record to hobbitgraph.cfg -

[iostat]
        FNPATTERN iostat(.*).rrd
        TITLE Disk IO
        YAXIS % Full
        DEF:p at RRDIDX@=@RRDFN@:pct:AVERAGE
        LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@
        -u 100
        -l 0
        GPRINT:p at RRDIDX@:LAST: \: %5.1lf (cur)
        GPRINT:p at RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:p at RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

I have added the iostat to TEST2RRD and GRAPHS in hobbitserver.cfg.

I have added a record to hobbitlaunch.cfg -

[rrdstatus]
        ENVFILE /clalapp/hobbit_monitor/hobbit_server/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=status --log=$BBSERVERLOGS/rrd-status.log hobbitd_rrd --rrddir=$BBVAR/rrd --extra-test=i
ostat

# "rrddata" updates RRD files with information that arrives as "data" messages.
# If you want RRD graphs of your monitoring BB data, then you want to run this.

[rrddata]
        ENVFILE /clalapp/hobbit_monitor/hobbit_server/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=data   --log=$BBSERVERLOGS/rrd-data.log hobbitd_rrd --rrddir=$BBVAR/rrd --extra-test=ios
tat


I have also added iostat to bb-hosts.

Unfortunately I am not getting the RRD graphs.

Any idea/suggestion what could be the problem?

Any help/suggestion would be appreciated.

Regards,
    Eyal Rif

   This message was sent by Clal Insurance Ltd Mail Systems

   Visit us at http://www.clalbit.co.il
The information in this e-mail and any attachments is confidential and may be
legally privileged. It is intended solely for the addressee or addressees. If
you are not an intended recipient, please delete the message and any attachments
and notify the sender of misdelivery: any use or disclosure of the contents of
either is unauthorized and may be unlawful.
list Subhash Gada · Mon, 27 Mar 2006 09:43:57 +0530 ·
Hi,

I think you need to write a script for getting rrd files created.

Check if you have the rrd files of iostat in data/rrd/anyhost (anyhost
-- name of any host which has iostat test enabled.) of the hobbit
installed directory.
quoted from Eyal Rif


-----Original Message-----
From: user-0db7875968ff@xymon.invalid [mailto:user-0db7875968ff@xymon.invalid] 
Sent: Sunday, March 26, 2006 7:01 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Creating Custom Graphs

Hi,

I am trying to create new custom graph.

I am getting the following data in "status" and "data" channels under
iostat -

c0d0p7-rps:0.00
c0d0p7-wps:15.01
c0d0p1-rps:0.00
c0d0p1-wps:0.00
c0d0p10-rps:0.00
c0d0p10-wps:4.60

I have added a record to hobbitgraph.cfg -

[iostat]
        FNPATTERN iostat(.*).rrd
        TITLE Disk IO
        YAXIS % Full
        DEF:p at RRDIDX@=@RRDFN@:pct:AVERAGE
        LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@
        -u 100
        -l 0
        GPRINT:p at RRDIDX@:LAST: \: %5.1lf (cur)
        GPRINT:p at RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:p at RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

I have added the iostat to TEST2RRD and GRAPHS in hobbitserver.cfg.

I have added a record to hobbitlaunch.cfg -

[rrdstatus]
        ENVFILE
/clalapp/hobbit_monitor/hobbit_server/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=status
--log=$BBSERVERLOGS/rrd-status.log hobbitd_rrd --rrddir=$BBVAR/rrd
--extra-test=i
ostat

# "rrddata" updates RRD files with information that arrives as "data"
messages.
# If you want RRD graphs of your monitoring BB data, then you want to
run this.

[rrddata]
        ENVFILE
/clalapp/hobbit_monitor/hobbit_server/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=data
--log=$BBSERVERLOGS/rrd-data.log hobbitd_rrd --rrddir=$BBVAR/rrd
--extra-test=ios
tat


I have also added iostat to bb-hosts.

Unfortunately I am not getting the RRD graphs.

Any idea/suggestion what could be the problem?

Any help/suggestion would be appreciated.

Regards,
    Eyal Rif

   This message was sent by Clal Insurance Ltd Mail Systems

   Visit us at http://www.clalbit.co.il
The information in this e-mail and any attachments is confidential and
may be
legally privileged. It is intended solely for the addressee or
addressees. If
you are not an intended recipient, please delete the message and any
attachments
and notify the sender of misdelivery: any use or disclosure of the
contents of
either is unauthorized and may be unlawful. 


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
list Eyal Rif · Mon, 27 Mar 2006 10:08:58 +0200 ·
Hi,

I have tried the following script -

#!/bin/sh

# Input parameters: Hostname, testname (column), and messagefile
HOSTNAME="$1"
TESTNAME="$2"
FNAME="$3"


if [ "$TESTNAME" = "iostat" ]
then
i=0
cat $FNAME |   \
while read line
do
        v=`echo $line | awk -F: '{print $2}'`
        # The RRD dataset definitions
        echo "DS:value:GAUGE:600:0:U"
        # The filename
        echo "iostat.$i.rrd"
        let i=$i+1
        echo  $v
done
fi
exit 0

but it didn't produced any .rrd file.

hobbit    9608  9586  0 09:59 ?        00:00:00 hobbitd_channel --channel=status --log=/clalapp/hobbit_monitor/hobbit_server/log/rrd-status.log hobbitd_rrd --rrddir=/clalapp/hobbit_monitor/hobbit_server/data/rrd --extra-test=iostat --extra-script=/clalapp/hobbit_monitor/hobbit_server/server/ext/iostat.sh
hobbit    9609  9586  0 09:59 ?        00:00:00 hobbitd_channel --channel=data --log=/clalapp/hobbit_monitor/hobbit_server/log/rrd-data.log hobbitd_rrd --rrddir=/clalapp/hobbit_monitor/hobbit_server/data/rrd --extra-test=iostat --extra-script=/clalapp/hobbit_monitor/hobbit_server/server/ext/iostat.sh
hobbit    9617  9608  0 09:59 ?        00:00:00 hobbitd_rrd --rrddir=/clalapp/hobbit_monitor/hobbit_server/data/rrd --extra-test=iostat --extra-script=/clalapp/hobbit_monitor/hobbit_server/server/ext/iostat.sh

Any idea?
How can I debug rrd scripts ?

Thanks,
quoted from Subhash Gada


-----Original Message-----
From: Gada, Subhash [mailto:user-9bc6f87e5088@xymon.invalid]
Sent: Monday, March 27, 2006 6:14 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Creating Custom Graphs


Hi,

I think you need to write a script for getting rrd files created.

Check if you have the rrd files of iostat in data/rrd/anyhost (anyhost
-- name of any host which has iostat test enabled.) of the hobbit
installed directory.


-----Original Message-----
From: user-0db7875968ff@xymon.invalid [mailto:user-0db7875968ff@xymon.invalid] 
Sent: Sunday, March 26, 2006 7:01 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Creating Custom Graphs

Hi,

I am trying to create new custom graph.

I am getting the following data in "status" and "data" channels under
iostat -

c0d0p7-rps:0.00
c0d0p7-wps:15.01
c0d0p1-rps:0.00
c0d0p1-wps:0.00
c0d0p10-rps:0.00
c0d0p10-wps:4.60

I have added a record to hobbitgraph.cfg -

[iostat]
        FNPATTERN iostat(.*).rrd
        TITLE Disk IO
        YAXIS % Full
        DEF:p at RRDIDX@=@RRDFN@:pct:AVERAGE
        LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@
        -u 100
        -l 0
        GPRINT:p at RRDIDX@:LAST: \: %5.1lf (cur)
        GPRINT:p at RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:p at RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

I have added the iostat to TEST2RRD and GRAPHS in hobbitserver.cfg.

I have added a record to hobbitlaunch.cfg -

[rrdstatus]
        ENVFILE
/clalapp/hobbit_monitor/hobbit_server/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=status
--log=$BBSERVERLOGS/rrd-status.log hobbitd_rrd --rrddir=$BBVAR/rrd
--extra-test=i
ostat

# "rrddata" updates RRD files with information that arrives as "data"
messages.
# If you want RRD graphs of your monitoring BB data, then you want to
run this.

[rrddata]
        ENVFILE
/clalapp/hobbit_monitor/hobbit_server/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=data
--log=$BBSERVERLOGS/rrd-data.log hobbitd_rrd --rrddir=$BBVAR/rrd
--extra-test=ios
tat


I have also added iostat to bb-hosts.

Unfortunately I am not getting the RRD graphs.

Any idea/suggestion what could be the problem?

Any help/suggestion would be appreciated.

Regards,
    Eyal Rif

   This message was sent by Clal Insurance Ltd Mail Systems

   Visit us at http://www.clalbit.co.il
The information in this e-mail and any attachments is confidential and
may be
legally privileged. It is intended solely for the addressee or
addressees. If
you are not an intended recipient, please delete the message and any
attachments
and notify the sender of misdelivery: any use or disclosure of the
contents of
either is unauthorized and may be unlawful. 


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
list Subhash Gada · Mon, 27 Mar 2006 15:15:22 +0530 ·
Hi,

Include these lines in the loop

echo $line >> foo
echo $v >> foo

observer foo with tail -f

this is one of the way that you can debug your script.

Good luck.

Regards,
Subahsh 
quoted from Eyal Rif


-----Original Message-----
From: user-0db7875968ff@xymon.invalid [mailto:user-0db7875968ff@xymon.invalid] 
Sent: Monday, March 27, 2006 1:39 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Creating Custom Graphs

Hi,

I have tried the following script -

#!/bin/sh

# Input parameters: Hostname, testname (column), and messagefile
HOSTNAME="$1"
TESTNAME="$2"
FNAME="$3"


if [ "$TESTNAME" = "iostat" ]
then
i=0
cat $FNAME |   \
while read line
do
        v=`echo $line | awk -F: '{print $2}'`
        # The RRD dataset definitions
        echo "DS:value:GAUGE:600:0:U"
        # The filename
        echo "iostat.$i.rrd"
        let i=$i+1
        echo  $v
done
fi
exit 0

but it didn't produced any .rrd file.

hobbit    9608  9586  0 09:59 ?        00:00:00 hobbitd_channel
--channel=status
--log=/clalapp/hobbit_monitor/hobbit_server/log/rrd-status.log
hobbitd_rrd --rrddir=/clalapp/hobbit_monitor/hobbit_server/data/rrd
--extra-test=iostat

--extra-script=/clalapp/hobbit_monitor/hobbit_server/server/ext/iostat.s
h
quoted from Eyal Rif
hobbit    9609  9586  0 09:59 ?        00:00:00 hobbitd_channel
--channel=data
--log=/clalapp/hobbit_monitor/hobbit_server/log/rrd-data.log hobbitd_rrd
--rrddir=/clalapp/hobbit_monitor/hobbit_server/data/rrd
--extra-test=iostat

--extra-script=/clalapp/hobbit_monitor/hobbit_server/server/ext/iostat.s
h
hobbit    9617  9608  0 09:59 ?        00:00:00 hobbitd_rrd
--rrddir=/clalapp/hobbit_monitor/hobbit_server/data/rrd
--extra-test=iostat
--extra-script=/clalapp/hobbit_monitor/hobbit_server/server/ext/iostat.s
h
quoted from Eyal Rif

Any idea?
How can I debug rrd scripts ?

Thanks,


-----Original Message-----
From: Gada, Subhash [mailto:user-9bc6f87e5088@xymon.invalid]
Sent: Monday, March 27, 2006 6:14 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Creating Custom Graphs


Hi,

I think you need to write a script for getting rrd files created.

Check if you have the rrd files of iostat in data/rrd/anyhost (anyhost
-- name of any host which has iostat test enabled.) of the hobbit
installed directory.


-----Original Message-----
From: user-0db7875968ff@xymon.invalid [mailto:user-0db7875968ff@xymon.invalid] 
Sent: Sunday, March 26, 2006 7:01 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Creating Custom Graphs

Hi,

I am trying to create new custom graph.

I am getting the following data in "status" and "data" channels under
iostat -

c0d0p7-rps:0.00
c0d0p7-wps:15.01
c0d0p1-rps:0.00
c0d0p1-wps:0.00
c0d0p10-rps:0.00
c0d0p10-wps:4.60

I have added a record to hobbitgraph.cfg -

[iostat]
        FNPATTERN iostat(.*).rrd
        TITLE Disk IO
        YAXIS % Full
        DEF:p at RRDIDX@=@RRDFN@:pct:AVERAGE
        LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@
        -u 100
        -l 0
        GPRINT:p at RRDIDX@:LAST: \: %5.1lf (cur)
        GPRINT:p at RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:p at RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

I have added the iostat to TEST2RRD and GRAPHS in hobbitserver.cfg.

I have added a record to hobbitlaunch.cfg -

[rrdstatus]
        ENVFILE
/clalapp/hobbit_monitor/hobbit_server/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=status
--log=$BBSERVERLOGS/rrd-status.log hobbitd_rrd --rrddir=$BBVAR/rrd
--extra-test=i
ostat

# "rrddata" updates RRD files with information that arrives as "data"
messages.
# If you want RRD graphs of your monitoring BB data, then you want to
run this.

[rrddata]
        ENVFILE
/clalapp/hobbit_monitor/hobbit_server/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=data
--log=$BBSERVERLOGS/rrd-data.log hobbitd_rrd --rrddir=$BBVAR/rrd
--extra-test=ios
tat


I have also added iostat to bb-hosts.

Unfortunately I am not getting the RRD graphs.

Any idea/suggestion what could be the problem?

Any help/suggestion would be appreciated.

Regards,
    Eyal Rif

   This message was sent by Clal Insurance Ltd Mail Systems

   Visit us at http://www.clalbit.co.il
The information in this e-mail and any attachments is confidential and
may be
legally privileged. It is intended solely for the addressee or
addressees. If
you are not an intended recipient, please delete the message and any
attachments
and notify the sender of misdelivery: any use or disclosure of the
contents of
either is unauthorized and may be unlawful. 


This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be
copied, disclosed to, retained or used by, any other party. If you are
not an intended recipient then please promptly delete this e-mail and
any attachment and all copies and inform the sender. Thank you.
list Buchan Milne · Mon, 27 Mar 2006 12:10:43 +0200 ·
quoted from Subhash Gada
On Sunday 26 March 2006 15:31, user-0db7875968ff@xymon.invalid wrote:
Hi,

I am trying to create new custom graph.

I am getting the following data in "status" and "data" channels under
iostat -

c0d0p7-rps:0.00
c0d0p7-wps:15.01
c0d0p1-rps:0.00
c0d0p1-wps:0.00
c0d0p10-rps:0.00
c0d0p10-wps:4.60

I have added a record to hobbitgraph.cfg -

[iostat]
        FNPATTERN iostat(.*).rrd
        TITLE Disk IO
        YAXIS % Full
        DEF:p at RRDIDX@=@RRDFN@:pct:AVERAGE
        LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@
        -u 100
        -l 0
        GPRINT:p at RRDIDX@:LAST: \: %5.1lf (cur)
        GPRINT:p at RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:p at RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

I have added the iostat to TEST2RRD and GRAPHS in hobbitserver.cfg.

I have added a record to hobbitlaunch.cfg -

[rrdstatus]
        ENVFILE
/clalapp/hobbit_monitor/hobbit_server/server/etc/hobbitserver.cfg NEEDS
hobbitd
        CMD hobbitd_channel --channel=status
--log=$BBSERVERLOGS/rrd-status.log hobbitd_rrd --rrddir=$BBVAR/rrd
--extra-test=i ostat

# "rrddata" updates RRD files with information that arrives as "data"
messages. # If you want RRD graphs of your monitoring BB data, then you
want to run this.

[rrddata]
        ENVFILE
/clalapp/hobbit_monitor/hobbit_server/server/etc/hobbitserver.cfg NEEDS
hobbitd
        CMD hobbitd_channel --channel=data  
--log=$BBSERVERLOGS/rrd-data.log hobbitd_rrd --rrddir=$BBVAR/rrd
--extra-test=ios tat


I have also added iostat to bb-hosts.

Unfortunately I am not getting the RRD graphs.

Any idea/suggestion what could be the problem?

Any help/suggestion would be appreciated.
I assume you are wanting to have these rrd files generated by the ncv handler, 
in which case you also need to:

-add ncv to GRAPHS (so GRAPHS should include both iostat and ncv)
-add "iostat=ncv" to TEST2RRD (instead of just "iostat")
-add a line that looks something like this:
ncv_iostat="c0d0p7-rps:GAUGE,c0d0p7-wps:GAUGE,c0d0p1-rps:GAUGE,c0d0p1-wps:GAUGE,c0d0p10-rps:GAUGE,c0d0p10-wps:GAUGE

in hobbitserver.cfg

Regards,
Buchan

-- 
Buchan Milne
ISP Systems Specialist
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
list Rolf Schrittenlocher · Tue, 28 Mar 2006 08:36:13 +0200 ·
Hi all,

our servers are reporting to hobbit using virtual hostnames. For some reasons not all names report all the time. So once a host is not sending information, hobbit turns this test or host to "purple". Up to now I always dropped the host/test then, but so all historical information gets lost. Normal disable is no option as we nether know how long a hostname want be used (it may be a long time). Is there a way of turnijng of purple/disabling a host permanently without loosing its data?

Thanks
Rolf

-- 
Mit freundlichen Gruessen
Rolf Schrittenlocher

HRZ/BDV, Senckenberganlage 31, 60054 Frankfurt Tel: (XX) XX - XXX XXXXX   Fax: (XX) XX - XXX XXXXX
LBS: user-1e39a1813094@xymon.invalid
Persoenlich: user-6ea8e907e200@xymon.invalid
list Henrik Størner · Tue, 28 Mar 2006 12:41:23 +0200 ·
quoted from Rolf Schrittenlocher
On Tue, Mar 28, 2006 at 08:36:13AM +0200, Rolf Schrittenlocher wrote:
our servers are reporting to hobbit using virtual hostnames. For some reasons not all names report all the time. So once a host is not sending information, hobbit turns this test or host to "purple". Up to now I always dropped the host/test then, but so all historical information gets lost. Normal disable is no option as we nether know how long a hostname want be used (it may be a long time). Is there a way of turnijng of purple/disabling a host permanently without loosing its data?
You can do it globally by running Hobbit with the "--no-purple" option.

On a per-host basis, the "dialup" directive will do this - but it has
the side-effect of disabling alerts for network tests.


Henrik
list Eyal Rif · Wed, 29 Mar 2006 10:40:35 +0200 ·
Hi,

I have noticed that I am getting the info of iostat throw hobbitd daemon.

The data isn't received throw "hobbitd_channel --channel=status" or "hobbitd_channel --channel=data" - which can explain why I am not getting the rrd graphs.

I am just using "data" or "status" in the header of my message to hobbit server.
how can I send data to the data or status channel ?


Regards,
quoted from Buchan Milne

-----Original Message-----
From: Buchan Milne [mailto:user-9b139aff4dec@xymon.invalid]
Sent: Monday, March 27, 2006 12:11 PM
To: user-ae9b8668bcde@xymon.invalid
Cc: אייל ריף
Subject: Re: [hobbit] Creating Custom Graphs


On Sunday 26 March 2006 15:31, user-0db7875968ff@xymon.invalid wrote:
Hi,

I am trying to create new custom graph.

I am getting the following data in "status" and "data" channels under
iostat -

c0d0p7-rps:0.00
c0d0p7-wps:15.01
c0d0p1-rps:0.00
c0d0p1-wps:0.00
c0d0p10-rps:0.00
c0d0p10-wps:4.60

I have added a record to hobbitgraph.cfg -

[iostat]
        FNPATTERN iostat(.*).rrd
        TITLE Disk IO
        YAXIS % Full
        DEF:p at RRDIDX@=@RRDFN@:pct:AVERAGE
        LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@
        -u 100
        -l 0
        GPRINT:p at RRDIDX@:LAST: \: %5.1lf (cur)
        GPRINT:p at RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:p at RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

I have added the iostat to TEST2RRD and GRAPHS in hobbitserver.cfg.

I have added a record to hobbitlaunch.cfg -

[rrdstatus]
        ENVFILE
/clalapp/hobbit_monitor/hobbit_server/server/etc/hobbitserver.cfg NEEDS
hobbitd
        CMD hobbitd_channel --channel=status
--log=$BBSERVERLOGS/rrd-status.log hobbitd_rrd --rrddir=$BBVAR/rrd
--extra-test=i ostat

# "rrddata" updates RRD files with information that arrives as "data"
messages. # If you want RRD graphs of your monitoring BB data, then you
want to run this.

[rrddata]
        ENVFILE
/clalapp/hobbit_monitor/hobbit_server/server/etc/hobbitserver.cfg NEEDS
hobbitd
        CMD hobbitd_channel --channel=data  
--log=$BBSERVERLOGS/rrd-data.log hobbitd_rrd --rrddir=$BBVAR/rrd
--extra-test=ios tat


I have also added iostat to bb-hosts.

Unfortunately I am not getting the RRD graphs.

Any idea/suggestion what could be the problem?

Any help/suggestion would be appreciated.
I assume you are wanting to have these rrd files generated by the ncv handler, 
in which case you also need to:

-add ncv to GRAPHS (so GRAPHS should include both iostat and ncv)
-add "iostat=ncv" to TEST2RRD (instead of just "iostat")
-add a line that looks something like this:
ncv_iostat="c0d0p7-rps:GAUGE,c0d0p7-wps:GAUGE,c0d0p1-rps:GAUGE,c0d0p1-wps:GAUGE,c0d0p10-rps:GAUGE,c0d0p10-wps:GAUGE

in hobbitserver.cfg

Regards,
Buchan

-- 
Buchan Milne
ISP Systems Specialist
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)

   This message was sent by Clal Insurance Ltd Mail Systems

   Visit us at http://www.clalbit.co.il
The information in this e-mail and any attachments is confidential and may be
legally privileged. It is intended solely for the addressee or addressees. If
you are not an intended recipient, please delete the message and any attachments
and notify the sender of misdelivery: any use or disclosure of the contents of
either is unauthorized and may be unlawful.
list Elizabeth Jones · Tue, 11 Nov 2014 12:37:00 -0800 ·
I have some Solaris servers that I can't install the xymon binaries on so I'm going to try writing my own scripts to replicate the default xymon data.  I successfully tested sending messages directly to port 1984 from my client to my xymon server, but I'm not clear on how data that is in graphs is sent/generated.  For instance, if I wanted to generate a cpu graph, I can send the cpu values but I'm not sure what I would then need to do in order to generate the rrd graphs.  Can anyone point me toward any documentation for this?

thanks,
EJ
list Ralph Mitchell · Tue, 11 Nov 2014 16:04:51 -0500 ·
You might want to take a look at Jeremy Laidman's excellent xymon-rclient
script:

     http://tools.rebel-it.com.au/xymon-rclient

Nothing needs installing on the client server, as long as you can shell
into it.

The data for the various graphs are extracted from the client data
message.  Once you get the client data delivered properly, the graphs
automagically appear.

Ralph Mitchell


On Tue, Nov 11, 2014 at 3:39 PM, Elizabeth Jones via Xymon <xymon at xymon.com>
wrote:
---------- Forwarded message ----------
From: Elizabeth Jones <user-a47755762131@xymon.invalid>
To: "Xymon at xymon.com" <Xymon at xymon.com>
Cc:
Date: Tue, 11 Nov 2014 12:37:00 -0800
Subject: creating custom graphs
quoted from Elizabeth Jones
I have some Solaris servers that I can't install the xymon binaries on so
I'm going to try writing my own scripts to replicate the default xymon
data.  I successfully tested sending messages directly to port 1984 from my
client to my xymon server, but I'm not clear on how data that is in graphs
is sent/generated.  For instance, if I wanted to generate a cpu graph, I
can send the cpu values but I'm not sure what I would then need to do in
order to generate the rrd graphs.  Can anyone point me toward any
documentation for this?

thanks,
EJ

list Elizabeth Jones · Wed, 12 Nov 2014 10:42:27 -0800 ·
I have a follow up question - I'm now able to get an rrd file generated on my xymon server - woot!  But I don't have a graph to go along with it.  I'm using data message type and this is what is in my rrd file - I'm under the impression that this should create a graph that shows up in my trends page, but no graph on trends page. The value that I'm sending is solcpu : 2  (percent cpu used).  I'm guessing that is what is the the <last_ds> 2 </last_ds> field.  Does anyone know what the other fields are?


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rrd SYSTEM "http://oss.oetiker.ch/rrdtool/rrdtool.dtd">;
<!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1415817304 </lastupdate> <!-- 2014-11-12 12:35:04 CST -->

        <ds>
                <name> solcpu </name>
                <type> DERIVE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> NaN </min>
                <max> NaN </max>

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

<!-- Round Robin Archives -->   <rra>
                <cf> AVERAGE </cf>
                <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds -->
quoted from Elizabeth Jones


 From: Elizabeth Jones via Xymon <xymon at xymon.com>
To: "Xymon at xymon.com" <Xymon at xymon.com> 
Sent: Tuesday, November 11, 2014 2:39 PM
Subject: [Xymon] creating custom graphs
 

I have some Solaris servers that I can't install the xymon binaries on so I'm going to try writing my own scripts to replicate the default xymon data.  I successfully tested sending messages directly to port 1984 from my client to my xymon server, but I'm not clear on how data that is in graphs is sent/generated.  For instance, if I wanted to generate a cpu graph, I can send the cpu values but I'm not sure what I would then need to do in order to generate the rrd graphs.  Can anyone point me toward any documentation for this?

thanks,
EJ
list Steve Brown · Wed, 12 Nov 2014 18:54:27 +0000 ·
If you want the graph included with the other graphs on the trends column, you must add it to the GRAPHS setting in the ~xymon/server/etc/xymonserver.cfg file.
            GRAPHS="la,disk,<... lots more ...>,xymonproxy,xymond,slab"
You might also need to add it to the line
TEST2RRD="cpu=la,disk ..."

Sorry I don't know about the rrd data question.
Steve
quoted from Elizabeth Jones

From: Elizabeth Jones [mailto:user-a47755762131@xymon.invalid]
Sent: Wednesday, November 12, 2014 12:42 PM
To: Elizabeth Jones; Xymon at xymon.com
Subject: Re: [Xymon] creating custom graphs

I have a follow up question - I'm now able to get an rrd file generated on my xymon server - woot!  But I don't have a graph to go along with it.  I'm using data message type and this is what is in my rrd file - I'm under the impression that this should create a graph that shows up in my trends page, but no graph on trends page. The value that I'm sending is solcpu : 2  (percent cpu used).  I'm guessing that is what is the the <last_ds> 2 </last_ds> field.  Does anyone know what the other fields are?

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rrd SYSTEM "http://oss.oetiker.ch/rrdtool/rrdtool.dtd">;
<!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1415817304 </lastupdate> <!-- 2014-11-12 12:35:04 CST -->

        <ds>
                <name> solcpu </name>
                <type> DERIVE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> NaN </min>
                <max> NaN </max>

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

<!-- Round Robin Archives -->   <rra>
                <cf> AVERAGE </cf>
                <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds -->


From: Elizabeth Jones via Xymon <xymon at xymon.com<mailto:xymon at xymon.com>>
To: "Xymon at xymon.com<mailto:Xymon at xymon.com>" <Xymon at xymon.com<mailto:Xymon at xymon.com>>
Sent: Tuesday, November 11, 2014 2:39 PM
Subject: [Xymon] creating custom graphs

I have some Solaris servers that I can't install the xymon binaries on so I'm going to try writing my own scripts to replicate the default xymon data.  I successfully tested sending messages directly to port 1984 from my client to my xymon server, but I'm not clear on how data that is in graphs is sent/generated.  For instance, if I wanted to generate a cpu graph, I can send the cpu values but I'm not sure what I would then need to do in order to generate the rrd graphs.  Can anyone point me toward any documentation for this?

thanks,
EJ
list Ralph Mitchell · Wed, 12 Nov 2014 23:16:57 -0500 ·
The whole "solcpu"  DS block describes the data set being collected.
You'll need to check the manual pages on creating custom graphs and create
an entry in server/etc/graphs.cfg to match the column name and the solcpu
DS that you're reporting.

Ralph Mitchell
quoted from Steve Brown


On Wed, Nov 12, 2014 at 1:54 PM, Steve Brown <user-a23886790dfc@xymon.invalid> wrote:
 If you want the graph included with the other graphs on the trends
column, you must add it to the GRAPHS setting in the
~xymon/server/etc/xymonserver.cfg file.

            GRAPHS="la,disk,<... lots more ...>,xymonproxy,xymond,slab"

You might also need to add it to the line

TEST2RRD="cpu=la,disk …”


Sorry I don’t know about the rrd data question.

Steve


*From:* Elizabeth Jones [mailto:user-a47755762131@xymon.invalid]
*Sent:* Wednesday, November 12, 2014 12:42 PM
*To:* Elizabeth Jones; Xymon at xymon.com
*Subject:* Re: [Xymon] creating custom graphs


I have a follow up question - I'm now able to get an rrd file generated on
my xymon server - woot!  But I don't have a graph to go along with it.  I'm
using data message type and this is what is in my rrd file - I'm under the
impression that this should create a graph that shows up in my trends page,
but no graph on trends page. The value that I'm sending is solcpu : 2
(percent cpu used).  I'm guessing that is what is the the <last_ds> 2
</last_ds> field.  Does anyone know what the other fields are?


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rrd SYSTEM "http://oss.oetiker.ch/rrdtool/rrdtool.dtd">;
<!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1415817304 </lastupdate> <!-- 2014-11-12 12:35:04 CST
-->

        <ds>
                <name> solcpu </name>
                <type> DERIVE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> NaN </min>
                <max> NaN </max>

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

<!-- Round Robin Archives -->   <rra>
                <cf> AVERAGE </cf>
                <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds -->


*From:* Elizabeth Jones via Xymon <xymon at xymon.com>
*To:* "Xymon at xymon.com" <Xymon at xymon.com>
*Sent:* Tuesday, November 11, 2014 2:39 PM
*Subject:* [Xymon] creating custom graphs


I have some Solaris servers that I can't install the xymon binaries on so
I'm going to try writing my own scripts to replicate the default xymon
data.  I successfully tested sending messages directly to port 1984 from my
client to my xymon server, but I'm not clear on how data that is in graphs
is sent/generated.  For instance, if I wanted to generate a cpu graph, I
can send the cpu values but I'm not sure what I would then need to do in
order to generate the rrd graphs.  Can anyone point me toward any
documentation for this?


thanks,
EJ