Keywords: Big Sister, Bigsister, Network Monitor, Network Monitoring, Perl, GPL, Big Brother, manual, SNMP

PAGER rules: influencing alarm delivery
Prev | Configure Alarming | Next

### PAGER rules: influencing alarm delivery

Version 0.98 introduced special rules allowing us to modify the way how alarms are delivered. E.g. the rules

    PAGER{$mail eq "someaddress@somehost"} pager=myscript mail=someaddress
    PAGER{$pager eq "sendmail" and $mail eq "test"} mail=addr1,addr2,addr3

will re-direct alarms sent to someaddress@somehost to the address someadress and invoke myscript for sending the alarm (first rule). If the pager equals sendmail and the target address is test the alarm is redirected to the three addresses addr1,addr2 and addr3.

The PAGER-Rules are applied once per target address, thus the above rules would also apply if the page originated e.g. from a

      *.* mail=someaddress@somehost,test pager=sendmail

(this would cause the event generator to apply the PAGER rules twice: once for "someaddress@somehost", once for "test")

| Note
Target addresses are split into "pager" and "mail" before PAGER rules are processed. An address like
    mail=sendmail:test@somewhat.strange
will appear to the PAGER rules as mail=test@somewhat.strange pager=sendmail

Prev | Up | Next
Description - "what to do" | Home | Use and configure SLA/Availability management