Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tips [2017/07/07 01:35] – wikiadmin | tips [2017/07/07 03:29] (current) – wikiadmin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Coming Soon ====== | + | < |
+ | <panel title="What do the little red/ | ||
+ | |< 60% >| | ||
+ | ^ | ||
+ | ^ Green: Status OK | {{: | ||
+ | ^ Yellow: Warning | ||
+ | ^ Red: Critical | ||
+ | ^ Clear: No data | {{: | ||
+ | ^ Purple: No report | {{: | ||
+ | ^ Blue: Disabled | ||
+ | </ | ||
- | < | + | <panel title=" |
- | <panel title=" | + | Did you install a client? The Xymon client package is installed automatically only on the Xymon server - on other systems, you must build the client package by running Xymon' |
+ | If you did install a client, then the two most probable causes for this are: | ||
+ | |||
+ | * The client is using another hostname than what is in the hosts.cfg file.\\ Xymon only cares about the hosts that are in the hosts.cfg file, and discards status-reports from unknown hosts. If you check the " | ||
+ | * A firewall is blocking the client access to the Xymon server. \\ Clients must be able to connect to the Xymon server on TCP port 1984 to send their status reports. If this port is blocked by a firewall, client status reports will not show up. \\ If possible, open up the firewall to allow this access. Alternatively, | ||
+ | Other methods are also possible, e.g. bbfetch (available from the www.deadcat.net archive. | ||
</ | </ | ||
- | <panel title=" | + | |
- | </ | + | |
<panel title=" | <panel title=" | ||
+ | Add a CLIENT: | ||
</ | </ | ||
+ | |||
<panel title=" | <panel title=" | ||
+ | They have been integrated into the Xymon network daemon. See the next three questions. | ||
</ | </ | ||
+ | |||
<panel title=" | <panel title=" | ||
+ | I accidentally added an ' | ||
+ | |||
+ | Use the command | ||
+ | < | ||
+ | ~/ | ||
+ | </ | ||
+ | to permanently remove all traces of a test. Note that you need the quotes around the "drop HOSTNAME ftp". | ||
</ | </ | ||
+ | |||
<panel title=" | <panel title=" | ||
+ | First, remove the host from the // | ||
+ | < | ||
+ | ~/ | ||
+ | </ | ||
+ | to permanenly remove all traces of a host. Note that you need the quotes around the "drop HOSTNAME" | ||
</ | </ | ||
+ | |||
<panel title=" | <panel title=" | ||
+ | First, change the // | ||
+ | < | ||
+ | ~/ | ||
+ | </ | ||
</ | </ | ||
+ | |||
<panel title=" | <panel title=" | ||
+ | Charles Jones provided this recipe on the Xymon mailing list: | ||
+ | |||
+ | < | ||
+ | From: Charles Jones | ||
+ | Date: Sun, 06 Feb 2005 21:28:19 -0700 | ||
+ | Subject: Re: [hobbit] Apache tag | ||
+ | |||
+ | Okay, first you must make the indicated addition to your apache | ||
+ | httpd.conf (or you can make a xymon.conf in apaches conf.d directory). | ||
+ | [ed: See the hosts.cfg man-page for the " | ||
+ | |||
+ | Then, you must restart apache for the change to take effect | ||
+ | (/ | ||
+ | |||
+ | Then, manually test the server-stats url to make sure it's working, by | ||
+ | using your browser and going to | ||
+ | http:// | ||
+ | http:// | ||
+ | performance info). | ||
+ | |||
+ | Total Accesses: 131577 | ||
+ | Total kBytes: 796036 | ||
+ | CPULoad: 1.0401 | ||
+ | Uptime: 21595 | ||
+ | ReqPerSec: 6.09294 | ||
+ | BytesPerSec: | ||
+ | BytesPerReq: | ||
+ | BusyWorkers: | ||
+ | IdleWorkers: | ||
+ | |||
+ | Scoreboard: RR__RWR___RR_R_RR_RRRRRRRRR_RRRRRRR__RRR_RRRRCRRRRR_RRRR........................................................................................................................................................................................................ | ||
+ | |||
+ | Now, assuming you are getting back the server-status info, time to make | ||
+ | sure your hosts.cfg is correctly configured to collect and graph the | ||
+ | data. Heres what I have in mine: | ||
+ | |||
+ | 1.2.3.4 | ||
+ | |||
+ | From what you said of your setup, I'm guessing your only problem is | ||
+ | using the wrong url for the apache tag (you used | ||
+ | " | ||
+ | kind of URL you would use for the http tag). | ||
+ | |||
+ | Hope this helped. | ||
+ | |||
+ | | ||
+ | </ | ||
</ | </ | ||
+ | |||
<panel title=" | <panel title=" | ||
+ | There is a [[https:// | ||
</ | </ | ||
+ | |||
<panel title=" | <panel title=" | ||
+ | The // | ||
+ | |||
+ | Note that if you run the __// | ||
</ | </ | ||
+ | |||
<panel title=" | <panel title=" | ||
+ | Edit the file server/ | ||
</ | </ | ||
+ | |||
<panel title=" | <panel title=" | ||
+ | Configure your alerts in server/ | ||
</ | </ | ||
+ | |||
<panel title=" | <panel title=" | ||
+ | A common Apache configuration mistakenly believes any filename containing " | ||
+ | < | ||
+ | This occurs because by default, apache associates the cgi-script | ||
+ | | ||
+ | by changing the following line in my httpd.conf | ||
+ | |||
+ | | ||
+ | </ | ||
</ | </ | ||
+ | |||
<panel title=" | <panel title=" | ||
+ | Xymon by default uses the system **mail** command to send out messages. The mail-command in Solaris and HP-UX does not understand the "-s SUBJECT" | ||
</ | </ | ||
+ | |||
<panel title=" | <panel title=" | ||
+ | Not directly, but there is other Open Source software available that can handle SNMP traps. A very elegant method of feeding traps into Xymon has been described in [[http:// | ||
</ | </ | ||
+ | |||
<panel title=" | <panel title=" | ||
Anything that can be automated via a script or a custom program can be added into Xymon. A lot of extension scripts are available for Big Brother at the www.deadcat.net archive, and these will typically work without modifications if you run them in Xymon. Sometimes a few minor tweaks are needed - the Xymon mailing list can help you if you don't know how to go about that. | Anything that can be automated via a script or a custom program can be added into Xymon. A lot of extension scripts are available for Big Brother at the www.deadcat.net archive, and these will typically work without modifications if you run them in Xymon. Sometimes a few minor tweaks are needed - the Xymon mailing list can help you if you don't know how to go about that. | ||
Line 78: | Line 186: | ||
You will notice that some environment variables are pre-defined: | You will notice that some environment variables are pre-defined: | ||
- | To run this, save your script in the ~xymon/ | + | To run this, save your script in the //~xymon/ |
< | < |