[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Troubleshooting Alerts -- Having Problems
- To: <hobbit (at) hswn.dk>
- Subject: RE: Troubleshooting Alerts -- Having Problems
- From: <joost.deheer (at) getronics.com>
- Date: Tue, 14 Apr 2009 16:42:57 +0200
- Accept-language: nl-NL
- Acceptlanguage: nl-NL
- References: <095101c9bd09$69558f20$ef6828a8 (at) hhsea.txnet.state.tx.us>
- Thread-index: Acm9Cppc1PomxAA6TMSDiQZnO5PdswABA72A
- Thread-topic: Troubleshooting Alerts -- Having Problems
> However, I want to make sure that everything is working
> since this is a live system. How can I test that the configuration
> files is correct.
Make a new config file (e.g. etc/hobbit-alerts-new.cfg, and on a commandprompt, while in the server directory:
bin/bbcmd hobbitd_alert --config=etc/hobbit-alerts-new.cfg --test <HOST> <TEST> [--color=COLOR] [--duration=SECONDS]
Mandatory arguments:
HOST = hostname as it appears in Xymon
TEST = testname as it appears in Xymon
Optional arguments:
COLOUR = colourlevel (red, blue, purple, yellow, green)
SECONDS = number of seconds the test supposedly is down.
For more options, see the hobbits_alert manual (right pulldown menu, last option).
Joost