help
list Nikesh Maharaj
From: Nikesh Maharaj Sent: 28 May 2009 06:32 PM To: 'user-ae9b8668bcde@xymon.invalid' Subject: help Hi guys , Just installed xymon with the defaults. Put in a link in /var/www/html which reads ln -s /home/xymon/server/www xymon Started the service and the main page comes up. When i click on teh link eg bbd, conn etc i get webpage not found . I know that there is a simple explanation for this. Can someone help as i have been trying for 2 hours now. Thanks -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
list Greg Hubbard
Did you follow the instructions for configuring your Web server to server the Xymon pages? GLH
▸
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid]
Sent: Thursday, May 28, 2009 11:45 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] FW: help
From: Nikesh Maharaj
Sent: 28 May 2009 06:32 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: help
Hi guys ,
Just installed xymon with the defaults. Put in a link in /var/www/html which reads ln -s /home/xymon/server/www xymon
Started the service and the main page comes up. When i click on teh link eg bbd, conn etc i get webpage not found .
I know that there is a simple explanation for this. Can someone help as i have been trying for 2 hours now.
Thanks
--
This message has been scanned for viruses anddangerous content by MailScanner<http://www.mailscanner.info/>;, and is believed to be clean.
list William Ottley
Hi all, I really appreciate all the help that I¹ve gotten from the mailing list! I am trying to create a startup script for OSX 10.4.11, using launchd I place a file: xymon.plist in: /Library/LaunchDaemons <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">; <plist version="1.0"> <dict> <key>KeepAlive</key> <true/> <key>Label</key> <string>xymon</string> <key>OnDemand</key> <false/> <key>Program</key> <string>/Users/xymon/client/runclient.sh</string> <key>ProgramArguments</key> <array> <string>/Users/xymon/client/runclient.sh</string> <string>start</string> </array> <key>RunAtLoad</key> <true/> <key>ServiceDescription</key> <string>Xymon Startup</string> <key>UserName</key> <string>xymon</string> </dict> </plist> Ran the command line: Launchctl load /Library/LaunchDaemons/xymon.plist And in /var/log/system.log: ay 28 13:20:15 ns1 com.apple.launchd[1] (xymon): Throttling respawn: Will start in 10 seconds May 28 13:20:25 ns1 xymon[91563]: Hobbit client already running, re-starting it May 28 13:20:25 ns1 xymon[91563]: Hobbit client stopped May 28 13:20:25 ns1 xymon[91563]: Hobbit client for darwin started on ns1.local Over and over again, and the PID keeps going higher and higher. And in /Users/xymon/client/log/hobbitclient.log: could not lookup DNS configuration info service: (ipc/send) invalid destination port I suspect its because of this error that it keeps getting restarted? Any know what this means?
▸
Thanks!!!
--
This message has been scanned for dangerous content by MailScanner, and is believed to be clean.
list Rob McBroom
On 2009-May-28, at 1:24 PM, William Ottley wrote:
<key>Label</key>
<string>xymon</string>The label should probably be something like "dk.hswn.xymon" to guarantee uniqueness. (That's the convention used by all the existing plists.)
<key>Program</key>
<string>/Users/xymon/client/runclient.sh</string>I don't know for certain, but I think launchd should be replacing the runclient.sh script, not calling on it. For instance, the script is designed to start up the Xymon client and then exit, whereas launchd expects the thing it started to keep running. You may have to dig into the script to figure out what it does on a Mac and then tell launchd to do that. (From just a quick scan, it looks like it needs to call `hobbitlaunch` with the appropriate options for your system.) A list of what launchd expects from the program it calls can be found in [the man page for `launchd.plist`][1]. I don't know enough about hobbitlaunch to tell you if it meets those requirements, but I'm pretty sure the shell script does not based on the fact that it exits. This might have nothing to do with the error Xymon throws, but it would at least explain why launchd keeps restarting the script. [1]: http://developer.apple.com/documentation/Darwin/Reference/ManPages/man5/launchd.plist.5.html -- Rob McBroom <http://www.skurfer.com/> The magnitude of a problem does not affect its ownership.
list William Ottley
Hi Rob, I think your right about the respawning. Makes sense, that the runclient.sh just stops after it calls up the other programs. I do know that runclient.sh called by itself works. I'll try and spend more time on a better formed plist.
▸
On 28/05/09 4:14 PM, "Rob McBroom" <user-371ba9bb5b75@xymon.invalid> wrote:
On 2009-May-28, at 1:24 PM, William Ottley wrote:<key>Label</key> <string>xymon</string>The label should probably be something like "dk.hswn.xymon" to guarantee uniqueness. (That's the convention used by all the existing plists.)<key>Program</key> <string>/Users/xymon/client/runclient.sh</string>I don't know for certain, but I think launchd should be replacing the runclient.sh script, not calling on it. For instance, the script is designed to start up the Xymon client and then exit, whereas launchd expects the thing it started to keep running. You may have to dig into the script to figure out what it does on a Mac and then tell launchd to do that. (From just a quick scan, it looks like it needs to call `hobbitlaunch` with the appropriate options for your system.) A list of what launchd expects from the program it calls can be found in [the man page for `launchd.plist`][1]. I don't know enough about hobbitlaunch to tell you if it meets those requirements, but I'm pretty sure the shell script does not based on the fact that it exits. This might have nothing to do with the error Xymon throws, but it would at least explain why launchd keeps restarting the script. [1]:
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man5/launch d.plist.5.html
▸
-- This message has been scanned for dangerous content by MailScanner, and is believed to be clean.
list Nikesh Maharaj
Yes, i get errors when using the hobbit-apache.conf file
▸
From: HUBBARD, GREG [mailto:user-54b18961ee8d@xymon.invalid] Sent: 28 May 2009 06:53 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] RE: help
Did you follow the instructions for configuring your Web server to
server the Xymon pages?
GLH
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid] Sent: Thursday, May 28, 2009 11:45 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] FW: help
From: Nikesh Maharaj Sent: 28 May 2009 06:32 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: help
Hi guys ,
Just installed xymon with the defaults. Put in a link in /var/www/html
which reads ln -s /home/xymon/server/www xymon
Started the service and the main page comes up. When i click on teh
link eg bbd, conn etc i get webpage not found .
I know that there is a simple explanation for this. Can someone help as
i have been trying for 2 hours now.
Thanks
-- This message has been scanned for viruses and dangerous content by MailScanner <http://www.mailscanner.info/>; , and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner <http://www.mailscanner.info/>; , and is
▸
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
list Nikesh Maharaj
Hi guys, I'm trying to get reports from the xymon server. If i click onto any report , i get page not found . Any assistance will be appreciated .
▸
Thanks
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.