Xymon Mailing List Archive search

New graph display problems.

list Kevin Attsi King
Thu, 21 Apr 2011 08:16:21 -0400
Message-Id: <user-6dd6decf4e1a@xymon.invalid>

Kevin,
How are you processing the devmon data into the RRD? What have you
added
to TEST2RRD= line in hobbitserver.cfg (or server.cfg on 4.3)?
Yes it is in xymonserver.cfg  And I am running 4.3.0

# status view of a test should include a graph.
TEST2RRD="if_dsc=devmon,if_load=devmon,temp=devmon,itp_msu=devmon,cpu=l
a,disk,
I have found that if you use TEST2RRD="mytest=devmon" then it won't
display on the mytest page. if_load may be hard-coded to be handled
by
devmon RRD handler (haven't checked the source).

My workaround was to copy the hobbitserver.cfg to say
hobbithostcgi.cfg
and remove the =devmon substrings, then change hobbitcgi.cfg to use
the
new file
Xymon 4.3.0 has "cgioptions.cfg"
I haven't bitten the bullet on migrating to 4.3 yet so I haven't got
the
new filenames burnt in yet ;)
# hobbitsvc.cgi options for a normal (current) status display
CGI_SVC_OPTS="--env=/usr/lib/hobbit/server/etc/hobbithostcgi.cfg
--no-svcid --history=top"
#CGI_SVC_OPTS="--env=/usr/lib/hobbit/server/etc/hobbitserver.cfg
--no-svcid --history=top"
This is not this way in 4.3.0

XYMONENV=/usr/local/bb/xymon/server/etc/xymonserver.cfg

# svcstatus.cgi options for a normal (current) status display
CGI_SVC_OPTS="--env=$XYMONENV --no-svcid --history=top"

I will change the $ XYMONENV to the new config file with the =devmon
removed as you suggested and see what happens. Would this not just be
the same as just leving things as they are and just removing the
=devmon from the current xymonserver.cfg file?
If you remove =devmon then the RRD data collector won't process the
data
reported by devmon into the RRD files. So you have a choice - data but
no graph, or graph but no data - neither that useful :(

This has proven to have a very interesting outcome. I now have graphs on new report and the if_load is no longer on the status page.  

-Kevin