I couldn't stand not seeing the graphs on the pages. I modified the web/hobbitgraph.c and commented out these lines:
/* else if (strcmp(cwalk->name, "nostale") == 0) {
ignorestalerrds = 1;
} */
...then did a make and make install, and the graphs started showing on the pages. Best I can tell, this issue is caused by this code:
/*
* Has it been updated recently (within the past
24 hours) ?
* We dont want old graphs to mess up
multi-displays.
*/
if (ignorestalerrds && (stat(d->d_name, &st) ==
&& ((now - st.st_mtime) > 86400)) {
continue; }
After 86400 seconds, the graphs stop showing. I haven't figured out why it breaks though. Anyone?
David
From: Brand, Thomas R. [mailto:TRBrand at cvs.com] Sent: Wednesday, August 25, 2010 9:54 AM To: xymon at xymon.com Subject: RE: [xymon] Graphs stop working on pages, but still work on Trends
I have the exact same symptoms and have been trying to figure it out without success and had actually writing a message but David beat me to it.
It seems this has been mentioned before; ref: http://www.xymon.com/archive/2010/04/msg00026.html
For various graphs (conn, disk, ports, procs) the graph does not display on the itemized page (eg, under the 'conn' column), but does display on the trends page.
Tom
From: Stuffle, David [mailto:David.Stuffle at anthem.com] Sent: Tuesday, August 24, 2010 11:51 AM To: xymon at xymon.com Subject: [xymon] Graphs stop working on pages, but still work on Trends
Hi,
I just set up a new Xymon 4.2.3 install and I have AIX clients reporting to the Xymon server. The individual graphs, such as disk, memory, etc., show up fine on the pages at first, but it seems around 48 hours, the graphs stop showing, BUT they still show fine on the "trends" colums and are being updated. This happens for all hosts including the Xymon server. If I delete the RRD files, they get recreated and start working, but then after 48 hours, they stop again. They always show fine on the trends column. They only graph that continues to work on the individual test view is for the CPU column.
I don't see any relevant info in the logs. I'm using RRD tool 1.4.4. Anyone know what could be causing this?
For example:
The url it sends for the memory column is this - which doesn't work:
http://xymon/xymon-cgi/hobbitgraph.sh?host=adc13001u&service=memory&grap h_width=576&graph_height=120&disp=adc13001u&nostale&color=green&graph=ho urly&action=view
The url it sends for the memory graph in the trends column is this - which does work:
http://xymon/xymon-cgi/hobbitgraph.sh?host=adc13001u&service=memory&grap h_width=576&graph_height=120&first=1&count=2&disp=adc13001u&graph=hourly &action=view
Removing the "nostale" from the first url makes it work if it's entered in a browser alone. But, the CPU has the nostale in it and still works. ???
David
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information or otherwise be protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information or otherwise be protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.