Documenting servers, processes and stuff inside Xymon
Hi all,
Is there any way to provide a simple list of "how-to"s for a given server within Xymon? For instance I have a process that over time eats up memory so needs to be restarted. It would be useful to have a piece of text saying something like "If memory gets full over time then restart this process" in the Memory page for this server. I realise I could have an auto-restart script but I am chary of those because of the potential for it continually restarting a daemon due to memory usage if, for some reason, that daemon is not the actual cause of the memory problem.
I know about the DESCR: and COMMENTS: options in hosts.cfg but they for short amounts of text on a page with lots of hosts. Is there anywhere that I can link or show more information, hints and tips, contact information and such like information for each server?
|\/|artin
[Colt Disclaimer] This email is from an entity of the Colt group of companies. Colt Group S.A., K2 Building, Forte 1, 2a rue Albert Borschette, L-1246 Luxembourg, R.C.S. B115679. Corporate and contact information for our entities can be found at http://colt.net/uk/en/Colt-Group-of-Companies/index.htm. Internet communications are not secure and Colt does not accept responsibility for the accurate transmission of this message. Content of this email or its attachments is not legally or contractually binding unless expressly previously agreed in writing by Colt
Hi
We had a similar situation, where a junior operator could fix the issue, but need a join-the-dots guide. We used the script feature in the alerts.cfg (OK, it was hobbit-alerts back then, but you get the idea.) When the alert was triggered, it ran a script, which used a few pre-defined and Xymon variables to craft an email explaining what should be done. This was then sent to the operators' inbox using your favourite CLI mail client.
Hope it helps.
Cheers Vernon
On 21 March 2013 18:14, Ward, Martin <Martin.Ward at colt.net> wrote:
Hi all,****
Is there any way to provide a simple list of “how-to”s for a given server within Xymon? For instance I have a process that over time eats up memory so needs to be restarted. It would be useful to have a piece of text saying something like “If memory gets full over time then restart this process” in the Memory page for this server. I realise I could have an auto-restart script but I am chary of those because of the potential for it continually restarting a daemon due to memory usage if, for some reason, that daemon is not the actual cause of the memory problem.****
I know about the DESCR: and COMMENTS: options in hosts.cfg but they for short amounts of text on a page with lots of hosts. Is there anywhere that I can link or show more information, hints and tips, contact information and such like information for each server?****
|\/|artin****
[Colt Disclaimer] This email is from an entity of the Colt group of companies. Colt Group S.A., K2 Building, Forte 1, 2a rue Albert Borschette, L-1246 Luxembourg, R.C.S. B115679. Corporate and contact information for our entities can be found at http://colt.net/uk/en/Colt-Group-of-Companies/index.htm. Internet communications are not secure and Colt does not accept responsibility for the accurate transmission of this message. Content of this email or its attachments is not legally or contractually binding unless expressly previously agreed in writing by Colt
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
On Thu, 21 Mar 2013 10:14:26 +0000, "Ward, Martin" <Martin.Ward at colt.net> wrote:
Hi all,
Is there any way to provide a simple list of "how-to"s for a given server within Xymon?
Drop a file named HOSTNAME.html (or .doc, .php, .asp) in the ~xymon/data/www/notes/ directory, and it will automatically change your hostname on the Xymon page to a link to that document.
It will also show up as Documentation on the "info" status column.
Regards, Henrik
On 21 March 2013 22:51, <henrik at hswn.dk> wrote:
Drop a file named HOSTNAME.html (or .doc, .php, .asp) in the ~xymon/data/www/notes/ directory, and it will automatically change your hostname on the Xymon page to a link to that document.
Thanks for this, didn't know about it, but I see it's been around since at least v4.3.4. I've just set this up as a javascript-based page that detects the hostname from the URL, and uses it to dynamically create a bunch of links for it, such as "click here for Event Log" and "click to connect with ssh". Then I just symlink it to servername.html for each server and I'm set.
J
participants (4)
-
everett.vernon@gmail.com
-
henrik@hswn.dk
-
jlaidman@rebel-it.com.au
-
Martin.Ward@colt.net