From waa-hobbitml at revpol.com Sat Nov 1 21:28:07 2014 From: waa-hobbitml at revpol.com (Bill Arlofski) Date: Sat, 01 Nov 2014 16:28:07 -0400 Subject: [Xymon] alert for non 200 status from log monitoring In-Reply-To: References: Message-ID: <54554257.2040202@revpol.com> On 10/31/2014 04:39 PM, deepak deore wrote: > Hi, > > I want to trigger alert if there is non 200 status in below tomcat access > logs. I have enabled logs monitoring in client-local.cfg, eg. below log has > non-200 status in 3rd field from last. > > 10.10.10.10 - - [31/Oct/2013:15:45:56 +0000] GET /some/long/url HTTP/1.0 > 404 2531 161 > > How can i define that pattern in analysis.cfg, i can define for 404 as > below but would like to alert for all non 200. > > LOG %/path/to/log_file/access\.[0-9]*-[0-9]*-[0-9]*\.log " 404 " COLOR=red > > Thanks, > Deepak Hi Deepak If you want the test to turn red on any non 200 status, you can omit the COLOR=red because that is the default. You can also leave it for clarity though. :) I think the following will work. Replace your " 404 " with: "%HTTP/1\.(1|0)[[:space:]][345][[:digit:]]{2}[[:space:]][[:digit:]]" That should catch all HTTP/1.0 or HTTP/1.1 requests, followed by a literal space, followed by a 3, or 4, or 5 followed by two more digits (to cover all 300, 400 and 500 series http response codes), followed by a literal space, followed by a digit. If you don't look for the HTTP/1.(0|1) at the front, you will catch all other 300, 400, 500 numbers that are surrounded by spaces in your logs. For example, the size of the request (if it is three digits) which follows the response code in your example. In my Apache log entries, the GET or POST requests are double-quoted like so: .... "GET /wtf HTTP/1.1" 404 270 "-" "Mozilla/5.0 ....." so I could use: "%[[:punct:]][[:space:]][345][[:digit:]]{2}[[:space:]][[:digit:]]" Which ignores the HTTP/1.(1|0) and just catches the closing double-quote after the HTTP/1.0 or HTTP/1.1, the literal space, and then the non-200 response code, followed by a space. Also, you may not want to catch the 300 series response codes because they mainly consist of non-warning or non-critical things like redirects. Hope this helps. -- Bill Arlofski Reverse Polarity, LLC http://www.revpol.com/ -- Not responsible for anything below this line -- From nskyrca at syr.edu Mon Nov 3 21:16:48 2014 From: nskyrca at syr.edu (Nicole Beck) Date: Mon, 3 Nov 2014 20:16:48 +0000 Subject: [Xymon] duration of MSG red status In-Reply-To: References: <6dc6d8d7c68b4e9884acdb0def34f4c7@EX13-MBX-04.ad.syr.edu> <793f6e1579030511945c5d3aaeef3d09.squirrel@mail.kkytbs.net> <544D04A3.90708@revpol.com> Message-ID: <2b414a2c25074ab199cb0a8a885733c8@EX13-MBX-04.ad.syr.edu> Hi Jeremy, I got 7, one every 5 minutes. ALERTREPEAT is set to 30 in hobbitserver.cfg. Our hobbit-alerts.cfg file has “DURATION>1m REPEAT=5m” for the msgs test for that machine. As far as I could tell, the messages status is yellow and it is staying yellow, not flapping. When I click on history in the GUI, it shows that it was yellow for 35 minutes. It looks like it’s the same message that we keep getting an alert for. We had an incident on Friday, where we got 7 email alerts. Below are examples of the portion of the email that showed the yellow alert. The timestamp in the log is 21:00:16 for all of the alerts, so it’s the same message. Email alert 1: yellow System logs at Fri Oct 31 21:01:10 EDT 2014
 
&yellow Warnings in /usr/local/blackboard/logs/tomcat/activemq.txt

&yellow WARN 2014-10-31 21:00:16,480 ActiveMQ NIO Worker 30057 org.apache.activemq.broker.TransportConnection.Transport - Transport Connection to: tcp://128.230.126.194:49464 failed: java.io.EOFException 
Email alert 2 yellow System logs at Fri Oct 31 21:06:10 EDT 2014
 
&yellow Warnings in /usr/local/blackboard/logs/tomcat/activemq.txt

&yellow WARN 2014-10-31 21:00:16,480 ActiveMQ NIO Worker 30057 org.apache.activemq.broker.TransportConnection.Transport - Transport Connection to: tcp://128.230.126.194:49464 failed: java.io.EOFException 
Email alert 7 yellow System logs at Fri Oct 31 21:31:11 EDT 2014
 
&yellow Warnings in /usr/local/blackboard/logs/tomcat/activemq.txt

&yellow WARN 2014-10-31 21:00:16,480 ActiveMQ NIO Worker 30057 org.apache.activemq.broker.TransportConnection.Transport - Transport Connection to: tcp://128.230.126.194:49464 failed: java.io.EOFException 
The Hobbit acknowledge code that appears in the subject of the emails is all the same code. Maybe we are getting multiple email messages because we did not acknowledge the alert. But, if the string does not appear again in the file in the next cycle, shouldn’t it turn back to green? When it happens again, I will try to look at the “client data available” link . I hope this helps. Nicole From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au] Sent: Tuesday, October 28, 2014 9:37 PM To: Nicole Beck Cc: Bill Arlofski; xymon at xymon.com Subject: Re: [Xymon] duration of MSG red status Nicole On 29 October 2014 05:16, Nicole Beck > wrote: What I’m seeing is that I get an alert for my trigger string (which has a timestamp on it), and then I keep getting alerts for the same trigger string (with the same timestamp) for the next 30 minutes. How often do you get the repeated alerts? Or how many in that 30 minutes? I’m not sure if anything else was append to the log file in that 30 minutes. I stop getting the alerts after 30 minutes and don’t have to wait until the log is rotated for the alert to clear. Do you have ALERTREPEAT defined in xymonserver.cfg? The default is 30 seconds, but you may have it less than that. Similarly, do you have "REPEAT" defined in alerts.cfg for the rule matching these alerts? (The "REPEAT" value in alerts.cfg defaults to the setting of ALERTREPEAT.) Is your message status (red?) staying non-green for the 30 minutes, or non-green for only a short time, or flapping like red/green/red/green? The way messages get to Xymon are via the client data. So during an "event" you can click on the "Client data available" link at the bottom of your "msgs" page for the host, and it should show you all of the client data, and you can search for the logfilename to see what log lines the client sent to the server. Or you can click on the logfile name on the "msgs" page for a modified client data report showing just the log lines for that logfile. What I'm trying to understand is whether you are getting the same messages sent multiple times from the client causing multiple events, or whether the one event is generating multiple alerts. From what I can tell, a red "msgs" status will stay red for only one 5-minute client cycle. The next time the client sends its client data report, if the logfile in question has no new matching lines, it will actively generate a green status. J -------------- next part -------------- An HTML attachment was scrubbed... URL: From SKreien at la-z-boy.com Mon Nov 3 21:52:02 2014 From: SKreien at la-z-boy.com (Scot Kreienkamp) Date: Mon, 3 Nov 2014 20:52:02 +0000 Subject: [Xymon] Status propagation Message-ID: <17082AAFC33A934082836458CB534943666EECE0@MONEXCH01.na.lzb.hq> Hi Everyone, Wondering if this is possible... I have a series of pages, like so: Xymon.html-->subpage Service1.html -->subpage Pilot Xymon.html-->subpage Service1.html -->subpage UAT Xymon.html-->subpage Service1.html -->subpage Prod Etc... I am currently using the NOPROP tags to keep them from propagating upward, but the problem I have with that tag is that I still want the entire page to change color for hosts on that page. But I don't want the status changes propagating to higher views. What I'd like is for a host on subpage Pilot to be able to turn the Pilot page red including the status on Service1.html, but the status view on the top level Xymon.html page for Service1.html is still green. It makes things stand out a bit more on the actual page without giving false impressions on the top level page. Any ideas if that's possible? Thanks! Scot Kreienkamp This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From SKreien at la-z-boy.com Mon Nov 3 22:12:09 2014 From: SKreien at la-z-boy.com (Scot Kreienkamp) Date: Mon, 3 Nov 2014 21:12:09 +0000 Subject: [Xymon] XymonPSclient Message-ID: <17082AAFC33A934082836458CB534943666EEDD4@MONEXCH01.na.lzb.hq> Hey everyone, I'm trying out the PS client again after using it 1-2 years ago and it causing too many problems. I'm hoping the impact on the clients will have been lessened since I tried it last. I have the PS client installed and configured, but I never show any connection to the xymon server while monitoring with tcpdump. Also, I never get any files created in the temp directory. Here's the dump of the config below: PS C:\Xymon> .\xymonclient.ps1 config XymonPSClient config: servers : xymon.internal.hq loopinterval : 60 maxlogage : 30 clientlower : 1 Settable Params and values: clientbbwinmembug=1 clientconfigfile=C:\Users\skreien\AppData\Local\Temp\xymonconfig.cfg clientfqdn=1 clientlogfile=C:\Users\skreien\AppData\Local\Temp\xymonclient.log clientlower=1 clientname=corpvskreien.na.lzb.hq clientremotecfgexec=0 loopinterval=60 maxlogage=30 reportevt=1 servers= xymon.internal.hq slowscanrate=72 wanteddisks=3 wantedlogs=Application System Security The Xymon server is running as it is receiving messages from hundreds of other clients. This is an internal only server so iptables is off, Windows firewall is off, and I can successfully telnet from the client to the Xymon server port so there is nothing standing in the way. The server is Redhat 5.5, client is Win7. Any ideas? Scot Kreienkamp This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at shadowsoft.com Mon Nov 3 22:47:05 2014 From: paul at shadowsoft.com (Jacob Paul Jordan) Date: Mon, 03 Nov 2014 15:47:05 -0600 Subject: [Xymon] How to handle SSL Cert Clients with same hostname reporting to xymon Message-ID: <5457F7D9.1030700@shadowsoft.com> Folks, I have a Godaddy cert that is suppose to work on multiple servers BUT they must have the same hostname. If I put the same hostname on the servers the Cert works but xymon is not happy. Is there a way to collect data from 3 different ips that have the same hostname and they report separately? Paul Jordan From zgreenfelder at gmail.com Mon Nov 3 23:37:25 2014 From: zgreenfelder at gmail.com (zep) Date: Mon, 03 Nov 2014 17:37:25 -0500 Subject: [Xymon] How to handle SSL Cert Clients with same hostname reporting to xymon In-Reply-To: <5457F7D9.1030700@shadowsoft.com> References: <5457F7D9.1030700@shadowsoft.com> Message-ID: <545803A5.8000605@gmail.com> On 11/03/2014 04:47 PM, Jacob Paul Jordan wrote: > Folks, > I have a Godaddy cert that is suppose to work on multiple servers BUT > they must have the same hostname. If I put the same hostname on the > servers the Cert works but xymon is not happy. Is there a way to > collect data from 3 different ips that have the same hostname and they > report separately? > Paul Jordan > > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon I believe the expected config is to have something like: ssl hostname set foobar.tld.net hosts foobar01, foobar02, foobar03 .... etc .tld.net apache/whatever http server you're using on host foobar01 configured to set 'ServerName' to foobar.tld.net [just the apache server set to this, not the whole host] and repeated through the rest of your complex. -- public gpg key id: AE60F64C From turranx at hotmail.com Tue Nov 4 12:49:19 2014 From: turranx at hotmail.com (Gregory DeCecco) Date: Tue, 4 Nov 2014 06:49:19 -0500 Subject: [Xymon] XymonPSclient In-Reply-To: <17082AAFC33A934082836458CB534943666EEDD4@MONEXCH01.na.lzb.hq> References: <17082AAFC33A934082836458CB534943666EEDD4@MONEXCH01.na.lzb.hq> Message-ID: Scott, The first thing I would do if I were in your position is make sure the client machine is listed in the hosts config file on the xymon server. Then I would restart the xymond service to force it to reread the hosts config file. Next, I would load up PowerGUI (a free PowerShell editor) and open the xymon PowerShell client. Scroll down to the bottom of he file and find the lines of code that will build the string of report data that will be uploaded to the xymon server. Also find the function call that uploads the data to xymon. Set breakpoints that allow you to pause the execution of the code and make sure the report string is populated with valid data. Also step line-by-line through the uploading process and keep an eye open for any errors that might get thrown. This is as far as I can take you without actually being there and seeing what happens. Greg DeCecco > On Nov 3, 2014, at 4:12 PM, "Scot Kreienkamp" wrote: > > Hey everyone, > > I'm trying out the PS client again after using it 1-2 years ago and it causing too many problems. I'm hoping the impact on the clients will have been lessened since I tried it last. > > I have the PS client installed and configured, but I never show any connection to the xymon server while monitoring with tcpdump. Also, I never get any files created in the temp directory. Here's the dump of the config below: > > PS C:\Xymon> .\xymonclient.ps1 config > XymonPSClient config: > > > servers : xymon.internal.hq > loopinterval : 60 > maxlogage : 30 > clientlower : 1 > > > > Settable Params and values: > clientbbwinmembug=1 > clientconfigfile=C:\Users\skreien\AppData\Local\Temp\xymonconfig.cfg > clientfqdn=1 > clientlogfile=C:\Users\skreien\AppData\Local\Temp\xymonclient.log > clientlower=1 > clientname=corpvskreien.na.lzb.hq > clientremotecfgexec=0 > loopinterval=60 > maxlogage=30 > reportevt=1 > servers= xymon.internal.hq > slowscanrate=72 > wanteddisks=3 > wantedlogs=Application System Security > > > The Xymon server is running as it is receiving messages from hundreds of other clients. This is an internal only server so iptables is off, Windows firewall is off, and I can successfully telnet from the client to the Xymon server port so there is nothing standing in the way. > > The server is Redhat 5.5, client is Win7. Any ideas? > > Scot Kreienkamp > > > > > This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you. > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon From wes.neal at verizon.com Tue Nov 4 17:12:50 2014 From: wes.neal at verizon.com (Neal, Jonathan W) Date: Tue, 4 Nov 2014 11:12:50 -0500 Subject: Email and website notifications wrong IPs Message-ID: Emails for some of my systems on the new Xymon server are going out with bad IPs in them. The system is correct in hosts.cfg and it seems it is monitoring the correct host, but when it alerts on it, Xymon puts the wrong IP in the email and it also puts the wrong IP on the webpage. If I grep for that incorrect IP, it doesn't exist in $xymon/server/etc anywhere. >From notifications log I see this: Tue Nov 4 15:21:34 2014 DTAMMI-DYN2.conn (XXX.XXX.25.228) EMAIL ADDRESS But the email it sends out says this: System unreachable for 4014 poll periods (1211916 seconds) &red XXX.XXX.19.160 is unreachable If I look at the Xymon webpage for it also has this address listed: XXX.XXX.19.160 is unreachable Any idea what might be causing this? Wes Neal -------------- next part -------------- An HTML attachment was scrubbed... URL: From tres.finocchiaro at gmail.com Tue Nov 4 18:05:25 2014 From: tres.finocchiaro at gmail.com (Tres Finocchiaro) Date: Tue, 4 Nov 2014 12:05:25 -0500 Subject: [Xymon] Email and website notifications wrong IPs In-Reply-To: References: Message-ID: We had this issue and it was caused by invalid settings in our DNS server. Xymon seems to attempt a DNS resolution prior to using the hard-coded IP address, which was tremendously confusing for us, but identified a problem were were unaware of. -Tres - Tres.Finocchiaro at gmail.com On Tue, Nov 4, 2014 at 11:13 AM, Neal, Jonathan W via Xymon wrote: > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon > > > ---------- Forwarded message ---------- > From: "Neal, Jonathan W" > To: "xymon at xymon.com" > Cc: > Date: Tue, 4 Nov 2014 11:12:50 -0500 > Subject: Email and website notifications wrong IPs > > Emails for some of my systems on the new Xymon server are going out with > bad IPs in them. > > > > The system is correct in hosts.cfg and it seems it is monitoring the > correct host, but when it alerts on it, Xymon puts the wrong IP in the > email and it also puts the wrong IP on the webpage. If I grep for that > incorrect IP, it doesn’t exist in $xymon/server/etc anywhere. > > > > From notifications log I see this: > > Tue Nov 4 15:21:34 2014 DTAMMI-DYN2.conn (XXX.XXX.25.228) EMAIL ADDRESS > > > > But the email it sends out says this: > > System unreachable for 4014 poll periods (1211916 seconds) > > > > &red XXX.XXX.19.160 is unreachable > > > > If I look at the Xymon webpage for it also has this address listed: > > > > XXX.XXX.19.160 is unreachable > > > > Any idea what might be causing this? > > > > Wes Neal > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wes.neal at verizon.com Tue Nov 4 18:10:30 2014 From: wes.neal at verizon.com (Neal, Jonathan W) Date: Tue, 4 Nov 2014 12:10:30 -0500 Subject: [Xymon] Email and website notifications wrong IPs In-Reply-To: References: Message-ID: I appreciate the response! Is there a way to make it look at the file only/first? I would rather it not use DNS at all. Wes Neal Group e-mail: SES-HSI.Team at one.verizon.com 24x7 Helpdesk for EMS: VZOES/OSC 1-800-634-5887 Opt3 From: Tres Finocchiaro [mailto:tres.finocchiaro at gmail.com] Sent: Tuesday, November 04, 2014 12:05 PM To: Neal, Jonathan W Cc: xymon at xymon.com Subject: Re: [Xymon] Email and website notifications wrong IPs We had this issue and it was caused by invalid settings in our DNS server. Xymon seems to attempt a DNS resolution prior to using the hard-coded IP address, which was tremendously confusing for us, but identified a problem were were unaware of. -Tres - Tres.Finocchiaro at gmail.com On Tue, Nov 4, 2014 at 11:13 AM, Neal, Jonathan W via Xymon > wrote: _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon ---------- Forwarded message ---------- From: "Neal, Jonathan W" > To: "xymon at xymon.com" > Cc: Date: Tue, 4 Nov 2014 11:12:50 -0500 Subject: Email and website notifications wrong IPs Emails for some of my systems on the new Xymon server are going out with bad IPs in them. The system is correct in hosts.cfg and it seems it is monitoring the correct host, but when it alerts on it, Xymon puts the wrong IP in the email and it also puts the wrong IP on the webpage. If I grep for that incorrect IP, it doesn’t exist in $xymon/server/etc anywhere. From notifications log I see this: Tue Nov 4 15:21:34 2014 DTAMMI-DYN2.conn (XXX.XXX.25.228) EMAIL ADDRESS But the email it sends out says this: System unreachable for 4014 poll periods (1211916 seconds) &red XXX.XXX.19.160 is unreachable If I look at the Xymon webpage for it also has this address listed: XXX.XXX.19.160 is unreachable Any idea what might be causing this? Wes Neal -------------- next part -------------- An HTML attachment was scrubbed... URL: From tres.finocchiaro at gmail.com Tue Nov 4 18:29:11 2014 From: tres.finocchiaro at gmail.com (Tres Finocchiaro) Date: Tue, 4 Nov 2014 12:29:11 -0500 Subject: [Xymon] Email and website notifications wrong IPs In-Reply-To: References: Message-ID: > Is there a way to make it look at the file only/first? I'm not sure, I'll have to defer to someone else. -Tres - Tres.Finocchiaro at gmail.com On Tue, Nov 4, 2014 at 12:10 PM, Neal, Jonathan W wrote: > I appreciate the response! Is there a way to make it look at the file > only/first? I would rather it not use DNS at all. > > > > Wes Neal > > *Group e-mail: SES-HSI.Team at one.verizon.com * > > *24x7 Helpdesk for EMS: VZOES/OSC 1-800-634-5887 <1-800-634-5887> Opt3* > > > > *From:* Tres Finocchiaro [mailto:tres.finocchiaro at gmail.com] > *Sent:* Tuesday, November 04, 2014 12:05 PM > *To:* Neal, Jonathan W > *Cc:* xymon at xymon.com > *Subject:* Re: [Xymon] Email and website notifications wrong IPs > > > > We had this issue and it was caused by invalid settings in our DNS > server. Xymon seems to attempt a DNS resolution prior to using the > hard-coded IP address, which was tremendously confusing for us, but > identified a problem were were unaware of. > > > > -Tres > > > - Tres.Finocchiaro at gmail.com > > > > On Tue, Nov 4, 2014 at 11:13 AM, Neal, Jonathan W via Xymon < > xymon at xymon.com> wrote: > > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon > > > ---------- Forwarded message ---------- > From: "Neal, Jonathan W" > To: "xymon at xymon.com" > Cc: > Date: Tue, 4 Nov 2014 11:12:50 -0500 > Subject: Email and website notifications wrong IPs > > Emails for some of my systems on the new Xymon server are going out with > bad IPs in them. > > > > The system is correct in hosts.cfg and it seems it is monitoring the > correct host, but when it alerts on it, Xymon puts the wrong IP in the > email and it also puts the wrong IP on the webpage. If I grep for that > incorrect IP, it doesn’t exist in $xymon/server/etc anywhere. > > > > From notifications log I see this: > > Tue Nov 4 15:21:34 2014 DTAMMI-DYN2.conn (XXX.XXX.25.228) EMAIL ADDRESS > > > > But the email it sends out says this: > > System unreachable for 4014 poll periods (1211916 seconds) > > > > &red XXX.XXX.19.160 is unreachable > > > > If I look at the Xymon webpage for it also has this address listed: > > > > XXX.XXX.19.160 is unreachable > > > > Any idea what might be causing this? > > > > Wes Neal > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From SKreien at la-z-boy.com Tue Nov 4 20:25:05 2014 From: SKreien at la-z-boy.com (Scot Kreienkamp) Date: Tue, 4 Nov 2014 19:25:05 +0000 Subject: [Xymon] XymonPSclient In-Reply-To: References: <17082AAFC33A934082836458CB534943666EEDD4@MONEXCH01.na.lzb.hq> Message-ID: <17082AAFC33A934082836458CB534943666F046B@MONEXCH01.na.lzb.hq> Thanks for the recommendation Greg. When I loaded the PowerGUI it would not let me run the powershell client, it keeps returning errors about "execution of scripts is disabled on this system" despite trying unrestricted, bypass, etc, and confirming with get-executionpolicy that those settings were indeed set correctly. Never did figure that one out. I did finally get it to work running it from a powershell command line. On an otherwise Idle system the powershell client was taking 30-40% of CPU for 2-3 minutes at a time. That's too heavy of an impact to justify putting any effort into it. BBWin is really showing issues with the newer versions of windows, it's getting hard to monitor windows clients anymore. Scot Kreienkamp From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Gregory DeCecco Sent: Tuesday, November 04, 2014 6:49 AM To: xymon at xymon.com Subject: Re: [Xymon] XymonPSclient Scott, The first thing I would do if I were in your position is make sure the client machine is listed in the hosts config file on the xymon server. Then I would restart the xymond service to force it to reread the hosts config file. Next, I would load up PowerGUI (a free PowerShell editor) and open the xymon PowerShell client. Scroll down to the bottom of he file and find the lines of code that will build the string of report data that will be uploaded to the xymon server. Also find the function call that uploads the data to xymon. Set breakpoints that allow you to pause the execution of the code and make sure the report string is populated with valid data. Also step line-by-line through the uploading process and keep an eye open for any errors that might get thrown. This is as far as I can take you without actually being there and seeing what happens. Greg DeCecco On Nov 3, 2014, at 4:12 PM, "Scot Kreienkamp" > wrote: Hey everyone, I'm trying out the PS client again after using it 1-2 years ago and it causing too many problems. I'm hoping the impact on the clients will have been lessened since I tried it last. I have the PS client installed and configured, but I never show any connection to the xymon server while monitoring with tcpdump. Also, I never get any files created in the temp directory. Here's the dump of the config below: PS C:\Xymon> .\xymonclient.ps1 config XymonPSClient config: servers : xymon.internal.hq loopinterval : 60 maxlogage : 30 clientlower : 1 Settable Params and values: clientbbwinmembug=1 clientconfigfile=C:\Users\skreien\AppData\Local\Temp\xymonconfig.cfg clientfqdn=1 clientlogfile=C:\Users\skreien\AppData\Local\Temp\xymonclient.log clientlower=1 clientname=corpvskreien.na.lzb.hq clientremotecfgexec=0 loopinterval=60 maxlogage=30 reportevt=1 servers= xymon.internal.hq slowscanrate=72 wanteddisks=3 wantedlogs=Application System Security The Xymon server is running as it is receiving messages from hundreds of other clients. This is an internal only server so iptables is off, Windows firewall is off, and I can successfully telnet from the client to the Xymon server port so there is nothing standing in the way. The server is Redhat 5.5, client is Win7. Any ideas? Scot Kreienkamp This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you. _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon -------------- next part -------------- An HTML attachment was scrubbed... URL: From feld at feld.me Tue Nov 4 20:49:20 2014 From: feld at feld.me (Mark Felder) Date: Tue, 04 Nov 2014 13:49:20 -0600 Subject: [Xymon] Email and website notifications wrong IPs In-Reply-To: References: Message-ID: <1415130560.3091847.187050473.18E255EF@webmail.messagingengine.com> Yes! There are two ways to do this. 1. Set testip globally for everything in hosts.cfg. At the top of the hosts.cfg you would set this rule: 0.0.0.0 .default. # testip 2. Configure xymonnet for different DNS behavior. From the xymonnet man page: --dns=[ip|only|standard] Determines how xymonnet finds the IP adresses of the hosts to test. By default (the "standard"), xymonnet does a DNS lookup of the hostname to determine the IP address, unless the host has the "testip" tag, or the DNS lookup fails. With "--dns=only" xymonnet will ONLY do the DNS lookup; if it fails, then all services on that host will be reported as being down. With "--dns=ip" xymonnet will never do a DNS lookup; it will use the IP adresse specified in hosts.cfg for the tests. Thus, this setting is equivalent to having the "testip" tag on all hosts. Note that http tests will ignore this setting and still perform a DNS lookup for the hostname given in the URL; see the "xymonnet tags for HTTP tests" section in hosts.cfg(5) You would change this in your tasks.cfg file. The default looks like this: # "xymonnet" runs the xymonnet tool to perform the network based tests - i.e. http, smtp, ssh, dns and # all of the various network protocols we need to test. [xymonnet] ENVFILE /usr/local/www/xymon/server/etc/xymonserver.cfg NEEDS xymond CMD xymonnet --report --ping --checkresponse LOGFILE $XYMONSERVERLOGS/xymonnet.log INTERVAL 5m Just add --dns=ip to the CMD line From Phil.Crooker at orix.com.au Wed Nov 5 00:25:15 2014 From: Phil.Crooker at orix.com.au (Phil Crooker) Date: Tue, 4 Nov 2014 23:25:15 +0000 Subject: [Xymon] XymonPSclient In-Reply-To: <17082AAFC33A934082836458CB534943666F046B@MONEXCH01.na.lzb.hq> References: <17082AAFC33A934082836458CB534943666EEDD4@MONEXCH01.na.lzb.hq> , <17082AAFC33A934082836458CB534943666F046B@MONEXCH01.na.lzb.hq> Message-ID: <1415143516461.1492@orix.com.au> I don't know the PS client at all, but if you consider that the client is accessing quite a bit of system info, including event logs I presume, and considering how poorly PS performs (compared to Linux/Unix equivalents - I know, they aren't equivalent, but...), the CPU use is not surprising. We have had the same issue with BBWin (on virtual machines) - the systems became actually unresponsive for brief periods when BBWin was collecting its data - and had to add a second CPU. These montiors do collect a lot. BBWin is a dinosaur but it mostly gets the (simple monitoring) job done. We still have to look out for when it mysteriously dies on win 2012 and restart it - no fix for this as I understand. ________________________________ From: Xymon on behalf of Scot Kreienkamp Sent: Wednesday, 5 November 2014 5:55 AM To: Gregory DeCecco; xymon at xymon.com Subject: Re: [Xymon] XymonPSclient Thanks for the recommendation Greg. When I loaded the PowerGUI it would not let me run the powershell client, it keeps returning errors about "execution of scripts is disabled on this system" despite trying unrestricted, bypass, etc, and confirming with get-executionpolicy that those settings were indeed set correctly. Never did figure that one out. I did finally get it to work running it from a powershell command line. On an otherwise Idle system the powershell client was taking 30-40% of CPU for 2-3 minutes at a time. That's too heavy of an impact to justify putting any effort into it. BBWin is really showing issues with the newer versions of windows, it's getting hard to monitor windows clients anymore. Scot Kreienkamp From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Gregory DeCecco Sent: Tuesday, November 04, 2014 6:49 AM To: xymon at xymon.com Subject: Re: [Xymon] XymonPSclient Scott, The first thing I would do if I were in your position is make sure the client machine is listed in the hosts config file on the xymon server. Then I would restart the xymond service to force it to reread the hosts config file. Next, I would load up PowerGUI (a free PowerShell editor) and open the xymon PowerShell client. Scroll down to the bottom of he file and find the lines of code that will build the string of report data that will be uploaded to the xymon server. Also find the function call that uploads the data to xymon. Set breakpoints that allow you to pause the execution of the code and make sure the report string is populated with valid data. Also step line-by-line through the uploading process and keep an eye open for any errors that might get thrown. This is as far as I can take you without actually being there and seeing what happens. Greg DeCecco On Nov 3, 2014, at 4:12 PM, "Scot Kreienkamp" > wrote: Hey everyone, I'm trying out the PS client again after using it 1-2 years ago and it causing too many problems. I'm hoping the impact on the clients will have been lessened since I tried it last. I have the PS client installed and configured, but I never show any connection to the xymon server while monitoring with tcpdump. Also, I never get any files created in the temp directory. Here's the dump of the config below: PS C:\Xymon> .\xymonclient.ps1 config XymonPSClient config: servers : xymon.internal.hq loopinterval : 60 maxlogage : 30 clientlower : 1 Settable Params and values: clientbbwinmembug=1 clientconfigfile=C:\Users\skreien\AppData\Local\Temp\xymonconfig.cfg clientfqdn=1 clientlogfile=C:\Users\skreien\AppData\Local\Temp\xymonclient.log clientlower=1 clientname=corpvskreien.na.lzb.hq clientremotecfgexec=0 loopinterval=60 maxlogage=30 reportevt=1 servers= xymon.internal.hq slowscanrate=72 wanteddisks=3 wantedlogs=Application System Security The Xymon server is running as it is receiving messages from hundreds of other clients. This is an internal only server so iptables is off, Windows firewall is off, and I can successfully telnet from the client to the Xymon server port so there is nothing standing in the way. The server is Redhat 5.5, client is Win7. Any ideas? Scot Kreienkamp This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you. _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon -------------- next part -------------- An HTML attachment was scrubbed... URL: From turranx at hotmail.com Wed Nov 5 00:40:43 2014 From: turranx at hotmail.com (Gregory DeCecco) Date: Tue, 4 Nov 2014 18:40:43 -0500 Subject: [Xymon] XymonPSclient In-Reply-To: <1415143516461.1492@orix.com.au> References: <17082AAFC33A934082836458CB534943666EEDD4@MONEXCH01.na.lzb.hq> <17082AAFC33A934082836458CB534943666F046B@MONEXCH01.na.lzb.hq> <1415143516461.1492@orix.com.au> Message-ID: Scot, I've had a chance to go through the PS client in a semi-thorough manor and have decided that it is not supportable in our enterprise environment. Therefore, I and one or two other developers/admins I work with will be restructuring, rewriting the PS client for internal use. Our bosses have engaged our legal teams about the possibility of releasing our version of the client back to the community. I can tell you that we have identified several inefficient methods of data collection in the existing PS client and have re-engineered them. They run much faster now. Greg DeCecco Sent from my iPhone > On Nov 4, 2014, at 6:25 PM, "Phil Crooker" wrote: > > I don't know the PS client at all, but if you consider that the client is accessing quite a bit of system info, including event logs I presume, and considering how poorly PS performs (compared to Linux/Unix equivalents - I know, they aren't equivalent, but...), the CPU use is not surprising. We have had the same issue with BBWin (on virtual machines) - the systems became actually unresponsive for brief periods when BBWin was collecting its data - and had to add a second CPU. These montiors do collect a lot. > > BBWin is a dinosaur but it mostly gets the (simple monitoring) job done. We still have to look out for when it mysteriously dies on win 2012 and restart it - no fix for this as I understand. > > > From: Xymon on behalf of Scot Kreienkamp > Sent: Wednesday, 5 November 2014 5:55 AM > To: Gregory DeCecco; xymon at xymon.com > Subject: Re: [Xymon] XymonPSclient > > Thanks for the recommendation Greg. > > > > When I loaded the PowerGUI it would not let me run the powershell client, it keeps returning errors about "execution of scripts is disabled on this system" despite trying unrestricted, bypass, etc, and confirming with get-executionpolicy that those settings were indeed set correctly. Never did figure that one out. > > > > I did finally get it to work running it from a powershell command line. On an otherwise Idle system the powershell client was taking 30-40% of CPU for 2-3 minutes at a time. That's too heavy of an impact to justify putting any effort into it. > > > > BBWin is really showing issues with the newer versions of windows, it's getting hard to monitor windows clients anymore. > > > > Scot Kreienkamp > > > > From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Gregory DeCecco > Sent: Tuesday, November 04, 2014 6:49 AM > To: xymon at xymon.com > Subject: Re: [Xymon] XymonPSclient > > > > Scott, > > > > The first thing I would do if I were in your position is make sure the client machine is listed in the hosts config file on the xymon server. Then I would restart the xymond service to force it to reread the hosts config file. Next, I would load up PowerGUI (a free PowerShell editor) and open the xymon PowerShell client. Scroll down to the bottom of he file and find the lines of code that will build the string of report data that will be uploaded to the xymon server. Also find the function call that uploads the data to xymon. Set breakpoints that allow you to pause the execution of the code and make sure the report string is populated with valid data. Also step line-by-line through the uploading process and keep an eye open for any errors that might get thrown. > > > > This is as far as I can take you without actually being there and seeing what happens. > > > > Greg DeCecco > > > On Nov 3, 2014, at 4:12 PM, "Scot Kreienkamp" wrote: > > Hey everyone, > > > > I'm trying out the PS client again after using it 1-2 years ago and it causing too many problems. I'm hoping the impact on the clients will have been lessened since I tried it last. > > > > I have the PS client installed and configured, but I never show any connection to the xymon server while monitoring with tcpdump. Also, I never get any files created in the temp directory. Here's the dump of the config below: > > > > PS C:\Xymon> .\xymonclient.ps1 config > > XymonPSClient config: > > > > > > servers : xymon.internal.hq > > loopinterval : 60 > > maxlogage : 30 > > clientlower : 1 > > > > > > > > Settable Params and values: > > clientbbwinmembug=1 > > clientconfigfile=C:\Users\skreien\AppData\Local\Temp\xymonconfig.cfg > > clientfqdn=1 > > clientlogfile=C:\Users\skreien\AppData\Local\Temp\xymonclient.log > > clientlower=1 > > clientname=corpvskreien.na.lzb.hq > > clientremotecfgexec=0 > > loopinterval=60 > > maxlogage=30 > > reportevt=1 > > servers= xymon.internal.hq > > slowscanrate=72 > > wanteddisks=3 > > wantedlogs=Application System Security > > > > > > The Xymon server is running as it is receiving messages from hundreds of other clients. This is an internal only server so iptables is off, Windows firewall is off, and I can successfully telnet from the client to the Xymon server port so there is nothing standing in the way. > > > > The server is Redhat 5.5, client is Win7. Any ideas? > > > > Scot Kreienkamp > > > > > > > This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you. > > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon > > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon From bdale at kitchen-net.com.au Wed Nov 5 05:18:25 2014 From: bdale at kitchen-net.com.au (Brandon Dale) Date: Wed, 5 Nov 2014 04:18:25 +0000 Subject: [Xymon] XymonPSclient In-Reply-To: References: <17082AAFC33A934082836458CB534943666EEDD4@MONEXCH01.na.lzb.hq> <17082AAFC33A934082836458CB534943666F046B@MONEXCH01.na.lzb.hq> <1415143516461.1492@orix.com.au> Message-ID: I really hope you guys release this or get in touch with the maintainer for the current xymonpsclient to improve it as xymon needs a better windows client. I tried the powershell client but it’s too heavy on cpu when it runs, doesn’t collect critical events from the event logs and the filtering of the eventlogs with the clientlocal.cfg file doesn’t appear to work. Like most I am using the bbwin client but considering It has no support and is not being developed it’s a bit of a problem, I also have a few servers where bbwin just seems to stop working at random. I still use the xymonsend however that comes with the psclient to send custom status messages to xymon and run them as scheduled tasks, as it works much better than the externals in bbwin. Regards, Brandon From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Gregory DeCecco Sent: Wednesday, 5 November 2014 10:41 AM To: xymon at xymon.com Subject: Re: [Xymon] XymonPSclient Scot, I've had a chance to go through the PS client in a semi-thorough manor and have decided that it is not supportable in our enterprise environment. Therefore, I and one or two other developers/admins I work with will be restructuring, rewriting the PS client for internal use. Our bosses have engaged our legal teams about the possibility of releasing our version of the client back to the community. I can tell you that we have identified several inefficient methods of data collection in the existing PS client and have re-engineered them. They run much faster now. Greg DeCecco Sent from my iPhone On Nov 4, 2014, at 6:25 PM, "Phil Crooker" > wrote: I don't know the PS client at all, but if you consider that the client is accessing quite a bit of system info, including event logs I presume, and considering how poorly PS performs (compared to Linux/Unix equivalents - I know, they aren't equivalent, but...), the CPU use is not surprising. We have had the same issue with BBWin (on virtual machines) - the systems became actually unresponsive for brief periods when BBWin was collecting its data - and had to add a second CPU. These montiors do collect a lot. BBWin is a dinosaur but it mostly gets the (simple monitoring) job done. We still have to look out for when it mysteriously dies on win 2012 and restart it - no fix for this as I understand. ________________________________ From: Xymon > on behalf of Scot Kreienkamp > Sent: Wednesday, 5 November 2014 5:55 AM To: Gregory DeCecco; xymon at xymon.com Subject: Re: [Xymon] XymonPSclient Thanks for the recommendation Greg. When I loaded the PowerGUI it would not let me run the powershell client, it keeps returning errors about "execution of scripts is disabled on this system" despite trying unrestricted, bypass, etc, and confirming with get-executionpolicy that those settings were indeed set correctly. Never did figure that one out. I did finally get it to work running it from a powershell command line. On an otherwise Idle system the powershell client was taking 30-40% of CPU for 2-3 minutes at a time. That's too heavy of an impact to justify putting any effort into it. BBWin is really showing issues with the newer versions of windows, it's getting hard to monitor windows clients anymore. Scot Kreienkamp From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Gregory DeCecco Sent: Tuesday, November 04, 2014 6:49 AM To: xymon at xymon.com Subject: Re: [Xymon] XymonPSclient Scott, The first thing I would do if I were in your position is make sure the client machine is listed in the hosts config file on the xymon server. Then I would restart the xymond service to force it to reread the hosts config file. Next, I would load up PowerGUI (a free PowerShell editor) and open the xymon PowerShell client. Scroll down to the bottom of he file and find the lines of code that will build the string of report data that will be uploaded to the xymon server. Also find the function call that uploads the data to xymon. Set breakpoints that allow you to pause the execution of the code and make sure the report string is populated with valid data. Also step line-by-line through the uploading process and keep an eye open for any errors that might get thrown. This is as far as I can take you without actually being there and seeing what happens. Greg DeCecco On Nov 3, 2014, at 4:12 PM, "Scot Kreienkamp" > wrote: Hey everyone, I'm trying out the PS client again after using it 1-2 years ago and it causing too many problems. I'm hoping the impact on the clients will have been lessened since I tried it last. I have the PS client installed and configured, but I never show any connection to the xymon server while monitoring with tcpdump. Also, I never get any files created in the temp directory. Here's the dump of the config below: PS C:\Xymon> .\xymonclient.ps1 config XymonPSClient config: servers : xymon.internal.hq loopinterval : 60 maxlogage : 30 clientlower : 1 Settable Params and values: clientbbwinmembug=1 clientconfigfile=C:\Users\skreien\AppData\Local\Temp\xymonconfig.cfg clientfqdn=1 clientlogfile=C:\Users\skreien\AppData\Local\Temp\xymonclient.log clientlower=1 clientname=corpvskreien.na.lzb.hq clientremotecfgexec=0 loopinterval=60 maxlogage=30 reportevt=1 servers= xymon.internal.hq slowscanrate=72 wanteddisks=3 wantedlogs=Application System Security The Xymon server is running as it is receiving messages from hundreds of other clients. This is an internal only server so iptables is off, Windows firewall is off, and I can successfully telnet from the client to the Xymon server port so there is nothing standing in the way. The server is Redhat 5.5, client is Win7. Any ideas? Scot Kreienkamp This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you. _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andreb at paym8.co.za Wed Nov 5 08:44:44 2014 From: Andreb at paym8.co.za (Andre Beyleveldt) Date: Wed, 5 Nov 2014 07:44:44 +0000 Subject: [Xymon] You don't have permission. Message-ID: Hi Guys, Trying to access Xymon from another Pc with Chrome and the following error shows. You don't have permission to access /xymon/xymon.html on this server. I did get this also previously and got passed it, but for the life of me I can't remember what I did. I have changed the dir permissions and also I have added "require all granted" to the httpd conf and such. Any advice Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From SKreien at la-z-boy.com Wed Nov 5 13:05:37 2014 From: SKreien at la-z-boy.com (Scot Kreienkamp) Date: Wed, 5 Nov 2014 12:05:37 +0000 Subject: [Xymon] XymonPSclient In-Reply-To: References: <17082AAFC33A934082836458CB534943666EEDD4@MONEXCH01.na.lzb.hq> <17082AAFC33A934082836458CB534943666F046B@MONEXCH01.na.lzb.hq> <1415143516461.1492@orix.com.au> Message-ID: <17082AAFC33A934082836458CB534943666F182B@MONEXCH01.na.lzb.hq> Greg, I really hope your company will to allow you to share your improvements. It would really help the Xymon community. I have no experience with powershell or I would try it myself. In the meantime I started working on a script that will report what it can gather from SNMP polling, in case you’re not able to share your efforts. It can’t do nearly as much as a client, but it can get the basics like procs, load, uptime, disk space, etc. I will be sharing it when I finish. From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Gregory DeCecco Sent: Tuesday, November 04, 2014 6:41 PM To: xymon at xymon.com Subject: Re: [Xymon] XymonPSclient Scot, I've had a chance to go through the PS client in a semi-thorough manor and have decided that it is not supportable in our enterprise environment. Therefore, I and one or two other developers/admins I work with will be restructuring, rewriting the PS client for internal use. Our bosses have engaged our legal teams about the possibility of releasing our version of the client back to the community. I can tell you that we have identified several inefficient methods of data collection in the existing PS client and have re-engineered them. They run much faster now. Greg DeCecco Sent from my iPhone On Nov 4, 2014, at 6:25 PM, "Phil Crooker" > wrote: I don't know the PS client at all, but if you consider that the client is accessing quite a bit of system info, including event logs I presume, and considering how poorly PS performs (compared to Linux/Unix equivalents - I know, they aren't equivalent, but...), the CPU use is not surprising. We have had the same issue with BBWin (on virtual machines) - the systems became actually unresponsive for brief periods when BBWin was collecting its data - and had to add a second CPU. These montiors do collect a lot. BBWin is a dinosaur but it mostly gets the (simple monitoring) job done. We still have to look out for when it mysteriously dies on win 2012 and restart it - no fix for this as I understand. ________________________________ From: Xymon > on behalf of Scot Kreienkamp > Sent: Wednesday, 5 November 2014 5:55 AM To: Gregory DeCecco; xymon at xymon.com Subject: Re: [Xymon] XymonPSclient Thanks for the recommendation Greg. When I loaded the PowerGUI it would not let me run the powershell client, it keeps returning errors about "execution of scripts is disabled on this system" despite trying unrestricted, bypass, etc, and confirming with get-executionpolicy that those settings were indeed set correctly. Never did figure that one out. I did finally get it to work running it from a powershell command line. On an otherwise Idle system the powershell client was taking 30-40% of CPU for 2-3 minutes at a time. That's too heavy of an impact to justify putting any effort into it. BBWin is really showing issues with the newer versions of windows, it's getting hard to monitor windows clients anymore. Scot Kreienkamp From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Gregory DeCecco Sent: Tuesday, November 04, 2014 6:49 AM To: xymon at xymon.com Subject: Re: [Xymon] XymonPSclient Scott, The first thing I would do if I were in your position is make sure the client machine is listed in the hosts config file on the xymon server. Then I would restart the xymond service to force it to reread the hosts config file. Next, I would load up PowerGUI (a free PowerShell editor) and open the xymon PowerShell client. Scroll down to the bottom of he file and find the lines of code that will build the string of report data that will be uploaded to the xymon server. Also find the function call that uploads the data to xymon. Set breakpoints that allow you to pause the execution of the code and make sure the report string is populated with valid data. Also step line-by-line through the uploading process and keep an eye open for any errors that might get thrown. This is as far as I can take you without actually being there and seeing what happens. Greg DeCecco On Nov 3, 2014, at 4:12 PM, "Scot Kreienkamp" > wrote: Hey everyone, I'm trying out the PS client again after using it 1-2 years ago and it causing too many problems. I'm hoping the impact on the clients will have been lessened since I tried it last. I have the PS client installed and configured, but I never show any connection to the xymon server while monitoring with tcpdump. Also, I never get any files created in the temp directory. Here's the dump of the config below: PS C:\Xymon> .\xymonclient.ps1 config XymonPSClient config: servers : xymon.internal.hq loopinterval : 60 maxlogage : 30 clientlower : 1 Settable Params and values: clientbbwinmembug=1 clientconfigfile=C:\Users\skreien\AppData\Local\Temp\xymonconfig.cfg clientfqdn=1 clientlogfile=C:\Users\skreien\AppData\Local\Temp\xymonclient.log clientlower=1 clientname=corpvskreien.na.lzb.hq clientremotecfgexec=0 loopinterval=60 maxlogage=30 reportevt=1 servers= xymon.internal.hq slowscanrate=72 wanteddisks=3 wantedlogs=Application System Security The Xymon server is running as it is receiving messages from hundreds of other clients. This is an internal only server so iptables is off, Windows firewall is off, and I can successfully telnet from the client to the Xymon server port so there is nothing standing in the way. The server is Redhat 5.5, client is Win7. Any ideas? Scot Kreienkamp This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you. _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon -------------- next part -------------- An HTML attachment was scrubbed... URL: From josh at imaginenetworksllc.com Wed Nov 5 14:08:12 2014 From: josh at imaginenetworksllc.com (Josh Luthman) Date: Wed, 5 Nov 2014 08:08:12 -0500 Subject: [Xymon] You don't have permission. In-Reply-To: References: Message-ID: Can you share either the part in httpd.conf or the .htaccess for Xymon? Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Nov 5, 2014 2:46 AM, "Andre Beyleveldt" wrote: > Hi Guys, > > > > Trying to access Xymon from another Pc with Chrome and the following error > shows. > > > > You don't have permission to access /xymon/xymon.html on this server. > > > > I did get this also previously and got passed it, but for the life of me I > can’t remember what I did. I have changed the dir permissions and also I > have added “require all granted” to the httpd conf and such. > > > > Any advice > > > > Regards > > > > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stef.coene at docum.org Wed Nov 5 15:05:36 2014 From: stef.coene at docum.org (Stef Coene) Date: Wed, 05 Nov 2014 15:05:36 +0100 Subject: [Xymon] You don't have permission. In-Reply-To: References: Message-ID: <6974995.4qzncdy1ls@scne> On Wednesday 05 November 2014 07:44:44 Andre Beyleveldt wrote: > Hi Guys, > > Trying to access Xymon from another Pc with Chrome and the following error > shows. > > You don't have permission to access /xymon/xymon.html on this server. > > I did get this also previously and got passed it, but for the life of me I > can't remember what I did. I have changed the dir permissions and also I > have added "require all granted" to the httpd conf and such. My guess is that you have apache 2.4 while the config is voor 2.2: http://httpd.apache.org/docs/2.4/upgrading.html#access Stef From Luis.Ruiz.external at eurofighter.com Wed Nov 5 09:09:09 2014 From: Luis.Ruiz.external at eurofighter.com (Luis.Ruiz.external at eurofighter.com) Date: Wed, 5 Nov 2014 09:09:09 +0100 Subject: [Xymon] Xymon SSL Certificate error Message-ID: <3CDF51AD7EF8B34D82870F43175F597E3851903264@GISCSVHLP002.universe.int> Dear Xymon, We have installed the Xymon 4.3.12. In our systems, appear the message SSL certificate for https://xx.x.x.xxx/ expired 4 days ago [cid:image001.jpg at 01CFF8D8.276EC930] Do you know how can we solvent this error? Thanks in advance. Luis R. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 1465 bytes Desc: image001.jpg URL: From Paul.Root at CenturyLink.com Wed Nov 5 16:19:21 2014 From: Paul.Root at CenturyLink.com (Root, Paul T) Date: Wed, 5 Nov 2014 15:19:21 +0000 Subject: [Xymon] Xymon SSL Certificate error In-Reply-To: <3CDF51AD7EF8B34D82870F43175F597E3851903264@GISCSVHLP002.universe.int> References: <3CDF51AD7EF8B34D82870F43175F597E3851903264@GISCSVHLP002.universe.int> Message-ID: Get a new certificate. From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Luis.Ruiz.external at eurofighter.com Sent: Wednesday, November 05, 2014 2:09 AM To: xymon at xymon.com Subject: [Xymon] Xymon SSL Certificate error Dear Xymon, We have installed the Xymon 4.3.12. In our systems, appear the message SSL certificate for https://xx.x.x.xxx/ expired 4 days ago [cid:image001.jpg at 01CFF8D9.94D2AC20] Do you know how can we solvent this error? Thanks in advance. Luis R. 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 1465 bytes Desc: image001.jpg URL: From josh at imaginenetworksllc.com Wed Nov 5 16:19:59 2014 From: josh at imaginenetworksllc.com (Josh Luthman) Date: Wed, 5 Nov 2014 10:19:59 -0500 Subject: [Xymon] Xymon SSL Certificate error In-Reply-To: <3CDF51AD7EF8B34D82870F43175F597E3851903264@GISCSVHLP002.universe.int> References: <3CDF51AD7EF8B34D82870F43175F597E3851903264@GISCSVHLP002.universe.int> Message-ID: Is the server's date/time accurate? What date does the SSL certificate actually expire? Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Wed, Nov 5, 2014 at 3:09 AM, wrote: > Dear Xymon, > > > > We have installed the Xymon 4.3.12 . In our systems, appear the message *SSL certificate for https://xx.x.x.xxx/ expired 4 days ago* > > > > > > Do you know how can we solvent this error? > > > > Thanks in advance. > > Luis R. > > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 1465 bytes Desc: not available URL: From Luis.Ruiz.external at eurofighter.com Wed Nov 5 16:28:38 2014 From: Luis.Ruiz.external at eurofighter.com (Luis.Ruiz.external at eurofighter.com) Date: Wed, 5 Nov 2014 16:28:38 +0100 Subject: [Xymon] Xymon SSL Certificate error In-Reply-To: References: <3CDF51AD7EF8B34D82870F43175F597E3851903264@GISCSVHLP002.universe.int> Message-ID: <3CDF51AD7EF8B34D82870F43175F597E3851903265@GISCSVHLP002.universe.int> Dear Paul, Could you tell me how I can get a new certificate? I tried to execute the make-dummy-cert script on /etc/pki/tls/certs path, and It created a new localhost.crt file, but follow showing the same error in Xymon. Kind Regard. Luis. From: Root, Paul T [mailto:Paul.Root at CenturyLink.com] Sent: 05 November 2014 16:19 To: Ruiz, Luis Mr. (Airbus D&S SP); 'xymon at xymon.com' Subject: RE: Xymon SSL Certificate error Get a new certificate. From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Luis.Ruiz.external at eurofighter.com Sent: Wednesday, November 05, 2014 2:09 AM To: xymon at xymon.com Subject: [Xymon] Xymon SSL Certificate error Dear Xymon, We have installed the Xymon 4.3.12. In our systems, appear the message SSL certificate for https://xx.x.x.xxx/ expired 4 days ago [cid:image001.jpg at 01CFF915.8CA07870] Do you know how can we solvent this error? Thanks in advance. Luis R. 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 1465 bytes Desc: image001.jpg URL: From Luis.Ruiz.external at eurofighter.com Wed Nov 5 16:31:40 2014 From: Luis.Ruiz.external at eurofighter.com (Luis.Ruiz.external at eurofighter.com) Date: Wed, 5 Nov 2014 16:31:40 +0100 Subject: [Xymon] Xymon SSL Certificate error In-Reply-To: References: <3CDF51AD7EF8B34D82870F43175F597E3851903264@GISCSVHLP002.universe.int> Message-ID: <3CDF51AD7EF8B34D82870F43175F597E3851903266@GISCSVHLP002.universe.int> Yes, the date/time on server is correct. [cid:image002.png at 01CFF915.F910F020] SSL certificate for https://xx.x.x.xxx/ expired 5 days ago The SSL certificate expired 5 days ago and we don´t know how we can update it. Could you explain me how I can do it? Thanks in advance. Luis R. From: Josh Luthman [mailto:josh at imaginenetworksllc.com] Sent: 05 November 2014 16:20 To: Ruiz, Luis Mr. (Airbus D&S SP) Cc: xymon at xymon.com Subject: Re: [Xymon] Xymon SSL Certificate error Is the server's date/time accurate? What date does the SSL certificate actually expire? Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Wed, Nov 5, 2014 at 3:09 AM, > wrote: Dear Xymon, We have installed the Xymon 4.3.12. In our systems, appear the message SSL certificate for https://xx.x.x.xxx/ expired 4 days ago [cid:image003.jpg at 01CFF915.F910F020] Do you know how can we solvent this error? Thanks in advance. Luis R. _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 169 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 1465 bytes Desc: image003.jpg URL: From josh at imaginenetworksllc.com Wed Nov 5 16:35:54 2014 From: josh at imaginenetworksllc.com (Josh Luthman) Date: Wed, 5 Nov 2014 10:35:54 -0500 Subject: [Xymon] Xymon SSL Certificate error In-Reply-To: <3CDF51AD7EF8B34D82870F43175F597E3851903265@GISCSVHLP002.universe.int> References: <3CDF51AD7EF8B34D82870F43175F597E3851903264@GISCSVHLP002.universe.int> <3CDF51AD7EF8B34D82870F43175F597E3851903265@GISCSVHLP002.universe.int> Message-ID: This is not the list for creating or issuing SSL certificates. I'd suggest finding out where you got the last one and ask them for a renewal. Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Wed, Nov 5, 2014 at 10:28 AM, wrote: > Dear Paul, > > > > Could you tell me how I can get a new certificate? > > > > I tried to execute the *make-dummy-cert* script on /etc/pki/tls/certs > path, and It created a new localhost.crt file, but follow showing the same > error in Xymon. > > > > Kind Regard. > > Luis. > > > > *From:* Root, Paul T [mailto:Paul.Root at CenturyLink.com] > *Sent:* 05 November 2014 16:19 > *To:* Ruiz, Luis Mr. (Airbus D&S SP); 'xymon at xymon.com' > *Subject:* RE: Xymon SSL Certificate error > > > > Get a new certificate. > > > > *From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of * > Luis.Ruiz.external at eurofighter.com > *Sent:* Wednesday, November 05, 2014 2:09 AM > *To:* xymon at xymon.com > *Subject:* [Xymon] Xymon SSL Certificate error > > > > Dear Xymon, > > > > We have installed the Xymon 4.3.12 . In our systems, appear the message *SSL certificate for https://xx.x.x.xxx/ expired 4 days ago* > > > > > > Do you know how can we solvent this error? > > > > Thanks in advance. > > Luis R. > > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 1465 bytes Desc: not available URL: From jlaidman at rebel-it.com.au Thu Nov 6 03:34:14 2014 From: jlaidman at rebel-it.com.au (Jeremy Laidman) Date: Thu, 6 Nov 2014 13:34:14 +1100 Subject: [Xymon] [Devmon] devmon mysterious behaviour In-Reply-To: <51D96C1418C7434CA6423751C45C6EA80A07F1@w2k8-ex-mb-2> References: <51D96C1418C7434CA6423751C45C6EA80A071C@w2k8-ex-mb-2> <51D96C1418C7434CA6423751C45C6EA80A07F1@w2k8-ex-mb-2> Message-ID: I seem to recall a problem on 64-bit platforms where 64-bit SNMP request IDs were being rejected by libsnmp because it parsed them as 32-bit IDs, but only if the values were large enough. In this situation, I was able to probe the OIDs just fine using snmpget, but devmon failed to get the responses, but only sometimes. Comparing packet captures of failures and successes showed the problem. A previously posted thread might be of some assistance: http://sourceforge.net/p/devmon/mailman/message/30148661/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From everett.vernon at gmail.com Thu Nov 6 09:19:28 2014 From: everett.vernon at gmail.com (Vernon Everett) Date: Thu, 6 Nov 2014 16:19:28 +0800 Subject: [Xymon] Bug Fix memstat.ksh on Solaris 11.2 Message-ID: Hi all I have updated this script on Xymonton. https://wiki.xymonton.org/doku.php/monitors:memstat Couple of "bugs" came up. Firstly, Solaris 11 no longer supports setUID for root owned scripts. You now need to use sudo, which, thankfully, is installed by default. Then came a real interesting one when we upgrades to Solaris 11.2 The memstat script uses echo "::memstat" | mdb -k to collect the memory usage snapshot. Except, in Solaris 11.2, there are a few new values. The most interesting is, ZFS File Data has been split into ZFS File Data and ZFS Metadata, which is great, except that graphing sees both as haivng the NCV same index. So I had to make a change for that. Then there's a real odd-ball. Another entry appears, called Guest. I have never seen it ahve any other value besides 0, but it's there nonetheless. And every so often, I also get an entry "In temporary use". I kid you not! And it messes up the graphs. The changes should make it all work nicely on Solaris 10, 11, and 11.2 And it should work with setUID and sudo. Take your pick. Regards Vernon -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: From mr.chew.baka at gmail.com Thu Nov 6 16:47:49 2014 From: mr.chew.baka at gmail.com (B-o-B De Mars) Date: Thu, 06 Nov 2014 09:47:49 -0600 Subject: [Xymon] XymonPSclient In-Reply-To: <17082AAFC33A934082836458CB534943666F182B@MONEXCH01.na.lzb.hq> References: <17082AAFC33A934082836458CB534943666EEDD4@MONEXCH01.na.lzb.hq> <17082AAFC33A934082836458CB534943666F046B@MONEXCH01.na.lzb.hq> <1415143516461.1492@orix.com.au> <17082AAFC33A934082836458CB534943666F182B@MONEXCH01.na.lzb.hq> Message-ID: <545B9825.9080307@gmail.com> On 11/5/2014 6:05 AM, Scot Kreienkamp wrote: > Greg, > > I really hope your company will to allow you to share your > improvements. It would really help the Xymon community. I have no > experience with powershell or I would try it myself. I agree, and hope you can share too. I am a life long Big Brother user who recently converted to Xymon. I played around with the existing PSclient, but decided to continue to use the Big Bro win client. Thanks! From jlaidman at rebel-it.com.au Fri Nov 7 03:54:31 2014 From: jlaidman at rebel-it.com.au (Jeremy Laidman) Date: Fri, 7 Nov 2014 13:54:31 +1100 Subject: [Xymon] duration of MSG red status In-Reply-To: <2b414a2c25074ab199cb0a8a885733c8@EX13-MBX-04.ad.syr.edu> References: <6dc6d8d7c68b4e9884acdb0def34f4c7@EX13-MBX-04.ad.syr.edu> <793f6e1579030511945c5d3aaeef3d09.squirrel@mail.kkytbs.net> <544D04A3.90708@revpol.com> <2b414a2c25074ab199cb0a8a885733c8@EX13-MBX-04.ad.syr.edu> Message-ID: On 4 November 2014 07:16, Nicole Beck wrote: > Our hobbit-alerts.cfg file has “DURATION>1m REPEAT=5m” for the msgs test > for that machine. > > You've configured REPEAT=5m meaning you want Xymon to resend alerts every 5 minutes until green. Is this what you want? This is a different issue to "msgs" staying yellow for more than 5 minutes. Nearly all of my "msgs" events last for 5 minutes. Your symptoms are consistent with 6 or more client data messages containing the same (or new) log messages. So I think you should look at the client data when it next occurs and see if it's being updated from one client data message to the next. It's interesting that the alert emails have the same log entries, suggesting that the state mechanism is not working on the Xymon client. This would happen if something was erasing the logfetch state file on the Xymon client, named $XYMONTMP/logfetch.$MACHINEDOTS.status. If logfetch doesn't know where it got up to in a logfile, it has to start from the beginning each time, and it will report the same messages in the client data, each time it runs. Unlikely, but another possibility, is that the logfile is being shortened each time. When logfetch detects that a logfile is shorter than the last time it ran, it assumes that the logfile rotated, and so it resets its state and goes back to the start of the logfile. How is the logfile being generated? Cheers Jeremy -------------- next part -------------- An HTML attachment was scrubbed... URL: From rlhamil2 at gmail.com Fri Nov 7 21:24:25 2014 From: rlhamil2 at gmail.com (Richard L. Hamilton) Date: Fri, 7 Nov 2014 15:24:25 -0500 Subject: [Xymon] both SPARC and x86 Solaris clients? Message-ID: How best to tell apart Solaris sparc vs x86 in client-local.cfg (for the clientversion especially, so suitable tar file can be chosen)? One possibility: modify runclient.sh to use uname -sp (lowercased, and with space converted to dash), which would come out as sunos-sparc or sunos-i386 (which is the end result I’d like) another: use the —class= argument to runclient.sh (although that would have to be referenced as a class in client-local.cfg), and means modifying the startup, which may vary before Solaris 10 vs at or after Solaris 10) another: set SERVEROSTYPE in xymonclient.cfg on Solaris (sparc and x86) as above Doubtless other possibilities too, but if anyone is dealing with this already, what are they doing? Comparably, what will happen when a bunch of Linux-on-ARM hit the data centers? :-) From feld at feld.me Mon Nov 10 16:52:30 2014 From: feld at feld.me (Mark Felder) Date: Mon, 10 Nov 2014 09:52:30 -0600 Subject: [Xymon] nginx as the web server In-Reply-To: References: <1384282392.9469.46559285.416BDE44@webmail.messagingengine.com> Message-ID: <1415634750.1382728.189226045.5C74454A@webmail.messagingengine.com> On Mon, Nov 18, 2013, at 11:40, Asif Iqbal wrote: > On Tue, Nov 12, 2013 at 1:53 PM, Mark Felder wrote: > > > symlink solution was a hack that probably could have been avoided. > > > Any suggestion on how to avoid that symlink? > > I finally got around to figuring out Nginx + Xymon. You have to make some changes due to the way Nginx handles fastcgi variables when aliases are used. http://blog.feld.me/posts/2014/11/setting-up-xymon-with-nginx/ From oogiejonz at yahoo.com Mon Nov 10 17:33:10 2014 From: oogiejonz at yahoo.com (Elizabeth Jones) Date: Mon, 10 Nov 2014 08:33:10 -0800 Subject: listing my pages as columns rather than rows Message-ID: <1415637190.20873.YahooMailNeo@web161201.mail.bf1.yahoo.com> I know I've done this in past xymon installations but I can't remember how I did it. I want my main xymon page to list my prod servers and dev servers as pages, prod and dev listed as a column: Prod Dev The default is Prod Dev Can anyone give me a hand on getting these pages to list as a column? thanks, Elizabeth J -------------- next part -------------- An HTML attachment was scrubbed... URL: From waa-hobbitml at revpol.com Mon Nov 10 17:55:23 2014 From: waa-hobbitml at revpol.com (Bill Arlofski) Date: Mon, 10 Nov 2014 11:55:23 -0500 Subject: [Xymon] nginx as the web server In-Reply-To: <1415634750.1382728.189226045.5C74454A@webmail.messagingengine.com> References: <1384282392.9469.46559285.416BDE44@webmail.messagingengine.com> <1415634750.1382728.189226045.5C74454A@webmail.messagingengine.com> Message-ID: <5460EDFB.1010206@revpol.com> On 11/10/2014 10:52 AM, Mark Felder wrote: > > > On Mon, Nov 18, 2013, at 11:40, Asif Iqbal wrote: >> On Tue, Nov 12, 2013 at 1:53 PM, Mark Felder wrote: >> >>> symlink solution was a hack that probably could have been avoided. >> >> >> Any suggestion on how to avoid that symlink? >> >> > > I finally got around to figuring out Nginx + Xymon. You have to make > some changes due to the way Nginx handles fastcgi variables when aliases > are used. > > http://blog.feld.me/posts/2014/11/setting-up-xymon-with-nginx/ Hi Mark. Thanks for that... As a matter of fact, just last week I set off to lower memory use on a VM that runs my Xymon server so I thought ditching Apache and using nginx would be a good idea. Of course I ran into the same issues regarding the CGI directory names. I opted for the symlink method and was happy with it - didn't know this thread was ongoing. :) Exerything worked fine, including all of the CGIs "acks", "endis", "event logs" etc, except for the "edit critical systems" page. It works fine under Apache, but not under nginx. Any ideas what I might have missed? I had to modify ownership on some dirs for some of the CGIs to work (snapshot reports for example: ~xymon/server/www/snap) nginx logs just show http 200 result on submission of the critical systems form. Thanks for any input. Would be nice to switch this VM to nxginx once and for all. Bill -- Bill Arlofski Reverse Polarity, LLC http://www.revpol.com/ -- Not responsible for anything below this line -- From sgb at pics.com Mon Nov 10 17:12:01 2014 From: sgb at pics.com (Steve Brown) Date: Mon, 10 Nov 2014 16:12:01 +0000 Subject: [Xymon] V 4.3.17 & 18 Acknowledge error Message-ID: <2f4692bc6d39479792e9d340951aa54a@BLUPR05MB151.namprd05.prod.outlook.com> About a week ago we upgraded from 4.2.2 to 4.3.17. Since then when we try to acknowledge an alert we receive the below error in the browser. Over the weekend I upgraded to 4.3.18 but that didn't change the behavior and we still receive the error. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at root at localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Here's the error log that details the error. /var/log/httpd/error_log [Mon Nov 10 10:51:30.278866 2014] [cgi:error] [pid 18672] [client x.x.x.x:64640] End of script output before headers: acknowledge.sh, referer: http://hostname.com:90/hobbit-seccgi/acknowledge.sh Thank you for your help Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From Paul.Root at CenturyLink.com Mon Nov 10 18:55:21 2014 From: Paul.Root at CenturyLink.com (Root, Paul T) Date: Mon, 10 Nov 2014 17:55:21 +0000 Subject: [Xymon] V 4.3.17 & 18 Acknowledge error In-Reply-To: <2f4692bc6d39479792e9d340951aa54a@BLUPR05MB151.namprd05.prod.outlook.com> References: <2f4692bc6d39479792e9d340951aa54a@BLUPR05MB151.namprd05.prod.outlook.com> Message-ID: Run acknowledge by hand and see what it is having a problem with. From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Steve Brown Sent: Monday, November 10, 2014 10:12 AM To: xymon at xymon.com Subject: [Xymon] V 4.3.17 & 18 Acknowledge error About a week ago we upgraded from 4.2.2 to 4.3.17. Since then when we try to acknowledge an alert we receive the below error in the browser. Over the weekend I upgraded to 4.3.18 but that didn't change the behavior and we still receive the error. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at root at localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Here's the error log that details the error. /var/log/httpd/error_log [Mon Nov 10 10:51:30.278866 2014] [cgi:error] [pid 18672] [client x.x.x.x:64640] End of script output before headers: acknowledge.sh, referer: http://hostname.com:90/hobbit-seccgi/acknowledge.sh Thank you for your help Steve 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgb at pics.com Mon Nov 10 19:30:00 2014 From: sgb at pics.com (Steve Brown) Date: Mon, 10 Nov 2014 18:30:00 +0000 Subject: [Xymon] V 4.3.17 & 18 Acknowledge error In-Reply-To: References: <2f4692bc6d39479792e9d340951aa54a@BLUPR05MB151.namprd05.prod.outlook.com> Message-ID: <64f720257b5247e28f9d598110a94315@BLUPR05MB151.namprd05.prod.outlook.com> Thank you for the quick reply. What is the syntax to run acknowledge by hand? If I just execute the acknowledge.sh it returns the form. If I try bin/acknowledge.cgi "ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=246055&Send=Send" I see some errors from xgetenv 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL ... 2014-11-10 13:26:13 xgetenv: Cannot find value for variable SCRIPT_NAME .. And what appears to be just the form to fill in Thanks Steve From: Root, Paul T [mailto:Paul.Root at CenturyLink.com] Sent: Monday, November 10, 2014 11:55 AM To: Steve Brown; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error Run acknowledge by hand and see what it is having a problem with. From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Steve Brown Sent: Monday, November 10, 2014 10:12 AM To: xymon at xymon.com Subject: [Xymon] V 4.3.17 & 18 Acknowledge error About a week ago we upgraded from 4.2.2 to 4.3.17. Since then when we try to acknowledge an alert we receive the below error in the browser. Over the weekend I upgraded to 4.3.18 but that didn't change the behavior and we still receive the error. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at root at localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Here's the error log that details the error. /var/log/httpd/error_log [Mon Nov 10 10:51:30.278866 2014] [cgi:error] [pid 18672] [client x.x.x.x:64640] End of script output before headers: acknowledge.sh, referer: http://hostname.com:90/hobbit-seccgi/acknowledge.sh Thank you for your help Steve 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Paul.Root at CenturyLink.com Mon Nov 10 19:49:14 2014 From: Paul.Root at CenturyLink.com (Root, Paul T) Date: Mon, 10 Nov 2014 18:49:14 +0000 Subject: [Xymon] V 4.3.17 & 18 Acknowledge error In-Reply-To: <64f720257b5247e28f9d598110a94315@BLUPR05MB151.namprd05.prod.outlook.com> References: <2f4692bc6d39479792e9d340951aa54a@BLUPR05MB151.namprd05.prod.outlook.com> <64f720257b5247e28f9d598110a94315@BLUPR05MB151.namprd05.prod.outlook.com> Message-ID: I'd guess ~xymon/server/bin/xymoncmd bin/acknowledge.cgi. If it prints out the whole form to fill out, in html, then the issue is probably permissions, if it doesn't it should give you some kind of error message. From: Steve Brown [mailto:sgb at pics.com] Sent: Monday, November 10, 2014 12:30 PM To: Root, Paul T; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error Thank you for the quick reply. What is the syntax to run acknowledge by hand? If I just execute the acknowledge.sh it returns the form. If I try bin/acknowledge.cgi "ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=246055&Send=Send" I see some errors from xgetenv 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL ... 2014-11-10 13:26:13 xgetenv: Cannot find value for variable SCRIPT_NAME .. And what appears to be just the form to fill in Thanks Steve From: Root, Paul T [mailto:Paul.Root at CenturyLink.com] Sent: Monday, November 10, 2014 11:55 AM To: Steve Brown; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error Run acknowledge by hand and see what it is having a problem with. From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Steve Brown Sent: Monday, November 10, 2014 10:12 AM To: xymon at xymon.com Subject: [Xymon] V 4.3.17 & 18 Acknowledge error About a week ago we upgraded from 4.2.2 to 4.3.17. Since then when we try to acknowledge an alert we receive the below error in the browser. Over the weekend I upgraded to 4.3.18 but that didn't change the behavior and we still receive the error. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at root at localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Here's the error log that details the error. /var/log/httpd/error_log [Mon Nov 10 10:51:30.278866 2014] [cgi:error] [pid 18672] [client x.x.x.x:64640] End of script output before headers: acknowledge.sh, referer: http://hostname.com:90/hobbit-seccgi/acknowledge.sh Thank you for your help Steve 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralphmitchell at gmail.com Mon Nov 10 19:50:44 2014 From: ralphmitchell at gmail.com (Ralph Mitchell) Date: Mon, 10 Nov 2014 13:50:44 -0500 Subject: [Xymon] listing my pages as columns rather than rows In-Reply-To: References: Message-ID: Are you thinking of the XYMONGENOPTS setting in xymonserver.cfg? You can set --subpagecolumns=1 in there. I have mine set to 3 and I get 3 columns. Ralph Mitchell On Nov 10, 2014 11:43 AM, "Elizabeth Jones via Xymon" wrote: > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon > > > ---------- Forwarded message ---------- > From: Elizabeth Jones > To: "xymon at xymon.com" > Cc: > Date: Mon, 10 Nov 2014 08:33:10 -0800 > Subject: listing my pages as columns rather than rows > I know I've done this in past xymon installations but I can't remember how > I did it. I want my main xymon page to list my prod servers and dev > servers as pages, prod and dev listed as a column: > > Prod > Dev > > The default is Prod Dev > > Can anyone give me a hand on getting these pages to list as a column? > > thanks, > Elizabeth J > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgb at pics.com Mon Nov 10 20:08:13 2014 From: sgb at pics.com (Steve Brown) Date: Mon, 10 Nov 2014 19:08:13 +0000 Subject: [Xymon] V 4.3.17 & 18 Acknowledge error In-Reply-To: References: <2f4692bc6d39479792e9d340951aa54a@BLUPR05MB151.namprd05.prod.outlook.com> <64f720257b5247e28f9d598110a94315@BLUPR05MB151.namprd05.prod.outlook.com> Message-ID: Thanks for helping. I tried 3 different syntax lines and all produced the same execvp error. /home/xymon/xymon/server/bin/xymoncmd bin/acknowledge.cgi 2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg 2014-11-10 14:04:18 execvp() failed: No such file or directory /home/xymon/xymon/server/bin/xymoncmd $BBHOME/server/bin/acknowledge.cgi 2014-11-10 14:04:18 execvp() failed: No such file or directory 2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg /home/xymon/xymon/server/bin/xymoncmd bin/acknowledge.cgi "ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=246055&Send=Send" 2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg 2014-11-10 14:04:18 execvp() failed: No such file or directory Steve From: Root, Paul T [mailto:Paul.Root at CenturyLink.com] Sent: Monday, November 10, 2014 12:49 PM To: Steve Brown; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error I'd guess ~xymon/server/bin/xymoncmd bin/acknowledge.cgi. If it prints out the whole form to fill out, in html, then the issue is probably permissions, if it doesn't it should give you some kind of error message. From: Steve Brown [mailto:sgb at pics.com] Sent: Monday, November 10, 2014 12:30 PM To: Root, Paul T; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error Thank you for the quick reply. What is the syntax to run acknowledge by hand? If I just execute the acknowledge.sh it returns the form. If I try bin/acknowledge.cgi "ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=246055&Send=Send" I see some errors from xgetenv 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL ... 2014-11-10 13:26:13 xgetenv: Cannot find value for variable SCRIPT_NAME .. And what appears to be just the form to fill in Thanks Steve From: Root, Paul T [mailto:Paul.Root at CenturyLink.com] Sent: Monday, November 10, 2014 11:55 AM To: Steve Brown; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error Run acknowledge by hand and see what it is having a problem with. From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Steve Brown Sent: Monday, November 10, 2014 10:12 AM To: xymon at xymon.com Subject: [Xymon] V 4.3.17 & 18 Acknowledge error About a week ago we upgraded from 4.2.2 to 4.3.17. Since then when we try to acknowledge an alert we receive the below error in the browser. Over the weekend I upgraded to 4.3.18 but that didn't change the behavior and we still receive the error. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at root at localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Here's the error log that details the error. /var/log/httpd/error_log [Mon Nov 10 10:51:30.278866 2014] [cgi:error] [pid 18672] [client x.x.x.x:64640] End of script output before headers: acknowledge.sh, referer: http://hostname.com:90/hobbit-seccgi/acknowledge.sh Thank you for your help Steve 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From oogiejonz at yahoo.com Mon Nov 10 20:07:58 2014 From: oogiejonz at yahoo.com (Elizabeth Jones) Date: Mon, 10 Nov 2014 11:07:58 -0800 Subject: [Xymon] listing my pages as columns rather than rows In-Reply-To: References: Message-ID: <1415646478.62985.YahooMailNeo@web161202.mail.bf1.yahoo.com> Thanks, that did the trick! I changed it to 1 and now have one column. Elizabeth ________________________________ From: Ralph Mitchell To: Elizabeth Jones Cc: xymon at xymon.com Sent: Monday, November 10, 2014 12:50 PM Subject: Re: [Xymon] listing my pages as columns rather than rows Are you thinking of the XYMONGENOPTS setting in xymonserver.cfg? You can set --subpagecolumns=1 in there. I have mine set to 3 and I get 3 columns. Ralph Mitchell On Nov 10, 2014 11:43 AM, "Elizabeth Jones via Xymon" wrote: _______________________________________________ >Xymon mailing list >Xymon at xymon.com >http://lists.xymon.com/mailman/listinfo/xymon > > >---------- Forwarded message ---------- >From: Elizabeth Jones >To: "xymon at xymon.com" >Cc: >Date: Mon, 10 Nov 2014 08:33:10 -0800 >Subject: listing my pages as columns rather than rows > >I know I've done this in past xymon installations but I can't remember how I did it. I want my main xymon page to list my prod servers and dev servers as pages, prod and dev listed as a column: > > >Prod > >Dev > > >The default is Prod Dev > > >Can anyone give me a hand on getting these pages to list as a column? > > >thanks, >Elizabeth J > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Paul.Root at CenturyLink.com Mon Nov 10 20:17:00 2014 From: Paul.Root at CenturyLink.com (Root, Paul T) Date: Mon, 10 Nov 2014 19:17:00 +0000 Subject: [Xymon] V 4.3.17 & 18 Acknowledge error In-Reply-To: References: <2f4692bc6d39479792e9d340951aa54a@BLUPR05MB151.namprd05.prod.outlook.com> <64f720257b5247e28f9d598110a94315@BLUPR05MB151.namprd05.prod.outlook.com> Message-ID: So I'm guessing that acknowledge.cgi is in /home/xymon/xymon/server/bin/acknowledge.cgi? /home/xymon/xymon/server/bin/xymoncmd /home/xymon/xymon/server/bin/acknowledge.cgi From: Steve Brown [mailto:sgb at pics.com] Sent: Monday, November 10, 2014 1:08 PM To: Root, Paul T; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error Thanks for helping. I tried 3 different syntax lines and all produced the same execvp error. /home/xymon/xymon/server/bin/xymoncmd bin/acknowledge.cgi 2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg 2014-11-10 14:04:18 execvp() failed: No such file or directory /home/xymon/xymon/server/bin/xymoncmd $BBHOME/server/bin/acknowledge.cgi 2014-11-10 14:04:18 execvp() failed: No such file or directory 2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg /home/xymon/xymon/server/bin/xymoncmd bin/acknowledge.cgi "ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=246055&Send=Send" 2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg 2014-11-10 14:04:18 execvp() failed: No such file or directory Steve From: Root, Paul T [mailto:Paul.Root at CenturyLink.com] Sent: Monday, November 10, 2014 12:49 PM To: Steve Brown; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error I'd guess ~xymon/server/bin/xymoncmd bin/acknowledge.cgi. If it prints out the whole form to fill out, in html, then the issue is probably permissions, if it doesn't it should give you some kind of error message. From: Steve Brown [mailto:sgb at pics.com] Sent: Monday, November 10, 2014 12:30 PM To: Root, Paul T; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error Thank you for the quick reply. What is the syntax to run acknowledge by hand? If I just execute the acknowledge.sh it returns the form. If I try bin/acknowledge.cgi "ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=246055&Send=Send" I see some errors from xgetenv 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL ... 2014-11-10 13:26:13 xgetenv: Cannot find value for variable SCRIPT_NAME .. And what appears to be just the form to fill in Thanks Steve From: Root, Paul T [mailto:Paul.Root at CenturyLink.com] Sent: Monday, November 10, 2014 11:55 AM To: Steve Brown; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error Run acknowledge by hand and see what it is having a problem with. From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Steve Brown Sent: Monday, November 10, 2014 10:12 AM To: xymon at xymon.com Subject: [Xymon] V 4.3.17 & 18 Acknowledge error About a week ago we upgraded from 4.2.2 to 4.3.17. Since then when we try to acknowledge an alert we receive the below error in the browser. Over the weekend I upgraded to 4.3.18 but that didn't change the behavior and we still receive the error. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at root at localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Here's the error log that details the error. /var/log/httpd/error_log [Mon Nov 10 10:51:30.278866 2014] [cgi:error] [pid 18672] [client x.x.x.x:64640] End of script output before headers: acknowledge.sh, referer: http://hostname.com:90/hobbit-seccgi/acknowledge.sh Thank you for your help Steve 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgb at pics.com Mon Nov 10 20:38:05 2014 From: sgb at pics.com (Steve Brown) Date: Mon, 10 Nov 2014 19:38:05 +0000 Subject: [Xymon] V 4.3.17 & 18 Acknowledge error In-Reply-To: References: <2f4692bc6d39479792e9d340951aa54a@BLUPR05MB151.namprd05.prod.outlook.com> <64f720257b5247e28f9d598110a94315@BLUPR05MB151.namprd05.prod.outlook.com> Message-ID: Yes acknowledge.cgi is in /home/xymon/xymon/server/bin I have had some better results by xymoncmd first and then running /home/xymon/xymon/server/bin/acknowledge.cgi It returned the form to fill out and had this line embedded 2014-11-10 14:27:59 xgetenv: Cannot find value for variable SCRIPT_NAME Thanks Steve From: Root, Paul T [mailto:Paul.Root at CenturyLink.com] Sent: Monday, November 10, 2014 1:17 PM To: Steve Brown; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error So I'm guessing that acknowledge.cgi is in /home/xymon/xymon/server/bin/acknowledge.cgi? /home/xymon/xymon/server/bin/xymoncmd /home/xymon/xymon/server/bin/acknowledge.cgi From: Steve Brown [mailto:sgb at pics.com] Sent: Monday, November 10, 2014 1:08 PM To: Root, Paul T; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error Thanks for helping. I tried 3 different syntax lines and all produced the same execvp error. /home/xymon/xymon/server/bin/xymoncmd bin/acknowledge.cgi 2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg 2014-11-10 14:04:18 execvp() failed: No such file or directory /home/xymon/xymon/server/bin/xymoncmd $BBHOME/server/bin/acknowledge.cgi 2014-11-10 14:04:18 execvp() failed: No such file or directory 2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg /home/xymon/xymon/server/bin/xymoncmd bin/acknowledge.cgi "ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=246055&Send=Send" 2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg 2014-11-10 14:04:18 execvp() failed: No such file or directory Steve From: Root, Paul T [mailto:Paul.Root at CenturyLink.com] Sent: Monday, November 10, 2014 12:49 PM To: Steve Brown; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error I'd guess ~xymon/server/bin/xymoncmd bin/acknowledge.cgi. If it prints out the whole form to fill out, in html, then the issue is probably permissions, if it doesn't it should give you some kind of error message. From: Steve Brown [mailto:sgb at pics.com] Sent: Monday, November 10, 2014 12:30 PM To: Root, Paul T; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error Thank you for the quick reply. What is the syntax to run acknowledge by hand? If I just execute the acknowledge.sh it returns the form. If I try bin/acknowledge.cgi "ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=246055&Send=Send" I see some errors from xgetenv 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL ... 2014-11-10 13:26:13 xgetenv: Cannot find value for variable SCRIPT_NAME .. And what appears to be just the form to fill in Thanks Steve From: Root, Paul T [mailto:Paul.Root at CenturyLink.com] Sent: Monday, November 10, 2014 11:55 AM To: Steve Brown; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error Run acknowledge by hand and see what it is having a problem with. From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Steve Brown Sent: Monday, November 10, 2014 10:12 AM To: xymon at xymon.com Subject: [Xymon] V 4.3.17 & 18 Acknowledge error About a week ago we upgraded from 4.2.2 to 4.3.17. Since then when we try to acknowledge an alert we receive the below error in the browser. Over the weekend I upgraded to 4.3.18 but that didn't change the behavior and we still receive the error. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at root at localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Here's the error log that details the error. /var/log/httpd/error_log [Mon Nov 10 10:51:30.278866 2014] [cgi:error] [pid 18672] [client x.x.x.x:64640] End of script output before headers: acknowledge.sh, referer: http://hostname.com:90/hobbit-seccgi/acknowledge.sh Thank you for your help Steve 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgb at pics.com Mon Nov 10 20:56:22 2014 From: sgb at pics.com (Steve Brown) Date: Mon, 10 Nov 2014 19:56:22 +0000 Subject: [Xymon] V 4.3.17 & 18 Acknowledge error References: <2f4692bc6d39479792e9d340951aa54a@BLUPR05MB151.namprd05.prod.outlook.com> <64f720257b5247e28f9d598110a94315@BLUPR05MB151.namprd05.prod.outlook.com> Message-ID: Hi, I found some tips from this archive http://lists.xymon.com/archive/2006-June/007125.html export SCRIPT_NAME=/hobbit-seccgi/acknowledge.sh export QUERY_STRING="ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=246055&Send=Send" /home/xymon/xymon/server/bin/acknowledge.cgi Just returns the form to fill in. No ack is sent and no errors appear. Thanks for your help Steve From: Steve Brown Sent: Monday, November 10, 2014 1:08 PM To: 'Root, Paul T'; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error Thanks for helping. I tried 3 different syntax lines and all produced the same execvp error. /home/xymon/xymon/server/bin/xymoncmd bin/acknowledge.cgi 2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg 2014-11-10 14:04:18 execvp() failed: No such file or directory /home/xymon/xymon/server/bin/xymoncmd $BBHOME/server/bin/acknowledge.cgi 2014-11-10 14:04:18 execvp() failed: No such file or directory 2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg /home/xymon/xymon/server/bin/xymoncmd bin/acknowledge.cgi "ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=246055&Send=Send" 2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg 2014-11-10 14:04:18 execvp() failed: No such file or directory Steve From: Root, Paul T [mailto:Paul.Root at CenturyLink.com] Sent: Monday, November 10, 2014 12:49 PM To: Steve Brown; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error I'd guess ~xymon/server/bin/xymoncmd bin/acknowledge.cgi. If it prints out the whole form to fill out, in html, then the issue is probably permissions, if it doesn't it should give you some kind of error message. From: Steve Brown [mailto:sgb at pics.com] Sent: Monday, November 10, 2014 12:30 PM To: Root, Paul T; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error Thank you for the quick reply. What is the syntax to run acknowledge by hand? If I just execute the acknowledge.sh it returns the form. If I try bin/acknowledge.cgi "ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=246055&Send=Send" I see some errors from xgetenv 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL ... 2014-11-10 13:26:13 xgetenv: Cannot find value for variable SCRIPT_NAME .. And what appears to be just the form to fill in Thanks Steve From: Root, Paul T [mailto:Paul.Root at CenturyLink.com] Sent: Monday, November 10, 2014 11:55 AM To: Steve Brown; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error Run acknowledge by hand and see what it is having a problem with. From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Steve Brown Sent: Monday, November 10, 2014 10:12 AM To: xymon at xymon.com Subject: [Xymon] V 4.3.17 & 18 Acknowledge error About a week ago we upgraded from 4.2.2 to 4.3.17. Since then when we try to acknowledge an alert we receive the below error in the browser. Over the weekend I upgraded to 4.3.18 but that didn't change the behavior and we still receive the error. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at root at localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Here's the error log that details the error. /var/log/httpd/error_log [Mon Nov 10 10:51:30.278866 2014] [cgi:error] [pid 18672] [client x.x.x.x:64640] End of script output before headers: acknowledge.sh, referer: http://hostname.com:90/hobbit-seccgi/acknowledge.sh Thank you for your help Steve 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgb at pics.com Tue Nov 11 01:19:11 2014 From: sgb at pics.com (Steve Brown) Date: Tue, 11 Nov 2014 00:19:11 +0000 Subject: [Xymon] V 4.3.17 & 18 Acknowledge error In-Reply-To: References: <2f4692bc6d39479792e9d340951aa54a@BLUPR05MB151.namprd05.prod.outlook.com> <64f720257b5247e28f9d598110a94315@BLUPR05MB151.namprd05.prod.outlook.com> Message-ID: <9a8f405146bd44c8a3bfa2f7c293bd0f@BLUPR05MB151.namprd05.prod.outlook.com> I've figured out how to run this by hand. It returns "No acks requested" >From a web browser I still get the error. export REQUEST_METHOD=PUT export SCRIPT_NAME="acknowledge.sh" export QUERY_STRING="ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=50554&Send=Send" xymoncmd /home/xymon/xymon/cgi-secure/acknowledge.sh
No acks requested


Thank you Steve From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Steve Brown Sent: Monday, November 10, 2014 1:56 PM To: Root, Paul T; 'xymon at xymon.com' Subject: Re: [Xymon] V 4.3.17 & 18 Acknowledge error Hi, I found some tips from this archive http://lists.xymon.com/archive/2006-June/007125.html export SCRIPT_NAME=/hobbit-seccgi/acknowledge.sh export QUERY_STRING="ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=246055&Send=Send" /home/xymon/xymon/server/bin/acknowledge.cgi Just returns the form to fill in. No ack is sent and no errors appear. Thanks for your help Steve From: Steve Brown Sent: Monday, November 10, 2014 1:08 PM To: 'Root, Paul T'; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error Thanks for helping. I tried 3 different syntax lines and all produced the same execvp error. /home/xymon/xymon/server/bin/xymoncmd bin/acknowledge.cgi 2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg 2014-11-10 14:04:18 execvp() failed: No such file or directory /home/xymon/xymon/server/bin/xymoncmd $BBHOME/server/bin/acknowledge.cgi 2014-11-10 14:04:18 execvp() failed: No such file or directory 2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg /home/xymon/xymon/server/bin/xymoncmd bin/acknowledge.cgi "ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=246055&Send=Send" 2014-11-10 14:04:18 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg 2014-11-10 14:04:18 execvp() failed: No such file or directory Steve From: Root, Paul T [mailto:Paul.Root at CenturyLink.com] Sent: Monday, November 10, 2014 12:49 PM To: Steve Brown; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error I'd guess ~xymon/server/bin/xymoncmd bin/acknowledge.cgi. If it prints out the whole form to fill out, in html, then the issue is probably permissions, if it doesn't it should give you some kind of error message. From: Steve Brown [mailto:sgb at pics.com] Sent: Monday, November 10, 2014 12:30 PM To: Root, Paul T; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error Thank you for the quick reply. What is the syntax to run acknowledge by hand? If I just execute the acknowledge.sh it returns the form. If I try bin/acknowledge.cgi "ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=246055&Send=Send" I see some errors from xgetenv 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL 2014-11-10 13:26:13 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL ... 2014-11-10 13:26:13 xgetenv: Cannot find value for variable SCRIPT_NAME .. And what appears to be just the form to fill in Thanks Steve From: Root, Paul T [mailto:Paul.Root at CenturyLink.com] Sent: Monday, November 10, 2014 11:55 AM To: Steve Brown; 'xymon at xymon.com' Subject: RE: V 4.3.17 & 18 Acknowledge error Run acknowledge by hand and see what it is having a problem with. From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Steve Brown Sent: Monday, November 10, 2014 10:12 AM To: xymon at xymon.com Subject: [Xymon] V 4.3.17 & 18 Acknowledge error About a week ago we upgraded from 4.2.2 to 4.3.17. Since then when we try to acknowledge an alert we receive the below error in the browser. Over the weekend I upgraded to 4.3.18 but that didn't change the behavior and we still receive the error. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at root at localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Here's the error log that details the error. /var/log/httpd/error_log [Mon Nov 10 10:51:30.278866 2014] [cgi:error] [pid 18672] [client x.x.x.x:64640] End of script output before headers: acknowledge.sh, referer: http://hostname.com:90/hobbit-seccgi/acknowledge.sh Thank you for your help Steve 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From waa-hobbitml at revpol.com Tue Nov 11 03:50:55 2014 From: waa-hobbitml at revpol.com (Bill Arlofski) Date: Mon, 10 Nov 2014 21:50:55 -0500 Subject: [Xymon] nginx as the web server In-Reply-To: <1415634750.1382728.189226045.5C74454A@webmail.messagingengine.com> References: <1384282392.9469.46559285.416BDE44@webmail.messagingengine.com> <1415634750.1382728.189226045.5C74454A@webmail.messagingengine.com> Message-ID: <5461798F.1010104@revpol.com> On 11/10/2014 10:52 AM, Mark Felder wrote: > > > On Mon, Nov 18, 2013, at 11:40, Asif Iqbal wrote: >> On Tue, Nov 12, 2013 at 1:53 PM, Mark Felder wrote: >> >>> symlink solution was a hack that probably could have been avoided. >> >> >> Any suggestion on how to avoid that symlink? >> >> > > I finally got around to figuring out Nginx + Xymon. You have to make > some changes due to the way Nginx handles fastcgi variables when aliases > are used. > > http://blog.feld.me/posts/2014/11/setting-up-xymon-with-nginx/ Hi Mark I ran across an issue when using http basic_auth for the CGI stuff, the username was not being pasted to the CGI. So for example, when I disabled a test, clicking on a blue icon would show: Disabled by: unknown @ 192.168.1.1 Turns out I had to add a line: fastcgi_param REMOTE_USER $remote_user; To the configuration. Hope this helps someone else. (Thanks Matt) I still can not get the Critical Systems editor CGI to work under nginx though. Bill -- Bill Arlofski Reverse Polarity, LLC http://www.revpol.com/ -- Not responsible for anything below this line -- From sgb at pics.com Tue Nov 11 04:43:51 2014 From: sgb at pics.com (Steve Brown) Date: Tue, 11 Nov 2014 03:43:51 +0000 Subject: [Xymon] V 4.3.18 columndoc.sh Message-ID: Hi In V 4.3.18 when I click on any of the column names to get the data from columndoc.csv, I receive an error "Invalid request" Reproducible with the below export REQUEST_METHOD=GET export SCRIPT_NAME="columndoc.sh" export QUERY_STRING="cpu" xymoncmd /home/xymon/xymon/cgi-bin/columndoc.sh Thanks for your help Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From jersey_m at yahoo.com Tue Nov 11 04:41:33 2014 From: jersey_m at yahoo.com (Jersey Man) Date: Mon, 10 Nov 2014 19:41:33 -0800 Subject: Using Xymon to get client info Message-ID: <1415677293.42801.YahooMailNeo@web162704.mail.bf1.yahoo.com> Hello I am trying to use Xymon client to get software information from the server its running on. For example, Java version, openssl version etc and also our custom application information. I can write a script in .../local and it shows up in the client data on the server but how to do I use it. I would ideally like to see if I can stick it into the 'info' column but adding it as another column would be fine too.. I tried to scour Google but couldnt really find anything.. thanks J -------------- next part -------------- An HTML attachment was scrubbed... URL: From jersey_m at yahoo.com Tue Nov 11 05:05:11 2014 From: jersey_m at yahoo.com (Jersey Man) Date: Mon, 10 Nov 2014 20:05:11 -0800 Subject: [hobbit] sending client side data Message-ID: <1415678711.56498.YahooMailNeo@web162705.mail.bf1.yahoo.com> Curious if this ever worked.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgb at pics.com Tue Nov 11 06:39:06 2014 From: sgb at pics.com (Steve Brown) Date: Tue, 11 Nov 2014 05:39:06 +0000 Subject: [Xymon] V 4.3.18 columndoc.sh In-Reply-To: References: Message-ID: I was able to resolve this by modifying xymonserver.cfg COLUMNDOCURL="$CGIBINURL/columndoc.sh?db=columndoc.csv&key=%s" # URL formatting string for column-links Steve From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Steve Brown Sent: Monday, November 10, 2014 9:44 PM To: xymon at xymon.com Subject: [Xymon] V 4.3.18 columndoc.sh Hi In V 4.3.18 when I click on any of the column names to get the data from columndoc.csv, I receive an error "Invalid request" Reproducible with the below export REQUEST_METHOD=GET export SCRIPT_NAME="columndoc.sh" export QUERY_STRING="cpu" xymoncmd /home/xymon/xymon/cgi-bin/columndoc.sh Thanks for your help Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From feld at feld.me Tue Nov 11 14:58:08 2014 From: feld at feld.me (Mark Felder) Date: Tue, 11 Nov 2014 07:58:08 -0600 Subject: [Xymon] nginx as the web server In-Reply-To: <5461798F.1010104@revpol.com> References: <1384282392.9469.46559285.416BDE44@webmail.messagingengine.com> <1415634750.1382728.189226045.5C74454A@webmail.messagingengine.com> <5461798F.1010104@revpol.com> Message-ID: <1415714288.1676310.189647901.36EFCDEB@webmail.messagingengine.com> On Mon, Nov 10, 2014, at 20:50, Bill Arlofski wrote: > > Turns out I had to add a line: > > fastcgi_param REMOTE_USER $remote_user; > > To the configuration. Hope this helps someone else. (Thanks Matt) > Ahh, that's annoying. Didn't notice REMOTE_USER isn't in the default fastcgi_params that ships with nginx. I'll throw that on my blog post. > > I still can not get the Critical Systems editor CGI to work under nginx > though. > Which part isn't working? I have never used it personally, but it appears functional to me. From feld at feld.me Tue Nov 11 15:04:24 2014 From: feld at feld.me (Mark Felder) Date: Tue, 11 Nov 2014 08:04:24 -0600 Subject: [Xymon] 4.3.18 status Message-ID: <1415714664.1677428.189651869.694E36A4@webmail.messagingengine.com> What's the deal with 4.3.18? There still isn't an official tarball up on Sourceforge. From sgb at pics.com Tue Nov 11 15:28:49 2014 From: sgb at pics.com (Steve Brown) Date: Tue, 11 Nov 2014 14:28:49 +0000 Subject: [Xymon] 4.3.18 status In-Reply-To: <1415714664.1677428.189651869.694E36A4@webmail.messagingengine.com> References: <1415714664.1677428.189651869.694E36A4@webmail.messagingengine.com> Message-ID: There's a copy under patches https://www.xymon.com/patches/ -----Original Message----- From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Mark Felder Sent: Tuesday, November 11, 2014 8:04 AM To: xymon at xymon.com Subject: [Xymon] 4.3.18 status What's the deal with 4.3.18? There still isn't an official tarball up on Sourceforge. _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon From Luis.Ruiz.external at eurofighter.com Tue Nov 11 16:27:51 2014 From: Luis.Ruiz.external at eurofighter.com (Luis.Ruiz.external at eurofighter.com) Date: Tue, 11 Nov 2014 16:27:51 +0100 Subject: [Xymon] Xymon SSL Certificate error In-Reply-To: References: <3CDF51AD7EF8B34D82870F43175F597E3851903264@GISCSVHLP002.universe.int> <3CDF51AD7EF8B34D82870F43175F597E3851903265@GISCSVHLP002.universe.int> Message-ID: <3CDF51AD7EF8B34D82870F43175F597E3851903271@GISCSVHLP002.universe.int> So, could you explain me what steps I have to do for generate a new certificate? We have changed the support team in the company and I don´t know how create a new one. Thanks in advance. Luis R. From: Josh Luthman [mailto:josh at imaginenetworksllc.com] Sent: 05 November 2014 16:36 To: Ruiz, Luis Mr. (Airbus D&S SP) Cc: Root, Paul; xymon at xymon.com Subject: Re: [Xymon] Xymon SSL Certificate error This is not the list for creating or issuing SSL certificates. I'd suggest finding out where you got the last one and ask them for a renewal. Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Wed, Nov 5, 2014 at 10:28 AM, > wrote: Dear Paul, Could you tell me how I can get a new certificate? I tried to execute the make-dummy-cert script on /etc/pki/tls/certs path, and It created a new localhost.crt file, but follow showing the same error in Xymon. Kind Regard. Luis. From: Root, Paul T [mailto:Paul.Root at CenturyLink.com] Sent: 05 November 2014 16:19 To: Ruiz, Luis Mr. (Airbus D&S SP); 'xymon at xymon.com' Subject: RE: Xymon SSL Certificate error Get a new certificate. From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Luis.Ruiz.external at eurofighter.com Sent: Wednesday, November 05, 2014 2:09 AM To: xymon at xymon.com Subject: [Xymon] Xymon SSL Certificate error Dear Xymon, We have installed the Xymon 4.3.12. In our systems, appear the message SSL certificate for https://xx.x.x.xxx/ expired 4 days ago [cid:image001.jpg at 01CFFDCC.6DD40180] Do you know how can we solvent this error? Thanks in advance. Luis R. 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 1465 bytes Desc: image001.jpg URL: From waa-hobbitml at revpol.com Tue Nov 11 17:53:23 2014 From: waa-hobbitml at revpol.com (Bill Arlofski) Date: Tue, 11 Nov 2014 11:53:23 -0500 Subject: [Xymon] nginx as the web server In-Reply-To: <1415714288.1676310.189647901.36EFCDEB@webmail.messagingengine.com> References: <1384282392.9469.46559285.416BDE44@webmail.messagingengine.com> <1415634750.1382728.189226045.5C74454A@webmail.messagingengine.com> <5461798F.1010104@revpol.com> <1415714288.1676310.189647901.36EFCDEB@webmail.messagingengine.com> Message-ID: <54623F03.8020709@revpol.com> On 11/11/2014 08:58 AM, Mark Felder wrote: > > > On Mon, Nov 10, 2014, at 20:50, Bill Arlofski wrote: >> >> Turns out I had to add a line: >> >> fastcgi_param REMOTE_USER $remote_user; >> >> To the configuration. Hope this helps someone else. (Thanks Matt) >> > > Ahh, that's annoying. Didn't notice REMOTE_USER isn't in the default > fastcgi_params that ships with nginx. I'll throw that on my blog post. Oh cool. Glad I (and my friend Matt) could help .:) >> I still can not get the Critical Systems editor CGI to work under nginx >> though. >> > > Which part isn't working? I have never used it personally, but it > appears functional to me. Hi Mark, When I try to add a host/test to the list and click "update record" nothing happens, and the host/test is not added. The page does (quickly) reload though, with the host and test pre-filled in. Keep in mind, that for this to work quickly while testing, and have something show up in the critical systems page, I choose a test that is currently red or yellow and attempt to add it. :) Also, you can get a quick indication that it worked or didn't by setting the host/test in the form and clicking search after attempting to add it. A popup will tell you if the host was not found. Under apache, when I add a host/test and click "update record", I get a popup that says (something like) "record added" nginx logs show http 200 results on submission of the form, so there is not much I have to go on. Thanks for any help with this. Bill -- Bill Arlofski Reverse Polarity, LLC http://www.revpol.com/ -- Not responsible for anything below this line -- From feld at feld.me Tue Nov 11 19:15:19 2014 From: feld at feld.me (Mark Felder) Date: Tue, 11 Nov 2014 12:15:19 -0600 Subject: [Xymon] 4.3.18 status In-Reply-To: References: <1415714664.1677428.189651869.694E36A4@webmail.messagingengine.com> Message-ID: <1415729719.1732756.189756921.4A2F9107@webmail.messagingengine.com> On Tue, Nov 11, 2014, at 08:28, Steve Brown wrote: > There's a copy under patches https://www.xymon.com/patches/ > Right, but I wouldn't call that an "official" release. I've been waiting for one before I push 4.3.18 to FreeBSD. From cleaver at terabithia.org Tue Nov 11 21:30:37 2014 From: cleaver at terabithia.org (J.C. Cleaver) Date: Tue, 11 Nov 2014 12:30:37 -0800 Subject: [Xymon] Using Xymon to get client info In-Reply-To: References: Message-ID: <17136b4a546dff2463736d9f79c6a3a5.squirrel@mail.kkytbs.net> On Mon, November 10, 2014 7:41 pm, Jersey Man wrote: > Hello > > I am trying to use Xymon client to get software information from the > server its running on. For example, Java version, openssl version etc and > also our custom application information. I can write a script in .../local > and it shows up in the client data on the server but how to do I use it. I > would ideally like to see if I can stick it into the 'info' column but > adding it as another column would be fine too.. I tried to scour Google > but couldnt really find anything.. > For these purposes, think of xymon as a more generic communications bus. If you have a custom script in ../local/ and it already throws data into the client message, you can retrieve it with the "clientlog" command: [root at rhel6-x86-64 /]# xymon localhost "clientlog rhel6-x86-64.build section=uptime" [uptime] 12:27:53 up 20 min, 1 user, load average: 0.00, 0.00, 0.02 If you want to make individual use of the data, a client listener which, similar to xymond_client, takes client messages, evaluates with your own logic, and generates status messages for re-injection back into xymond, is your simplest bet. Alternatively, you can perform lots of clientlog queries and read data back in that way. HTH, -jc From oogiejonz at yahoo.com Tue Nov 11 21:37:00 2014 From: oogiejonz at yahoo.com (Elizabeth Jones) Date: Tue, 11 Nov 2014 12:37:00 -0800 Subject: creating custom graphs Message-ID: <1415738220.49775.YahooMailNeo@web161203.mail.bf1.yahoo.com> I have some Solaris servers that I can't install the xymon binaries on so I'm going to try writing my own scripts to replicate the default xymon data. I successfully tested sending messages directly to port 1984 from my client to my xymon server, but I'm not clear on how data that is in graphs is sent/generated. For instance, if I wanted to generate a cpu graph, I can send the cpu values but I'm not sure what I would then need to do in order to generate the rrd graphs. Can anyone point me toward any documentation for this? thanks, EJ -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralphmitchell at gmail.com Tue Nov 11 22:04:51 2014 From: ralphmitchell at gmail.com (Ralph Mitchell) Date: Tue, 11 Nov 2014 16:04:51 -0500 Subject: [Xymon] creating custom graphs In-Reply-To: References: Message-ID: You might want to take a look at Jeremy Laidman's excellent xymon-rclient script: http://tools.rebel-it.com.au/xymon-rclient Nothing needs installing on the client server, as long as you can shell into it. The data for the various graphs are extracted from the client data message. Once you get the client data delivered properly, the graphs automagically appear. Ralph Mitchell On Tue, Nov 11, 2014 at 3:39 PM, Elizabeth Jones via Xymon wrote: > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon > > > ---------- Forwarded message ---------- > From: Elizabeth Jones > To: "Xymon at xymon.com" > Cc: > Date: Tue, 11 Nov 2014 12:37:00 -0800 > Subject: creating custom graphs > I have some Solaris servers that I can't install the xymon binaries on so > I'm going to try writing my own scripts to replicate the default xymon > data. I successfully tested sending messages directly to port 1984 from my > client to my xymon server, but I'm not clear on how data that is in graphs > is sent/generated. For instance, if I wanted to generate a cpu graph, I > can send the cpu values but I'm not sure what I would then need to do in > order to generate the rrd graphs. Can anyone point me toward any > documentation for this? > > thanks, > EJ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stef.coene at docum.org Wed Nov 12 09:32:48 2014 From: stef.coene at docum.org (Stef Coene) Date: Wed, 12 Nov 2014 09:32:48 +0100 Subject: [Xymon] RRD zoom issues Message-ID: <18632000.QBfxYR8JQF@scne> Hi, Since the upgrade to 4.3, we have issues when zooming in on the graphs. See the attached screen shots. It looks like the max and min values are calculated wrong when zooming in. This messes up the scaling of the graph. Does anyone sees the same behavior? Rrdtool version: 1.4.7-2ubuntu5 Xymon version: 4.3.17 Stef -------------- next part -------------- A non-text attachment was scrubbed... Name: showgraph.png Type: image/png Size: 29554 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: showgraph_zoom1.png Type: image/png Size: 27741 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: showgraph_zoom2.png Type: image/png Size: 24437 bytes Desc: not available URL: From stef.coene at docum.org Wed Nov 12 14:28:40 2014 From: stef.coene at docum.org (Stef Coene) Date: Wed, 12 Nov 2014 14:28:40 +0100 Subject: [Xymon] RRD zoom issues In-Reply-To: <18632000.QBfxYR8JQF@scne> References: <18632000.QBfxYR8JQF@scne> Message-ID: <7957227.pDSigKTNIh@scne> Hi, I also noted that https://www.xymon.com/ has the same issues. So it is not related to my specific setup. Stef From oogiejonz at yahoo.com Wed Nov 12 19:42:27 2014 From: oogiejonz at yahoo.com (Elizabeth Jones) Date: Wed, 12 Nov 2014 10:42:27 -0800 Subject: [Xymon] creating custom graphs In-Reply-To: References: Message-ID: <1415817747.21647.YahooMailNeo@web161201.mail.bf1.yahoo.com> I have a follow up question - I'm now able to get an rrd file generated on my xymon server - woot! But I don't have a graph to go along with it. I'm using data message type and this is what is in my rrd file - I'm under the impression that this should create a graph that shows up in my trends page, but no graph on trends page. The value that I'm sending is solcpu : 2 (percent cpu used). I'm guessing that is what is the the 2 field. Does anyone know what the other fields are? 0003 300 1415817304 solcpu DERIVE 600 NaN NaN 2 0.0000000000e+00 0 AVERAGE 1 ________________________________ From: Elizabeth Jones via Xymon To: "Xymon at xymon.com" Sent: Tuesday, November 11, 2014 2:39 PM Subject: [Xymon] creating custom graphs I have some Solaris servers that I can't install the xymon binaries on so I'm going to try writing my own scripts to replicate the default xymon data. I successfully tested sending messages directly to port 1984 from my client to my xymon server, but I'm not clear on how data that is in graphs is sent/generated. For instance, if I wanted to generate a cpu graph, I can send the cpu values but I'm not sure what I would then need to do in order to generate the rrd graphs. Can anyone point me toward any documentation for this? thanks, EJ _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded message was scrubbed... From: Elizabeth Jones Subject: creating custom graphs Date: Tue, 11 Nov 2014 12:37:00 -0800 Size: 5091 URL: From sgb at pics.com Wed Nov 12 19:54:27 2014 From: sgb at pics.com (Steve Brown) Date: Wed, 12 Nov 2014 18:54:27 +0000 Subject: [Xymon] creating custom graphs In-Reply-To: <1415817747.21647.YahooMailNeo@web161201.mail.bf1.yahoo.com> References: <1415817747.21647.YahooMailNeo@web161201.mail.bf1.yahoo.com> Message-ID: <9308d77c32884eff93de86a71196cc0d@BLUPR05MB151.namprd05.prod.outlook.com> If you want the graph included with the other graphs on the trends column, you must add it to the GRAPHS setting in the ~xymon/server/etc/xymonserver.cfg file. GRAPHS="la,disk,<... lots more ...>,xymonproxy,xymond,slab" You might also need to add it to the line TEST2RRD="cpu=la,disk ..." Sorry I don't know about the rrd data question. Steve From: Elizabeth Jones [mailto:oogiejonz at yahoo.com] Sent: Wednesday, November 12, 2014 12:42 PM To: Elizabeth Jones; Xymon at xymon.com Subject: Re: [Xymon] creating custom graphs I have a follow up question - I'm now able to get an rrd file generated on my xymon server - woot! But I don't have a graph to go along with it. I'm using data message type and this is what is in my rrd file - I'm under the impression that this should create a graph that shows up in my trends page, but no graph on trends page. The value that I'm sending is solcpu : 2 (percent cpu used). I'm guessing that is what is the the 2 field. Does anyone know what the other fields are? 0003 300 1415817304 solcpu DERIVE 600 NaN NaN 2 0.0000000000e+00 0 AVERAGE 1 ________________________________ From: Elizabeth Jones via Xymon > To: "Xymon at xymon.com" > Sent: Tuesday, November 11, 2014 2:39 PM Subject: [Xymon] creating custom graphs I have some Solaris servers that I can't install the xymon binaries on so I'm going to try writing my own scripts to replicate the default xymon data. I successfully tested sending messages directly to port 1984 from my client to my xymon server, but I'm not clear on how data that is in graphs is sent/generated. For instance, if I wanted to generate a cpu graph, I can send the cpu values but I'm not sure what I would then need to do in order to generate the rrd graphs. Can anyone point me toward any documentation for this? thanks, EJ _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon -------------- next part -------------- An HTML attachment was scrubbed... URL: From franchu.garcia at gmail.com Thu Nov 13 00:16:06 2014 From: franchu.garcia at gmail.com (Fran Garcia) Date: Thu, 13 Nov 2014 00:16:06 +0100 Subject: [Xymon] RRD zoom issues In-Reply-To: <7957227.pDSigKTNIh@scne> References: <18632000.QBfxYR8JQF@scne> <7957227.pDSigKTNIh@scne> Message-ID: On Wed, Nov 12, 2014 at 2:28 PM, Stef Coene wrote: > Hi, > > I also noted that https://www.xymon.com/ has the same issues. > So it is not related to my specific setup. Workaround: when you zoom-in, make sure you select *vertically* the whole graphic, as well as the horizontal section you're interested in. I'm not sure when this behaviour started, but I'm pretty sure it wasn't like this in the olden days. Never bothered to investigate it though :-) ~f From sgb at pics.com Thu Nov 13 01:13:03 2014 From: sgb at pics.com (Steve Brown) Date: Thu, 13 Nov 2014 00:13:03 +0000 Subject: [Xymon] 4.3.18 acknowledge.sh coredump Message-ID: About a week ago we upgraded from 4.1.2 to 4.3.17 we also migrated from an old RH3 server to a CentOS 7 with apache 2.4. Since then when we try to acknowledge an alert we receive the below error in the browser. Over the weekend I upgraded to 4.3.18 but that didn't change the behavior and we still receive the error. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at root at localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Here's the error log that details the error. /var/log/httpd/error_log [Mon Nov 10 10:51:30.278866 2014] [cgi:error] [pid 18672] [client x.x.x.x:64640] End of script output before headers: acknowledge.sh, referer: http://hostname.com:90/hobbit-seccgi/acknowledge.sh When I try to debug with the below script and pass it an alert number as a parameter, using the GET coredumps. When I try the "PUT", I receive a html page saying "No acks requested" export REQUEST_METHOD=GET #export REQUEST_METHOD=PUT export SCRIPT_NAME="acknowledge.sh" HNUM=$1 export QUERY_STRING="ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=${HNUM}&Send=Send" xymoncmd /home/xymon/xymon/cgi-secure/acknowledge.sh 2014-11-12 19:07:09 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg ./atest.sh: line 7: 24228 Segmentation fault (core dumped) xymoncmd /home/xymon/xymon/cgi-secure/acknowledge.sh Thanks for your help Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgb at pics.com Thu Nov 13 01:54:40 2014 From: sgb at pics.com (Steve Brown) Date: Thu, 13 Nov 2014 00:54:40 +0000 Subject: [Xymon] 4.3.18 acknowledge.sh coredump In-Reply-To: References: Message-ID: I'm not sure if I'm using gdb correctly to analyze the core dump file but it looks like acknowledge.cgi can't find acknowledge.c which only exists in the directory used to untar, configure, and make. When I view the acknowledge.c I can see "No acks requested" so that appears to be where acknowledge.cgi is pulling that from when I use the "PUT" instead of the "GET". gdb /home/xymon/xymon/server/bin/acknowledge.cgi core.21353 Reading symbols from /home/xymon/xymon/server/bin/acknowledge.cgi...done. [New LWP 21353] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/home/xymon/xymon/server/bin/acknowledge.cgi --env=/home/xymon/xymon/'. Program terminated with signal 11, Segmentation fault. #0 0x0000000000402b7a in main (argc=, argv=) at acknowledge.c:392 392 acknowledge.c: No such file or directory. (gdb) backtrace #0 0x0000000000402b7a in main (argc=, argv=) at acknowledge.c:392 From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Steve Brown Sent: Wednesday, November 12, 2014 6:13 PM To: xymon at xymon.com Subject: [Xymon] 4.3.18 acknowledge.sh coredump About a week ago we upgraded from 4.1.2 to 4.3.17 we also migrated from an old RH3 server to a CentOS 7 with apache 2.4. Since then when we try to acknowledge an alert we receive the below error in the browser. Over the weekend I upgraded to 4.3.18 but that didn't change the behavior and we still receive the error. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at root at localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Here's the error log that details the error. /var/log/httpd/error_log [Mon Nov 10 10:51:30.278866 2014] [cgi:error] [pid 18672] [client x.x.x.x:64640] End of script output before headers: acknowledge.sh, referer: http://hostname.com:90/hobbit-seccgi/acknowledge.sh When I try to debug with the below script and pass it an alert number as a parameter, using the GET coredumps. When I try the "PUT", I receive a html page saying "No acks requested" export REQUEST_METHOD=GET #export REQUEST_METHOD=PUT export SCRIPT_NAME="acknowledge.sh" HNUM=$1 export QUERY_STRING="ACTION=Ack&DELAY=480&MESSAGE=AckByLink&NUMBER=${HNUM}&Send=Send" xymoncmd /home/xymon/xymon/cgi-secure/acknowledge.sh 2014-11-12 19:07:09 Using default environment file /home/xymon/xymon/server/etc/xymonserver.cfg ./atest.sh: line 7: 24228 Segmentation fault (core dumped) xymoncmd /home/xymon/xymon/cgi-secure/acknowledge.sh Thanks for your help Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralphmitchell at gmail.com Thu Nov 13 05:16:57 2014 From: ralphmitchell at gmail.com (Ralph Mitchell) Date: Wed, 12 Nov 2014 23:16:57 -0500 Subject: [Xymon] creating custom graphs In-Reply-To: <9308d77c32884eff93de86a71196cc0d@BLUPR05MB151.namprd05.prod.outlook.com> References: <1415817747.21647.YahooMailNeo@web161201.mail.bf1.yahoo.com> <9308d77c32884eff93de86a71196cc0d@BLUPR05MB151.namprd05.prod.outlook.com> Message-ID: The whole "solcpu" DS block describes the data set being collected. You'll need to check the manual pages on creating custom graphs and create an entry in server/etc/graphs.cfg to match the column name and the solcpu DS that you're reporting. Ralph Mitchell On Wed, Nov 12, 2014 at 1:54 PM, Steve Brown wrote: > If you want the graph included with the other graphs on the trends > column, you must add it to the GRAPHS setting in the > ~xymon/server/etc/xymonserver.cfg file. > > GRAPHS="la,disk,<... lots more ...>,xymonproxy,xymond,slab" > > You might also need to add it to the line > > TEST2RRD="cpu=la,disk …” > > > > Sorry I don’t know about the rrd data question. > > Steve > > > > *From:* Elizabeth Jones [mailto:oogiejonz at yahoo.com] > *Sent:* Wednesday, November 12, 2014 12:42 PM > *To:* Elizabeth Jones; Xymon at xymon.com > *Subject:* Re: [Xymon] creating custom graphs > > > > I have a follow up question - I'm now able to get an rrd file generated on > my xymon server - woot! But I don't have a graph to go along with it. I'm > using data message type and this is what is in my rrd file - I'm under the > impression that this should create a graph that shows up in my trends page, > but no graph on trends page. The value that I'm sending is solcpu : 2 > (percent cpu used). I'm guessing that is what is the the 2 > field. Does anyone know what the other fields are? > > > > > > 0003 > 300 > 1415817304 > > > solcpu > DERIVE > 600 > NaN > NaN > > > 2 > 0.0000000000e+00 > 0 > > > > AVERAGE > 1 > > > > > ------------------------------ > > *From:* Elizabeth Jones via Xymon > *To:* "Xymon at xymon.com" > *Sent:* Tuesday, November 11, 2014 2:39 PM > *Subject:* [Xymon] creating custom graphs > > > > I have some Solaris servers that I can't install the xymon binaries on so > I'm going to try writing my own scripts to replicate the default xymon > data. I successfully tested sending messages directly to port 1984 from my > client to my xymon server, but I'm not clear on how data that is in graphs > is sent/generated. For instance, if I wanted to generate a cpu graph, I > can send the cpu values but I'm not sure what I would then need to do in > order to generate the rrd graphs. Can anyone point me toward any > documentation for this? > > > > thanks, > EJ > > > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon > > > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at shadowsoft.com Thu Nov 13 05:37:02 2014 From: paul at shadowsoft.com (Jacob Paul Jordan) Date: Wed, 12 Nov 2014 22:37:02 -0600 Subject: [Xymon] Fwd: Re: How to handle SSL Cert Clients with same hostname reporting to xymon In-Reply-To: <546433C3.4010702@shadowsoft.com> References: <546433C3.4010702@shadowsoft.com> Message-ID: <5464356E.5010502@shadowsoft.com> I replied to zep instead of forum. Paul -------- Original Message -------- Subject: Re: [Xymon] How to handle SSL Cert Clients with same hostname reporting to xymon Date: Wed, 12 Nov 2014 22:29:55 -0600 From: Jacob Paul Jordan To: zep the ssl certs are tied to the hostname of the machine (not apache) apparently. Also are you talking about the bbhosts file for the config. I currently the following hosts that need to be changed to login.publicdata.com as they will have the same ssl cert The current client name is the hostname of the machine. All four need to be login.publicdata.com. But if I do that, the certs work but xymon gets very grumpy and quits reporting data for any of them. 192.168.142.104 www4 # testiphttp://192.168.142.104 CLIENT:104SHADOW apache=http://192.168.142.104/server-status?auto 192.168.142.105 www5 # testiphttp://192.168.142.105 CLIENT:105SHADOW apache=http://192.168.142.105/server-status?auto 192.168.142.106 www6 # testiphttp://192.168.142.106 CLIENT:106SHADOW apache=http://192.168.142.106/server-status?auto 192.168.142.117 login # testiphttp://192.168.142.117 CLIENT:login.publicdata.com apache=http://192.168.142.117/server-status?auto Paul On 11/3/2014 4:37 PM, zep wrote: > On 11/03/2014 04:47 PM, Jacob Paul Jordan wrote: >> Folks, >> I have a Godaddy cert that is suppose to work on multiple servers BUT >> they must have the same hostname. If I put the same hostname on the >> servers the Cert works but xymon is not happy. Is there a way to >> collect data from 3 different ips that have the same hostname and they >> report separately? >> Paul Jordan >> >> _______________________________________________ >> Xymon mailing list >> Xymon at xymon.com >> http://lists.xymon.com/mailman/listinfo/xymon > I believe the expected config is to have something like: > ssl hostname set foobar.tld.net > hosts foobar01, foobar02, foobar03 .... etc .tld.net > apache/whatever http server you're using on host foobar01 configured to > set 'ServerName' to foobar.tld.net [just the apache server set to this, > not the whole host] and repeated through the rest of your complex. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Galen.Johnson at sas.com Thu Nov 13 06:46:41 2014 From: Galen.Johnson at sas.com (Galen Johnson) Date: Thu, 13 Nov 2014 05:46:41 +0000 Subject: [Xymon] Fwd: Re: How to handle SSL Cert Clients with same hostname reporting to xymon In-Reply-To: <5464356E.5010502@shadowsoft.com> References: <546433C3.4010702@shadowsoft.com>, <5464356E.5010502@shadowsoft.com> Message-ID: <1415857603924.18949@sas.com> I believe you want something like (I needed to do something similar): 192.168.142.104 www4 # testip http://login.publicdata.com=192.168.142.104/ ... =G= ________________________________ From: Xymon on behalf of Jacob Paul Jordan Sent: Wednesday, November 12, 2014 11:37 PM To: xymon at xymon.com Subject: [Xymon] Fwd: Re: How to handle SSL Cert Clients with same hostname reporting to xymon I replied to zep instead of forum. Paul -------- Original Message -------- Subject: Re: [Xymon] How to handle SSL Cert Clients with same hostname reporting to xymon Date: Wed, 12 Nov 2014 22:29:55 -0600 From: Jacob Paul Jordan To: zep the ssl certs are tied to the hostname of the machine (not apache) apparently. Also are you talking about the bbhosts file for the config. I currently the following hosts that need to be changed to login.publicdata.com as they will have the same ssl cert The current client name is the hostname of the machine. All four need to be login.publicdata.com. But if I do that, the certs work but xymon gets very grumpy and quits reporting data for any of them. 192.168.142.104 www4 # testip http://192.168.142.104 CLIENT:104SHADOW apache=http://192.168.142.104/server-status?auto 192.168.142.105 www5 # testip http://192.168.142.105 CLIENT:105SHADOW apache=http://192.168.142.105/server-status?auto 192.168.142.106 www6 # testip http://192.168.142.106 CLIENT:106SHADOW apache=http://192.168.142.106/server-status?auto 192.168.142.117 login # testip http://192.168.142.117 CLIENT:login.publicdata.com apache=http://192.168.142.117/server-status?auto Paul On 11/3/2014 4:37 PM, zep wrote: On 11/03/2014 04:47 PM, Jacob Paul Jordan wrote: Folks, I have a Godaddy cert that is suppose to work on multiple servers BUT they must have the same hostname. If I put the same hostname on the servers the Cert works but xymon is not happy. Is there a way to collect data from 3 different ips that have the same hostname and they report separately? Paul Jordan _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon I believe the expected config is to have something like: ssl hostname set foobar.tld.net hosts foobar01, foobar02, foobar03 .... etc .tld.net apache/whatever http server you're using on host foobar01 configured to set 'ServerName' to foobar.tld.net [just the apache server set to this, not the whole host] and repeated through the rest of your complex. -------------- next part -------------- An HTML attachment was scrubbed... URL: From stef.coene at docum.org Thu Nov 13 08:40:50 2014 From: stef.coene at docum.org (Stef Coene) Date: Thu, 13 Nov 2014 08:40:50 +0100 Subject: [Xymon] RRD zoom issues In-Reply-To: References: <18632000.QBfxYR8JQF@scne> <7957227.pDSigKTNIh@scne> Message-ID: <3772027.Tgk8GTrG2Z@scne> On Thursday 13 November 2014 00:16:06 Fran Garcia wrote: > On Wed, Nov 12, 2014 at 2:28 PM, Stef Coene wrote: > > Hi, > > > > I also noted that https://www.xymon.com/ has the same issues. > > So it is not related to my specific setup. > > Workaround: when you zoom-in, make sure you select *vertically* the > whole graphic, as well as the horizontal section you're interested in. > > I'm not sure when this behaviour started, but I'm pretty sure it > wasn't like this in the olden days. Never bothered to investigate it > though :-) Nice catch! Thx for the work around. I also found out that you can remove upper and lower from the url. Stef From stef.coene at docum.org Thu Nov 13 08:56:21 2014 From: stef.coene at docum.org (Stef Coene) Date: Thu, 13 Nov 2014 08:56:21 +0100 Subject: [Xymon] RRD zoom issues In-Reply-To: References: <18632000.QBfxYR8JQF@scne> <7957227.pDSigKTNIh@scne> Message-ID: <41649530.2jIWMoYMhU@scne> On Thursday 13 November 2014 00:16:06 Fran Garcia wrote: > On Wed, Nov 12, 2014 at 2:28 PM, Stef Coene wrote: > > Hi, > > > > I also noted that https://www.xymon.com/ has the same issues. > > So it is not related to my specific setup. > > Workaround: when you zoom-in, make sure you select *vertically* the > whole graphic, as well as the horizontal section you're interested in. > > I'm not sure when this behaviour started, but I'm pretty sure it > wasn't like this in the olden days. Never bothered to investigate it > though :-) A better fix is editing file zoom.js and comment out line 688: // newURL = newURL + "&upper=" + newGraphTop + "&lower=" + newGraphBottom; Stef From oogiejonz at yahoo.com Thu Nov 13 22:10:17 2014 From: oogiejonz at yahoo.com (Elizabeth Jones) Date: Thu, 13 Nov 2014 13:10:17 -0800 Subject: Using the disk graph definitions Message-ID: <1415913017.12112.YahooMailNeo@web161201.mail.bf1.yahoo.com> I'm now trying to figure out how I can generate disk usage graphs using the disk definitions that are already in xymonserver.cfg and graphs.cfg. I'm clearly not doing something right because I'm not receiving any disk rrd files. For my test, I'm trying to send this from my command line - /home/xymon/xymon.sh 192.50.150.12 "data server0,mycompany,com.disk \n pct : 65" I took the xymon.sh script from a post that I found in the mail archives here - ( echo "$2"; sleep 1 ) | telnet $1 1984 2>&1 >/dev/null | grep -v "closed by foreign host" This works perfectly for generating cpu usage graphs with a variable that I created, solcpu: /home/xymon/xymon.sh 192.50.150.12 "data server0,mycompany.com.solcpu \n solcpu : 90" I get an rrd file named solcpu.rrd and I'm able to generate a graph by just adding solcpu to xymonserver.cfg and graphs.cfg. So I thought if I sent the same type of data stream but instead used server0,mycompany,com.disk \n pct : 65 - this would be recognized by the disk section in xymonserver.cfg and graphs.cfg. But no disk.rrd file is being generated in my rrd directory. I see in other server directories that the files that are created are disk,root.rrd or disk,opt.rrd so maybe I need to do something to shovel the disk volume name into my string somehow? EJ -------------- next part -------------- An HTML attachment was scrubbed... URL: From everett.vernon at gmail.com Fri Nov 14 04:43:53 2014 From: everett.vernon at gmail.com (Vernon Everett) Date: Fri, 14 Nov 2014 11:43:53 +0800 Subject: [Xymon] rrd logs and graphs Message-ID: Hi all Am busy trying to investigate a curious problem with rrd graphs, and I stumbled on something else I don't understand, and was hoping somebody out there could help. As part of my investigation, I added --debug to the [rrdstatus] and [rrddata] entries on the server tasks.cfg And the logs started showing heaps of the message 2014-11-14 10:41:36 Peer not up, flushing message queue What is that? It doesn't look right to me. I might as well explain why I am doing this. I am running an experimental script, zresources.ksh Its supposed to allow me to graph the resources being used by individual zones on Solaris. Here's part of the code $XYMON $XYMSRV "status $MACHINE.zmem green $(date) $OUT " $XYMON $XYMSRV "data $MACHINE.zmem $COLOR $(echo; cat "$TEMPFILE.mem" ;echo;echo)" $XYMON $XYMSRV "data $MACHINE.zcpu $COLOR $(echo; cat "$TEMPFILE.cpu" ;echo;echo)" $XYMON $XYMSRV "data $MACHINE.zswap $COLOR $(echo; cat "$TEMPFILE.swap" ;echo;echo)" echo $XYMON $XYMSRV "status $MACHINE.zmem green $(date) $OUT " echo $XYMON $XYMSRV "data $MACHINE.zmem $COLOR $(echo; cat "$TEMPFILE.mem" ;echo;echo)" echo $XYMON $XYMSRV "data $MACHINE.zcpu $COLOR $(echo; cat "$TEMPFILE.cpu" ;echo;echo)" echo $XYMON $XYMSRV "data $MACHINE.zswap $COLOR $(echo; cat "$TEMPFILE.swap" ;echo;echo)" cat $TEMPFILE.swap cat $TEMPFILE.cpu cat $TEMPFILE.mem The first 4 lines are "real" and the rest I added for debug. It's supposed to send data containing the zone names, and the amount of resources it's using. global : 293 zone1 : 575 zone2 : 899 zone3 : 754 All good, it makes nice pretty graphs and what have you. And I expect and get rrd files as follows zmem,global.rrd zcpu,global.rrd zswap,global.rrd zmem,zone1.rrd zcpu,zone.rrd zswap,zone1.rrd etc.etc. Except every now and then, I get something like zmem,c2t0d1.rrd I get others too, like zmem,rmt_0 and sometimes even with database SIDs too. And not just for zmem, for zcpu and zswap with about equal frequency. And often, the database SID is not even a database running on that host! I look inside the rrd file, with rrdtool dump, and there will usualy be only a single data point. Looking in the client logs, which contains the output of the debug code above, there is no indication that the client ever sent any data using anything else but the zone names. So where are these spurious data points coming from? Has anybody seen anything like this? Regards Vernon -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.fornasiere at gmail.com Fri Nov 14 08:59:54 2014 From: s.fornasiere at gmail.com (Simone Fornasiere) Date: Fri, 14 Nov 2014 08:59:54 +0100 Subject: [Xymon] Change event list table layout Message-ID: Hi, I'm changing the layout of Xymon (html ,css and icons) to a better looking and polished experience. I cannot find where is generated the table of events report, I would like to change it's default blue/black color... it's possible that it's coded under some cgi? Thank you. -- Simone Fornasiere -------------- next part -------------- An HTML attachment was scrubbed... URL: From danger at tbaisd.org Fri Nov 14 18:51:56 2014 From: danger at tbaisd.org (Doug Anger) Date: Fri, 14 Nov 2014 17:51:56 +0000 Subject: [Xymon] Client-side data is received but not displayed. Message-ID: <46C3290D8474C140AB081170E4434A490106FB030F@MAIL-TBAISD.tbaisd.k12.mi.us> This may be a newbie question, but I have searched the documentation and forums and not found a solution. I have Xymon monitoring a couple dozen servers. Recently I installed the BBWin client on some of the Windows servers. In most cases this is working flawlessly. However, I have two instances where the data reported by the client is not being displayed in Xymon. I have checked that the hostnames are correct in hosts.cfg and the client-side configuration. No clients are appearing in the Ghost Clients report. Furthermore, I know that my Xymon server is receiving data from these clients because when I click on the conn status the "Client Data available" link appears and I can see the raw data sent by the client and received by Xymon. Except for hostname, there are no differences in configuration between the servers that display and those that don't. I am running a standard install of Xymon 4.3.7 on Ubuntu 14.04 LTS. Any advice or ideas would be most appreciated. Thank you. Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From novosirj at ca.rutgers.edu Fri Nov 14 19:37:27 2014 From: novosirj at ca.rutgers.edu (Novosielski, Ryan) Date: Fri, 14 Nov 2014 13:37:27 -0500 Subject: [Xymon] Client-side data is received but not displayed. In-Reply-To: <46C3290D8474C140AB081170E4434A490106FB030F@MAIL-TBAISD.tbaisd.k12.mi.us> References: <46C3290D8474C140AB081170E4434A490106FB030F@MAIL-TBAISD.tbaisd.k12.mi.us> Message-ID: <9743AC54-C120-4CA2-A894-F21DDD1AA207@rutgers.edu> > On Nov 14, 2014, at 12:51 PM, Doug Anger wrote: > > This may be a newbie question, but I have searched the documentation and forums and not found a solution. > > I have Xymon monitoring a couple dozen servers. Recently I installed the BBWin client on some of the Windows servers. In most cases this is working flawlessly. However, I have two instances where the data reported by the client is not being displayed in Xymon. > > I have checked that the hostnames are correct in hosts.cfg and the client-side configuration. No clients are appearing in the Ghost Clients report. > > Furthermore, I know that my Xymon server is receiving data from these clients because when I click on the conn status the “Client Data available” link appears and I can see the raw data sent by the client and received by Xymon. Except for hostname, there are no differences in configuration between the servers that display and those that don’t. > > I am running a standard install of Xymon 4.3.7 on Ubuntu 14.04 LTS. > > Any advice or ideas would be most appreciated. Doug, I don’t have an answer for you but I can confirm that you’ve found everything that I’d say it could be just off the top of my head. It’s almost always a ghost client situation when someone asks. Does BBWin log anything? I can’t recall — I haven’t used it much. -- ____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences* || \\UTGERS |---------------------*O*--------------------- ||_// Biomedical | Ryan Novosielski - Senior Technologist || \\ and Health | novosirj at rutgers.edu - 973/972.0922 (2x0922) || \\ Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark `' From javasant at in.ibm.com Sat Nov 15 11:48:52 2014 From: javasant at in.ibm.com (Jayakumar S Vasanthakumar) Date: Sat, 15 Nov 2014 16:18:52 +0530 Subject: [Xymon] Hobbit server and client config Message-ID: Team, Can you please provide the documentation for Hobbit server and client configuration ? At moment one of our client server disk alert shows in purple color, and not triggering the disk alert for that particular server, if you would help that will be greatly appreciated. Thank you. Jayakumar Vasanthakumar IT Specialist Linux GTS SO Delivery Phone: 91-4342-5536 | Mobile: 91-9789-056-860 | Tie-Line: 25536 E-mail: javasant at in.ibm.com Blk 7, 3f & 4f And Blk 1a, Gf Chennai, TN 600089 India -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 360 bytes Desc: not available URL: From waa-hobbitml at revpol.com Sat Nov 15 22:23:58 2014 From: waa-hobbitml at revpol.com (Bill Arlofski) Date: Sat, 15 Nov 2014 16:23:58 -0500 Subject: [Xymon] nginx as the web server In-Reply-To: <54623F03.8020709@revpol.com> References: <1384282392.9469.46559285.416BDE44@webmail.messagingengine.com> <1415634750.1382728.189226045.5C74454A@webmail.messagingengine.com> <5461798F.1010104@revpol.com> <1415714288.1676310.189647901.36EFCDEB@webmail.messagingengine.com> <54623F03.8020709@revpol.com> Message-ID: <5467C46E.3020408@revpol.com> On 11/11/2014 11:53 AM, Bill Arlofski wrote: > On 11/11/2014 08:58 AM, Mark Felder wrote: >> >> >> On Mon, Nov 10, 2014, at 20:50, Bill Arlofski wrote: >>> >>> Turns out I had to add a line: >>> >>> fastcgi_param REMOTE_USER $remote_user; >>> >>> To the configuration. Hope this helps someone else. (Thanks Matt) >>> >> >> Ahh, that's annoying. Didn't notice REMOTE_USER isn't in the default >> fastcgi_params that ships with nginx. I'll throw that on my blog post. > > Oh cool. Glad I (and my friend Matt) could help .:) > > >>> I still can not get the Critical Systems editor CGI to work under nginx >>> though. >>> >> >> Which part isn't working? I have never used it personally, but it >> appears functional to me. > > Hi Mark, > > When I try to add a host/test to the list and click "update record" nothing > happens, and the host/test is not added. The page does (quickly) reload > though, with the host and test pre-filled in. > > Keep in mind, that for this to work quickly while testing, and have something > show up in the critical systems page, I choose a test that is currently red or > yellow and attempt to add it. :) > > Also, you can get a quick indication that it worked or didn't by setting the > host/test in the form and clicking search after attempting to add it. A popup > will tell you if the host was not found. > > > Under apache, when I add a host/test and click "update record", I get a popup > that says (something like) "record added" > > nginx logs show http 200 results on submission of the form, so there is not > much I have to go on. > > Thanks for any help with this. > > Bill Mark, list, et al OK, I see what the problem is (was). When you run the configure script for Xymon, it asks you what user name your web server is running under. This is so that when you run: make install it know what ownerships to set on some of the dirs in the www directory (notes, snap, rep) and on the ~xymon/server/etc/critical.cfg file. My critical.cfg file was 664 apache:apache from when I answered the "what user does your web server run under" question on a previous install/upgrade. I just changed my web server from apache to nginx, and of course the username that nginx runs under is not "apache". ;) I had caught this on the snap and rep dirs in www, but completely missed the critical.cfg file in etc. So this is 100% working under nginx now, but my only concern is that I got no indication in any logs that the webserver (nginx) could not write to the critical.cfg file, so that is kind of interesting. Hopefully, sharing my embarrassment will same someone else the trouble. :) Bill -- Bill Arlofski Reverse Polarity, LLC http://www.revpol.com/ -- Not responsible for anything below this line -- From jlaidman at rebel-it.com.au Mon Nov 17 00:53:20 2014 From: jlaidman at rebel-it.com.au (Jeremy Laidman) Date: Mon, 17 Nov 2014 10:53:20 +1100 Subject: [Xymon] RRD zoom issues In-Reply-To: <41649530.2jIWMoYMhU@scne> References: <18632000.QBfxYR8JQF@scne> <7957227.pDSigKTNIh@scne> <41649530.2jIWMoYMhU@scne> Message-ID: I've seen this problem in the past, with an old version of Hobbit when used with the Chrome browser, whereas there were no problems with IE. Have you tried with a different browser? The xymon.com website works fine for me, in both IE and Chrome. J On 13 November 2014 18:56, Stef Coene wrote: > On Thursday 13 November 2014 00:16:06 Fran Garcia wrote: > > On Wed, Nov 12, 2014 at 2:28 PM, Stef Coene > wrote: > > > Hi, > > > > > > I also noted that https://www.xymon.com/ has the same issues. > > > So it is not related to my specific setup. > > > > Workaround: when you zoom-in, make sure you select *vertically* the > > whole graphic, as well as the horizontal section you're interested in. > > > > I'm not sure when this behaviour started, but I'm pretty sure it > > wasn't like this in the olden days. Never bothered to investigate it > > though :-) > A better fix is editing file zoom.js and comment out line 688: > // newURL = newURL + "&upper=" + newGraphTop + "&lower=" + newGraphBottom; > > > Stef > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon > -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.baldwin at ausport.gov.au Mon Nov 17 02:09:50 2014 From: david.baldwin at ausport.gov.au (David Baldwin) Date: Mon, 17 Nov 2014 12:09:50 +1100 Subject: [Xymon] Client-side data is received but not displayed. In-Reply-To: <46C3290D8474C140AB081170E4434A490106FB030F@MAIL-TBAISD.tbaisd.k12.mi.us> References: <46C3290D8474C140AB081170E4434A490106FB030F@MAIL-TBAISD.tbaisd.k12.mi.us> Message-ID: <54694ADE.4030702@ausport.gov.au> Doug, If the client message is too big, which can easily happen with BBWin if it encounters copious event logs, then you will see messages in the server log file (xymond.log) like "data flooding from client x.x.x.x" This can be worked around - easiest way is to manually create the BBWin\tmp\clientlocal.cfg file as per [win32] section in client-local.cfg on xymon server. David. > > This may be a newbie question, but I have searched the documentation > and forums and not found a solution. > > I have Xymon monitoring a couple dozen servers. Recently I installed > the BBWin client on some of the Windows servers. In most cases this is > working flawlessly. However, I have two instances where the data > reported by the client is not being displayed in Xymon. > > I have checked that the hostnames are correct in hosts.cfg and the > client-side configuration. No clients are appearing in the Ghost > Clients report. > > Furthermore, I know that my Xymon server is receiving data from these > clients because when I click on the conn status the “Client Data > available” link appears and I can see the raw data sent by the client > and received by Xymon. Except for hostname, there are no differences > in configuration between the servers that display and those that don’t. > > I am running a standard install of Xymon 4.3.7 on Ubuntu 14.04 LTS. > > Any advice or ideas would be most appreciated. > > Thank you. > > Doug > > > > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon -- David Baldwin - Senior Systems Administrator (Datacentres + Networks) Information and Communication Technology Services Australian Sports Commission http://ausport.gov.au Tel 02 62147266 Fax 02 62141830 PO Box 176 Belconnen ACT 2616 david.baldwin at ausport.gov.au 1 Leverrier Street Bruce ACT 2617 Our Values: RESPECT + INTEGRITY + TEAMWORK + EXCELLENCE ------------------------------------------------------------------------------------- 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. ------------------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlaidman at rebel-it.com.au Mon Nov 17 04:44:17 2014 From: jlaidman at rebel-it.com.au (Jeremy Laidman) Date: Mon, 17 Nov 2014 14:44:17 +1100 Subject: [Xymon] Using the disk graph definitions In-Reply-To: References: Message-ID: On 14 November 2014 08:13, Elizabeth Jones via Xymon wrote: > So I thought if I sent the same type of data stream but instead used > server0,mycompany,com.disk \n pct : 65 - this would be recognized by the > disk section in xymonserver.cfg and graphs.cfg. > I would guess that it doesn't work because the "disk" status is special, having its own dedicated parser within the Xymon client processing code. Xymon has special processing to parse disk usage data from the client message, and it if comes in via another mechanism, it might not work as expected. If you're sending NCV data, you probably need TEST2RRD to have "disk=ncv" so that the NCV parser will know to look for NCV format strings, but doing so might break processing for other disk data from real Xymon clients. I think there are more problems with what you're trying to do. For the graph definition to work, the disk files need to be separated for each filesystem, so that you get "disk,root.rrd", "disk,home.rrd" and similar. So this suggests that you need to use SPLITNCV, otherwise all of the data will go into a single RRD file. When you use SPLITNCV, it creates the RRD files, but uses the dataset name "lambda" instead of "pct". If you want to be able to specify the dataset name, you can't use SPLITNCV, and so you'd end up with one RRD file. So I think you can't succeed using the path you've started down. >From my understanding of the way Xymon normally does this for filesystem usage is as follows. The Xymon client (which you can't install) builds up a "client" type message containing (among others) a "[df]" section with the "df" output run on the client machine. This client message is sent to the Xymon server, where xymond gives it to an instance of xymond_client (via xymond_channel) for parsing and analysis. The way it's parsed depends on the OS of the client machine, and each supported OS has dedicated code that parses various client message sections in a way that's appropriate to that OS. After analysing the "df" section from the client message, xymond_client creates a disk report with the results of its analysis. This report includes the status of disk usage compared against thresholds. The disk report is sent back (via localhost:1984) to xymond in a disk "status" message, for display on the "disk" test page for the server. The "status" message is directed to xymond_rrd (via xymond_channel) where it is parsed for numbers and filesystem names, which are given to the RRD library to create/update the RRD file. So there are several points at which you could potentially inject your own "disk" message: 1) Create your own "client" message complete with a "[df]" section, and send to the server. This is what my xymon-rclient does. 2) Create your own disk report in a disk "status" message, and send to the server. As long as it's formatted in a way that Xymon can parse, it'll create both the status message and the RRD data. 3) Create your own NCV data to feed into xymond_rrd in a status message (or the equivalent "trends" message). This seems to be what you're trying to do. I don't think this will provide you with a "disk" dot, so you'll only be able to see the graph on the trends page, and I don't think you can overcome the issues I raised above. The simplest thing to get just the disk usage, would be to create a client message. But it's probably easier, and provides more data for you, to use my xymon-rclient. J -------------- next part -------------- An HTML attachment was scrubbed... URL: From stef.coene at docum.org Mon Nov 17 08:30:30 2014 From: stef.coene at docum.org (Stef Coene) Date: Mon, 17 Nov 2014 08:30:30 +0100 Subject: [Xymon] RRD zoom issues In-Reply-To: References: <18632000.QBfxYR8JQF@scne> <41649530.2jIWMoYMhU@scne> Message-ID: <1472855.dWqbGpn6UP@scne> On Monday 17 November 2014 10:53:20 you wrote: > I've seen this problem in the past, with an old version of Hobbit when used > with the Chrome browser, whereas there were no problems with IE. Have you > tried with a different browser? > > The xymon.com website works fine for me, in both IE and Chrome. It's not the zoom itself. But the new zoom scripts also use the upper and lower points as zoom points. So it not only zooms the X time scale, but also the Y max and min values. Stef From Paul.Root at CenturyLink.com Mon Nov 17 16:06:58 2014 From: Paul.Root at CenturyLink.com (Root, Paul T) Date: Mon, 17 Nov 2014 15:06:58 +0000 Subject: [Xymon] False notifications Message-ID: Hi, I have xymon 4.3.10 on Centos 5.11, and have for more than a year. There is one master and 2 proxies on an isolated network. Only one proxy sends to the master at a time, and manual intervention is required to switch the forwarding of the proxy. Twice in the last month or two, I've had my oncall paging me that xymon is paging (and repeating every 30 minutes - as per alerts.cfg) on a test that is green in xymon, and actually never went red, yellow, or purple. The first time, the oncall even disabled the green test, but to no avail. I see in the notification log that the email goes out. But there is no alarm on the system. My only course of action was to restart xymon. There were some weird things happening Sunday morning in the Cyber Center. And we had a weekly Xymon test on all our linux machines fail to report around the time that the problem started. But the gui was displaying green for the test that was paging (which has a 5 minute status life). Paul. Paul Root Lead Engineer CenturyLink Network Reliability Operations Center 600 Stinson Blvd, N.E. Flr 2N Minneapolis, MN 55413 Direct: (651)312-5207 Paul.Root at centurylink.com 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From feld at feld.me Mon Nov 17 17:56:00 2014 From: feld at feld.me (Mark Felder) Date: Mon, 17 Nov 2014 10:56:00 -0600 Subject: [Xymon] nginx as the web server In-Reply-To: <5467C46E.3020408@revpol.com> References: <1384282392.9469.46559285.416BDE44@webmail.messagingengine.com> <1415634750.1382728.189226045.5C74454A@webmail.messagingengine.com> <5461798F.1010104@revpol.com> <1415714288.1676310.189647901.36EFCDEB@webmail.messagingengine.com> <54623F03.8020709@revpol.com> <5467C46E.3020408@revpol.com> Message-ID: <1416243360.43372.192018241.700E69AE@webmail.messagingengine.com> On Sat, Nov 15, 2014, at 15:23, Bill Arlofski wrote: > > > > Mark, list, et al > > OK, I see what the problem is (was). > > When you run the configure script for Xymon, it asks you what user name > your > web server is running under. > > This is so that when you run: > > make install > > it know what ownerships to set on some of the dirs in the www directory > (notes, snap, rep) and on the ~xymon/server/etc/critical.cfg file. > > My critical.cfg file was 664 apache:apache from when I answered the "what > user > does your web server run under" question on a previous install/upgrade. > > I just changed my web server from apache to nginx, and of course the > username > that nginx runs under is not "apache". ;) > > I had caught this on the snap and rep dirs in www, but completely missed > the > critical.cfg file in etc. > > So this is 100% working under nginx now, but my only concern is that I > got no > indication in any logs that the webserver (nginx) could not write to the > critical.cfg file, so that is kind of interesting. > > Hopefully, sharing my embarrassment will same someone else the trouble. > :) > This is good info. I don't do manual installs -- I install it from FreeBSD ports which handles the configuration of Xymon automatically. And FreeBSD shares the user/group "www" between Apache and Nginx, which avoids this problem. From jlaidman at rebel-it.com.au Tue Nov 18 01:05:45 2014 From: jlaidman at rebel-it.com.au (Jeremy Laidman) Date: Tue, 18 Nov 2014 11:05:45 +1100 Subject: [Xymon] RRD zoom issues In-Reply-To: <1472855.dWqbGpn6UP@scne> References: <18632000.QBfxYR8JQF@scne> <41649530.2jIWMoYMhU@scne> <1472855.dWqbGpn6UP@scne> Message-ID: On 17 November 2014 18:30, Stef Coene wrote: > It's not the zoom itself. But the new zoom scripts also use the upper and > lower points as zoom points. So it not only zooms the X time scale, but > also > the Y max and min values. > And you don't want this feature? -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave at collegenet.com Tue Nov 18 19:04:17 2014 From: dave at collegenet.com (David Fogarty) Date: Tue, 18 Nov 2014 10:04:17 -0800 (PST) Subject: [Xymon] Too many alerts per host Message-ID: Hi, Is there a way to receive only one alert when a host goes red/purple, rather than a bunch? It's frustrating to receive 5+ pages when only one is needed. It's especially frustrating when you pull 4 hosts offline and accidentally send 20+ pages to your team. BigBrother did this with "pagetype: HOST". The only options I see in Xymon are adding an elaborate set of dependencies that will be cumbersome to maintain, or alerting through SCRIPT with some form of smart locking in that script. Thanks, Dave Fogarty -- Senior System Administrator CollegeNET.com From stef.coene at docum.org Tue Nov 18 19:25:19 2014 From: stef.coene at docum.org (Stef Coene) Date: Tue, 18 Nov 2014 19:25:19 +0100 Subject: [Xymon] Too many alerts per host In-Reply-To: References: Message-ID: <4388697.rD5ia0AcJs@scne> On Tuesday 18 November 2014 10:04:17 David Fogarty wrote: > Hi, > Is there a way to receive only one alert when a host goes red/purple, > rather than a bunch? It's frustrating to receive 5+ pages when only one > is needed. It's especially frustrating when you pull 4 hosts offline and > accidentally send 20+ pages to your team. > > BigBrother did this with "pagetype: HOST". > > The only options I see in Xymon are adding an elaborate set of > dependencies that will be cumbersome to maintain, or alerting through > SCRIPT with some form of smart locking in that script. We use an external scripts for alerting. The script uses a lock file and only if the lock file is older then 5 minutes, the alert is processed. Stef From Galen.Johnson at sas.com Tue Nov 18 20:10:00 2014 From: Galen.Johnson at sas.com (Galen Johnson) Date: Tue, 18 Nov 2014 19:10:00 +0000 Subject: [Xymon] Too many alerts per host In-Reply-To: <4388697.rD5ia0AcJs@scne> References: , <4388697.rD5ia0AcJs@scne> Message-ID: <1416337793411.97099@sas.com> In theory, I thought you were supposed to be able to set up alerts based on HOST= or CLASS=. I've had some issues with them, though. I think for CLASS to work I may have to define the class at the xymon client side as well...not just host.cfg...which would make that more difficult to manage since I can't just use a generic xymon client. =G= ________________________________________ From: Xymon on behalf of Stef Coene Sent: Tuesday, November 18, 2014 1:25 PM To: xymon at xymon.com Subject: Re: [Xymon] Too many alerts per host On Tuesday 18 November 2014 10:04:17 David Fogarty wrote: > Hi, > Is there a way to receive only one alert when a host goes red/purple, > rather than a bunch? It's frustrating to receive 5+ pages when only one > is needed. It's especially frustrating when you pull 4 hosts offline and > accidentally send 20+ pages to your team. > > BigBrother did this with "pagetype: HOST". > > The only options I see in Xymon are adding an elaborate set of > dependencies that will be cumbersome to maintain, or alerting through > SCRIPT with some form of smart locking in that script. We use an external scripts for alerting. The script uses a lock file and only if the lock file is older then 5 minutes, the alert is processed. Stef _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon From dave at collegenet.com Tue Nov 18 20:16:51 2014 From: dave at collegenet.com (David Fogarty) Date: Tue, 18 Nov 2014 11:16:51 -0800 (PST) Subject: [Xymon] Too many alerts per host In-Reply-To: <1416337793411.97099@sas.com> References: , <4388697.rD5ia0AcJs@scne> <1416337793411.97099@sas.com> Message-ID: That only defines which host or class of host gets any pages at all. It does nothing to reduce the amount of paging for any given event. Dave Fogarty -- Senior System Administrator CollegeNET.com On Tue, 18 Nov 2014, Galen Johnson wrote: > In theory, I thought you were supposed to be able to set up alerts based > on HOST= or CLASS=. I've had some issues with them, though. I think > for CLASS to work I may have to define the class at the xymon client > side as well...not just host.cfg...which would make that more difficult > to manage since I can't just use a generic xymon client. > > =G= > > ________________________________________ > From: Xymon on behalf of Stef Coene > Sent: Tuesday, November 18, 2014 1:25 PM > To: xymon at xymon.com > Subject: Re: [Xymon] Too many alerts per host > > On Tuesday 18 November 2014 10:04:17 David Fogarty wrote: >> Hi, >> Is there a way to receive only one alert when a host goes red/purple, >> rather than a bunch? It's frustrating to receive 5+ pages when only one >> is needed. It's especially frustrating when you pull 4 hosts offline and >> accidentally send 20+ pages to your team. >> >> BigBrother did this with "pagetype: HOST". >> >> The only options I see in Xymon are adding an elaborate set of >> dependencies that will be cumbersome to maintain, or alerting through >> SCRIPT with some form of smart locking in that script. > We use an external scripts for alerting. The script uses a lock file and only > if the lock file is older then 5 minutes, the alert is processed. > > > Stef > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon > From usaims at yahoo.com Wed Nov 19 00:09:35 2014 From: usaims at yahoo.com (usa ims) Date: Tue, 18 Nov 2014 15:09:35 -0800 Subject: renaming a standard xymon test Message-ID: <1416352175.49383.YahooMailBasic@web162404.mail.bf1.yahoo.com> Greetings, I'm monitoring sql log files looking for the word 'ERROR'. It is working great -- I add the log file to 'client-local.cfg' and 'analysis.cfg' and in 5 minutes, the mysql log files are being monitored. But I'm going through a major boss annoyance factor and he wants that column renamed. Is there a way to rename xymon 'msgs' test to something else? usaims From maik at vegasystems.com Wed Nov 19 02:45:31 2014 From: maik at vegasystems.com (Maik Heinelt) Date: Wed, 19 Nov 2014 10:45:31 +0900 Subject: [Xymon] Xymon 4.3.18 Receiving all status message only from 127.0.0.1 ?! Message-ID: <546BF63B.5080907@vegasystems.com> We have installed Xymon 4.3.18 and I noticed we are receiving all status messages from 127.0.0.1 and not from the client IP?! Why is that? For sure all our clients sending data over their own IP. Maik From jlaidman at rebel-it.com.au Wed Nov 19 03:14:22 2014 From: jlaidman at rebel-it.com.au (Jeremy Laidman) Date: Wed, 19 Nov 2014 13:14:22 +1100 Subject: [Xymon] renaming a standard xymon test In-Reply-To: References: Message-ID: On 19 November 2014 10:16, usa ims via Xymon wrote: > I'm monitoring sql log files looking for the word 'ERROR'. It is working > great -- I add the log file to 'client-local.cfg' and 'analysis.cfg' and in > 5 minutes, the mysql log files are being monitored. But I'm going through a > major boss annoyance factor and he wants that column renamed. > Short of recompiling code, I very much doubt it. The xymond_client.c code has "status.msgs" hard-coded when it creates the status message and sends it to xymond. I don't think it's defined anywhere else, so recompiling might just work. It would be nice to have these testnames configurable, in the same way that we can override the "conn" column name with the "--ping=TESTNAME" parameter for xymonnet or the PINGCOLUMN variable in xymonserver.cfg. But I have to say that I think it's an unusual request (I think the "ping" option is to maintain backwards compatibility where the column name used to be "ping"). You could create a server-side script to mirror the current status of msgs to your new test name. It's a bit of a hack but it should work OK. This could be done by polling using the xymondboard option of the xymon command. Alternatively, you could create a channel handler using "xymond_channel --channel=status --filter="|msgs|" your-script-here" and have your script feed each message back into xymon as a new status message with your new testname. With your alternative msgs status in place, you can suppress the display of "msgs" by using the "NOCOLUMNS:msgs" parameter in hosts.cfg. Might be easier to reconfigure your boss. Cheers Jeremy -------------- next part -------------- An HTML attachment was scrubbed... URL: From abs at shadymint.com Wed Nov 19 08:22:49 2014 From: abs at shadymint.com (Andy Smith) Date: Wed, 19 Nov 2014 07:22:49 +0000 Subject: [Xymon] [Possible Spam] Re: renaming a standard xymon test In-Reply-To: References: Message-ID: <546C4549.9000406@shadymint.com> Jeremy Laidman wrote: > On 19 November 2014 10:16, usa ims via Xymon > wrote: > > I'm monitoring sql log files looking for the word 'ERROR'. It is > working great -- I add the log file to 'client-local.cfg' and > 'analysis.cfg' and in 5 minutes, the mysql log files are being > monitored. But I'm going through a major boss annoyance factor and > he wants that column renamed. > > > Short of recompiling code, I very much doubt it. The xymond_client.c > code has "status.msgs" hard-coded when it creates the status message and > sends it to xymond. I don't think it's defined anywhere else, so > recompiling might just work. It would be nice to have these testnames > configurable, in the same way that we can override the "conn" column > name with the "--ping=TESTNAME" parameter for xymonnet or the PINGCOLUMN > variable in xymonserver.cfg. But I have to say that I think it's an > unusual request (I think the "ping" option is to maintain backwards > compatibility where the column name used to be "ping"). > > You could create a server-side script to mirror the current status of > msgs to your new test name. It's a bit of a hack but it should work > OK. This could be done by polling using the xymondboard option of the > xymon command. Alternatively, you could create a channel handler using > "xymond_channel --channel=status --filter="|msgs|" your-script-here" and > have your script feed each message back into xymon as a new status > message with your new testname. > > With your alternative msgs status in place, you can suppress the display > of "msgs" by using the "NOCOLUMNS:msgs" parameter in hosts.cfg. > > Might be easier to reconfigure your boss. > > Cheers > Jeremy > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon FWIW, I wrote such a server side script, albeit to solve a slightly different problem, but it might suit usaims needs :- https://wiki.xymonton.org/doku.php/monitors:msgs -- Andy From sgb at pics.com Thu Nov 20 01:47:09 2014 From: sgb at pics.com (Steve Brown) Date: Thu, 20 Nov 2014 00:47:09 +0000 Subject: [Xymon] Graph colors Message-ID: Is it possible to have a custom graph display different colors based on the value and if so can someone help show how? For example if the value of the graph is 0-80 then color = yellow 81-100 then color = green TIA Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlaidman at rebel-it.com.au Thu Nov 20 07:12:07 2014 From: jlaidman at rebel-it.com.au (Jeremy Laidman) Date: Thu, 20 Nov 2014 17:12:07 +1100 Subject: [Xymon] Graph colors In-Reply-To: References: Message-ID: Yes you can, but only for a single graph (not multi-graphs like disks). You can't do calculations to adjust the graph COLOR value, but you can draw more than one graph so that one hides the other and gives the impression of changing colours. Example 1: [image: Inline images 1] This is the config I used, based on the standard [la] definition: [la] TITLE CPU Load YAXIS Load DEF:avg=la.rrd:la:AVERAGE CDEF:la=avg,100,/ CDEF:la_lo=la,0.3,MIN AREA:la#CC0000:CPU Load Average AREA:la_lo#00CC00:CPU Load Average > 0.3 -u 1.0 GPRINT:la:LAST: \: %5.1lf (cur) GPRINT:la:MAX: \: %5.1lf (max) GPRINT:la:MIN: \: %5.1lf (min) GPRINT:la:AVERAGE: \: %5.1lf (avg)\n What's happening here is that I draw two AREA graphs, the first one showing the normal graph in red, and the second one (which goes in front of the first) with a cap of 0.3 (using "MIN"). So you can see the reds peeking out above the greens. Example 2: [image: Inline images 2] This is the config I used: [la] TITLE CPU Load YAXIS Load DEF:avg=la.rrd:la:AVERAGE CDEF:la=avg,100,/ CDEF:la_hi=la,0.3,LT,0,la,IF AREA:la#00CC00:CPU Load Average AREA:la_hi#CC0000:CPU Load Average > 0.3 -u 1.0 GPRINT:la:LAST: \: %5.1lf (cur) GPRINT:la:MAX: \: %5.1lf (max) GPRINT:la:MIN: \: %5.1lf (min) GPRINT:la:AVERAGE: \: %5.1lf (avg)\n What's going on here is that I define a new variable "la_hi" which is set to the value of "la", but is then set to zero if it's less than than the threshold - in other words, untouched only if it equals or exceeds the threshold. Then I graph the standard "la" graph, and in front of that, I graph the new "la_hi" graph. Where the "la_hi" is zero, you see the "la" graph peeking through. Cheers Jeremy On 20 November 2014 11:47, Steve Brown wrote: > Is it possible to have a custom graph display different colors based on > the value and if so can someone help show how? > > > > For example if the value of the graph is > > 0-80 then color = yellow > > 81-100 then color = green > > > > TIA > > Steve > > > > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 26591 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 24916 bytes Desc: not available URL: From Johan.Brits at dstvdm.com Thu Nov 20 07:20:02 2014 From: Johan.Brits at dstvdm.com (Johan Brits) Date: Thu, 20 Nov 2014 06:20:02 +0000 Subject: [Xymon] Custom Script Graphs Message-ID: <08AB84CEBADBE14FAF0C9C39F01C00BD4638177A@03RNB-MBX01.za.ds.naspers.com> Hi all I added a custom script to monitor my IIS_Health. All working 100% and I can see the connection but, the graph is not populating data. Can this be done to add the data to the graphs. See below.... [cid:image001.png at 01D0049A.CB3A1380] [cid:image001.png at 01CF8A2E.0A47CC80] Johan Brits Systems Administrator [cid:image002.png at 01CF8A2E.0A47CC80] Tel: +27 11 686 6417 Mobile: +27 82 450 5950 Email: johan.brits at dstvdm.com This electronic communication and the attached file(s) are subject to a disclaimer which can be viewed at http://www.multichoice.co.za/multichoice/view/multichoice/en/page21855. If you are unable to view the disclaimer, please email disclaimer at multichoice.co.za for a copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 30405 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 8132 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 2722 bytes Desc: image003.png URL: From SKreien at la-z-boy.com Thu Nov 20 12:51:05 2014 From: SKreien at la-z-boy.com (Scot Kreienkamp) Date: Thu, 20 Nov 2014 11:51:05 +0000 Subject: [Xymon] Custom Script Graphs In-Reply-To: <08AB84CEBADBE14FAF0C9C39F01C00BD4638177A@03RNB-MBX01.za.ds.naspers.com> References: <08AB84CEBADBE14FAF0C9C39F01C00BD4638177A@03RNB-MBX01.za.ds.naspers.com> Message-ID: <17082AAFC33A934082836458CB5349436670A0D6@MONEXCH01.na.lzb.hq> Absolutely, I do this with several custom tests. You do have to wait for 10-15 minutes for data points to start showing up. If it's been longer and it's still not populating the graph then either the RRD file isn't being populated with data or the graph definition is wrong. The graph is showing up so the RRD file is being created. First, you need to verify it's creating RRD files and populating data. Find the RRD file and use rrdtool dump to make sure it's being populated. Second, send us the graph definition you built in graphs.cfg. From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Johan Brits Sent: Thursday, November 20, 2014 1:20 AM To: xymon at xymon.com Subject: [Xymon] Custom Script Graphs Hi all I added a custom script to monitor my IIS_Health. All working 100% and I can see the connection but, the graph is not populating data. Can this be done to add the data to the graphs. See below.... [cid:image001.png at 01D0048D.D4EA2940] [cid:image001.png at 01CF8A2E.0A47CC80] Johan Brits Systems Administrator [cid:image002.png at 01CF8A2E.0A47CC80] Tel: +27 11 686 6417 Mobile: +27 82 450 5950 Email: johan.brits at dstvdm.com ________________________________ This electronic communication and the attached file(s) are subject to a disclaimer which can be viewed at http://www.multichoice.co.za/multichoice/content/en/email-disclaimer. If you are unable to view the disclaimer, please email disclaimer at multichoice.co.za for a copy. ________________________________ This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 30405 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 8132 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 2722 bytes Desc: image003.png URL: From Paul.Root at CenturyLink.com Thu Nov 20 16:05:16 2014 From: Paul.Root at CenturyLink.com (Root, Paul T) Date: Thu, 20 Nov 2014 15:05:16 +0000 Subject: [Xymon] Custom Script Graphs In-Reply-To: <08AB84CEBADBE14FAF0C9C39F01C00BD4638177A@03RNB-MBX01.za.ds.naspers.com> References: <08AB84CEBADBE14FAF0C9C39F01C00BD4638177A@03RNB-MBX01.za.ds.naspers.com> Message-ID: There is a step by step help doc in the help menu at the top of your xymon web page. From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Johan Brits Sent: Thursday, November 20, 2014 12:20 AM To: xymon at xymon.com Subject: [Xymon] Custom Script Graphs Hi all I added a custom script to monitor my IIS_Health. All working 100% and I can see the connection but, the graph is not populating data. Can this be done to add the data to the graphs. See below.... [cid:image001.png at 01D004A1.1701E3F0] [cid:image001.png at 01CF8A2E.0A47CC80] Johan Brits Systems Administrator [cid:image002.png at 01CF8A2E.0A47CC80] Tel: +27 11 686 6417 Mobile: +27 82 450 5950 Email: johan.brits at dstvdm.com ________________________________ This electronic communication and the attached file(s) are subject to a disclaimer which can be viewed at http://www.multichoice.co.za/multichoice/content/en/email-disclaimer. If you are unable to view the disclaimer, please email disclaimer at multichoice.co.za for a copy. ________________________________ 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 30405 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 8132 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 2722 bytes Desc: image003.png URL: From anoopw14 at gmail.com Fri Nov 21 11:58:26 2014 From: anoopw14 at gmail.com (Anoop Mohan) Date: Fri, 21 Nov 2014 11:58:26 +0100 Subject: [Xymon] Monitoring sql server 2012 - Error - Length specified in network packet payload did not match number of bytes read Message-ID: Hello, I am trying to implement an Sql server 2012 monitoring script. Installed the dbcheck.pl script from this link : http://sourceforge.net/projects/hobbit-perl-cl/ . While running I am getting an error. Sql server log : "Length specified in network packet payload did not match number of bytes read; the connection has been closed. Please contact the vendor of the client library. [CLIENT: XXXXXXXXx]" xymon log : ERROR on 192.168.1.1 : Timeout connecting to DBI:Sybase:host=192.168.1.1;port=1433;encryptPassword=1! Can anybody please help me to resolve this error ? Thanks Anoop -------------- next part -------------- An HTML attachment was scrubbed... URL: From Charles.Lucas at WorldPay.us Mon Nov 24 14:11:18 2014 From: Charles.Lucas at WorldPay.us (Charles Lucas) Date: Mon, 24 Nov 2014 13:11:18 +0000 Subject: [Xymon] FW: XYMON question In-Reply-To: <547037EF.7020106@hswn.dk> References: <547037EF.7020106@hswn.dk> Message-ID: I have already installed GNU make. I'm not sure how to configure it though. I just untar'd it. Not sure what to do with GNU to get make to work: I am trying to install xymon on my AIX 7.1 server. I am getting the following error: # pwd /home/workspace/xymon/xymon-4.3.17 # ./configure Configuration script for Xymon This script asks a few questions and builds a Makefile to compile Xymon Checking your make-utility GNU make is required to build Xymon. If it is available as "gmake", run configure as: 'MAKE=gmake ./configure.server' # ./configure.client Configuration script for Xymon client This script asks a few questions and builds a Makefile to compile Xymon Checking your make-utility GNU make is required to build Xymon. If it is available as "gmake", run configure as: 'MAKE=gmake ./configure.client' # Any ideas why its failing? I have installed gcc. I have not sure how to configure it. Is there a precompiled version out there or AIX filesets for xymon? Thanks, From: Henrik Størner [mailto:henrik at hswn.dk] Sent: Saturday, November 22, 2014 2:15 AM To: Charles Lucas Subject: Re: XYMON question Hi Charles, please use the Xymon mailinglist - the address for that is xymon at xymon.com Sounds like you need to install the GNU "make" utility. Regards, Henrik Den 20-11-2014 kl. 17:04 skrev Charles Lucas: Hi Henrik I am trying to install xymon on my AIX 7.1 server. I am getting the following error: # pwd /home/workspace/xymon/xymon-4.3.17 # ./configure Configuration script for Xymon This script asks a few questions and builds a Makefile to compile Xymon Checking your make-utility GNU make is required to build Xymon. If it is available as "gmake", run configure as: 'MAKE=gmake ./configure.server' # ./configure.client Configuration script for Xymon client This script asks a few questions and builds a Makefile to compile Xymon Checking your make-utility GNU make is required to build Xymon. If it is available as "gmake", run configure as: 'MAKE=gmake ./configure.client' # Any ideas why its failing? I have installed gcc. I have not sure how to configure it. Is there a precompiled version out there or AIX filesets for xymon? Thanks, Charles C. Lucas Sr. AIX Engineer, Infrastructure Technology T: 678-587-1722 | M: 803-479-0343 600 Morgan Falls Road | Atlanta, GA 30350 | worldpay.com [cid:image001.png at 01CF5985.A5F87640] Connect with us: [cid:image002.png at 01CF5985.A5F87640] [cid:image003.png at 01CF5985.A5F87640] [cid:image004.png at 01CF5985.A5F87640] [cid:image006.png at 01CF5985.A5F87640] [cid:image007.png at 01CF5985.A5F87640] CONFIDENTIAL COMMUNICATION NOTICE. The information contained in this email message is confidential and proprietary and is intended solely for the use of the addressee. Any unauthorized dissemination, distribution or copying of this email is expressly prohibited. If you have received this email message in error, please notify the sender immediately and delete this message and any attachments. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT00001.png Type: image/png Size: 5521 bytes Desc: ATT00001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT00002.gif Type: image/gif Size: 1288 bytes Desc: ATT00002.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT00003.gif Type: image/gif Size: 1267 bytes Desc: ATT00003.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT00004.gif Type: image/gif Size: 1252 bytes Desc: ATT00004.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT00005.png Type: image/png Size: 1806 bytes Desc: ATT00005.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT00006.gif Type: image/gif Size: 2415 bytes Desc: ATT00006.gif URL: From kpeng at partycity.com Tue Nov 25 03:15:23 2014 From: kpeng at partycity.com (Peng, Kingston) Date: Mon, 24 Nov 2014 21:15:23 -0500 Subject: [Xymon] Xymon disk icon shows red Message-ID: I have an Oracle DB server pctydb01prod, /u02 file system reached 98% full and shows red icon. I was told by DBA, this file system should not show red alert until it reaches 99% full. So I edit ~xymon/server/etc/analysis.cfg, and edited the following: HOST=pctydb01prod DISK /u02 94 99 DISK * 90 95 I re-started Xymon daemon on the server, but the red icon still doesn't go away: I also tried to use IGNORE option: HOST=pctydb01prod DISK /u02 IGNORE Still the same result: red icon trigger the /u02 over 95% still don't go away. The file system is 98% full: [root at pctydb01prod etc]# df -h /u02 Filesystem Size Used Avail Use% Mounted on /dev/mapper/VG00-LogVol01 209G 193G 5.1G 98% /u02 What did I missed? Could anyone advice? Thanks in advance! Kingston Peng -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 3944 bytes Desc: image001.png URL: From tm at freedom.com Tue Nov 25 04:44:27 2014 From: tm at freedom.com (Tim McCloskey) Date: Tue, 25 Nov 2014 03:44:27 +0000 Subject: [Xymon] Xymon disk icon shows red In-Reply-To: References: Message-ID: Is the last entry in analysis.cfg the 'DEFAULT' stanza? If not, move the HOST=pct* above the DEFAULT. ________________________________________ From: Xymon [xymon-bounces at xymon.com] on behalf of Peng, Kingston [kpeng at partycity.com] Sent: Monday, November 24, 2014 6:15 PM To: xymon at xymon.com Subject: [Xymon] Xymon disk icon shows red I have an Oracle DB server pctydb01prod, /u02 file system reached 98% full and shows red icon. I was told by DBA, this file system should not show red alert until it reaches 99% full. So I edit ~xymon/server/etc/analysis.cfg, and edited the following: HOST=pctydb01prod DISK /u02 94 99 DISK * 90 95 I re-started Xymon daemon on the server, but the red icon still doesn’t go away: [cid:image001.png at 01D0082B.1AC33100] I also tried to use IGNORE option: HOST=pctydb01prod DISK /u02 IGNORE Still the same result: red icon trigger the /u02 over 95% still don’t go away. The file system is 98% full: [root at pctydb01prod etc]# df -h /u02 Filesystem Size Used Avail Use% Mounted on /dev/mapper/VG00-LogVol01 209G 193G 5.1G 98% /u02 What did I missed? Could anyone advice? Thanks in advance! Kingston Peng -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 3944 bytes Desc: image001.png URL: From kpeng at partycity.com Tue Nov 25 15:35:31 2014 From: kpeng at partycity.com (Peng, Kingston) Date: Tue, 25 Nov 2014 09:35:31 -0500 Subject: [Xymon] Xymon disk icon shows red In-Reply-To: References: Message-ID: Tim, Thank you! That resolved my issue -- I did put the specific configuration after DEFAULT. Once I place it before DEFAULT, Xymon worked as expected. -----Original Message----- From: Tim McCloskey [mailto:tm at freedom.com] Sent: Monday, November 24, 2014 10:44 PM To: Peng, Kingston; xymon at xymon.com Subject: RE: [Xymon] Xymon disk icon shows red Is the last entry in analysis.cfg the 'DEFAULT' stanza? If not, move the HOST=pct* above the DEFAULT. ________________________________________ From: Xymon [xymon-bounces at xymon.com] on behalf of Peng, Kingston [kpeng at partycity.com] Sent: Monday, November 24, 2014 6:15 PM To: xymon at xymon.com Subject: [Xymon] Xymon disk icon shows red I have an Oracle DB server pctydb01prod, /u02 file system reached 98% full and shows red icon. I was told by DBA, this file system should not show red alert until it reaches 99% full. So I edit ~xymon/server/etc/analysis.cfg, and edited the following: HOST=pctydb01prod DISK /u02 94 99 DISK * 90 95 I re-started Xymon daemon on the server, but the red icon still doesn't go away: [cid:image001.png at 01D0082B.1AC33100] I also tried to use IGNORE option: HOST=pctydb01prod DISK /u02 IGNORE Still the same result: red icon trigger the /u02 over 95% still don't go away. The file system is 98% full: [root at pctydb01prod etc]# df -h /u02 Filesystem Size Used Avail Use% Mounted on /dev/mapper/VG00-LogVol01 209G 193G 5.1G 98% /u02 What did I missed? Could anyone advice? Thanks in advance! Kingston Peng From abs at shadymint.com Tue Nov 25 19:21:56 2014 From: abs at shadymint.com (Andy Smith) Date: Tue, 25 Nov 2014 18:21:56 +0000 Subject: [Xymon] AD connectivity / performance test Message-ID: <5474C8C4.3000705@shadymint.com> Hi, Is anyone carrying out any monitoring (local or remote) of Windows Domain Controllers? If I were to carry out a remote LDAPS test to retrieve an OU would the success and connection time for that transaction be a good indicator of 'user experience' ? I see some monitors on Xymonton looking at the output from DCDIAG.EXE but these will require BBWin or equivalent to be installed and I probably wont get that authorized and VBS is not well known to me anyway. Thanks -- Andy From bdale at kitchen-net.com.au Tue Nov 25 23:25:34 2014 From: bdale at kitchen-net.com.au (Brandon Dale) Date: Tue, 25 Nov 2014 22:25:34 +0000 Subject: [Xymon] AD connectivity / performance test In-Reply-To: <5474C8C4.3000705@shadymint.com> References: <5474C8C4.3000705@shadymint.com> Message-ID: I don' think that would be a very good indication of anything useful, you are better off testing the health of the domain controllers in someway. I have found the best way to write custom tests for anything windows is to write them in powershell and use xymonsend.ps1 that comes with the PowerShell client to send the status messages to xymon. I was thinking about this yesterday my powershell skills are pretty limited but it should be fairly easy to write something in powershell to run dcdiag for each of your domain controllers and look for failed tests or something similar. Could do something with repadmin results or the Best Practice Analyzer as well. Regards, Brandon -----Original Message----- From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Andy Smith Sent: Wednesday, 26 November 2014 5:22 AM To: xymon Subject: [Xymon] AD connectivity / performance test Hi, Is anyone carrying out any monitoring (local or remote) of Windows Domain Controllers? If I were to carry out a remote LDAPS test to retrieve an OU would the success and connection time for that transaction be a good indicator of 'user experience' ? I see some monitors on Xymonton looking at the output from DCDIAG.EXE but these will require BBWin or equivalent to be installed and I probably wont get that authorized and VBS is not well known to me anyway. Thanks -- Andy _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon From Phil.Crooker at orix.com.au Tue Nov 25 23:30:08 2014 From: Phil.Crooker at orix.com.au (Phil Crooker) Date: Tue, 25 Nov 2014 22:30:08 +0000 Subject: [Xymon] XYMON question In-Reply-To: References: <547037EF.7020106@hswn.dk>, Message-ID: <1416954606172.97392@orix.com.au> ??By untaring you mean a tar file with the binaries, ala bullfreeware? Otherwise is it source code? you'll need to compile it. If I'm not being too obvious, did it install gmake? Is the executable named gmake? Have you exported the MAKE=gmake variable? Is gmake in the path? cheers, Phil ________________________________ From: Xymon on behalf of Charles Lucas Sent: Monday, 24 November 2014 11:41 PM To: xymon at xymon.com Subject: [Xymon] FW: XYMON question I have already installed GNU make. I'm not sure how to configure it though. I just untar'd it. Not sure what to do with GNU to get make to work: I am trying to install xymon on my AIX 7.1 server. I am getting the following error: # pwd /home/workspace/xymon/xymon-4.3.17 # ./configure Configuration script for Xymon This script asks a few questions and builds a Makefile to compile Xymon Checking your make-utility GNU make is required to build Xymon. If it is available as "gmake", run configure as: 'MAKE=gmake ./configure.server' # ./configure.client Configuration script for Xymon client This script asks a few questions and builds a Makefile to compile Xymon Checking your make-utility GNU make is required to build Xymon. If it is available as "gmake", run configure as: 'MAKE=gmake ./configure.client' # Any ideas why its failing? I have installed gcc. I have not sure how to configure it. Is there a precompiled version out there or AIX filesets for xymon? Thanks, From: Henrik Størner [mailto:henrik at hswn.dk] Sent: Saturday, November 22, 2014 2:15 AM To: Charles Lucas Subject: Re: XYMON question Hi Charles, please use the Xymon mailinglist - the address for that is xymon at xymon.com Sounds like you need to install the GNU "make" utility. Regards, Henrik Den 20-11-2014 kl. 17:04 skrev Charles Lucas: Hi Henrik I am trying to install xymon on my AIX 7.1 server. I am getting the following error: # pwd /home/workspace/xymon/xymon-4.3.17 # ./configure Configuration script for Xymon This script asks a few questions and builds a Makefile to compile Xymon Checking your make-utility GNU make is required to build Xymon. If it is available as "gmake", run configure as: 'MAKE=gmake ./configure.server' # ./configure.client Configuration script for Xymon client This script asks a few questions and builds a Makefile to compile Xymon Checking your make-utility GNU make is required to build Xymon. If it is available as "gmake", run configure as: 'MAKE=gmake ./configure.client' # Any ideas why its failing? I have installed gcc. I have not sure how to configure it. Is there a precompiled version out there or AIX filesets for xymon? Thanks, Charles C. Lucas Sr. AIX Engineer, Infrastructure Technology T: 678-587-1722 | M: 803-479-0343 600 Morgan Falls Road | Atlanta, GA 30350 | worldpay.com [cid:image001.png at 01CF5985.A5F87640] Connect with us: [cid:image002.png at 01CF5985.A5F87640] [cid:image003.png at 01CF5985.A5F87640] [cid:image004.png at 01CF5985.A5F87640] [cid:image006.png at 01CF5985.A5F87640] [cid:image007.png at 01CF5985.A5F87640] CONFIDENTIAL COMMUNICATION NOTICE. The information contained in this email message is confidential and proprietary and is intended solely for the use of the addressee. Any unauthorized dissemination, distribution or copying of this email is expressly prohibited. If you have received this email message in error, please notify the sender immediately and delete this message and any attachments. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT00001.png Type: image/png Size: 5521 bytes Desc: ATT00001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT00002.gif Type: image/gif Size: 1288 bytes Desc: ATT00002.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT00003.gif Type: image/gif Size: 1267 bytes Desc: ATT00003.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT00004.gif Type: image/gif Size: 1252 bytes Desc: ATT00004.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT00005.png Type: image/png Size: 1806 bytes Desc: ATT00005.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT00006.gif Type: image/gif Size: 2415 bytes Desc: ATT00006.gif URL: From ralphmitchell at gmail.com Wed Nov 26 02:55:54 2014 From: ralphmitchell at gmail.com (Ralph Mitchell) Date: Tue, 25 Nov 2014 20:55:54 -0500 Subject: [Xymon] AD connectivity / performance test In-Reply-To: References: <5474C8C4.3000705@shadymint.com> Message-ID: I have a bunch of ldaps tests going to Active Directory servers, but they're mostly from my Xymon server and not from the end user locations. If I get a response, it's all good. If it times out several times, someone gets woken up. Ralph Mitchell On Tue, Nov 25, 2014 at 5:25 PM, Brandon Dale wrote: > I don' think that would be a very good indication of anything useful, you > are better off testing the health of the domain controllers in someway. I > have found the best way to write custom tests for anything windows is to > write them in powershell and use xymonsend.ps1 that comes with the > PowerShell client to send the status messages to xymon. > > I was thinking about this yesterday my powershell skills are pretty > limited but it should be fairly easy to write something in powershell to > run dcdiag for each of your domain controllers and look for failed tests or > something similar. Could do something with repadmin results or the Best > Practice Analyzer as well. > > > Regards, > > > Brandon > > > > -----Original Message----- > From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Andy Smith > Sent: Wednesday, 26 November 2014 5:22 AM > To: xymon > Subject: [Xymon] AD connectivity / performance test > > Hi, > > Is anyone carrying out any monitoring (local or remote) of Windows Domain > Controllers? If I were to carry out a remote LDAPS test to retrieve an OU > would the success and connection time for that transaction be a good > indicator of 'user experience' ? I see some monitors on Xymonton looking > at the output from DCDIAG.EXE but these will require BBWin or equivalent to > be installed and I probably wont get > that authorized and VBS is not well known to me anyway. > > Thanks > -- > Andy > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pbansal2 at fcsltd.com Wed Nov 26 06:01:57 2014 From: pbansal2 at fcsltd.com (prasoon) Date: Wed, 26 Nov 2014 10:31:57 +0530 Subject: [Xymon] Client monitoring using customized parameters. Message-ID: <000a01d00936$1b4eafd0$51ec0f70$@fcsltd.com> Hi Henrik, I want to monitor my AIX client with locally configured monitoring parameters instead of server based parameters. This is required for my AIX servers running with different applications. We have different application mount points with different size and i want to set threshold values for mount points per server wise configured locally. I can see only three files under /xymon/etc folder in my AIX client ; hobbitclient.cfg clientlaunch.cfg localclient.cfg After adding --local in clientlaunch.cfg below parameter, the main web page stop to show any status of CPU,Disk and other monitoring part for this AIX client, [client] ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg CMD $HOBBITCLIENTHOME/bin/hobbitclient.sh --local LOGFILE $HOBBITCLIENTHOME/logs/hobbitclient.log INTERVAL 1m I added the host entry to hobbitclient.cfg and localclient.cfg, even its not showing any alert on server webpage for my AIX 5.2 client(axmnyz). HOST= UP 1h LOAD 5.0 10.0 DISK * 60 65 MEMPHYS 100 101 MEMSWAP 50 80 MEMACT 90 97 Kindly assist me to know the files that need to change on Client and Server side to make it enable and effective. R'gs Prasoon Bansal UNIX Admin -------------- next part -------------- An HTML attachment was scrubbed... URL: From anoopw14 at gmail.com Wed Nov 26 11:46:21 2014 From: anoopw14 at gmail.com (Anoop Mohan) Date: Wed, 26 Nov 2014 11:46:21 +0100 Subject: [Xymon] Monitoring sql server 2012 - Error - Length specified in network packet payload did not match number of bytes read In-Reply-To: References: Message-ID: Hello, Please find the debug log of dbcheck.pl script. I checked with wireshark and no request is generating to sql server port 1433. Can anybody help please ? Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::get_disabled_hosts line 1235 Wed Nov 26 11:29:51 2014:DEBUG: GET DISABLED HOSTS Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::get_disabled_hosts line 1235 Wed Nov 26 11:29:51 2014:DEBUG: /usr/local/xymon/server/data/disabled Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::exec_local_cmd line 442 Wed Nov 26 11:29:51 2014:DEBUG: RESULT= 0, COMMAND= /usr/local/xymon/server/bin/bbhostgrep dbcheck ,VALUE=0.0.0.0 192.168.1.1 # dbcheck Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::exec_local_cmd line 442 Wed Nov 26 11:29:51 2014:DEBUG: RESULT= 0, COMMAND= /usr/local/xymon/server/bin/bbhostgrep dbcheck ,VALUE=0.0.0.0 192.168.1.1 # dbcheck Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::initialize_host_test line 318 Wed Nov 26 11:29:51 2014:DEBUG: hostname: 192.168.1.1 Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::initialize_host_test line 318 Wed Nov 26 11:29:51 2014:DEBUG: hostadress: 192.168.1.1 Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::check_test line 276 Wed Nov 26 11:29:51 2014:DEBUG: mode=0, tocheck=0, testmode=0 data0=uptime, data1=status+60 Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::check_test line 65 Wed Nov 26 11:29:51 2014:DEBUG: mode=0, tocheck=0, testmode=0 data0=DBCheck, data1=status+60 Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::load_test_config line 1309 Wed Nov 26 11:29:51 2014:DEBUG: LINE=fulltest, EVENT=DBCheck, CHECK=status+60 Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::check_test line 65 Wed Nov 26 11:29:51 2014:DEBUG: mode=0, tocheck=0, testmode=0 data0=ChkConn, data1=status+60 Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::load_test_config line 1309 Wed Nov 26 11:29:51 2014:DEBUG: LINE=conn, EVENT=ChkConn, CHECK=status+60 Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::check_test line 65 Wed Nov 26 11:29:51 2014:DEBUG: mode=0, tocheck=0, testmode=0 data0=TblSpace, data1=status+60 Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::load_test_config line 1309 Wed Nov 26 11:29:51 2014:DEBUG: LINE=tablespace, EVENT=TblSpace, CHECK=status+60 Wed Nov 26 11:29:51 2014:CALL : main::get_host_parameters line 319 Wed Nov 26 11:29:51 2014:DEBUG: KEY=pinlib, DEFW=95, DEFA=90, WARN=95, ALERT=90 Wed Nov 26 11:29:51 2014:CALL : main::get_host_parameters line 319 Wed Nov 26 11:29:51 2014:DEBUG: KEY=blbuff, DEFW=95, DEFA=90, WARN=95, ALERT=90 Wed Nov 26 11:29:51 2014:CALL : main::get_host_parameters line 319 Wed Nov 26 11:29:51 2014:DEBUG: KEY=rowcache, DEFW=95, DEFA=90, WARN=95, ALERT=90 Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::get_disk_level line 1312 Wed Nov 26 11:29:51 2014:DEBUG: KEY=tblspcheck, hostname=192.168.1.1, WP(1=%)=1, WARN=90, AP(1=%)=1, ALERT=95 Wed Nov 26 11:29:51 2014:CALL : main::get_host_parameters line 319 Wed Nov 26 11:29:51 2014:DEBUG: KEY=tblsp, DEFW=90, DEFA=95, WARN=90%, ALERT=95% Wed Nov 26 11:29:51 2014:CALL : main::get_host_parameters line 319 Wed Nov 26 11:29:51 2014:DEBUG: KEY=hitcache, DEFW=95, DEFA=90, WARN=95, ALERT=90 Wed Nov 26 11:29:51 2014:CALL : main::get_host_parameters line 319 Wed Nov 26 11:29:51 2014:DEBUG: KEY=rollback, DEFW=90, DEFA=95, WARN=90, ALERT=95 Wed Nov 26 11:29:51 2014:CALL : main::get_host_parameters line 319 Wed Nov 26 11:29:51 2014:DEBUG: KEY=session, DEFW=90, DEFA=95, WARN=90, ALERT=95 Wed Nov 26 11:29:51 2014:CALL : main::get_host_parameters line 319 Wed Nov 26 11:29:51 2014:DEBUG: KEY=process, DEFW=90, DEFA=95, WARN=90, ALERT=95 Wed Nov 26 11:29:51 2014:CALL : main::get_host_parameters line 319 Wed Nov 26 11:29:51 2014:DEBUG: KEY=memreq, DEFW=90, DEFA=95, WARN=90, ALERT=95 Wed Nov 26 11:29:51 2014:CALL : main::get_host_parameters line 319 Wed Nov 26 11:29:51 2014:DEBUG: KEY=extent, DEFW=90, DEFA=95, WARN=90, ALERT=95 Wed Nov 26 11:29:51 2014:ERROR on 192.168.1.1: Timeout connecting to DBI:Sybase:host=192.168.1.1;port=1433;encryptPassword=1! Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::send_bb line 1235 Wed Nov 26 11:29:51 2014:DEBUG: TEST=conn, TYPE=status+60, EVENT=ChkConn, SENDTYPE=2, TESTLIVE=60, SUMREPTIME=0 Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::send_bb line 1235 Wed Nov 26 11:29:51 2014:DEBUG: BBDISPLAY: 192.168.2.1, hostname: 192,168,1,1, type: status+60, event: ChkConn, time: 00:00:00, color=red Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::send_bb line 352 Wed Nov 26 11:29:51 2014:DEBUG: TEST=tablespace, TYPE=status+60, EVENT=TblSpace, SENDTYPE=2, TESTLIVE=60, SUMREPTIME=0 Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::send_bb line 352 Wed Nov 26 11:29:51 2014:DEBUG: BBDISPLAY: 192.168.2.1, hostname: 192,168,1,1, type: status+60, event: TblSpace, time: 00:00:00, color=clear Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::send_bb line 1347 Wed Nov 26 11:29:51 2014:DEBUG: TEST=uptime, TYPE=status+60, EVENT=uptime, SENDTYPE=2, TESTLIVE=60, SUMREPTIME=0 Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::send_bb line 1347 Wed Nov 26 11:29:51 2014:DEBUG: BBDISPLAY: 192.168.2.1, hostname: 192,168,1,1, type: status+60, event: uptime, time: 00:00:00, color=clear Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::exec_time line 889 Wed Nov 26 11:29:51 2014:DEBUG: exec 0.0.0.0 192.168.1.1 # dbcheck, TIME=00:00:00 Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::send_bb line 1265 Wed Nov 26 11:29:51 2014:DEBUG: TEST=dbcheck, TYPE=status+60, EVENT=dbcheck, SENDTYPE=2, TESTLIVE=60, SUMREPTIME=0 Wed Nov 26 11:29:51 2014:CALL : Hobbit_fd_lib::send_bb line 1265 Thanks Anoop On 21 November 2014 at 11:58, Anoop Mohan wrote: > Hello, > I am trying to implement an Sql server 2012 monitoring script. > Installed the dbcheck.pl script from this link : > http://sourceforge.net/projects/hobbit-perl-cl/ . While running I am > getting an error. > > Sql server log : "Length specified in network packet payload did not match > number of bytes read; the connection has been closed. Please contact the > vendor of the client library. [CLIENT: XXXXXXXXx]" > > xymon log : ERROR on 192.168.1.1 : Timeout connecting to > DBI:Sybase:host=192.168.1.1;port=1433;encryptPassword=1! > > Can anybody please help me to resolve this error ? > > Thanks > Anoop > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgb at pics.com Thu Nov 27 06:10:01 2014 From: sgb at pics.com (Steve Brown) Date: Thu, 27 Nov 2014 05:10:01 +0000 Subject: [Xymon] graphs that use multiple RRD files as input Message-ID: I have a graph setup on a custom test that is using multiple RRD files as input. The graph is working but it is combining all the RRDs into a single graph instead of splitting them up like the built in "disk" graphs. Is there a parameter missing in my graphs.cfg definition or some other place I need to modify in order to have Xymon automatically split the graph up into multiple graphs? Thanks Steve [DBAreas] FNPATTERN DBAreas,(.*).rrd TITLE Area Size YAXIS KB DEF:kba at RRDIDX@=@RRDFN@:kbarea:AVERAGE LINE3:kba at RRDIDX@#@COLOR@:Area at RRDPARAM@ GPRINT:kba at RRDIDX@:LAST: \: %5.1lf (cur) GPRINT:kba at RRDIDX@:MAX: \: %5.1lf (max) GPRINT:kba at RRDIDX@:MIN: \: %5.1lf (min) GPRINT:kba at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n [cid:image001.png at 01D009CD.379965D0] Disk splits into more than 1 graph [cid:image002.png at 01D009CD.C8E83070] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 44934 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 57017 bytes Desc: image002.png URL: From everett.vernon at gmail.com Thu Nov 27 07:46:29 2014 From: everett.vernon at gmail.com (Vernon Everett) Date: Thu, 27 Nov 2014 14:46:29 +0800 Subject: [Xymon] Building a new Server Message-ID: Hi all Trying to build a new server. And not having much luck. MAKE=gmake ./configure.server MAKE=gmake ./configure.server --pcreinclude /opt/csw/include/ --pcrelib /opt/csw/lib/pkgconfig/ and MAKE=gmake ./configure.server --pcreinclude /opt/csw/include/ --pcrelib /opt/csw/lib/ all give the exact same result below. + uname -s OS=SunOS In file included from test-pcre.c:1: /opt/csw/include/pcre.h:90:20: stdlib.h: No such file or directory In file included from test-pcre.c:1: /opt/csw/include/pcre.h:489: warning: parameter names (without types) in function declaration /opt/csw/include/pcre.h:491: warning: parameter names (without types) in function declaration /opt/csw/include/pcre.h:496: warning: parameter names (without types) in function declaration /opt/csw/include/pcre.h:498: warning: parameter names (without types) in function declaration /opt/csw/include/pcre.h:503: warning: parameter names (without types) in function declaration /opt/csw/include/pcre.h:505: warning: parameter names (without types) in function declaration test-pcre.c: In function `main': test-pcre.c:8: error: `NULL' undeclared (first use in this function) test-pcre.c:8: error: (Each undeclared identifier is reported only once test-pcre.c:8: error: for each function it appears in.) Makefile.test-pcre:4: recipe for target 'test-compile' failed gmake: *** [test-compile] Error 1 + test 2 -eq 0 + echo ERROR: Cannot compile using PCRE library. ERROR: Cannot compile using PCRE library. PCREOK=NO + gmake -f Makefile.test-pcre test-link PCRELIB=-L/opt/csw/lib + sed -es@/@_ at g + uname -s OS=SunOS gcc: test-pcre.o: No such file or directory Makefile.test-pcre:7: recipe for target 'test-link' failed gmake: *** [test-link] Error 1 + test 2 -eq 0 + echo ERROR: Cannot link with PCRE library. ERROR: Cannot link with PCRE library. PCREOK=NO + gmake -f Makefile.test-pcre clean + sed -es@/@_ at g + uname -s OS=SunOS + cd .. + test NO = NO + echo Missing PCRE include- or library-files. These are REQUIRED for xymond Missing PCRE include- or library-files. These are REQUIRED for xymond + echo PCRE can be found at http://www.pcre.org/ PCRE can be found at http://www.pcre.org/ + echo If you have PCRE installed, use the "--pcreinclude DIR" and "--pcrelib DIR" If you have PCRE installed, use the "--pcreinclude DIR" and "--pcrelib DIR" + echo options to configure to specify where they are. options to configure to specify where they are. + exit 1 Have the following pcre related packages installed. bash-3.00# pkgutil -l | grep -i pcre CSWlibpcre-dev CSWlibpcre0 CSWlibpcre1 CSWlibpcre16-0 CSWlibpcre32-0 CSWlibpcrecpp0 CSWlibpcreposix0 CSWpcre CSWpcrert What's missing here? -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: From everett.vernon at gmail.com Thu Nov 27 08:04:35 2014 From: everett.vernon at gmail.com (Vernon Everett) Date: Thu, 27 Nov 2014 15:04:35 +0800 Subject: [Xymon] Building a new Server In-Reply-To: <1417071639937.47637@sas.com> References: <1417071639937.47637@sas.com> Message-ID: # pkgutil -l | grep gcc CSWgcc4core CSWlibgcc-s1 Would have expected those two to cover it. Here's the OpenCSW list. Anything look like it's needed? # pkgutil -a | grep gcc boost_gcc_dev CSWboost-gcc-dev 1.49.0,REV=2012.03.05 7.3 MB gcc4ada CSWgcc4ada 4.9.0,REV=2014.04.27 68.9 MB gcc4core CSWgcc4core 4.9.0,REV=2014.04.27 125.5 MB gcc4corert_stub CSWgcc4corert 4.6.3,REV=2012.03.06 13.1 KB gcc4g++ CSWgcc4g++ 4.9.0,REV=2014.04.27 41.8 MB gcc4gfortran CSWgcc4gfortran 4.9.0,REV=2014.04.27 37.3 MB gcc4java CSWgcc4java 4.9.0,REV=2014.04.27 43.3 MB gcc4objc CSWgcc4objc 4.9.0,REV=2014.04.27 33.3 MB libgcc_s1 CSWlibgcc-s1 4.9.0,REV=2014.04.27 313.6 KB libgccpp1 CSWlibgccpp1 7.2d,REV=2013.08.01 7.3 KB perlgcc CSWperlgcc 5.20.1,REV=2014.10.26 19.6 MB ruby18_gcc4 CSWruby18-gcc4 1.8.7p357,REV=2014.03.06 4.5 KB On 27 November 2014 at 15:00, Galen Johnson wrote: > Based on this: > > > /opt/csw/include/pcre.h:90:20: stdlib.h: No such file or directory​ > > > I'd say that you're missing some additional dev libraries. It's been a > while since I worked on Solaris, but it might be expecting the gcc headers. > > > =G= > > > ------------------------------ > *From:* Xymon on behalf of Vernon Everett < > everett.vernon at gmail.com> > *Sent:* Thursday, November 27, 2014 1:46 AM > *To:* Xymon mailinglist > *Subject:* [Xymon] Building a new Server > > Hi all > > Trying to build a new server. > And not having much luck. > MAKE=gmake ./configure.server > MAKE=gmake ./configure.server --pcreinclude /opt/csw/include/ --pcrelib > /opt/csw/lib/pkgconfig/ > and > MAKE=gmake ./configure.server --pcreinclude /opt/csw/include/ --pcrelib > /opt/csw/lib/ > all give the exact same result below. > > + uname -s > OS=SunOS > In file included from test-pcre.c:1: > /opt/csw/include/pcre.h:90:20: stdlib.h: No such file or directory > In file included from test-pcre.c:1: > /opt/csw/include/pcre.h:489: warning: parameter names (without types) in > function declaration > /opt/csw/include/pcre.h:491: warning: parameter names (without types) in > function declaration > /opt/csw/include/pcre.h:496: warning: parameter names (without types) in > function declaration > /opt/csw/include/pcre.h:498: warning: parameter names (without types) in > function declaration > /opt/csw/include/pcre.h:503: warning: parameter names (without types) in > function declaration > /opt/csw/include/pcre.h:505: warning: parameter names (without types) in > function declaration > test-pcre.c: In function `main': > test-pcre.c:8: error: `NULL' undeclared (first use in this function) > test-pcre.c:8: error: (Each undeclared identifier is reported only once > test-pcre.c:8: error: for each function it appears in.) > Makefile.test-pcre:4: recipe for target 'test-compile' failed > gmake: *** [test-compile] Error 1 > + test 2 -eq 0 > + echo ERROR: Cannot compile using PCRE library. > ERROR: Cannot compile using PCRE library. > PCREOK=NO > + gmake -f Makefile.test-pcre test-link > PCRELIB=-L/opt/csw/lib + sed -es@/@_ at g > + uname -s > OS=SunOS > gcc: test-pcre.o: No such file or directory > Makefile.test-pcre:7: recipe for target 'test-link' failed > gmake: *** [test-link] Error 1 > + test 2 -eq 0 > + echo ERROR: Cannot link with PCRE library. > ERROR: Cannot link with PCRE library. > PCREOK=NO > + gmake -f Makefile.test-pcre clean > + sed -es@/@_ at g > + uname -s > OS=SunOS > + cd .. > + test NO = NO > + echo Missing PCRE include- or library-files. These are REQUIRED for > xymond > Missing PCRE include- or library-files. These are REQUIRED for xymond > + echo PCRE can be found at http://www.pcre.org/ > PCRE can be found at http://www.pcre.org/ > + echo If you have PCRE installed, use the "--pcreinclude DIR" and > "--pcrelib DIR" > If you have PCRE installed, use the "--pcreinclude DIR" and "--pcrelib DIR" > + echo options to configure to specify where they are. > options to configure to specify where they are. > + exit 1 > > Have the following pcre related packages installed. > bash-3.00# pkgutil -l | grep -i pcre > CSWlibpcre-dev > CSWlibpcre0 > CSWlibpcre1 > CSWlibpcre16-0 > CSWlibpcre32-0 > CSWlibpcrecpp0 > CSWlibpcreposix0 > CSWpcre > CSWpcrert > What's missing here? > -- > "Accept the challenges so that you can feel the exhilaration of victory" > - General George Patton > -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: From Galen.Johnson at sas.com Thu Nov 27 08:00:41 2014 From: Galen.Johnson at sas.com (Galen Johnson) Date: Thu, 27 Nov 2014 07:00:41 +0000 Subject: [Xymon] Building a new Server In-Reply-To: References: Message-ID: <1417071639937.47637@sas.com> Based on this: /opt/csw/include/pcre.h:90:20: stdlib.h: No such file or directory? I'd say that you're missing some additional dev libraries. It's been a while since I worked on Solaris, but it might be expecting the gcc headers. =G= ________________________________ From: Xymon on behalf of Vernon Everett Sent: Thursday, November 27, 2014 1:46 AM To: Xymon mailinglist Subject: [Xymon] Building a new Server Hi all Trying to build a new server. And not having much luck. MAKE=gmake ./configure.server MAKE=gmake ./configure.server --pcreinclude /opt/csw/include/ --pcrelib /opt/csw/lib/pkgconfig/ and MAKE=gmake ./configure.server --pcreinclude /opt/csw/include/ --pcrelib /opt/csw/lib/ all give the exact same result below. + uname -s OS=SunOS In file included from test-pcre.c:1: /opt/csw/include/pcre.h:90:20: stdlib.h: No such file or directory In file included from test-pcre.c:1: /opt/csw/include/pcre.h:489: warning: parameter names (without types) in function declaration /opt/csw/include/pcre.h:491: warning: parameter names (without types) in function declaration /opt/csw/include/pcre.h:496: warning: parameter names (without types) in function declaration /opt/csw/include/pcre.h:498: warning: parameter names (without types) in function declaration /opt/csw/include/pcre.h:503: warning: parameter names (without types) in function declaration /opt/csw/include/pcre.h:505: warning: parameter names (without types) in function declaration test-pcre.c: In function `main': test-pcre.c:8: error: `NULL' undeclared (first use in this function) test-pcre.c:8: error: (Each undeclared identifier is reported only once test-pcre.c:8: error: for each function it appears in.) Makefile.test-pcre:4: recipe for target 'test-compile' failed gmake: *** [test-compile] Error 1 + test 2 -eq 0 + echo ERROR: Cannot compile using PCRE library. ERROR: Cannot compile using PCRE library. PCREOK=NO + gmake -f Makefile.test-pcre test-link PCRELIB=-L/opt/csw/lib + sed -es@/@_ at g + uname -s OS=SunOS gcc: test-pcre.o: No such file or directory Makefile.test-pcre:7: recipe for target 'test-link' failed gmake: *** [test-link] Error 1 + test 2 -eq 0 + echo ERROR: Cannot link with PCRE library. ERROR: Cannot link with PCRE library. PCREOK=NO + gmake -f Makefile.test-pcre clean + sed -es@/@_ at g + uname -s OS=SunOS + cd .. + test NO = NO + echo Missing PCRE include- or library-files. These are REQUIRED for xymond Missing PCRE include- or library-files. These are REQUIRED for xymond + echo PCRE can be found at http://www.pcre.org/ PCRE can be found at http://www.pcre.org/ + echo If you have PCRE installed, use the "--pcreinclude DIR" and "--pcrelib DIR" If you have PCRE installed, use the "--pcreinclude DIR" and "--pcrelib DIR" + echo options to configure to specify where they are. options to configure to specify where they are. + exit 1 Have the following pcre related packages installed. bash-3.00# pkgutil -l | grep -i pcre CSWlibpcre-dev CSWlibpcre0 CSWlibpcre1 CSWlibpcre16-0 CSWlibpcre32-0 CSWlibpcrecpp0 CSWlibpcreposix0 CSWpcre CSWpcrert What's missing here? -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: From everett.vernon at gmail.com Thu Nov 27 09:08:27 2014 From: everett.vernon at gmail.com (Vernon Everett) Date: Thu, 27 Nov 2014 16:08:27 +0800 Subject: [Xymon] Building a new Server In-Reply-To: References: <1417071639937.47637@sas.com> Message-ID: I think I am making progress. Your comment of something missing got me searching to find out exactly what is missing. Found this in the list archive. ldd hobbitd_alert libpcre.so.0 => /usr/local/lib/libpcre.so.0 libc.so.1 => /usr/lib/libc.so.1 libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 libdl.so.1 => /usr/lib/libdl.so.1 /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1 As a good a place ans any to start. So I started grepping for library files in /var/sadm/install/contents and found we had 2 of libgcc_s.so.1 /opt/csw/lib/libgcc_s.so.1 /usr/local/lib/libgcc_s.so.1 Damn! An old compiler, and it was first in the PATH. Rearranged the PATH, and things improved. Still didn't work, but improved. Far less error messages. More contructive grepping, and I discovered libdl.so.1 wasn't there. A quick file search on OpenCSW, and I find it hiding in CSWgcc4g++-4.9.0,REV=2014.04.27 pkgutil -i CSWgcc4g++ And we test again. Much better, but still no victory. + uname -s OS=SunOS In file included from test-pcre.c:1:0: /opt/csw/include/pcre.h:90:20: fatal error: stdlib.h: No such file or directory #include ^ compilation terminated. Makefile.test-pcre:4: recipe for target 'test-compile' failed gmake: *** [test-compile] Error 1 + test 2 -eq 0 + echo ERROR: Cannot compile using PCRE library. ERROR: Cannot compile using PCRE library. PCREOK=NO + gmake -f Makefile.test-pcre test-link PCRELIB=-L/opt/csw/lib + sed -es@/@_ at g + uname -s OS=SunOS gcc: error: test-pcre.o: No such file or directory Makefile.test-pcre:7: recipe for target 'test-link' failed gmake: *** [test-link] Error 1 Any ideas? On 27 November 2014 at 15:04, Vernon Everett wrote: > # pkgutil -l | grep gcc > CSWgcc4core > CSWlibgcc-s1 > > Would have expected those two to cover it. > Here's the OpenCSW list. > Anything look like it's needed? > > # pkgutil -a | grep gcc > boost_gcc_dev CSWboost-gcc-dev 1.49.0,REV=2012.03.05 7.3 > MB > gcc4ada CSWgcc4ada 4.9.0,REV=2014.04.27 68.9 > MB > gcc4core CSWgcc4core 4.9.0,REV=2014.04.27 125.5 > MB > gcc4corert_stub CSWgcc4corert 4.6.3,REV=2012.03.06 13.1 > KB > gcc4g++ CSWgcc4g++ 4.9.0,REV=2014.04.27 41.8 > MB > gcc4gfortran CSWgcc4gfortran 4.9.0,REV=2014.04.27 37.3 > MB > gcc4java CSWgcc4java 4.9.0,REV=2014.04.27 43.3 > MB > gcc4objc CSWgcc4objc 4.9.0,REV=2014.04.27 33.3 > MB > libgcc_s1 CSWlibgcc-s1 4.9.0,REV=2014.04.27 313.6 > KB > libgccpp1 CSWlibgccpp1 7.2d,REV=2013.08.01 7.3 > KB > perlgcc CSWperlgcc 5.20.1,REV=2014.10.26 19.6 > MB > ruby18_gcc4 CSWruby18-gcc4 1.8.7p357,REV=2014.03.06 4.5 > KB > > > On 27 November 2014 at 15:00, Galen Johnson wrote: > >> Based on this: >> >> >> /opt/csw/include/pcre.h:90:20: stdlib.h: No such file or directory​ >> >> >> I'd say that you're missing some additional dev libraries. It's been a >> while since I worked on Solaris, but it might be expecting the gcc headers. >> >> >> =G= >> >> >> ------------------------------ >> *From:* Xymon on behalf of Vernon Everett < >> everett.vernon at gmail.com> >> *Sent:* Thursday, November 27, 2014 1:46 AM >> *To:* Xymon mailinglist >> *Subject:* [Xymon] Building a new Server >> >> Hi all >> >> Trying to build a new server. >> And not having much luck. >> MAKE=gmake ./configure.server >> MAKE=gmake ./configure.server --pcreinclude /opt/csw/include/ --pcrelib >> /opt/csw/lib/pkgconfig/ >> and >> MAKE=gmake ./configure.server --pcreinclude /opt/csw/include/ --pcrelib >> /opt/csw/lib/ >> all give the exact same result below. >> >> + uname -s >> OS=SunOS >> In file included from test-pcre.c:1: >> /opt/csw/include/pcre.h:90:20: stdlib.h: No such file or directory >> In file included from test-pcre.c:1: >> /opt/csw/include/pcre.h:489: warning: parameter names (without types) in >> function declaration >> /opt/csw/include/pcre.h:491: warning: parameter names (without types) in >> function declaration >> /opt/csw/include/pcre.h:496: warning: parameter names (without types) in >> function declaration >> /opt/csw/include/pcre.h:498: warning: parameter names (without types) in >> function declaration >> /opt/csw/include/pcre.h:503: warning: parameter names (without types) in >> function declaration >> /opt/csw/include/pcre.h:505: warning: parameter names (without types) in >> function declaration >> test-pcre.c: In function `main': >> test-pcre.c:8: error: `NULL' undeclared (first use in this function) >> test-pcre.c:8: error: (Each undeclared identifier is reported only once >> test-pcre.c:8: error: for each function it appears in.) >> Makefile.test-pcre:4: recipe for target 'test-compile' failed >> gmake: *** [test-compile] Error 1 >> + test 2 -eq 0 >> + echo ERROR: Cannot compile using PCRE library. >> ERROR: Cannot compile using PCRE library. >> PCREOK=NO >> + gmake -f Makefile.test-pcre test-link >> PCRELIB=-L/opt/csw/lib + sed -es@/@_ at g >> + uname -s >> OS=SunOS >> gcc: test-pcre.o: No such file or directory >> Makefile.test-pcre:7: recipe for target 'test-link' failed >> gmake: *** [test-link] Error 1 >> + test 2 -eq 0 >> + echo ERROR: Cannot link with PCRE library. >> ERROR: Cannot link with PCRE library. >> PCREOK=NO >> + gmake -f Makefile.test-pcre clean >> + sed -es@/@_ at g >> + uname -s >> OS=SunOS >> + cd .. >> + test NO = NO >> + echo Missing PCRE include- or library-files. These are REQUIRED for >> xymond >> Missing PCRE include- or library-files. These are REQUIRED for xymond >> + echo PCRE can be found at http://www.pcre.org/ >> PCRE can be found at http://www.pcre.org/ >> + echo If you have PCRE installed, use the "--pcreinclude DIR" and >> "--pcrelib DIR" >> If you have PCRE installed, use the "--pcreinclude DIR" and "--pcrelib >> DIR" >> + echo options to configure to specify where they are. >> options to configure to specify where they are. >> + exit 1 >> >> Have the following pcre related packages installed. >> bash-3.00# pkgutil -l | grep -i pcre >> CSWlibpcre-dev >> CSWlibpcre0 >> CSWlibpcre1 >> CSWlibpcre16-0 >> CSWlibpcre32-0 >> CSWlibpcrecpp0 >> CSWlibpcreposix0 >> CSWpcre >> CSWpcrert >> What's missing here? >> -- >> "Accept the challenges so that you can feel the exhilaration of victory" >> - General George Patton >> > > > > -- > "Accept the challenges so that you can feel the exhilaration of victory" > - General George Patton > -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: From everett.vernon at gmail.com Thu Nov 27 11:57:47 2014 From: everett.vernon at gmail.com (Vernon Everett) Date: Thu, 27 Nov 2014 18:57:47 +0800 Subject: [Xymon] Building a new Server In-Reply-To: References: <1417071639937.47637@sas.com> Message-ID: Thought about this one on the way home. And of course, realised it's looking for the Solaris standard headers, which are in SUNWhea Why people don't do full installs these days, is beyond me. Unless you are building a firewall, full install is the only way to go. I will install these tomorrow and see how we go. On 27 November 2014 at 16:08, Vernon Everett wrote: > I think I am making progress. > Your comment of something missing got me searching to find out exactly > what is missing. > Found this in the list archive. > ldd hobbitd_alert > libpcre.so.0 => /usr/local/lib/libpcre.so.0 > libc.so.1 => /usr/lib/libc.so.1 > libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 > libdl.so.1 => /usr/lib/libdl.so.1 > /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1 > As a good a place ans any to start. > > So I started grepping for library files in /var/sadm/install/contents and > found we had 2 of libgcc_s.so.1 > /opt/csw/lib/libgcc_s.so.1 > /usr/local/lib/libgcc_s.so.1 > Damn! An old compiler, and it was first in the PATH. > Rearranged the PATH, and things improved. > Still didn't work, but improved. Far less error messages. > > More contructive grepping, and I discovered libdl.so.1 wasn't there. > A quick file search on OpenCSW, and I find it hiding in > CSWgcc4g++-4.9.0,REV=2014.04.27 > pkgutil -i CSWgcc4g++ > And we test again. > Much better, but still no victory. > > + uname -s > OS=SunOS > In file included from test-pcre.c:1:0: > /opt/csw/include/pcre.h:90:20: fatal error: stdlib.h: No such file or > directory > #include > ^ > compilation terminated. > Makefile.test-pcre:4: recipe for target 'test-compile' failed > gmake: *** [test-compile] Error 1 > + test 2 -eq 0 > + echo ERROR: Cannot compile using PCRE library. > ERROR: Cannot compile using PCRE library. > PCREOK=NO > + gmake -f Makefile.test-pcre test-link > PCRELIB=-L/opt/csw/lib + sed -es@/@_ at g > + uname -s > OS=SunOS > gcc: error: test-pcre.o: No such file or directory > Makefile.test-pcre:7: recipe for target 'test-link' failed > gmake: *** [test-link] Error 1 > > > Any ideas? > > > On 27 November 2014 at 15:04, Vernon Everett > wrote: > >> # pkgutil -l | grep gcc >> CSWgcc4core >> CSWlibgcc-s1 >> >> Would have expected those two to cover it. >> Here's the OpenCSW list. >> Anything look like it's needed? >> >> # pkgutil -a | grep gcc >> boost_gcc_dev CSWboost-gcc-dev 1.49.0,REV=2012.03.05 >> 7.3 MB >> gcc4ada CSWgcc4ada 4.9.0,REV=2014.04.27 >> 68.9 MB >> gcc4core CSWgcc4core 4.9.0,REV=2014.04.27 >> 125.5 MB >> gcc4corert_stub CSWgcc4corert 4.6.3,REV=2012.03.06 >> 13.1 KB >> gcc4g++ CSWgcc4g++ 4.9.0,REV=2014.04.27 >> 41.8 MB >> gcc4gfortran CSWgcc4gfortran 4.9.0,REV=2014.04.27 >> 37.3 MB >> gcc4java CSWgcc4java 4.9.0,REV=2014.04.27 >> 43.3 MB >> gcc4objc CSWgcc4objc 4.9.0,REV=2014.04.27 >> 33.3 MB >> libgcc_s1 CSWlibgcc-s1 4.9.0,REV=2014.04.27 >> 313.6 KB >> libgccpp1 CSWlibgccpp1 7.2d,REV=2013.08.01 >> 7.3 KB >> perlgcc CSWperlgcc 5.20.1,REV=2014.10.26 >> 19.6 MB >> ruby18_gcc4 CSWruby18-gcc4 1.8.7p357,REV=2014.03.06 >> 4.5 KB >> >> >> On 27 November 2014 at 15:00, Galen Johnson >> wrote: >> >>> Based on this: >>> >>> >>> /opt/csw/include/pcre.h:90:20: stdlib.h: No such file or directory​ >>> >>> >>> I'd say that you're missing some additional dev libraries. It's been >>> a while since I worked on Solaris, but it might be expecting the gcc >>> headers. >>> >>> >>> =G= >>> >>> >>> ------------------------------ >>> *From:* Xymon on behalf of Vernon Everett < >>> everett.vernon at gmail.com> >>> *Sent:* Thursday, November 27, 2014 1:46 AM >>> *To:* Xymon mailinglist >>> *Subject:* [Xymon] Building a new Server >>> >>> Hi all >>> >>> Trying to build a new server. >>> And not having much luck. >>> MAKE=gmake ./configure.server >>> MAKE=gmake ./configure.server --pcreinclude /opt/csw/include/ --pcrelib >>> /opt/csw/lib/pkgconfig/ >>> and >>> MAKE=gmake ./configure.server --pcreinclude /opt/csw/include/ --pcrelib >>> /opt/csw/lib/ >>> all give the exact same result below. >>> >>> + uname -s >>> OS=SunOS >>> In file included from test-pcre.c:1: >>> /opt/csw/include/pcre.h:90:20: stdlib.h: No such file or directory >>> In file included from test-pcre.c:1: >>> /opt/csw/include/pcre.h:489: warning: parameter names (without types) in >>> function declaration >>> /opt/csw/include/pcre.h:491: warning: parameter names (without types) in >>> function declaration >>> /opt/csw/include/pcre.h:496: warning: parameter names (without types) in >>> function declaration >>> /opt/csw/include/pcre.h:498: warning: parameter names (without types) in >>> function declaration >>> /opt/csw/include/pcre.h:503: warning: parameter names (without types) in >>> function declaration >>> /opt/csw/include/pcre.h:505: warning: parameter names (without types) in >>> function declaration >>> test-pcre.c: In function `main': >>> test-pcre.c:8: error: `NULL' undeclared (first use in this function) >>> test-pcre.c:8: error: (Each undeclared identifier is reported only once >>> test-pcre.c:8: error: for each function it appears in.) >>> Makefile.test-pcre:4: recipe for target 'test-compile' failed >>> gmake: *** [test-compile] Error 1 >>> + test 2 -eq 0 >>> + echo ERROR: Cannot compile using PCRE library. >>> ERROR: Cannot compile using PCRE library. >>> PCREOK=NO >>> + gmake -f Makefile.test-pcre test-link >>> PCRELIB=-L/opt/csw/lib + sed -es@/@_ at g >>> + uname -s >>> OS=SunOS >>> gcc: test-pcre.o: No such file or directory >>> Makefile.test-pcre:7: recipe for target 'test-link' failed >>> gmake: *** [test-link] Error 1 >>> + test 2 -eq 0 >>> + echo ERROR: Cannot link with PCRE library. >>> ERROR: Cannot link with PCRE library. >>> PCREOK=NO >>> + gmake -f Makefile.test-pcre clean >>> + sed -es@/@_ at g >>> + uname -s >>> OS=SunOS >>> + cd .. >>> + test NO = NO >>> + echo Missing PCRE include- or library-files. These are REQUIRED for >>> xymond >>> Missing PCRE include- or library-files. These are REQUIRED for xymond >>> + echo PCRE can be found at http://www.pcre.org/ >>> PCRE can be found at http://www.pcre.org/ >>> + echo If you have PCRE installed, use the "--pcreinclude DIR" and >>> "--pcrelib DIR" >>> If you have PCRE installed, use the "--pcreinclude DIR" and "--pcrelib >>> DIR" >>> + echo options to configure to specify where they are. >>> options to configure to specify where they are. >>> + exit 1 >>> >>> Have the following pcre related packages installed. >>> bash-3.00# pkgutil -l | grep -i pcre >>> CSWlibpcre-dev >>> CSWlibpcre0 >>> CSWlibpcre1 >>> CSWlibpcre16-0 >>> CSWlibpcre32-0 >>> CSWlibpcrecpp0 >>> CSWlibpcreposix0 >>> CSWpcre >>> CSWpcrert >>> What's missing here? >>> -- >>> "Accept the challenges so that you can feel the exhilaration of victory" >>> - General George Patton >>> >> >> >> >> -- >> "Accept the challenges so that you can feel the exhilaration of victory" >> - General George Patton >> > > > > -- > "Accept the challenges so that you can feel the exhilaration of victory" > - General George Patton > -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgb at pics.com Thu Nov 27 21:49:54 2014 From: sgb at pics.com (Steve Brown) Date: Thu, 27 Nov 2014 20:49:54 +0000 Subject: [Xymon] graphs that use multiple RRD files as input Message-ID: I figured this out. First in cgioptions.cfg I had to add CGI_SVC_OPTS="... --multigraphs=,disk,inode,qtree,quotas,snapshot,TblSpace,if_load,DBAreas" Initially I added just my custom "DBAreas" but that broke the others. The html.c code says if mulitgraphs is blank then put "disk...if_load" as defaults but if it isn't blank then those don't get loaded so we have to basically add them back. Adding the mods to cgioptions.cfg worked to a degree. It was graphing the first 4 of my rrds onto one graph but it was only creating the one graph. To fix that problem I had to add " Into the message/text that is sent Like this INFO=$INFO\n" " status $MACHINE.$TEST $COLOR $INFO Steve From: Steve Brown Sent: Wednesday, November 26, 2014 11:10 PM To: xymon at xymon.com Subject: graphs that use multiple RRD files as input I have a graph setup on a custom test that is using multiple RRD files as input. The graph is working but it is combining all the RRDs into a single graph instead of splitting them up like the built in "disk" graphs. Is there a parameter missing in my graphs.cfg definition or some other place I need to modify in order to have Xymon automatically split the graph up into multiple graphs? Thanks Steve [DBAreas] FNPATTERN DBAreas,(.*).rrd TITLE Area Size YAXIS KB DEF:kba at RRDIDX@=@RRDFN@:kbarea:AVERAGE LINE3:kba at RRDIDX@#@COLOR@:Area at RRDPARAM@ GPRINT:kba at RRDIDX@:LAST: \: %5.1lf (cur) GPRINT:kba at RRDIDX@:MAX: \: %5.1lf (max) GPRINT:kba at RRDIDX@:MIN: \: %5.1lf (min) GPRINT:kba at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n Disk splits into more than 1 graph -------------- next part -------------- An HTML attachment was scrubbed... URL: From everett.vernon at gmail.com Fri Nov 28 02:17:40 2014 From: everett.vernon at gmail.com (Vernon Everett) Date: Fri, 28 Nov 2014 09:17:40 +0800 Subject: [Xymon] Building a new server - part 2 Message-ID: OK, I was correct about the library packages. Once I installed them, it resolved most of my problems, and the configure script completed OK. On to the make. (Or gmake in my case) And we hit the next hurdle. gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -o xymonnet xymonnet.o contest.o httptest.o httpresult.o ldaptest.o dns.o dns2.o httpcookies.o -L -lcares -L/opt/csw/lib -lldap -llber ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt ../lib/libxymon.a -L/opt/csw/lib -lpcre Undefined first referenced symbol in file ares_process dns.o ares_gethostbyname dns.o ares_strerror dns.o ares_init_options dns.o ares_search dns.o ares_fds dns.o ares_destroy dns.o ares_timeout dns.o ares_expand_name dns2.o ld: fatal: Symbol referencing errors. No output written to xymonnet collect2: ld returned 1 exit status Makefile:33: recipe for target 'xymonnet' failed gmake[1]: *** [xymonnet] Error 1 gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymonnet' build/Makefile.rules:102: recipe for target 'xymonnet-build' failed gmake: *** [xymonnet-build] Error 2 Any ideas? Regards Vernon -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: From Rolands at logicaltech.com.au Fri Nov 28 03:07:03 2014 From: Rolands at logicaltech.com.au (Roland Soderstrom) Date: Fri, 28 Nov 2014 02:07:03 +0000 Subject: [Xymon] Building a new server - part 2 In-Reply-To: References: Message-ID: <281A66F6E46847489D285FE6CE8147E304190B4470@CSS0031.logicaltech.local> I’ve compiled 4.3.17 on Solaris Sparc and x86 with OpenCSW, so it should work. This is roughly what I do. pkgutil -y -i coreutils pkgutil -y -i gzip pkgutil -y -i wget pkgutil -y -a berkeleydb48 pkgutil -y -i freetype pkgutil -y -i libart pkgutil -y -i libpng15_15 pkgutil -y -i libtool pkgutil -i -y gcc4core gcc4g++ gmake pkgutil -i -y pcre libpcre_dev pkgutil -i -y rrdtool rrdtool_dev pkgutil -i -y openssl libssl_dev pkgutil -i -y openldap_client openldap_dev pkgutil -i -y fping export PATH=/usr/bin:/usr/sbin:/opt/csw/bin:/opt/csw/sbin:/usr/ccs/bin Make SURE /usr/local/ or /usr/sfw/ is not in any path. export LD_LIBRARY_PATH=”” crle which gmake /opt/csw/bin/gmake which ld /usr/ccs/bin/ld MAKE=gmake ; /configure gmake - Roland From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Vernon Everett Sent: Friday, 28 November 2014 12:18 PM To: Xymon mailinglist Subject: [Xymon] Building a new server - part 2 OK, I was correct about the library packages. Once I installed them, it resolved most of my problems, and the configure script completed OK. On to the make. (Or gmake in my case) And we hit the next hurdle. gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -o xymonnet xymonnet.o contest.o httptest.o httpresult.o ldaptest.o dns.o dns2.o httpcookies.o -L -lcares -L/opt/csw/lib -lldap -llber ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt ../lib/libxymon.a -L/opt/csw/lib -lpcre Undefined first referenced symbol in file ares_process dns.o ares_gethostbyname dns.o ares_strerror dns.o ares_init_options dns.o ares_search dns.o ares_fds dns.o ares_destroy dns.o ares_timeout dns.o ares_expand_name dns2.o ld: fatal: Symbol referencing errors. No output written to xymonnet collect2: ld returned 1 exit status Makefile:33: recipe for target 'xymonnet' failed gmake[1]: *** [xymonnet] Error 1 gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymonnet' build/Makefile.rules:102: recipe for target 'xymonnet-build' failed gmake: *** [xymonnet-build] Error 2 Any ideas? Regards Vernon -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: From everett.vernon at gmail.com Fri Nov 28 03:24:00 2014 From: everett.vernon at gmail.com (Vernon Everett) Date: Fri, 28 Nov 2014 10:24:00 +0800 Subject: [Xymon] Building a new server - part 2 In-Reply-To: <281A66F6E46847489D285FE6CE8147E304190B4470@CSS0031.logicaltech.local> References: <281A66F6E46847489D285FE6CE8147E304190B4470@CSS0031.logicaltech.local> Message-ID: Hi Roland Thanks for the quick response. I have built Xymon on Solaris many times too, and agree, it should just work. I did find something interesting just a minute ago. Looking through the Makefile, to check what it's looking for, and notices something odd about the c-ares definitions. See below. Notice the CARESLIBS has no directory defined after the -L I changed that to CARESLIBS = -L/opt/csw/lib -lcares And we moved on. Only to hit another one. gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -DRRDTOOL12 -c -o do_rrd.o do_rrd.c gcc -o xymond_rrd xymond_rrd.o xymond_worker.o do_rrd.o client_config.o ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt -L/opt/csw/lib -lrrd -L/opt/csw/lib -lpcre Undefined first referenced symbol in file XRenderCreateLinearGradient /opt/csw/lib/libcairo.so.2 XRenderCreateRadialGradient /opt/csw/lib/libcairo.so.2 XRenderCreateSolidFill /opt/csw/lib/libcairo.so.2 ld: fatal: Symbol referencing errors. No output written to xymond_rrd collect2: ld returned 1 exit status Makefile:62: recipe for target 'xymond_rrd' failed gmake[1]: *** [xymond_rrd] Error 1 gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymond' build/Makefile.rules:108: recipe for target 'xymond-build' failed gmake: *** [xymond-build] Error 2 My next Xymon install will be on Linux! No exceptions! --- snip --- # C-ARES settings SYSTEMCARES = yes CARESINCDIR = -I/opt/csw/include *CARESLIBS = -L -lcares* RPATHVAL += # PCRE settings PCREINCDIR = -I/opt/csw/include PCRELIBS = -L/opt/csw/lib -lpcre RPATHVAL += /opt/csw/lib # RRDtool settings RRDDEF = -DRRDTOOL12 RRDINCDIR = -I/opt/csw/include RRDLIBS = -L/opt/csw/lib -lrrd RPATHVAL += /opt/csw/lib DORRD = yes # # OpenSSL settings SSLFLAGS = -DHAVE_OPENSSL -DHAVE_SSLV2_SUPPORT SSLINCDIR = -I/opt/csw/include SSLLIBS = -L/usr/sfw/lib -lssl -lcrypto RPATHVAL += /usr/sfw/lib DOSSL = yes --- snip --- On 28 November 2014 at 10:07, Roland Soderstrom wrote: > I’ve compiled 4.3.17 on Solaris Sparc and x86 with OpenCSW, so it should > work. > > > > This is roughly what I do. > > pkgutil -y -i coreutils > > pkgutil -y -i gzip > > pkgutil -y -i wget > > pkgutil -y -a berkeleydb48 > > pkgutil -y -i freetype > > pkgutil -y -i libart > > pkgutil -y -i libpng15_15 > > pkgutil -y -i libtool > > pkgutil -i -y gcc4core gcc4g++ gmake > > pkgutil -i -y pcre libpcre_dev > > pkgutil -i -y rrdtool rrdtool_dev > > pkgutil -i -y openssl libssl_dev > > pkgutil -i -y openldap_client openldap_dev > > pkgutil -i -y fping > > > > export PATH=/usr/bin:/usr/sbin:/opt/csw/bin:/opt/csw/sbin:/usr/ccs/bin > > > > Make SURE /usr/local/ or /usr/sfw/ is not in any > path. > > export LD_LIBRARY_PATH=”” > > crle > > > > which gmake > > /opt/csw/bin/gmake > > which ld > > /usr/ccs/bin/ld > > MAKE=gmake ; /configure > > gmake > > > > - Roland > > > > *From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Vernon > Everett > *Sent:* Friday, 28 November 2014 12:18 PM > *To:* Xymon mailinglist > *Subject:* [Xymon] Building a new server - part 2 > > > > OK, I was correct about the library packages. > > Once I installed them, it resolved most of my problems, and the configure > script completed OK. > > On to the make. (Or gmake in my case) > And we hit the next hurdle. > gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include > -I/opt/csw/include -o xymonnet xymonnet.o contest.o httptest.o > httpresult.o ldaptest.o dns.o dns2.o httpcookies.o -L -lcares > -L/opt/csw/lib -lldap -llber ../lib/libxymontime.a -lrt > ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket > -lnsl -lrt ../lib/libxymon.a -L/opt/csw/lib -lpcre > Undefined first referenced > symbol in file > ares_process dns.o > ares_gethostbyname dns.o > ares_strerror dns.o > ares_init_options dns.o > ares_search dns.o > ares_fds dns.o > ares_destroy dns.o > ares_timeout dns.o > ares_expand_name dns2.o > ld: fatal: Symbol referencing errors. No output written to xymonnet > collect2: ld returned 1 exit status > Makefile:33: recipe for target 'xymonnet' failed > gmake[1]: *** [xymonnet] Error 1 > gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymonnet' > build/Makefile.rules:102: recipe for target 'xymonnet-build' failed > gmake: *** [xymonnet-build] Error 2 > > Any ideas? > > Regards > Vernon > > -- > > "Accept the challenges so that you can feel the exhilaration of victory" > > - General George Patton > -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: From Rolands at logicaltech.com.au Fri Nov 28 03:29:19 2014 From: Rolands at logicaltech.com.au (Roland Soderstrom) Date: Fri, 28 Nov 2014 02:29:19 +0000 Subject: [Xymon] Building a new server - part 2 In-Reply-To: References: <281A66F6E46847489D285FE6CE8147E304190B4470@CSS0031.logicaltech.local> Message-ID: <281A66F6E46847489D285FE6CE8147E304190B44A9@CSS0031.logicaltech.local> I think you miss a dependency. Use my CSW list. After finding which one you obviously need to redo configure so all Makefiles are corrected. - Roland From: Vernon Everett [mailto:everett.vernon at gmail.com] Sent: Friday, 28 November 2014 1:24 PM To: Roland Soderstrom Cc: Xymon mailinglist Subject: Re: [Xymon] Building a new server - part 2 Hi Roland Thanks for the quick response. I have built Xymon on Solaris many times too, and agree, it should just work. I did find something interesting just a minute ago. Looking through the Makefile, to check what it's looking for, and notices something odd about the c-ares definitions. See below. Notice the CARESLIBS has no directory defined after the -L I changed that to CARESLIBS = -L/opt/csw/lib -lcares And we moved on. Only to hit another one. gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -DRRDTOOL12 -c -o do_rrd.o do_rrd.c gcc -o xymond_rrd xymond_rrd.o xymond_worker.o do_rrd.o client_config.o ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt -L/opt/csw/lib -lrrd -L/opt/csw/lib -lpcre Undefined first referenced symbol in file XRenderCreateLinearGradient /opt/csw/lib/libcairo.so.2 XRenderCreateRadialGradient /opt/csw/lib/libcairo.so.2 XRenderCreateSolidFill /opt/csw/lib/libcairo.so.2 ld: fatal: Symbol referencing errors. No output written to xymond_rrd collect2: ld returned 1 exit status Makefile:62: recipe for target 'xymond_rrd' failed gmake[1]: *** [xymond_rrd] Error 1 gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymond' build/Makefile.rules:108: recipe for target 'xymond-build' failed gmake: *** [xymond-build] Error 2 My next Xymon install will be on Linux! No exceptions! --- snip --- # C-ARES settings SYSTEMCARES = yes CARESINCDIR = -I/opt/csw/include CARESLIBS = -L -lcares RPATHVAL += # PCRE settings PCREINCDIR = -I/opt/csw/include PCRELIBS = -L/opt/csw/lib -lpcre RPATHVAL += /opt/csw/lib # RRDtool settings RRDDEF = -DRRDTOOL12 RRDINCDIR = -I/opt/csw/include RRDLIBS = -L/opt/csw/lib -lrrd RPATHVAL += /opt/csw/lib DORRD = yes # # OpenSSL settings SSLFLAGS = -DHAVE_OPENSSL -DHAVE_SSLV2_SUPPORT SSLINCDIR = -I/opt/csw/include SSLLIBS = -L/usr/sfw/lib -lssl -lcrypto RPATHVAL += /usr/sfw/lib DOSSL = yes --- snip --- On 28 November 2014 at 10:07, Roland Soderstrom > wrote: I’ve compiled 4.3.17 on Solaris Sparc and x86 with OpenCSW, so it should work. This is roughly what I do. pkgutil -y -i coreutils pkgutil -y -i gzip pkgutil -y -i wget pkgutil -y -a berkeleydb48 pkgutil -y -i freetype pkgutil -y -i libart pkgutil -y -i libpng15_15 pkgutil -y -i libtool pkgutil -i -y gcc4core gcc4g++ gmake pkgutil -i -y pcre libpcre_dev pkgutil -i -y rrdtool rrdtool_dev pkgutil -i -y openssl libssl_dev pkgutil -i -y openldap_client openldap_dev pkgutil -i -y fping export PATH=/usr/bin:/usr/sbin:/opt/csw/bin:/opt/csw/sbin:/usr/ccs/bin Make SURE /usr/local/ or /usr/sfw/ is not in any path. export LD_LIBRARY_PATH=”” crle which gmake /opt/csw/bin/gmake which ld /usr/ccs/bin/ld MAKE=gmake ; /configure gmake - Roland From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Vernon Everett Sent: Friday, 28 November 2014 12:18 PM To: Xymon mailinglist Subject: [Xymon] Building a new server - part 2 OK, I was correct about the library packages. Once I installed them, it resolved most of my problems, and the configure script completed OK. On to the make. (Or gmake in my case) And we hit the next hurdle. gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -o xymonnet xymonnet.o contest.o httptest.o httpresult.o ldaptest.o dns.o dns2.o httpcookies.o -L -lcares -L/opt/csw/lib -lldap -llber ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt ../lib/libxymon.a -L/opt/csw/lib -lpcre Undefined first referenced symbol in file ares_process dns.o ares_gethostbyname dns.o ares_strerror dns.o ares_init_options dns.o ares_search dns.o ares_fds dns.o ares_destroy dns.o ares_timeout dns.o ares_expand_name dns2.o ld: fatal: Symbol referencing errors. No output written to xymonnet collect2: ld returned 1 exit status Makefile:33: recipe for target 'xymonnet' failed gmake[1]: *** [xymonnet] Error 1 gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymonnet' build/Makefile.rules:102: recipe for target 'xymonnet-build' failed gmake: *** [xymonnet-build] Error 2 Any ideas? Regards Vernon -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: From everett.vernon at gmail.com Fri Nov 28 03:30:59 2014 From: everett.vernon at gmail.com (Vernon Everett) Date: Fri, 28 Nov 2014 10:30:59 +0800 Subject: [Xymon] Fwd: Building a new server - part 2 In-Reply-To: References: <281A66F6E46847489D285FE6CE8147E304190B4470@CSS0031.logicaltech.local> Message-ID: Forgot to include the list. Of course, refering to my notes, I have hit (and worked around) that issue before. mv /usr/ccs/bin/ld /usr/ccs/bin/ld.orig And we get further, but not much. gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -I/opt/csw/include -DRRDTOOL12 -I/opt/csw/include -c -o perfdata.o perfdata.c In file included from perfdata.c:20: /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/math.h:26:26: iso/math_iso.h: No such file or directory In file included from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/math.h:336, from perfdata.c:20: /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/floatingpoint.h:30:24: sys/ieeefp.h: No such file or directory In file included from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/math.h:336, from perfdata.c:20: /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/floatingpoint.h:104: error: field `fpclass' has incomplete type /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/floatingpoint.h:128: error: field `rd' has incomplete type Makefile:130: recipe for target 'perfdata.o' failed gmake[1]: *** [perfdata.o] Error 1 gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/web' build/Makefile.rules:111: recipe for target 'web-build' failed gmake: *** [web-build] Error 2 On 28 November 2014 at 10:24, Vernon Everett wrote: > Hi Roland > > Thanks for the quick response. > > I have built Xymon on Solaris many times too, and agree, it should just > work. > I did find something interesting just a minute ago. > Looking through the Makefile, to check what it's looking for, and notices > something odd about the c-ares definitions. See below. > Notice the CARESLIBS has no directory defined after the -L > I changed that to CARESLIBS = -L/opt/csw/lib -lcares > And we moved on. > Only to hit another one. > gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include > -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -DRRDTOOL12 -c -o > do_rrd.o do_rrd.c > gcc -o xymond_rrd xymond_rrd.o xymond_worker.o do_rrd.o > client_config.o ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a > -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt -L/opt/csw/lib > -lrrd -L/opt/csw/lib -lpcre > Undefined first referenced > symbol in file > XRenderCreateLinearGradient /opt/csw/lib/libcairo.so.2 > XRenderCreateRadialGradient /opt/csw/lib/libcairo.so.2 > XRenderCreateSolidFill /opt/csw/lib/libcairo.so.2 > ld: fatal: Symbol referencing errors. No output written to xymond_rrd > collect2: ld returned 1 exit status > Makefile:62: recipe for target 'xymond_rrd' failed > gmake[1]: *** [xymond_rrd] Error 1 > gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymond' > build/Makefile.rules:108: recipe for target 'xymond-build' failed > gmake: *** [xymond-build] Error 2 > > My next Xymon install will be on Linux! > No exceptions! > > --- snip --- > > # C-ARES settings > SYSTEMCARES = yes > CARESINCDIR = -I/opt/csw/include > *CARESLIBS = -L -lcares* > RPATHVAL += > > # PCRE settings > PCREINCDIR = -I/opt/csw/include > PCRELIBS = -L/opt/csw/lib -lpcre > RPATHVAL += /opt/csw/lib > > # RRDtool settings > RRDDEF = -DRRDTOOL12 > RRDINCDIR = -I/opt/csw/include > RRDLIBS = -L/opt/csw/lib -lrrd > RPATHVAL += /opt/csw/lib > DORRD = yes > # > # OpenSSL settings > SSLFLAGS = -DHAVE_OPENSSL -DHAVE_SSLV2_SUPPORT > SSLINCDIR = -I/opt/csw/include > SSLLIBS = -L/usr/sfw/lib -lssl -lcrypto > RPATHVAL += /usr/sfw/lib > DOSSL = yes > > --- snip --- > > > > On 28 November 2014 at 10:07, Roland Soderstrom < > Rolands at logicaltech.com.au> wrote: > >> I’ve compiled 4.3.17 on Solaris Sparc and x86 with OpenCSW, so it >> should work. >> >> >> >> This is roughly what I do. >> >> pkgutil -y -i coreutils >> >> pkgutil -y -i gzip >> >> pkgutil -y -i wget >> >> pkgutil -y -a berkeleydb48 >> >> pkgutil -y -i freetype >> >> pkgutil -y -i libart >> >> pkgutil -y -i libpng15_15 >> >> pkgutil -y -i libtool >> >> pkgutil -i -y gcc4core gcc4g++ gmake >> >> pkgutil -i -y pcre libpcre_dev >> >> pkgutil -i -y rrdtool rrdtool_dev >> >> pkgutil -i -y openssl libssl_dev >> >> pkgutil -i -y openldap_client openldap_dev >> >> pkgutil -i -y fping >> >> >> >> export PATH=/usr/bin:/usr/sbin:/opt/csw/bin:/opt/csw/sbin:/usr/ccs/bin >> >> >> >> Make SURE /usr/local/ or /usr/sfw/ is not in any >> path. >> >> export LD_LIBRARY_PATH=”” >> >> crle >> >> >> >> which gmake >> >> /opt/csw/bin/gmake >> >> which ld >> >> /usr/ccs/bin/ld >> >> MAKE=gmake ; /configure >> >> gmake >> >> >> >> - Roland >> >> >> >> *From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Vernon >> Everett >> *Sent:* Friday, 28 November 2014 12:18 PM >> *To:* Xymon mailinglist >> *Subject:* [Xymon] Building a new server - part 2 >> >> >> >> OK, I was correct about the library packages. >> >> Once I installed them, it resolved most of my problems, and the configure >> script completed OK. >> >> On to the make. (Or gmake in my case) >> And we hit the next hurdle. >> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE >> -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include >> -I/opt/csw/include -o xymonnet xymonnet.o contest.o httptest.o >> httpresult.o ldaptest.o dns.o dns2.o httpcookies.o -L -lcares >> -L/opt/csw/lib -lldap -llber ../lib/libxymontime.a -lrt >> ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket >> -lnsl -lrt ../lib/libxymon.a -L/opt/csw/lib -lpcre >> Undefined first referenced >> symbol in file >> ares_process dns.o >> ares_gethostbyname dns.o >> ares_strerror dns.o >> ares_init_options dns.o >> ares_search dns.o >> ares_fds dns.o >> ares_destroy dns.o >> ares_timeout dns.o >> ares_expand_name dns2.o >> ld: fatal: Symbol referencing errors. No output written to xymonnet >> collect2: ld returned 1 exit status >> Makefile:33: recipe for target 'xymonnet' failed >> gmake[1]: *** [xymonnet] Error 1 >> gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymonnet' >> build/Makefile.rules:102: recipe for target 'xymonnet-build' failed >> gmake: *** [xymonnet-build] Error 2 >> >> Any ideas? >> >> Regards >> Vernon >> >> -- >> >> "Accept the challenges so that you can feel the exhilaration of victory" >> >> - General George Patton >> > > > > -- > "Accept the challenges so that you can feel the exhilaration of victory" > - General George Patton > -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: From Rolands at logicaltech.com.au Fri Nov 28 03:41:35 2014 From: Rolands at logicaltech.com.au (Roland Soderstrom) Date: Fri, 28 Nov 2014 02:41:35 +0000 Subject: [Xymon] Fwd: Building a new server - part 2 In-Reply-To: References: <281A66F6E46847489D285FE6CE8147E304190B4470@CSS0031.logicaltech.local> Message-ID: <281A66F6E46847489D285FE6CE8147E304190B44E5@CSS0031.logicaltech.local> The ld issue is due to SFW rrdtool have some sort of strange hardcoded dependency on /usr/ccs/bin/ld It doesn’t matter how many times you tell gmake or PATH or configure to use gnu ld SFW rrdtool will use /usr/ccs/bin/ld, by moving it it uses gnu ld and all works. But that was not the case for me when using CSW? From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Vernon Everett Sent: Friday, 28 November 2014 1:31 PM To: Xymon mailinglist Subject: [Xymon] Fwd: Building a new server - part 2 Forgot to include the list. Of course, refering to my notes, I have hit (and worked around) that issue before. mv /usr/ccs/bin/ld /usr/ccs/bin/ld.orig And we get further, but not much. gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -I/opt/csw/include -DRRDTOOL12 -I/opt/csw/include -c -o perfdata.o perfdata.c In file included from perfdata.c:20: /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/math.h:26:26: iso/math_iso.h: No such file or directory In file included from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/math.h:336, from perfdata.c:20: /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/floatingpoint.h:30:24: sys/ieeefp.h: No such file or directory In file included from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/math.h:336, from perfdata.c:20: /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/floatingpoint.h:104: error: field `fpclass' has incomplete type /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/floatingpoint.h:128: error: field `rd' has incomplete type Makefile:130: recipe for target 'perfdata.o' failed gmake[1]: *** [perfdata.o] Error 1 gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/web' build/Makefile.rules:111: recipe for target 'web-build' failed gmake: *** [web-build] Error 2 On 28 November 2014 at 10:24, Vernon Everett > wrote: Hi Roland Thanks for the quick response. I have built Xymon on Solaris many times too, and agree, it should just work. I did find something interesting just a minute ago. Looking through the Makefile, to check what it's looking for, and notices something odd about the c-ares definitions. See below. Notice the CARESLIBS has no directory defined after the -L I changed that to CARESLIBS = -L/opt/csw/lib -lcares And we moved on. Only to hit another one. gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -DRRDTOOL12 -c -o do_rrd.o do_rrd.c gcc -o xymond_rrd xymond_rrd.o xymond_worker.o do_rrd.o client_config.o ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt -L/opt/csw/lib -lrrd -L/opt/csw/lib -lpcre Undefined first referenced symbol in file XRenderCreateLinearGradient /opt/csw/lib/libcairo.so.2 XRenderCreateRadialGradient /opt/csw/lib/libcairo.so.2 XRenderCreateSolidFill /opt/csw/lib/libcairo.so.2 ld: fatal: Symbol referencing errors. No output written to xymond_rrd collect2: ld returned 1 exit status Makefile:62: recipe for target 'xymond_rrd' failed gmake[1]: *** [xymond_rrd] Error 1 gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymond' build/Makefile.rules:108: recipe for target 'xymond-build' failed gmake: *** [xymond-build] Error 2 My next Xymon install will be on Linux! No exceptions! --- snip --- # C-ARES settings SYSTEMCARES = yes CARESINCDIR = -I/opt/csw/include CARESLIBS = -L -lcares RPATHVAL += # PCRE settings PCREINCDIR = -I/opt/csw/include PCRELIBS = -L/opt/csw/lib -lpcre RPATHVAL += /opt/csw/lib # RRDtool settings RRDDEF = -DRRDTOOL12 RRDINCDIR = -I/opt/csw/include RRDLIBS = -L/opt/csw/lib -lrrd RPATHVAL += /opt/csw/lib DORRD = yes # # OpenSSL settings SSLFLAGS = -DHAVE_OPENSSL -DHAVE_SSLV2_SUPPORT SSLINCDIR = -I/opt/csw/include SSLLIBS = -L/usr/sfw/lib -lssl -lcrypto RPATHVAL += /usr/sfw/lib DOSSL = yes --- snip --- On 28 November 2014 at 10:07, Roland Soderstrom > wrote: I’ve compiled 4.3.17 on Solaris Sparc and x86 with OpenCSW, so it should work. This is roughly what I do. pkgutil -y -i coreutils pkgutil -y -i gzip pkgutil -y -i wget pkgutil -y -a berkeleydb48 pkgutil -y -i freetype pkgutil -y -i libart pkgutil -y -i libpng15_15 pkgutil -y -i libtool pkgutil -i -y gcc4core gcc4g++ gmake pkgutil -i -y pcre libpcre_dev pkgutil -i -y rrdtool rrdtool_dev pkgutil -i -y openssl libssl_dev pkgutil -i -y openldap_client openldap_dev pkgutil -i -y fping export PATH=/usr/bin:/usr/sbin:/opt/csw/bin:/opt/csw/sbin:/usr/ccs/bin Make SURE /usr/local/ or /usr/sfw/ is not in any path. export LD_LIBRARY_PATH=”” crle which gmake /opt/csw/bin/gmake which ld /usr/ccs/bin/ld MAKE=gmake ; /configure gmake - Roland From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Vernon Everett Sent: Friday, 28 November 2014 12:18 PM To: Xymon mailinglist Subject: [Xymon] Building a new server - part 2 OK, I was correct about the library packages. Once I installed them, it resolved most of my problems, and the configure script completed OK. On to the make. (Or gmake in my case) And we hit the next hurdle. gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -o xymonnet xymonnet.o contest.o httptest.o httpresult.o ldaptest.o dns.o dns2.o httpcookies.o -L -lcares -L/opt/csw/lib -lldap -llber ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt ../lib/libxymon.a -L/opt/csw/lib -lpcre Undefined first referenced symbol in file ares_process dns.o ares_gethostbyname dns.o ares_strerror dns.o ares_init_options dns.o ares_search dns.o ares_fds dns.o ares_destroy dns.o ares_timeout dns.o ares_expand_name dns2.o ld: fatal: Symbol referencing errors. No output written to xymonnet collect2: ld returned 1 exit status Makefile:33: recipe for target 'xymonnet' failed gmake[1]: *** [xymonnet] Error 1 gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymonnet' build/Makefile.rules:102: recipe for target 'xymonnet-build' failed gmake: *** [xymonnet-build] Error 2 Any ideas? Regards Vernon -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: From everett.vernon at gmail.com Fri Nov 28 03:47:43 2014 From: everett.vernon at gmail.com (Vernon Everett) Date: Fri, 28 Nov 2014 10:47:43 +0800 Subject: [Xymon] Building a new server - part 2 In-Reply-To: <281A66F6E46847489D285FE6CE8147E304190B44A9@CSS0031.logicaltech.local> References: <281A66F6E46847489D285FE6CE8147E304190B4470@CSS0031.logicaltech.local> <281A66F6E46847489D285FE6CE8147E304190B44A9@CSS0031.logicaltech.local> Message-ID: Hi Roland Started over completely. Used your pkgutil list, and it installed a few packages, mostly around the freetype and libart section. I then did a gmake clean, remover the Makefile and ran configure from scratch. It generated a Makefile. Then I ran gmake. Hit the c-ares issue. Added the -L path, and mentioned above, and we were off again. Then I hit the rrdtool error. Moved the /usr/ccs/bin/ld as mentioned, and we moved ahead again. Then I hit this one.. gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -I/opt/csw/include -DRRDTOOL12 -I/opt/csw/include -c -o perfdata.o perfdata.c In file included from perfdata.c:20:0: /opt/csw/lib/gcc/i386-pc-solaris2.10/4.9.0/include-fixed/math.h:333:27: fatal error: floatingpoint.h: No such file or directory #include ^ compilation terminated. Makefile:130: recipe for target 'perfdata.o' failed gmake[1]: *** [perfdata.o] Error 1 gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/web' build/Makefile.rules:111: recipe for target 'web-build' failed gmake: *** [web-build] Error 2 On 28 November 2014 at 10:29, Roland Soderstrom wrote: > I think you miss a dependency. > > Use my CSW list. > > After finding which one you obviously need to redo configure so all > Makefiles are corrected. > > > > - Roland > > > > *From:* Vernon Everett [mailto:everett.vernon at gmail.com] > *Sent:* Friday, 28 November 2014 1:24 PM > *To:* Roland Soderstrom > *Cc:* Xymon mailinglist > *Subject:* Re: [Xymon] Building a new server - part 2 > > > > Hi Roland > > Thanks for the quick response. > > I have built Xymon on Solaris many times too, and agree, it should just > work. > > I did find something interesting just a minute ago. > > Looking through the Makefile, to check what it's looking for, and notices > something odd about the c-ares definitions. See below. > > Notice the CARESLIBS has no directory defined after the -L > > I changed that to CARESLIBS = -L/opt/csw/lib -lcares > > And we moved on. > > Only to hit another one. > gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include > -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -DRRDTOOL12 -c -o > do_rrd.o do_rrd.c > gcc -o xymond_rrd xymond_rrd.o xymond_worker.o do_rrd.o > client_config.o ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a > -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt -L/opt/csw/lib > -lrrd -L/opt/csw/lib -lpcre > Undefined first referenced > symbol in file > XRenderCreateLinearGradient /opt/csw/lib/libcairo.so.2 > XRenderCreateRadialGradient /opt/csw/lib/libcairo.so.2 > XRenderCreateSolidFill /opt/csw/lib/libcairo.so.2 > ld: fatal: Symbol referencing errors. No output written to xymond_rrd > collect2: ld returned 1 exit status > Makefile:62: recipe for target 'xymond_rrd' failed > gmake[1]: *** [xymond_rrd] Error 1 > gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymond' > build/Makefile.rules:108: recipe for target 'xymond-build' failed > gmake: *** [xymond-build] Error 2 > > My next Xymon install will be on Linux! > No exceptions! > > --- snip --- > > # C-ARES settings > SYSTEMCARES = yes > CARESINCDIR = -I/opt/csw/include > *CARESLIBS = -L -lcares* > RPATHVAL += > > # PCRE settings > PCREINCDIR = -I/opt/csw/include > PCRELIBS = -L/opt/csw/lib -lpcre > RPATHVAL += /opt/csw/lib > > # RRDtool settings > RRDDEF = -DRRDTOOL12 > RRDINCDIR = -I/opt/csw/include > RRDLIBS = -L/opt/csw/lib -lrrd > RPATHVAL += /opt/csw/lib > DORRD = yes > # > # OpenSSL settings > SSLFLAGS = -DHAVE_OPENSSL -DHAVE_SSLV2_SUPPORT > SSLINCDIR = -I/opt/csw/include > SSLLIBS = -L/usr/sfw/lib -lssl -lcrypto > RPATHVAL += /usr/sfw/lib > DOSSL = yes > > --- snip --- > > > > > > On 28 November 2014 at 10:07, Roland Soderstrom < > Rolands at logicaltech.com.au> wrote: > > I’ve compiled 4.3.17 on Solaris Sparc and x86 with OpenCSW, so it should > work. > > > > This is roughly what I do. > > pkgutil -y -i coreutils > > pkgutil -y -i gzip > > pkgutil -y -i wget > > pkgutil -y -a berkeleydb48 > > pkgutil -y -i freetype > > pkgutil -y -i libart > > pkgutil -y -i libpng15_15 > > pkgutil -y -i libtool > > pkgutil -i -y gcc4core gcc4g++ gmake > > pkgutil -i -y pcre libpcre_dev > > pkgutil -i -y rrdtool rrdtool_dev > > pkgutil -i -y openssl libssl_dev > > pkgutil -i -y openldap_client openldap_dev > > pkgutil -i -y fping > > > > export PATH=/usr/bin:/usr/sbin:/opt/csw/bin:/opt/csw/sbin:/usr/ccs/bin > > > > Make SURE /usr/local/ or /usr/sfw/ is not in any > path. > > export LD_LIBRARY_PATH=”” > > crle > > > > which gmake > > /opt/csw/bin/gmake > > which ld > > /usr/ccs/bin/ld > > MAKE=gmake ; /configure > > gmake > > > > - Roland > > > > *From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Vernon > Everett > *Sent:* Friday, 28 November 2014 12:18 PM > *To:* Xymon mailinglist > *Subject:* [Xymon] Building a new server - part 2 > > > > OK, I was correct about the library packages. > > Once I installed them, it resolved most of my problems, and the configure > script completed OK. > > On to the make. (Or gmake in my case) > And we hit the next hurdle. > gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include > -I/opt/csw/include -o xymonnet xymonnet.o contest.o httptest.o > httpresult.o ldaptest.o dns.o dns2.o httpcookies.o -L -lcares > -L/opt/csw/lib -lldap -llber ../lib/libxymontime.a -lrt > ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket > -lnsl -lrt ../lib/libxymon.a -L/opt/csw/lib -lpcre > Undefined first referenced > symbol in file > ares_process dns.o > ares_gethostbyname dns.o > ares_strerror dns.o > ares_init_options dns.o > ares_search dns.o > ares_fds dns.o > ares_destroy dns.o > ares_timeout dns.o > ares_expand_name dns2.o > ld: fatal: Symbol referencing errors. No output written to xymonnet > collect2: ld returned 1 exit status > Makefile:33: recipe for target 'xymonnet' failed > gmake[1]: *** [xymonnet] Error 1 > gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymonnet' > build/Makefile.rules:102: recipe for target 'xymonnet-build' failed > gmake: *** [xymonnet-build] Error 2 > > Any ideas? > > Regards > Vernon > > -- > > "Accept the challenges so that you can feel the exhilaration of victory" > > - General George Patton > > > > > -- > > "Accept the challenges so that you can feel the exhilaration of victory" > > - General George Patton > -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: From everett.vernon at gmail.com Fri Nov 28 03:50:04 2014 From: everett.vernon at gmail.com (Vernon Everett) Date: Fri, 28 Nov 2014 10:50:04 +0800 Subject: [Xymon] Building a new server - part 2 In-Reply-To: References: <281A66F6E46847489D285FE6CE8147E304190B4470@CSS0031.logicaltech.local> <281A66F6E46847489D285FE6CE8147E304190B44A9@CSS0031.logicaltech.local> Message-ID: And floatingpoint.h, I think is a Solaris library. SUNWspro, I think. Let me install that and check On 28 November 2014 at 10:47, Vernon Everett wrote: > Hi Roland > > Started over completely. > Used your pkgutil list, and it installed a few packages, mostly around the > freetype and libart section. > I then did a gmake clean, remover the Makefile and ran configure from > scratch. > It generated a Makefile. Then I ran gmake. > Hit the c-ares issue. > Added the -L path, and mentioned above, and we were off again. > Then I hit the rrdtool error. > Moved the /usr/ccs/bin/ld as mentioned, and we moved ahead again. > Then I hit this one.. > gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS > -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -I/opt/csw/include > -DRRDTOOL12 -I/opt/csw/include -c -o perfdata.o perfdata.c > In file included from perfdata.c:20:0: > /opt/csw/lib/gcc/i386-pc-solaris2.10/4.9.0/include-fixed/math.h:333:27: > fatal error: floatingpoint.h: No such file or directory > #include > ^ > compilation terminated. > Makefile:130: recipe for target 'perfdata.o' failed > gmake[1]: *** [perfdata.o] Error 1 > gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/web' > build/Makefile.rules:111: recipe for target 'web-build' failed > gmake: *** [web-build] Error 2 > > > > > > On 28 November 2014 at 10:29, Roland Soderstrom < > Rolands at logicaltech.com.au> wrote: > >> I think you miss a dependency. >> >> Use my CSW list. >> >> After finding which one you obviously need to redo configure so all >> Makefiles are corrected. >> >> >> >> - Roland >> >> >> >> *From:* Vernon Everett [mailto:everett.vernon at gmail.com] >> *Sent:* Friday, 28 November 2014 1:24 PM >> *To:* Roland Soderstrom >> *Cc:* Xymon mailinglist >> *Subject:* Re: [Xymon] Building a new server - part 2 >> >> >> >> Hi Roland >> >> Thanks for the quick response. >> >> I have built Xymon on Solaris many times too, and agree, it should just >> work. >> >> I did find something interesting just a minute ago. >> >> Looking through the Makefile, to check what it's looking for, and notices >> something odd about the c-ares definitions. See below. >> >> Notice the CARESLIBS has no directory defined after the -L >> >> I changed that to CARESLIBS = -L/opt/csw/lib -lcares >> >> And we moved on. >> >> Only to hit another one. >> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE >> -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include >> -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -DRRDTOOL12 -c -o >> do_rrd.o do_rrd.c >> gcc -o xymond_rrd xymond_rrd.o xymond_worker.o do_rrd.o >> client_config.o ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a >> -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt -L/opt/csw/lib >> -lrrd -L/opt/csw/lib -lpcre >> Undefined first referenced >> symbol in file >> XRenderCreateLinearGradient /opt/csw/lib/libcairo.so.2 >> XRenderCreateRadialGradient /opt/csw/lib/libcairo.so.2 >> XRenderCreateSolidFill /opt/csw/lib/libcairo.so.2 >> ld: fatal: Symbol referencing errors. No output written to xymond_rrd >> collect2: ld returned 1 exit status >> Makefile:62: recipe for target 'xymond_rrd' failed >> gmake[1]: *** [xymond_rrd] Error 1 >> gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymond' >> build/Makefile.rules:108: recipe for target 'xymond-build' failed >> gmake: *** [xymond-build] Error 2 >> >> My next Xymon install will be on Linux! >> No exceptions! >> >> --- snip --- >> >> # C-ARES settings >> SYSTEMCARES = yes >> CARESINCDIR = -I/opt/csw/include >> *CARESLIBS = -L -lcares* >> RPATHVAL += >> >> # PCRE settings >> PCREINCDIR = -I/opt/csw/include >> PCRELIBS = -L/opt/csw/lib -lpcre >> RPATHVAL += /opt/csw/lib >> >> # RRDtool settings >> RRDDEF = -DRRDTOOL12 >> RRDINCDIR = -I/opt/csw/include >> RRDLIBS = -L/opt/csw/lib -lrrd >> RPATHVAL += /opt/csw/lib >> DORRD = yes >> # >> # OpenSSL settings >> SSLFLAGS = -DHAVE_OPENSSL -DHAVE_SSLV2_SUPPORT >> SSLINCDIR = -I/opt/csw/include >> SSLLIBS = -L/usr/sfw/lib -lssl -lcrypto >> RPATHVAL += /usr/sfw/lib >> DOSSL = yes >> >> --- snip --- >> >> >> >> >> >> On 28 November 2014 at 10:07, Roland Soderstrom < >> Rolands at logicaltech.com.au> wrote: >> >> I’ve compiled 4.3.17 on Solaris Sparc and x86 with OpenCSW, so it should >> work. >> >> >> >> This is roughly what I do. >> >> pkgutil -y -i coreutils >> >> pkgutil -y -i gzip >> >> pkgutil -y -i wget >> >> pkgutil -y -a berkeleydb48 >> >> pkgutil -y -i freetype >> >> pkgutil -y -i libart >> >> pkgutil -y -i libpng15_15 >> >> pkgutil -y -i libtool >> >> pkgutil -i -y gcc4core gcc4g++ gmake >> >> pkgutil -i -y pcre libpcre_dev >> >> pkgutil -i -y rrdtool rrdtool_dev >> >> pkgutil -i -y openssl libssl_dev >> >> pkgutil -i -y openldap_client openldap_dev >> >> pkgutil -i -y fping >> >> >> >> export PATH=/usr/bin:/usr/sbin:/opt/csw/bin:/opt/csw/sbin:/usr/ccs/bin >> >> >> >> Make SURE /usr/local/ or /usr/sfw/ is not in any >> path. >> >> export LD_LIBRARY_PATH=”” >> >> crle >> >> >> >> which gmake >> >> /opt/csw/bin/gmake >> >> which ld >> >> /usr/ccs/bin/ld >> >> MAKE=gmake ; /configure >> >> gmake >> >> >> >> - Roland >> >> >> >> *From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Vernon >> Everett >> *Sent:* Friday, 28 November 2014 12:18 PM >> *To:* Xymon mailinglist >> *Subject:* [Xymon] Building a new server - part 2 >> >> >> >> OK, I was correct about the library packages. >> >> Once I installed them, it resolved most of my problems, and the configure >> script completed OK. >> >> On to the make. (Or gmake in my case) >> And we hit the next hurdle. >> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE >> -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include >> -I/opt/csw/include -o xymonnet xymonnet.o contest.o httptest.o >> httpresult.o ldaptest.o dns.o dns2.o httpcookies.o -L -lcares >> -L/opt/csw/lib -lldap -llber ../lib/libxymontime.a -lrt >> ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket >> -lnsl -lrt ../lib/libxymon.a -L/opt/csw/lib -lpcre >> Undefined first referenced >> symbol in file >> ares_process dns.o >> ares_gethostbyname dns.o >> ares_strerror dns.o >> ares_init_options dns.o >> ares_search dns.o >> ares_fds dns.o >> ares_destroy dns.o >> ares_timeout dns.o >> ares_expand_name dns2.o >> ld: fatal: Symbol referencing errors. No output written to xymonnet >> collect2: ld returned 1 exit status >> Makefile:33: recipe for target 'xymonnet' failed >> gmake[1]: *** [xymonnet] Error 1 >> gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymonnet' >> build/Makefile.rules:102: recipe for target 'xymonnet-build' failed >> gmake: *** [xymonnet-build] Error 2 >> >> Any ideas? >> >> Regards >> Vernon >> >> -- >> >> "Accept the challenges so that you can feel the exhilaration of victory" >> >> - General George Patton >> >> >> >> >> -- >> >> "Accept the challenges so that you can feel the exhilaration of victory" >> >> - General George Patton >> > > > > -- > "Accept the challenges so that you can feel the exhilaration of victory" > - General George Patton > -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: From everett.vernon at gmail.com Fri Nov 28 04:04:54 2014 From: everett.vernon at gmail.com (Vernon Everett) Date: Fri, 28 Nov 2014 11:04:54 +0800 Subject: [Xymon] Building a new server - part 2 In-Reply-To: References: <281A66F6E46847489D285FE6CE8147E304190B4470@CSS0031.logicaltech.local> <281A66F6E46847489D285FE6CE8147E304190B44A9@CSS0031.logicaltech.local> Message-ID: SUNWlibm delivers floatingpoint.h Damn these limited install options! And gmake completed successfully. Now let's see if we can get the rest to work. :-) On 28 November 2014 at 10:50, Vernon Everett wrote: > And floatingpoint.h, I think is a Solaris library. > SUNWspro, I think. > Let me install that and check > > On 28 November 2014 at 10:47, Vernon Everett > wrote: > >> Hi Roland >> >> Started over completely. >> Used your pkgutil list, and it installed a few packages, mostly around >> the freetype and libart section. >> I then did a gmake clean, remover the Makefile and ran configure from >> scratch. >> It generated a Makefile. Then I ran gmake. >> Hit the c-ares issue. >> Added the -L path, and mentioned above, and we were off again. >> Then I hit the rrdtool error. >> Moved the /usr/ccs/bin/ld as mentioned, and we moved ahead again. >> Then I hit this one.. >> gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT >> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS >> -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -I/opt/csw/include >> -DRRDTOOL12 -I/opt/csw/include -c -o perfdata.o perfdata.c >> In file included from perfdata.c:20:0: >> /opt/csw/lib/gcc/i386-pc-solaris2.10/4.9.0/include-fixed/math.h:333:27: >> fatal error: floatingpoint.h: No such file or directory >> #include >> ^ >> compilation terminated. >> Makefile:130: recipe for target 'perfdata.o' failed >> gmake[1]: *** [perfdata.o] Error 1 >> gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/web' >> build/Makefile.rules:111: recipe for target 'web-build' failed >> gmake: *** [web-build] Error 2 >> >> >> >> >> >> On 28 November 2014 at 10:29, Roland Soderstrom < >> Rolands at logicaltech.com.au> wrote: >> >>> I think you miss a dependency. >>> >>> Use my CSW list. >>> >>> After finding which one you obviously need to redo configure so all >>> Makefiles are corrected. >>> >>> >>> >>> - Roland >>> >>> >>> >>> *From:* Vernon Everett [mailto:everett.vernon at gmail.com] >>> *Sent:* Friday, 28 November 2014 1:24 PM >>> *To:* Roland Soderstrom >>> *Cc:* Xymon mailinglist >>> *Subject:* Re: [Xymon] Building a new server - part 2 >>> >>> >>> >>> Hi Roland >>> >>> Thanks for the quick response. >>> >>> I have built Xymon on Solaris many times too, and agree, it should just >>> work. >>> >>> I did find something interesting just a minute ago. >>> >>> Looking through the Makefile, to check what it's looking for, and >>> notices something odd about the c-ares definitions. See below. >>> >>> Notice the CARESLIBS has no directory defined after the -L >>> >>> I changed that to CARESLIBS = -L/opt/csw/lib -lcares >>> >>> And we moved on. >>> >>> Only to hit another one. >>> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE >>> -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include >>> -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -DRRDTOOL12 -c -o >>> do_rrd.o do_rrd.c >>> gcc -o xymond_rrd xymond_rrd.o xymond_worker.o do_rrd.o >>> client_config.o ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a >>> -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt -L/opt/csw/lib >>> -lrrd -L/opt/csw/lib -lpcre >>> Undefined first referenced >>> symbol in file >>> XRenderCreateLinearGradient /opt/csw/lib/libcairo.so.2 >>> XRenderCreateRadialGradient /opt/csw/lib/libcairo.so.2 >>> XRenderCreateSolidFill /opt/csw/lib/libcairo.so.2 >>> ld: fatal: Symbol referencing errors. No output written to xymond_rrd >>> collect2: ld returned 1 exit status >>> Makefile:62: recipe for target 'xymond_rrd' failed >>> gmake[1]: *** [xymond_rrd] Error 1 >>> gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymond' >>> build/Makefile.rules:108: recipe for target 'xymond-build' failed >>> gmake: *** [xymond-build] Error 2 >>> >>> My next Xymon install will be on Linux! >>> No exceptions! >>> >>> --- snip --- >>> >>> # C-ARES settings >>> SYSTEMCARES = yes >>> CARESINCDIR = -I/opt/csw/include >>> *CARESLIBS = -L -lcares* >>> RPATHVAL += >>> >>> # PCRE settings >>> PCREINCDIR = -I/opt/csw/include >>> PCRELIBS = -L/opt/csw/lib -lpcre >>> RPATHVAL += /opt/csw/lib >>> >>> # RRDtool settings >>> RRDDEF = -DRRDTOOL12 >>> RRDINCDIR = -I/opt/csw/include >>> RRDLIBS = -L/opt/csw/lib -lrrd >>> RPATHVAL += /opt/csw/lib >>> DORRD = yes >>> # >>> # OpenSSL settings >>> SSLFLAGS = -DHAVE_OPENSSL -DHAVE_SSLV2_SUPPORT >>> SSLINCDIR = -I/opt/csw/include >>> SSLLIBS = -L/usr/sfw/lib -lssl -lcrypto >>> RPATHVAL += /usr/sfw/lib >>> DOSSL = yes >>> >>> --- snip --- >>> >>> >>> >>> >>> >>> On 28 November 2014 at 10:07, Roland Soderstrom < >>> Rolands at logicaltech.com.au> wrote: >>> >>> I’ve compiled 4.3.17 on Solaris Sparc and x86 with OpenCSW, so it should >>> work. >>> >>> >>> >>> This is roughly what I do. >>> >>> pkgutil -y -i coreutils >>> >>> pkgutil -y -i gzip >>> >>> pkgutil -y -i wget >>> >>> pkgutil -y -a berkeleydb48 >>> >>> pkgutil -y -i freetype >>> >>> pkgutil -y -i libart >>> >>> pkgutil -y -i libpng15_15 >>> >>> pkgutil -y -i libtool >>> >>> pkgutil -i -y gcc4core gcc4g++ gmake >>> >>> pkgutil -i -y pcre libpcre_dev >>> >>> pkgutil -i -y rrdtool rrdtool_dev >>> >>> pkgutil -i -y openssl libssl_dev >>> >>> pkgutil -i -y openldap_client openldap_dev >>> >>> pkgutil -i -y fping >>> >>> >>> >>> export PATH=/usr/bin:/usr/sbin:/opt/csw/bin:/opt/csw/sbin:/usr/ccs/bin >>> >>> >>> >>> Make SURE /usr/local/ or /usr/sfw/ is not in any >>> path. >>> >>> export LD_LIBRARY_PATH=”” >>> >>> crle >>> >>> >>> >>> which gmake >>> >>> /opt/csw/bin/gmake >>> >>> which ld >>> >>> /usr/ccs/bin/ld >>> >>> MAKE=gmake ; /configure >>> >>> gmake >>> >>> >>> >>> - Roland >>> >>> >>> >>> *From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Vernon >>> Everett >>> *Sent:* Friday, 28 November 2014 12:18 PM >>> *To:* Xymon mailinglist >>> *Subject:* [Xymon] Building a new server - part 2 >>> >>> >>> >>> OK, I was correct about the library packages. >>> >>> Once I installed them, it resolved most of my problems, and the >>> configure script completed OK. >>> >>> On to the make. (Or gmake in my case) >>> And we hit the next hurdle. >>> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE >>> -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include >>> -I/opt/csw/include -o xymonnet xymonnet.o contest.o httptest.o >>> httpresult.o ldaptest.o dns.o dns2.o httpcookies.o -L -lcares >>> -L/opt/csw/lib -lldap -llber ../lib/libxymontime.a -lrt >>> ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket >>> -lnsl -lrt ../lib/libxymon.a -L/opt/csw/lib -lpcre >>> Undefined first referenced >>> symbol in file >>> ares_process dns.o >>> ares_gethostbyname dns.o >>> ares_strerror dns.o >>> ares_init_options dns.o >>> ares_search dns.o >>> ares_fds dns.o >>> ares_destroy dns.o >>> ares_timeout dns.o >>> ares_expand_name dns2.o >>> ld: fatal: Symbol referencing errors. No output written to xymonnet >>> collect2: ld returned 1 exit status >>> Makefile:33: recipe for target 'xymonnet' failed >>> gmake[1]: *** [xymonnet] Error 1 >>> gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymonnet' >>> build/Makefile.rules:102: recipe for target 'xymonnet-build' failed >>> gmake: *** [xymonnet-build] Error 2 >>> >>> Any ideas? >>> >>> Regards >>> Vernon >>> >>> -- >>> >>> "Accept the challenges so that you can feel the exhilaration of victory" >>> >>> - General George Patton >>> >>> >>> >>> >>> -- >>> >>> "Accept the challenges so that you can feel the exhilaration of victory" >>> >>> - General George Patton >>> >> >> >> >> -- >> "Accept the challenges so that you can feel the exhilaration of victory" >> - General George Patton >> > > > > -- > "Accept the challenges so that you can feel the exhilaration of victory" > - General George Patton > -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: From novosirj at ca.rutgers.edu Fri Nov 28 04:39:20 2014 From: novosirj at ca.rutgers.edu (Novosielski, Ryan) Date: Thu, 27 Nov 2014 22:39:20 -0500 Subject: [Xymon] Fwd: Building a new server - part 2 In-Reply-To: References: <281A66F6E46847489D285FE6CE8147E304190B4470@CSS0031.logicaltech.local> Message-ID: <9E010FB7-E658-472B-A156-C922459624ED@ca.rutgers.edu> I've not built this recently, but as I said the last time I saw this, you definitely don't need to do this to get it to work. ____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences* || \\UTGERS |---------------------*O*--------------------- ||_// Biomedical | Ryan Novosielski - Senior Technologist || \\ and Health | novosirj at rutgers.edu- 973/972.0922 (2x0922) || \\ Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark `' On Nov 27, 2014, at 21:31, Vernon Everett > wrote: Forgot to include the list. Of course, refering to my notes, I have hit (and worked around) that issue before. mv /usr/ccs/bin/ld /usr/ccs/bin/ld.orig And we get further, but not much. gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -I/opt/csw/include -DRRDTOOL12 -I/opt/csw/include -c -o perfdata.o perfdata.c In file included from perfdata.c:20: /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/math.h:26:26: iso/math_iso.h: No such file or directory In file included from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/math.h:336, from perfdata.c:20: /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/floatingpoint.h:30:24: sys/ieeefp.h: No such file or directory In file included from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/math.h:336, from perfdata.c:20: /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/floatingpoint.h:104: error: field `fpclass' has incomplete type /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/include/floatingpoint.h:128: error: field `rd' has incomplete type Makefile:130: recipe for target 'perfdata.o' failed gmake[1]: *** [perfdata.o] Error 1 gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/web' build/Makefile.rules:111: recipe for target 'web-build' failed gmake: *** [web-build] Error 2 On 28 November 2014 at 10:24, Vernon Everett > wrote: Hi Roland Thanks for the quick response. I have built Xymon on Solaris many times too, and agree, it should just work. I did find something interesting just a minute ago. Looking through the Makefile, to check what it's looking for, and notices something odd about the c-ares definitions. See below. Notice the CARESLIBS has no directory defined after the -L I changed that to CARESLIBS = -L/opt/csw/lib -lcares And we moved on. Only to hit another one. gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -DRRDTOOL12 -c -o do_rrd.o do_rrd.c gcc -o xymond_rrd xymond_rrd.o xymond_worker.o do_rrd.o client_config.o ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt -L/opt/csw/lib -lrrd -L/opt/csw/lib -lpcre Undefined first referenced symbol in file XRenderCreateLinearGradient /opt/csw/lib/libcairo.so.2 XRenderCreateRadialGradient /opt/csw/lib/libcairo.so.2 XRenderCreateSolidFill /opt/csw/lib/libcairo.so.2 ld: fatal: Symbol referencing errors. No output written to xymond_rrd collect2: ld returned 1 exit status Makefile:62: recipe for target 'xymond_rrd' failed gmake[1]: *** [xymond_rrd] Error 1 gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymond' build/Makefile.rules:108: recipe for target 'xymond-build' failed gmake: *** [xymond-build] Error 2 My next Xymon install will be on Linux! No exceptions! --- snip --- # C-ARES settings SYSTEMCARES = yes CARESINCDIR = -I/opt/csw/include CARESLIBS = -L -lcares RPATHVAL += # PCRE settings PCREINCDIR = -I/opt/csw/include PCRELIBS = -L/opt/csw/lib -lpcre RPATHVAL += /opt/csw/lib # RRDtool settings RRDDEF = -DRRDTOOL12 RRDINCDIR = -I/opt/csw/include RRDLIBS = -L/opt/csw/lib -lrrd RPATHVAL += /opt/csw/lib DORRD = yes # # OpenSSL settings SSLFLAGS = -DHAVE_OPENSSL -DHAVE_SSLV2_SUPPORT SSLINCDIR = -I/opt/csw/include SSLLIBS = -L/usr/sfw/lib -lssl -lcrypto RPATHVAL += /usr/sfw/lib DOSSL = yes --- snip --- On 28 November 2014 at 10:07, Roland Soderstrom > wrote: I’ve compiled 4.3.17 on Solaris Sparc and x86 with OpenCSW, so it should work. This is roughly what I do. pkgutil -y -i coreutils pkgutil -y -i gzip pkgutil -y -i wget pkgutil -y -a berkeleydb48 pkgutil -y -i freetype pkgutil -y -i libart pkgutil -y -i libpng15_15 pkgutil -y -i libtool pkgutil -i -y gcc4core gcc4g++ gmake pkgutil -i -y pcre libpcre_dev pkgutil -i -y rrdtool rrdtool_dev pkgutil -i -y openssl libssl_dev pkgutil -i -y openldap_client openldap_dev pkgutil -i -y fping export PATH=/usr/bin:/usr/sbin:/opt/csw/bin:/opt/csw/sbin:/usr/ccs/bin Make SURE /usr/local/ or /usr/sfw/ is not in any path. export LD_LIBRARY_PATH=”” crle which gmake /opt/csw/bin/gmake which ld /usr/ccs/bin/ld MAKE=gmake ; /configure gmake - Roland From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Vernon Everett Sent: Friday, 28 November 2014 12:18 PM To: Xymon mailinglist Subject: [Xymon] Building a new server - part 2 OK, I was correct about the library packages. Once I installed them, it resolved most of my problems, and the configure script completed OK. On to the make. (Or gmake in my case) And we hit the next hurdle. gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -o xymonnet xymonnet.o contest.o httptest.o httpresult.o ldaptest.o dns.o dns2.o httpcookies.o -L -lcares -L/opt/csw/lib -lldap -llber ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt ../lib/libxymon.a -L/opt/csw/lib -lpcre Undefined first referenced symbol in file ares_process dns.o ares_gethostbyname dns.o ares_strerror dns.o ares_init_options dns.o ares_search dns.o ares_fds dns.o ares_destroy dns.o ares_timeout dns.o ares_expand_name dns2.o ld: fatal: Symbol referencing errors. No output written to xymonnet collect2: ld returned 1 exit status Makefile:33: recipe for target 'xymonnet' failed gmake[1]: *** [xymonnet] Error 1 gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymonnet' build/Makefile.rules:102: recipe for target 'xymonnet-build' failed gmake: *** [xymonnet-build] Error 2 Any ideas? Regards Vernon -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon -------------- next part -------------- An HTML attachment was scrubbed... URL: From everett.vernon at gmail.com Fri Nov 28 06:28:51 2014 From: everett.vernon at gmail.com (Vernon Everett) Date: Fri, 28 Nov 2014 13:28:51 +0800 Subject: [Xymon] Building a new server - part 2 In-Reply-To: References: <281A66F6E46847489D285FE6CE8147E304190B4470@CSS0031.logicaltech.local> <281A66F6E46847489D285FE6CE8147E304190B44A9@CSS0031.logicaltech.local> Message-ID: And it'w working. A bit of fun & games getting Apache going, but we now have a working Xymon server. Thanks to all for your assistance. Regards Vernon On 28 November 2014 at 11:04, Vernon Everett wrote: > SUNWlibm delivers floatingpoint.h > Damn these limited install options! > > And gmake completed successfully. > Now let's see if we can get the rest to work. :-) > > On 28 November 2014 at 10:50, Vernon Everett > wrote: > >> And floatingpoint.h, I think is a Solaris library. >> SUNWspro, I think. >> Let me install that and check >> >> On 28 November 2014 at 10:47, Vernon Everett >> wrote: >> >>> Hi Roland >>> >>> Started over completely. >>> Used your pkgutil list, and it installed a few packages, mostly around >>> the freetype and libart section. >>> I then did a gmake clean, remover the Makefile and ran configure from >>> scratch. >>> It generated a Makefile. Then I ran gmake. >>> Hit the c-ares issue. >>> Added the -L path, and mentioned above, and we were off again. >>> Then I hit the rrdtool error. >>> Moved the /usr/ccs/bin/ld as mentioned, and we moved ahead again. >>> Then I hit this one.. >>> gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT >>> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS >>> -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -I/opt/csw/include >>> -DRRDTOOL12 -I/opt/csw/include -c -o perfdata.o perfdata.c >>> In file included from perfdata.c:20:0: >>> /opt/csw/lib/gcc/i386-pc-solaris2.10/4.9.0/include-fixed/math.h:333:27: >>> fatal error: floatingpoint.h: No such file or directory >>> #include >>> ^ >>> compilation terminated. >>> Makefile:130: recipe for target 'perfdata.o' failed >>> gmake[1]: *** [perfdata.o] Error 1 >>> gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/web' >>> build/Makefile.rules:111: recipe for target 'web-build' failed >>> gmake: *** [web-build] Error 2 >>> >>> >>> >>> >>> >>> On 28 November 2014 at 10:29, Roland Soderstrom < >>> Rolands at logicaltech.com.au> wrote: >>> >>>> I think you miss a dependency. >>>> >>>> Use my CSW list. >>>> >>>> After finding which one you obviously need to redo configure so all >>>> Makefiles are corrected. >>>> >>>> >>>> >>>> - Roland >>>> >>>> >>>> >>>> *From:* Vernon Everett [mailto:everett.vernon at gmail.com] >>>> *Sent:* Friday, 28 November 2014 1:24 PM >>>> *To:* Roland Soderstrom >>>> *Cc:* Xymon mailinglist >>>> *Subject:* Re: [Xymon] Building a new server - part 2 >>>> >>>> >>>> >>>> Hi Roland >>>> >>>> Thanks for the quick response. >>>> >>>> I have built Xymon on Solaris many times too, and agree, it should just >>>> work. >>>> >>>> I did find something interesting just a minute ago. >>>> >>>> Looking through the Makefile, to check what it's looking for, and >>>> notices something odd about the c-ares definitions. See below. >>>> >>>> Notice the CARESLIBS has no directory defined after the -L >>>> >>>> I changed that to CARESLIBS = -L/opt/csw/lib -lcares >>>> >>>> And we moved on. >>>> >>>> Only to hit another one. >>>> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE >>>> -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include >>>> -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -DRRDTOOL12 -c -o >>>> do_rrd.o do_rrd.c >>>> gcc -o xymond_rrd xymond_rrd.o xymond_worker.o do_rrd.o >>>> client_config.o ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a >>>> -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt -L/opt/csw/lib >>>> -lrrd -L/opt/csw/lib -lpcre >>>> Undefined first referenced >>>> symbol in file >>>> XRenderCreateLinearGradient /opt/csw/lib/libcairo.so.2 >>>> XRenderCreateRadialGradient /opt/csw/lib/libcairo.so.2 >>>> XRenderCreateSolidFill /opt/csw/lib/libcairo.so.2 >>>> ld: fatal: Symbol referencing errors. No output written to xymond_rrd >>>> collect2: ld returned 1 exit status >>>> Makefile:62: recipe for target 'xymond_rrd' failed >>>> gmake[1]: *** [xymond_rrd] Error 1 >>>> gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymond' >>>> build/Makefile.rules:108: recipe for target 'xymond-build' failed >>>> gmake: *** [xymond-build] Error 2 >>>> >>>> My next Xymon install will be on Linux! >>>> No exceptions! >>>> >>>> --- snip --- >>>> >>>> # C-ARES settings >>>> SYSTEMCARES = yes >>>> CARESINCDIR = -I/opt/csw/include >>>> *CARESLIBS = -L -lcares* >>>> RPATHVAL += >>>> >>>> # PCRE settings >>>> PCREINCDIR = -I/opt/csw/include >>>> PCRELIBS = -L/opt/csw/lib -lpcre >>>> RPATHVAL += /opt/csw/lib >>>> >>>> # RRDtool settings >>>> RRDDEF = -DRRDTOOL12 >>>> RRDINCDIR = -I/opt/csw/include >>>> RRDLIBS = -L/opt/csw/lib -lrrd >>>> RPATHVAL += /opt/csw/lib >>>> DORRD = yes >>>> # >>>> # OpenSSL settings >>>> SSLFLAGS = -DHAVE_OPENSSL -DHAVE_SSLV2_SUPPORT >>>> SSLINCDIR = -I/opt/csw/include >>>> SSLLIBS = -L/usr/sfw/lib -lssl -lcrypto >>>> RPATHVAL += /usr/sfw/lib >>>> DOSSL = yes >>>> >>>> --- snip --- >>>> >>>> >>>> >>>> >>>> >>>> On 28 November 2014 at 10:07, Roland Soderstrom < >>>> Rolands at logicaltech.com.au> wrote: >>>> >>>> I’ve compiled 4.3.17 on Solaris Sparc and x86 with OpenCSW, so it >>>> should work. >>>> >>>> >>>> >>>> This is roughly what I do. >>>> >>>> pkgutil -y -i coreutils >>>> >>>> pkgutil -y -i gzip >>>> >>>> pkgutil -y -i wget >>>> >>>> pkgutil -y -a berkeleydb48 >>>> >>>> pkgutil -y -i freetype >>>> >>>> pkgutil -y -i libart >>>> >>>> pkgutil -y -i libpng15_15 >>>> >>>> pkgutil -y -i libtool >>>> >>>> pkgutil -i -y gcc4core gcc4g++ gmake >>>> >>>> pkgutil -i -y pcre libpcre_dev >>>> >>>> pkgutil -i -y rrdtool rrdtool_dev >>>> >>>> pkgutil -i -y openssl libssl_dev >>>> >>>> pkgutil -i -y openldap_client openldap_dev >>>> >>>> pkgutil -i -y fping >>>> >>>> >>>> >>>> export PATH=/usr/bin:/usr/sbin:/opt/csw/bin:/opt/csw/sbin:/usr/ccs/bin >>>> >>>> >>>> >>>> Make SURE /usr/local/ or /usr/sfw/ is not in any >>>> path. >>>> >>>> export LD_LIBRARY_PATH=”” >>>> >>>> crle >>>> >>>> >>>> >>>> which gmake >>>> >>>> /opt/csw/bin/gmake >>>> >>>> which ld >>>> >>>> /usr/ccs/bin/ld >>>> >>>> MAKE=gmake ; /configure >>>> >>>> gmake >>>> >>>> >>>> >>>> - Roland >>>> >>>> >>>> >>>> *From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Vernon >>>> Everett >>>> *Sent:* Friday, 28 November 2014 12:18 PM >>>> *To:* Xymon mailinglist >>>> *Subject:* [Xymon] Building a new server - part 2 >>>> >>>> >>>> >>>> OK, I was correct about the library packages. >>>> >>>> Once I installed them, it resolved most of my problems, and the >>>> configure script completed OK. >>>> >>>> On to the make. (Or gmake in my case) >>>> And we hit the next hurdle. >>>> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE >>>> -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include >>>> -I/opt/csw/include -o xymonnet xymonnet.o contest.o httptest.o >>>> httpresult.o ldaptest.o dns.o dns2.o httpcookies.o -L -lcares >>>> -L/opt/csw/lib -lldap -llber ../lib/libxymontime.a -lrt >>>> ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket >>>> -lnsl -lrt ../lib/libxymon.a -L/opt/csw/lib -lpcre >>>> Undefined first referenced >>>> symbol in file >>>> ares_process dns.o >>>> ares_gethostbyname dns.o >>>> ares_strerror dns.o >>>> ares_init_options dns.o >>>> ares_search dns.o >>>> ares_fds dns.o >>>> ares_destroy dns.o >>>> ares_timeout dns.o >>>> ares_expand_name dns2.o >>>> ld: fatal: Symbol referencing errors. No output written to xymonnet >>>> collect2: ld returned 1 exit status >>>> Makefile:33: recipe for target 'xymonnet' failed >>>> gmake[1]: *** [xymonnet] Error 1 >>>> gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymonnet' >>>> build/Makefile.rules:102: recipe for target 'xymonnet-build' failed >>>> gmake: *** [xymonnet-build] Error 2 >>>> >>>> Any ideas? >>>> >>>> Regards >>>> Vernon >>>> >>>> -- >>>> >>>> "Accept the challenges so that you can feel the exhilaration of victory" >>>> >>>> - General George Patton >>>> >>>> >>>> >>>> >>>> -- >>>> >>>> "Accept the challenges so that you can feel the exhilaration of victory" >>>> >>>> - General George Patton >>>> >>> >>> >>> >>> -- >>> "Accept the challenges so that you can feel the exhilaration of victory" >>> - General George Patton >>> >> >> >> >> -- >> "Accept the challenges so that you can feel the exhilaration of victory" >> - General George Patton >> > > > > -- > "Accept the challenges so that you can feel the exhilaration of victory" > - General George Patton > -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: From everett.vernon at gmail.com Fri Nov 28 08:00:16 2014 From: everett.vernon at gmail.com (Vernon Everett) Date: Fri, 28 Nov 2014 15:00:16 +0800 Subject: [Xymon] graphs that use multiple RRD files as input In-Reply-To: References: Message-ID: Hi Steve Not sure if it's what you are looking for, but check the GRAPHS= in xymonserver.cfg If you have a value, let's call it my_test, it will determine the order in which they will appear on the trends column. But you can also define the number of data sets (lines) per graph, by adding ::X after the entry, where X is number of data sets. Not sure if it works for the primary test display though. Regards Vernon On 28 November 2014 at 04:49, Steve Brown wrote: > I figured this out. > > > > First in cgioptions.cfg I had to add > > CGI_SVC_OPTS=”… > --multigraphs=,disk,inode,qtree,quotas,snapshot,TblSpace,if_load,DBAreas" > > Initially I added just my custom “DBAreas” but that broke the others. The > html.c code says if mulitgraphs is blank then put “disk…if_load” as > defaults but if it isn’t blank then those don’t get loaded so we have to > basically add them back. > > > > Adding the mods to cgioptions.cfg worked to a degree. It was graphing the > first 4 of my rrds onto one graph but it was only creating the one graph. > > > > To fix that problem I had to add > > " > > Into the message/text that is sent > > Like this > > INFO=$INFO\n” ” > > status $MACHINE.$TEST $COLOR $INFO > > > > Steve > > > > *From:* Steve Brown > *Sent:* Wednesday, November 26, 2014 11:10 PM > *To:* xymon at xymon.com > *Subject:* graphs that use multiple RRD files as input > > > > I have a graph setup on a custom test that is using multiple RRD files as > input. The graph is working but it is combining all the RRDs into a single > graph instead of splitting them up like the built in “disk” graphs. > > > > Is there a parameter missing in my graphs.cfg definition or some other > place I need to modify in order to have Xymon automatically split the graph > up into multiple graphs? > > > > Thanks > > Steve > > > > [DBAreas] > > FNPATTERN DBAreas,(.*).rrd > > TITLE Area Size > > YAXIS KB > > DEF:kba at RRDIDX@=@RRDFN@:kbarea:AVERAGE > > LINE3:kba at RRDIDX@#@COLOR@:Area at RRDPARAM@ > > GPRINT:kba at RRDIDX@:LAST: \: %5.1lf (cur) > > GPRINT:kba at RRDIDX@:MAX: \: %5.1lf (max) > > GPRINT:kba at RRDIDX@:MIN: \: %5.1lf (min) > > GPRINT:kba at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n > > > > > > > > > > > > Disk splits into more than 1 graph > > > > > > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon > > -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: From hj.beckers at kreis-steinfurt.de Fri Nov 28 12:45:45 2014 From: hj.beckers at kreis-steinfurt.de (Hermann-Josef Beckers) Date: Fri, 28 Nov 2014 12:45:45 +0100 Subject: [Xymon] Subjectline shows red status, body green status Message-ID: I just received a xymon alert with the subject line: Xymon [530795] xxx.yyy.de:smtp CRITICAL (RED) but the message body shows: "green Fri Nov 28 12:01:26 2014 smtp ok Service smtp on xxx.yyy.de is OK (up) 220 xxx.yyy Mail Gateway ready Seconds: 0.00 See ..." My rrd-status.log contains some "bug"-messages regarding this server: 2014-04-28 16:10:19 xxx.yyy.de/tcp.conn.rrd: Bug - duplicate RRD data with same timestamp 1398694219, different data 2014-09-30 13:46:46 xxx.yyy.de/tcp.conn.rrd: Bug - duplicate RRD data with same timestamp 1412077606, different data 2014-11-26 12:23:52 xxx.yyy.de/tcp.conn.rrd: Bug - duplicate RRD data with same timestamp 1417001031, different data 2014-11-26 12:23:52 xxx.yyy.de/tcp.smtp.rrd: Bug - duplicate RRD data with same timestamp 1417001031, different data 2014-11-26 14:54:46 xxx.yyy.de/tcp.conn.rrd: Bug - duplicate RRD data with same timestamp 1417010086, different data 2014-11-27 01:18:24 xxx.yyy.de/tcp.conn.rrd: Bug - duplicate RRD data with same timestamp 1417047503, different data 2014-11-27 08:31:01 xxx.yyy.de/tcp.conn.rrd: Bug - duplicate RRD data with same timestamp 1417073461, different data 2014-11-27 20:15:26 xxx.yyy.de/tcp.conn.rrd: Bug - duplicate RRD data with same timestamp 1417115726, different data 2014-11-27 22:36:20 xxx.yyy.de/tcp.conn.rrd: Bug - duplicate RRD data with same timestamp 1417124180, different data 2014-11-27 23:41:50 xxx.yyy.de/tcp.conn.rrd: Bug - duplicate RRD data with same timestamp 1417128110, different data 2014-11-28 00:17:07 xxx.yyy.de/tcp.conn.rrd: Bug - duplicate RRD data with same timestamp 1417130226, different data 2014-11-28 01:27:33 xxx.yyy.de/tcp.conn.rrd: Bug - duplicate RRD data with same timestamp 1417134452, different data 2014-11-28 06:44:36 xxx.yyy.de/tcp.conn.rrd: Bug - duplicate RRD data with same timestamp 1417153476, different data 2014-11-28 09:25:30 xxx.yyy.de/tcp.conn.rrd: Bug - duplicate RRD data with same timestamp 1417163130, different data there is only 1 entry for the smtp.rrd file, all others are for the conn-test. Any hints? Hermann-Josef Beckers -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgb at pics.com Fri Nov 28 18:38:00 2014 From: sgb at pics.com (Steve Brown) Date: Fri, 28 Nov 2014 17:38:00 +0000 Subject: [Xymon] BBALPHAMSG Size Truncated Message-ID: <52fc6ed6d6b0422da8c013ab50d4e18d@BLUPR05MB151.namprd05.prod.outlook.com> Is there a location to set the max size of BBALPHAMSG? Since upgrading from 4.21 to 4.3.18, email alerts with large $BBALPHAMSG are getting truncated If I output $BBALPHAMSG to a text file named al1.txt and then examine it: Linux word count (wc) shows newline, word, and byte counts wc al1.txt 55 247 4075 al1.txt Thanks Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From Rolands at logicaltech.com.au Sun Nov 30 23:16:42 2014 From: Rolands at logicaltech.com.au (Roland Soderstrom) Date: Sun, 30 Nov 2014 22:16:42 +0000 Subject: [Xymon] Building a new server - part 2 In-Reply-To: References: <281A66F6E46847489D285FE6CE8147E304190B4470@CSS0031.logicaltech.local> <281A66F6E46847489D285FE6CE8147E304190B44A9@CSS0031.logicaltech.local> Message-ID: <281A66F6E46847489D285FE6CE8147E304190B4C69@CSS0031.logicaltech.local> I had to test this to figure out why I managed to get it going. Some findings. I had to uninstall all SMC packages. Xymon configure.server will use some of the SMC libs. After this no need to mv /usr/ccs/bin/ld and rrdtool will work. When using opencsw ALL libs and includes NEEDS to be opencsw or it wont work. (unless it’s vanilla solaris libs) Maybe on option to configure? If specifying --opencsw it will only use libs/includes in /opt/csw Openssl 1.0 is installed in /usr/sfw with Solaris, we can’t use that. Openssl will use /usr/sfw openssl (bug in build/ssl.sh? it will use the last one in the for list it finds) Cares –L is blank in the Makefile as you pointed out. I think this is a bug in build/c-ares.sh, line 455-456 echo "CARESLIBS = -L$LIB -lcares" >>Makefile echo "RPATHVAL += ${LIB}" >>Makefile Should be: echo "CARESLIBS = -L$CARESLIB -lcares" >>Makefile echo "RPATHVAL += ${CARESLIB}" >>Makefile So after installing all opencsw packages and removing all SMC packages, fixing configure.server I run configure as this: MAKE=gmake ; ./configure.server --sslinclude /opt/csw/include/openssl --ssllib /opt/csw/lib Voila no errors or other fixes. - Roland From: Vernon Everett [mailto:everett.vernon at gmail.com] Sent: Friday, 28 November 2014 4:29 PM To: Roland Soderstrom Cc: Xymon mailinglist Subject: Re: [Xymon] Building a new server - part 2 And it'w working. A bit of fun & games getting Apache going, but we now have a working Xymon server. Thanks to all for your assistance. Regards Vernon On 28 November 2014 at 11:04, Vernon Everett > wrote: SUNWlibm delivers floatingpoint.h Damn these limited install options! And gmake completed successfully. Now let's see if we can get the rest to work. :-) On 28 November 2014 at 10:50, Vernon Everett > wrote: And floatingpoint.h, I think is a Solaris library. SUNWspro, I think. Let me install that and check On 28 November 2014 at 10:47, Vernon Everett > wrote: Hi Roland Started over completely. Used your pkgutil list, and it installed a few packages, mostly around the freetype and libart section. I then did a gmake clean, remover the Makefile and ran configure from scratch. It generated a Makefile. Then I ran gmake. Hit the c-ares issue. Added the -L path, and mentioned above, and we were off again. Then I hit the rrdtool error. Moved the /usr/ccs/bin/ld as mentioned, and we moved ahead again. Then I hit this one.. gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -I/opt/csw/include -DRRDTOOL12 -I/opt/csw/include -c -o perfdata.o perfdata.c In file included from perfdata.c:20:0: /opt/csw/lib/gcc/i386-pc-solaris2.10/4.9.0/include-fixed/math.h:333:27: fatal error: floatingpoint.h: No such file or directory #include ^ compilation terminated. Makefile:130: recipe for target 'perfdata.o' failed gmake[1]: *** [perfdata.o] Error 1 gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/web' build/Makefile.rules:111: recipe for target 'web-build' failed gmake: *** [web-build] Error 2 On 28 November 2014 at 10:29, Roland Soderstrom > wrote: I think you miss a dependency. Use my CSW list. After finding which one you obviously need to redo configure so all Makefiles are corrected. - Roland From: Vernon Everett [mailto:everett.vernon at gmail.com] Sent: Friday, 28 November 2014 1:24 PM To: Roland Soderstrom Cc: Xymon mailinglist Subject: Re: [Xymon] Building a new server - part 2 Hi Roland Thanks for the quick response. I have built Xymon on Solaris many times too, and agree, it should just work. I did find something interesting just a minute ago. Looking through the Makefile, to check what it's looking for, and notices something odd about the c-ares definitions. See below. Notice the CARESLIBS has no directory defined after the -L I changed that to CARESLIBS = -L/opt/csw/lib -lcares And we moved on. Only to hit another one. gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -DRRDTOOL12 -c -o do_rrd.o do_rrd.c gcc -o xymond_rrd xymond_rrd.o xymond_worker.o do_rrd.o client_config.o ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt -L/opt/csw/lib -lrrd -L/opt/csw/lib -lpcre Undefined first referenced symbol in file XRenderCreateLinearGradient /opt/csw/lib/libcairo.so.2 XRenderCreateRadialGradient /opt/csw/lib/libcairo.so.2 XRenderCreateSolidFill /opt/csw/lib/libcairo.so.2 ld: fatal: Symbol referencing errors. No output written to xymond_rrd collect2: ld returned 1 exit status Makefile:62: recipe for target 'xymond_rrd' failed gmake[1]: *** [xymond_rrd] Error 1 gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymond' build/Makefile.rules:108: recipe for target 'xymond-build' failed gmake: *** [xymond-build] Error 2 My next Xymon install will be on Linux! No exceptions! --- snip --- # C-ARES settings SYSTEMCARES = yes CARESINCDIR = -I/opt/csw/include CARESLIBS = -L -lcares RPATHVAL += # PCRE settings PCREINCDIR = -I/opt/csw/include PCRELIBS = -L/opt/csw/lib -lpcre RPATHVAL += /opt/csw/lib # RRDtool settings RRDDEF = -DRRDTOOL12 RRDINCDIR = -I/opt/csw/include RRDLIBS = -L/opt/csw/lib -lrrd RPATHVAL += /opt/csw/lib DORRD = yes # # OpenSSL settings SSLFLAGS = -DHAVE_OPENSSL -DHAVE_SSLV2_SUPPORT SSLINCDIR = -I/opt/csw/include SSLLIBS = -L/usr/sfw/lib -lssl -lcrypto RPATHVAL += /usr/sfw/lib DOSSL = yes --- snip --- On 28 November 2014 at 10:07, Roland Soderstrom > wrote: I’ve compiled 4.3.17 on Solaris Sparc and x86 with OpenCSW, so it should work. This is roughly what I do. pkgutil -y -i coreutils pkgutil -y -i gzip pkgutil -y -i wget pkgutil -y -a berkeleydb48 pkgutil -y -i freetype pkgutil -y -i libart pkgutil -y -i libpng15_15 pkgutil -y -i libtool pkgutil -i -y gcc4core gcc4g++ gmake pkgutil -i -y pcre libpcre_dev pkgutil -i -y rrdtool rrdtool_dev pkgutil -i -y openssl libssl_dev pkgutil -i -y openldap_client openldap_dev pkgutil -i -y fping export PATH=/usr/bin:/usr/sbin:/opt/csw/bin:/opt/csw/sbin:/usr/ccs/bin Make SURE /usr/local/ or /usr/sfw/ is not in any path. export LD_LIBRARY_PATH=”” crle which gmake /opt/csw/bin/gmake which ld /usr/ccs/bin/ld MAKE=gmake ; /configure gmake - Roland From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Vernon Everett Sent: Friday, 28 November 2014 12:18 PM To: Xymon mailinglist Subject: [Xymon] Building a new server - part 2 OK, I was correct about the library packages. Once I installed them, it resolved most of my problems, and the configure script completed OK. On to the make. (Or gmake in my case) And we hit the next hurdle. gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -o xymonnet xymonnet.o contest.o httptest.o httpresult.o ldaptest.o dns.o dns2.o httpcookies.o -L -lcares -L/opt/csw/lib -lldap -llber ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt ../lib/libxymon.a -L/opt/csw/lib -lpcre Undefined first referenced symbol in file ares_process dns.o ares_gethostbyname dns.o ares_strerror dns.o ares_init_options dns.o ares_search dns.o ares_fds dns.o ares_destroy dns.o ares_timeout dns.o ares_expand_name dns2.o ld: fatal: Symbol referencing errors. No output written to xymonnet collect2: ld returned 1 exit status Makefile:33: recipe for target 'xymonnet' failed gmake[1]: *** [xymonnet] Error 1 gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymonnet' build/Makefile.rules:102: recipe for target 'xymonnet-build' failed gmake: *** [xymonnet-build] Error 2 Any ideas? Regards Vernon -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: From Rolands at logicaltech.com.au Sun Nov 30 23:35:26 2014 From: Rolands at logicaltech.com.au (Roland Soderstrom) Date: Sun, 30 Nov 2014 22:35:26 +0000 Subject: [Xymon] Building a new server - part 2 In-Reply-To: <281A66F6E46847489D285FE6CE8147E304190B4C69@CSS0031.logicaltech.local> References: <281A66F6E46847489D285FE6CE8147E304190B4470@CSS0031.logicaltech.local> <281A66F6E46847489D285FE6CE8147E304190B44A9@CSS0031.logicaltech.local> <281A66F6E46847489D285FE6CE8147E304190B4C69@CSS0031.logicaltech.local> Message-ID: <281A66F6E46847489D285FE6CE8147E304190B4CD7@CSS0031.logicaltech.local> Typo… I think this is a bug in build/c-ares.sh, line 455-456 Should be I think this is a bug in configure.server, line 455-456 From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Roland Soderstrom Sent: Monday, 1 December 2014 9:17 AM To: 'Vernon Everett' Cc: Xymon mailinglist Subject: Re: [Xymon] Building a new server - part 2 I had to test this to figure out why I managed to get it going. Some findings. I had to uninstall all SMC packages. Xymon configure.server will use some of the SMC libs. After this no need to mv /usr/ccs/bin/ld and rrdtool will work. When using opencsw ALL libs and includes NEEDS to be opencsw or it wont work. (unless it’s vanilla solaris libs) Maybe on option to configure? If specifying --opencsw it will only use libs/includes in /opt/csw Openssl 1.0 is installed in /usr/sfw with Solaris, we can’t use that. Openssl will use /usr/sfw openssl (bug in build/ssl.sh? it will use the last one in the for list it finds) Cares –L is blank in the Makefile as you pointed out. I think this is a bug in build/c-ares.sh, line 455-456 echo "CARESLIBS = -L$LIB -lcares" >>Makefile echo "RPATHVAL += ${LIB}" >>Makefile Should be: echo "CARESLIBS = -L$CARESLIB -lcares" >>Makefile echo "RPATHVAL += ${CARESLIB}" >>Makefile So after installing all opencsw packages and removing all SMC packages, fixing configure.server I run configure as this: MAKE=gmake ; ./configure.server --sslinclude /opt/csw/include/openssl --ssllib /opt/csw/lib Voila no errors or other fixes. - Roland From: Vernon Everett [mailto:everett.vernon at gmail.com] Sent: Friday, 28 November 2014 4:29 PM To: Roland Soderstrom Cc: Xymon mailinglist Subject: Re: [Xymon] Building a new server - part 2 And it'w working. A bit of fun & games getting Apache going, but we now have a working Xymon server. Thanks to all for your assistance. Regards Vernon On 28 November 2014 at 11:04, Vernon Everett > wrote: SUNWlibm delivers floatingpoint.h Damn these limited install options! And gmake completed successfully. Now let's see if we can get the rest to work. :-) On 28 November 2014 at 10:50, Vernon Everett > wrote: And floatingpoint.h, I think is a Solaris library. SUNWspro, I think. Let me install that and check On 28 November 2014 at 10:47, Vernon Everett > wrote: Hi Roland Started over completely. Used your pkgutil list, and it installed a few packages, mostly around the freetype and libart section. I then did a gmake clean, remover the Makefile and ran configure from scratch. It generated a Makefile. Then I ran gmake. Hit the c-ares issue. Added the -L path, and mentioned above, and we were off again. Then I hit the rrdtool error. Moved the /usr/ccs/bin/ld as mentioned, and we moved ahead again. Then I hit this one.. gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -I/opt/csw/include -DRRDTOOL12 -I/opt/csw/include -c -o perfdata.o perfdata.c In file included from perfdata.c:20:0: /opt/csw/lib/gcc/i386-pc-solaris2.10/4.9.0/include-fixed/math.h:333:27: fatal error: floatingpoint.h: No such file or directory #include ^ compilation terminated. Makefile:130: recipe for target 'perfdata.o' failed gmake[1]: *** [perfdata.o] Error 1 gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/web' build/Makefile.rules:111: recipe for target 'web-build' failed gmake: *** [web-build] Error 2 On 28 November 2014 at 10:29, Roland Soderstrom > wrote: I think you miss a dependency. Use my CSW list. After finding which one you obviously need to redo configure so all Makefiles are corrected. - Roland From: Vernon Everett [mailto:everett.vernon at gmail.com] Sent: Friday, 28 November 2014 1:24 PM To: Roland Soderstrom Cc: Xymon mailinglist Subject: Re: [Xymon] Building a new server - part 2 Hi Roland Thanks for the quick response. I have built Xymon on Solaris many times too, and agree, it should just work. I did find something interesting just a minute ago. Looking through the Makefile, to check what it's looking for, and notices something odd about the c-ares definitions. See below. Notice the CARESLIBS has no directory defined after the -L I changed that to CARESLIBS = -L/opt/csw/lib -lcares And we moved on. Only to hit another one. gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -DRRDTOOL12 -c -o do_rrd.o do_rrd.c gcc -o xymond_rrd xymond_rrd.o xymond_worker.o do_rrd.o client_config.o ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt -L/opt/csw/lib -lrrd -L/opt/csw/lib -lpcre Undefined first referenced symbol in file XRenderCreateLinearGradient /opt/csw/lib/libcairo.so.2 XRenderCreateRadialGradient /opt/csw/lib/libcairo.so.2 XRenderCreateSolidFill /opt/csw/lib/libcairo.so.2 ld: fatal: Symbol referencing errors. No output written to xymond_rrd collect2: ld returned 1 exit status Makefile:62: recipe for target 'xymond_rrd' failed gmake[1]: *** [xymond_rrd] Error 1 gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymond' build/Makefile.rules:108: recipe for target 'xymond-build' failed gmake: *** [xymond-build] Error 2 My next Xymon install will be on Linux! No exceptions! --- snip --- # C-ARES settings SYSTEMCARES = yes CARESINCDIR = -I/opt/csw/include CARESLIBS = -L -lcares RPATHVAL += # PCRE settings PCREINCDIR = -I/opt/csw/include PCRELIBS = -L/opt/csw/lib -lpcre RPATHVAL += /opt/csw/lib # RRDtool settings RRDDEF = -DRRDTOOL12 RRDINCDIR = -I/opt/csw/include RRDLIBS = -L/opt/csw/lib -lrrd RPATHVAL += /opt/csw/lib DORRD = yes # # OpenSSL settings SSLFLAGS = -DHAVE_OPENSSL -DHAVE_SSLV2_SUPPORT SSLINCDIR = -I/opt/csw/include SSLLIBS = -L/usr/sfw/lib -lssl -lcrypto RPATHVAL += /usr/sfw/lib DOSSL = yes --- snip --- On 28 November 2014 at 10:07, Roland Soderstrom > wrote: I’ve compiled 4.3.17 on Solaris Sparc and x86 with OpenCSW, so it should work. This is roughly what I do. pkgutil -y -i coreutils pkgutil -y -i gzip pkgutil -y -i wget pkgutil -y -a berkeleydb48 pkgutil -y -i freetype pkgutil -y -i libart pkgutil -y -i libpng15_15 pkgutil -y -i libtool pkgutil -i -y gcc4core gcc4g++ gmake pkgutil -i -y pcre libpcre_dev pkgutil -i -y rrdtool rrdtool_dev pkgutil -i -y openssl libssl_dev pkgutil -i -y openldap_client openldap_dev pkgutil -i -y fping export PATH=/usr/bin:/usr/sbin:/opt/csw/bin:/opt/csw/sbin:/usr/ccs/bin Make SURE /usr/local/ or /usr/sfw/ is not in any path. export LD_LIBRARY_PATH=”” crle which gmake /opt/csw/bin/gmake which ld /usr/ccs/bin/ld MAKE=gmake ; /configure gmake - Roland From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Vernon Everett Sent: Friday, 28 November 2014 12:18 PM To: Xymon mailinglist Subject: [Xymon] Building a new server - part 2 OK, I was correct about the library packages. Once I installed them, it resolved most of my problems, and the configure script completed OK. On to the make. (Or gmake in my case) And we hit the next hurdle. gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -o xymonnet xymonnet.o contest.o httptest.o httpresult.o ldaptest.o dns.o dns2.o httpcookies.o -L -lcares -L/opt/csw/lib -lldap -llber ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt ../lib/libxymon.a -L/opt/csw/lib -lpcre Undefined first referenced symbol in file ares_process dns.o ares_gethostbyname dns.o ares_strerror dns.o ares_init_options dns.o ares_search dns.o ares_fds dns.o ares_destroy dns.o ares_timeout dns.o ares_expand_name dns2.o ld: fatal: Symbol referencing errors. No output written to xymonnet collect2: ld returned 1 exit status Makefile:33: recipe for target 'xymonnet' failed gmake[1]: *** [xymonnet] Error 1 gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymonnet' build/Makefile.rules:102: recipe for target 'xymonnet-build' failed gmake: *** [xymonnet-build] Error 2 Any ideas? Regards Vernon -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -- "Accept the challenges so that you can feel the exhilaration of victory" - General George Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: