[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CLASS on hobbit-alerts.cfg / bb-hosts
- To: <hobbit (at) hswn.dk>
- Subject: CLASS on hobbit-alerts.cfg / bb-hosts
- From: "James" <j.sansford (at) ntlworld.com>
- Date: Wed, 8 Jul 2009 20:54:15 +0100
- References: <20090707144019.ULRE6.311462.root (at) web01-winn.ispmail.private.ntl.com> <997a524e0907071031l1e89cd10uc6bedb13c212aab3 (at) mail.gmail.com> <C858E4843EB14D15ABCBADB856CB109D (at) jamie> <997a524e0907071627h2abf5b95k1062b594eb680dca (at) mail.gmail.com>
Hi guys, me again - should be the last time I ask hopefully!
I think this one might be a dead end but maybe not - i've done a bit of searching and I can't find any succesful resolution. I'm trying to group our different servers into services, such as "web servers", "database servers" etc in terms of alerting and thought I could use the CLASS definition.
I've set them up such that in bb-hosts we have a server, eg:
10.1.1.1 www1 # CLASS:www ssh http://www1/
And then within hobbit-alerts.cfg I have something such as:
CLASS=www
MEMSWAP 80 90
However for the life of me I can't get it to work, checking the "info" page of www1 (for example) shows at the bottom that it's reading "CLASS:www" as a separate tag rather than processing it as a class definition. Am I doing something silly? Is there another way I could approach this?
Many thanks!
James