Discussion:
[opennms-discuss] need an tip/hint for configuration Groups
Stefan Mikuszeit
2007-04-03 15:15:02 UTC
Permalink
Hello all,

how i can configure a Group/Role that becomes only Messages when Server A/B down is, but not when Server C down is ?


like this:
Group-switch (members: switchadmin1, switchadmin2)
Group-windows (members: winadmin1, winadmin2)

if now errors comes from the Group-switch nodes only the members of this group will become the error messages.

Regards
Stefan Mikuszeit
--
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
Stefan Mikuszeit
2007-04-03 15:15:02 UTC
Permalink
Hello all,

how i can configure a Group/Role that becomes only Messages when Server A/B down is, but not when Server C down is ?


like this:
Group-switch (members: switchadmin1, switchadmin2)
Group-windows (members: winadmin1, winadmin2)

if now errors comes from the Group-switch nodes only the members of this group will become the error messages.

Regards
Stefan Mikuszeit
--
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
David Hustace
2007-04-05 13:39:49 UTC
Permalink
Post by Stefan Mikuszeit
how i can configure a Group/Role that becomes only Messages when
Server A/B down is, but not when Server C down is ?
Group-switch (members: switchadmin1, switchadmin2)
Group-windows (members: winadmin1, winadmin2)
Have you created OpenNMS categories for these groups?


-David


David Hustace
The OpenNMS Group, Inc.
Main : +1 919 533 0160 Fax: +1 503-961-7746
Direct: +1 919 412 5045 Skype: dhustace
Key Fingerprint: 8EC1 F319 2C1D 3197 AAB9 580F FACD 1D19 175E D903
MikeschTheCat
2007-04-05 17:44:04 UTC
Permalink
Hello David,

yes, i have defined groups :)

Regards
Stefan
Post by David Hustace
Post by Stefan Mikuszeit
how i can configure a Group/Role that becomes only Messages when
Server A/B down is, but not when Server C down is ?
Group-switch (members: switchadmin1, switchadmin2)
Group-windows (members: winadmin1, winadmin2)
Have you created OpenNMS categories for these groups?
-David
David Hustace
The OpenNMS Group, Inc.
Main : +1 919 533 0160 Fax: +1 503-961-7746
Direct: +1 919 412 5045 Skype: dhustace
Key Fingerprint: 8EC1 F319 2C1D 3197 AAB9 580F FACD 1D19 175E D903
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
MikeschTheCat
2007-04-05 17:47:54 UTC
Permalink
Hello David,

sorry, i mean categories :)

(It's to late here ;-) )

Regards
Stefan
Post by MikeschTheCat
Hello David,
yes, i have defined groups :)
Regards
Stefan
Post by David Hustace
Post by Stefan Mikuszeit
how i can configure a Group/Role that becomes only Messages when
Server A/B down is, but not when Server C down is ?
Group-switch (members: switchadmin1, switchadmin2)
Group-windows (members: winadmin1, winadmin2)
Have you created OpenNMS categories for these groups?
-David
David Hustace
The OpenNMS Group, Inc.
Main : +1 919 533 0160 Fax: +1 503-961-7746
Direct: +1 919 412 5045 Skype: dhustace
Key Fingerprint: 8EC1 F319 2C1D 3197 AAB9 580F FACD 1D19 175E D903
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Ken Eshelby
2007-04-05 18:42:56 UTC
Permalink
David,

Trying to understand this myself. It could be handy to route
notifications based on categories. Are you saying you can use the
rule in notifications.xml to use something like:

<notification>
<notification name="nodeDown-Core" ... >
<rule>(categoryName LIKE "CoreRouters")</rule>
<destinationPath>Email-Network/Engineering</destinationPath>
</notification>

<rule>(categoryName LIKE "Routers")</rule>
<destinationPath>Email-HelpDesk</destinationPath>

<rule>(categoryName LIKE "Switches")</rule>
<destinationPath>Email-LANAdmins</destinationPath>

etc..

Pulled categoryName out of the schema.

Cheers-
Ken

Continue reading on narkive:
Loading...