Xymon Mailing List Archive search

No RRD file created

4 messages in this thread

list Steve Holmes · Thu, 9 Feb 2012 11:53:22 -0500 ·
Running Xymon 4.2.3.

I've followed the instructions for creating a custom graph and double
checked everything several times. I've looked in the archives and, while
there are a few threads there on this, I was not able to find anything
helpful.

I have a script that is successfully doing a test on several hosts and
displays a page with output like:

Thu Feb 9 11:42:26 EST 2012

Percent of cpu time in wait state is OK

    cpuwait : 0


The test column is 'wait'.

I have in hobbitserver.cfg:

TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcc
p,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sendmail,mailq,nmaii
lq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,files,procs=proo
cesses,ports,clock,lines,myconns=ncv,temp=ncv,diskstat-reads=ncv,diskstat-writess
=ncv,diskstat-kreads=ncv,diskstat-kwrites=ncv,diskstat-wait=ncv,diskstat-actv=ncc
v,diskstat-svct=ncv,diskstat-wsvc=ncv,diskstat-pw=ncv,diskstat-pb=ncv,diskstat-rr
rqm=ncv,diskstat-wrqm=ncv,diskstat-r=ncv,diskstat-w=ncv,diskstat-rsec=ncv,diskstt
at-wsec=ncv,diskstat-avgrq-sz=ncv,diskstat-avgqu-sz=ncv,diskstat-await=ncv,diskss
tat-svctm=ncv,diskstat-util=ncv,wait=ncv"

NCV_wait="cpuwait:GAUGE"

GRAPHS="la,disk,inode,qtree,files,processes,memory,users,vmstat,iostat,tcp.http,,
tcp,ncv,netstat,ifstat,mrtg::1,ports,temperature,ntpstat,apache,bind,sendmail,maa
ilq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,clock,lines,myconns,,
temp,diskstat-reads::7,diskstat-writes::7,diskstat-kreads::7,diskstat-kwrites::77
,diskstat-wait::7,diskstat-actv::7,diskstat-svct::7,diskstat-wsvc::7,diskstat-pww
::7,diskstat-pb::7,diskstat-rrqm::7,diskstat-wrqm::7,diskstat-r::7,diskstat-w::77
,diskstat-rsec::7,diskstat-wsec::7,diskstat-avgrq-sz::7,diskstat-avgqu-sz::7,diss
kstat-await::7,diskstat-svctm::7,diskstat-util::7,wait "

And I've stopped and restarted Xymon multiple times.

At this point the instructions say to make sure the wait.rrd file is being
created. But it isn't.

What am I missing?
Thanks,
Steve Holmes
list Jeremy Laidman · Fri, 10 Feb 2012 11:55:31 +1100 ·
On Fri, Feb 10, 2012 at 3:53 AM, Steve Holmes <user-ec1bf77b1b44@xymon.invalid> wrote:
Running Xymon 4.2.3.
▸ quoted from Steve Holmes
    cpuwait : 0
The test column is 'wait'.
At this point the instructions say to make sure the wait.rrd file is being
created. But it isn't.
Is there a file called "cpuwait.rrd"?  Or maybe "wait,cpuwait.rrd"?
list Steve Holmes · Thu, 9 Feb 2012 21:46:28 -0500 ·
Neither of those, either.
Thanks,
Steve
▸ quoted from Jeremy Laidman

On Thu, Feb 9, 2012 at 7:55 PM, Jeremy Laidman <user-71895fb2e44c@xymon.invalid>wrote:
On Fri, Feb 10, 2012 at 3:53 AM, Steve Holmes <user-ec1bf77b1b44@xymon.invalid> wrote:
Running Xymon 4.2.3.
    cpuwait : 0
The test column is 'wait'.
At this point the instructions say to make sure the wait.rrd file is
being
created. But it isn't.
Is there a file called "cpuwait.rrd"?  Or maybe "wait,cpuwait.rrd"?
-- 

If they give you ruled paper, write the other way. -Juan Ramon Jimenez,
poet, Nobel Prize in literature (1881-1958)

I prayed for freedom for twenty years, but received no answer until I
prayed with my legs. -Frederick Douglass, Former slave, abolitionist,
editor, and orator (1817-1895)
list Steve Holmes · Tue, 28 Feb 2012 17:35:53 -0500 ·
I wanted to update the list on this for the record.

I figured out that the problem was the format of the text on the test page.
It *looked* ok, but with an html developer window up I could see it was
different from one that was working. The difference was the presence of
double quotes around the text in the working version. So I used the working
script as a template for the new one and it started working. The main
difference was that (in the non-working version) I was appending the
contents of a file with `cat` to the line that was being sent to the xymon
server. By embedding the text directly rather than doing the cat it started
working.
▸ quoted from Steve Holmes

Thanks,
Steve

On Thu, Feb 9, 2012 at 11:53 AM, Steve Holmes <user-ec1bf77b1b44@xymon.invalid> wrote:
Running Xymon 4.2.3.

I've followed the instructions for creating a custom graph and double
checked everything several times. I've looked in the archives and, while
there are a few threads there on this, I was not able to find anything
helpful.

I have a script that is successfully doing a test on several hosts and
displays a page with output like:

Thu Feb 9 11:42:26 EST 2012

Percent of cpu time in wait state is OK

    cpuwait : 0


The test column is 'wait'.

I have in hobbitserver.cfg:


TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcc

p,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sendmail,mailq,nmaii

lq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,files,procs=proo

cesses,ports,clock,lines,myconns=ncv,temp=ncv,diskstat-reads=ncv,diskstat-writess

=ncv,diskstat-kreads=ncv,diskstat-kwrites=ncv,diskstat-wait=ncv,diskstat-actv=ncc

v,diskstat-svct=ncv,diskstat-wsvc=ncv,diskstat-pw=ncv,diskstat-pb=ncv,diskstat-rr

rqm=ncv,diskstat-wrqm=ncv,diskstat-r=ncv,diskstat-w=ncv,diskstat-rsec=ncv,diskstt

at-wsec=ncv,diskstat-avgrq-sz=ncv,diskstat-avgqu-sz=ncv,diskstat-await=ncv,diskss
tat-svctm=ncv,diskstat-util=ncv,wait=ncv"

NCV_wait="cpuwait:GAUGE"


GRAPHS="la,disk,inode,qtree,files,processes,memory,users,vmstat,iostat,tcp.http,,

tcp,ncv,netstat,ifstat,mrtg::1,ports,temperature,ntpstat,apache,bind,sendmail,maa

ilq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,clock,lines,myconns,,

temp,diskstat-reads::7,diskstat-writes::7,diskstat-kreads::7,diskstat-kwrites::77

,diskstat-wait::7,diskstat-actv::7,diskstat-svct::7,diskstat-wsvc::7,diskstat-pww

::7,diskstat-pb::7,diskstat-rrqm::7,diskstat-wrqm::7,diskstat-r::7,diskstat-w::77

,diskstat-rsec::7,diskstat-wsec::7,diskstat-avgrq-sz::7,diskstat-avgqu-sz::7,diss
kstat-await::7,diskstat-svctm::7,diskstat-util::7,wait "

And I've stopped and restarted Xymon multiple times.

At this point the instructions say to make sure the wait.rrd file is being
created. But it isn't.

What am I missing?
Thanks,
Steve Holmes

-- 
If they give you ruled paper, write the other way. -Juan Ramon Jimenez,
poet, Nobel Prize in literature (1881-1958)

I prayed for freedom for twenty years, but received no answer until I
prayed with my legs. -Frederick Douglass, Former slave, abolitionist,
editor, and orator (1817-1895)