[Xymon] rrd files not getting created. - SUMMARY

Jake xymon at epperson.homelinux.net
Wed Dec 7 18:39:42 CET 2016


 

I recently followed this work-in-progress to set up a Xymon server on
Centos 7 for a pro bono client. 

https://centos.jordy.eu/centos-test/ [3] 

It's about 98% complete/accurate. This installation is compliant with
the general principles of package management in Centos/Red Hat. 

On 2016-12-07 12:08, navraj shrestha wrote: 

> looks like rrdtool didn't install correctly or may be I am missing some prerequisites packages. 
> Do you have any guide to install xymon? 
> Or do you know what packages needs to be installed? 
> 
> thanks
> 
>  
> 
> On Wed, Dec 7, 2016 at 10:57 AM, Root, Paul T <Paul.Root at centurylink.com> wrote:
> 
>> I'd look to find the showgraph.sh script and work on figuring out why your installation failed. 
>> 
>> FROM: navraj shrestha [mailto:shresthanav17 at gmail.com] 
>> SENT: Wednesday, December 07, 2016 10:54 AM 
>> 
>> TO: Root, Paul T; xymon at xymon.com
>> SUBJECT: Re: [Xymon] rrd files not getting created. - SUMMARY 
>> 
>> yes, they are installed 
>> 
>> so what can be done now 
>> 
>> On Wed, Dec 7, 2016 at 10:43 AM, Root, Paul T <Paul.Root at centurylink.com> wrote: 
>> 
>> You don't have a complete install of xymon. 
>> 
>> Do you have rrdtool and rrdtool-devel installed? 
>> 
>> FROM: navraj shrestha [mailto:shresthanav17 at gmail.com] 
>> SENT: Wednesday, December 07, 2016 10:21 AM
>> TO: Root, Paul T; xymon at xymon.com 
>> 
>> SUBJECT: Re: [Xymon] rrd files not getting created. - SUMMARY 
>> 
>> Yes this is a new install on Rhel 7.2, xymon 4.3.27 
>> 
>> I haven't got any graphs, not in trends too. 
>> 
>> checked for showgraph.sh in cgi-bin , it doesn't exist there 
>> 
>> <Directory "/usr/lib/xymon/cgi-bin"> 
>> 
>> So what do I have to do now, 
>> 
>> and my rrd directory is also empty. 
>> 
>> Thanks 
>> 
>> On Wed, Dec 7, 2016 at 8:47 AM, Root, Paul T <Paul.Root at centurylink.com> wrote: 
>> 
>> Sorry, I saw this yesterday, but then got side tracked, and didn't answer. 
>> 
>> First, NEVER remove the mailing list, there are so many guys that know so much more about xymon than I do. And that goes for just about everyone except maybe Henrik and JC. 
>> 
>> So this looks like a configuration issue in general, not a failed custom graph. 
>> 
>> Do you get graphs for anything? In trends of in specific tests? 
>> 
>> Does showgraph.sh exist in you xymon-cgi directory? You can find you xymon-cgi directory location in the xymon-apache.conf file, which should be in your httpd configuration directory. 
>> 
>> Is this a new install? 
>> 
>> What version of xymon are using, and what operating system? 
>> 
>> FROM: navraj shrestha [mailto:shresthanav17 at gmail.com] 
>> SENT: Monday, December 05, 2016 6:34 PM
>> TO: Root, Paul T
>> SUBJECT: Re: [Xymon] rrd files not getting created. - SUMMARY 
>> 
>> thanks Root for your reply, 
>> 
>> When I click magnifying glass I get this error"The requested URL /xymon-cgi/showgraph.sh was not found on this server". And I am not creating a custom graphs, Do I have to make any changes to xymonserver.cfg? 
>> 
>> Thanks 
>> 
>> Navraj 
>> 
>> On Mon, Dec 5, 2016 at 9:28 AM, Root, Paul T <Paul.Root at centurylink.com> wrote: 
>> 
>> I thought I would just summarize my experience. 
>> 
>> It is important that the rrd file you want to create doesn't exist before you do the restart of the xymond_rrd processes. It is VERY finicky. 
>> 
>> Then moving onto the graph creation. I stumbled on debugging information. If the graph isn't created, click on the magnifying glass next to it, and it will give you an error message, that is a clue as to why the graph wasn't made. 
>> 
>> Also, the example on "Custom Graphs" page is invalid. It doesn't work. The %s in the GPRINTs are invalid. I also had a typo with DEV instead of DEF, and we all know the V vs F issue with the human mind. 
>> 
>> When creating a graph, start very simple, just TITLE, YAXIS and DEF lines, and then add things one at a time to get what you want. 
>> 
>> Paul. 
>> 
>> FROM: Root, Paul T 
>> SENT: Thursday, December 01, 2016 11:12 AM
>> TO: Root, Paul T; xymon at xymon.com
>> SUBJECT: RE: [Xymon] rrd files not getting created. 
>> 
>> Ok, I took the changes out. restarted xymon, waited a half hour, put them back in, and it created the rrd file. 
>> 
>> HOWEVER, it only put it in once, and no updates: 
>> 
>> <?xml version="1.0" encoding="utf-8"?> 
>> 
>> <!DOCTYPE rrd SYSTEM "http://oss.oetiker.ch/rrdtool/rrdtool.dtd [1]"> 
>> 
>> <!-- Round Robin Database Dump --><rrd> <version> 0003 </version> 
>> 
>> <step> 300 </step> <!-- Seconds --> 
>> 
>> <lastupdate> 1480607277 </lastupdate> <!-- 2016-12-01 09:47:57 CST --> 
>> 
>> <ds> 
>> 
>> <name> ucfthreads </name> 
>> 
>> <type> GAUGE </type> 
>> 
>> <minimal_heartbeat> 600 </minimal_heartbeat> 
>> 
>> <min> NaN </min> 
>> 
>> <max> NaN </max> 
>> 
>> <!-- PDP Status --> 
>> 
>> <last_ds> 92 </last_ds> 
>> 
>> <value> 1.6284000000e+04 </value> 
>> 
>> <unknown_sec> 0 </unknown_sec> 
>> 
>> </ds> 
>> 
>> <!-- Round Robin Archives --> <rra> 
>> 
>> And the script runs every 5 minutes from clientlaunch.cfg. 
>> 
>> FROM: Xymon [mailto:xymon-bounces at xymon.com] ON BEHALF OF Root, Paul T
>> SENT: Thursday, December 01, 2016 9:55 AM
>> TO: xymon at xymon.com
>> SUBJECT: [Xymon] rrd files not getting created. 
>> 
>> Where do I go look to figure out why the rrd file is not getting created? 
>> 
>> I have a script that produces output like this with a test name of 'ucf': 
>> 
>> green 
>> 
>> ucf_threads : 14 
>> 
>> And that is all I'm sending currently. At this point, it's a simulated script and then number is between 1-100. 
>> 
>> In xymonserver.cfg I have 
>> 
>> TEST2RRD="….,ucf=ncv" 
>> 
>> NCV_ucf="ucfthreads:GAUGE" 
>> 
>> I have two servers. My production, and a test server, with this config, and the test server briefly created the rrd, then I renamed the test (from myg to ucf), c hanged the TEST2RRD and NCV_myg to NCV_ucf. 
>> 
>> I've restarted xymon completely, and killed the xymond_rrd processes. Nothing shows up in rrd_status.log or rrd_data.log 
>> 
>> All the machines are CentOS 6 running xymon 4.3.21. We have successfully got custom graphs working in the past, but no luck at this point. 
>> 
>> Ultimately, I believe the script will live on a RedHat 7 client. The xymon server will remain CentOS 6 for the forseeable future. 
>> 
>> Paul. 
>> 
>> This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. 
>> 
>> This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. 
>> 
>> _______________________________________________
>> Xymon mailing list
>> Xymon at xymon.com
>> http://lists.xymon.com/mailman/listinfo/xymon [2] 
>> 
>> This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. 
>> 
>> This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. 
>> 
>> This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
> 
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon [2]
 

Links:
------
[1] http://oss.oetiker.ch/rrdtool/rrdtool.dtd
[2] http://lists.xymon.com/mailman/listinfo/xymon
[3] https://centos.jordy.eu/centos-test/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20161207/4408d137/attachment.html>


More information about the Xymon mailing list