Xymon Mailing List Archive search

New graph display problems.

5 messages in this thread

list Kevin Attsi King · Tue, 19 Apr 2011 15:25:47 -0400 ·
I have created a new test in DEVMON and now have an issue with it not
displaying the graphs in the status page. It is displaying fine in the
trends page. In testing this I found that the only devmon test that is
displaying in the status page is if_load. 

I am at work and as such am blocked from searching the archives to see
if that has been answered already.


Kevin H. King
Engineer V Implementations
AT&T 
XXX-XXX-XXXX
"You can not please everyone everyday, But everyday please everyone you
can" -me
list David Baldwin · Wed, 20 Apr 2011 14:48:09 +1000 ·
Kevin,
quoted from Kevin Attsi King
I have created a new test in DEVMON and now have an issue with it not
displaying the graphs in the status page. It is displaying fine in the
trends page. In testing this I found that the only devmon test that is
displaying in the status page is if_load. 
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)?

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

# 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"

David.
quoted from Kevin Attsi King
I am at work and as such am blocked from searching the archives to see
if that has been answered already.


Kevin H. King
Engineer V Implementations
AT&T 
XXX-XXX-XXXX
"You can not please everyone everyday, But everyday please everyone you
can" -me

-- 

David Baldwin - IT Unit
Australian Sports Commission          www.ausport.gov.au
Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
user-cbbf693f2c89@xymon.invalid          Leverrier Street Bruce ACT 2617


Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au

This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
list Kevin Attsi King · Wed, 20 Apr 2011 12:30:43 -0400 ·
quoted from David Baldwin
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=la,disk,
quoted from David Baldwin
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" 
quoted from David Baldwin
# 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?

-Kevin
list David Baldwin · Thu, 21 Apr 2011 10:59:44 +1000 ·
Kevin,
quoted from Kevin Attsi King
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=la,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 ;)
quoted from Kevin Attsi King
# 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 :(

David.
quoted from David Baldwin

-- 
David Baldwin - IT Unit
Australian Sports Commission          www.ausport.gov.au
Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
user-cbbf693f2c89@xymon.invalid          Leverrier Street Bruce ACT 2617


Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au

This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
list Kevin Attsi King · Thu, 21 Apr 2011 08:16:21 -0400 ·
quoted from David Baldwin
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,
quoted from David Baldwin
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