Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

PowerScale OneFS 9.3.0.0 CLI Administration Guide

Stop alerts for a single event group

You can stop alerts for a single event group by running a script for OneFS 8.0.0.4 and earlier.

This procedure provides an example for specifically excluding event 400160001.

  1. Optional: Create a script with the file name, eventgroups.py:
    #!/usr/bin/python
    import json
    
    efile="/etc/celog/events.json"
    egfile="/etc/celog/eventgroups.json"
    
    with open(efile, "r") as ef:
        e = json.loads(ef.read())
    with open(egfile, "r") as egf:
        eg = json.loads(egf.read())
    
    out = []
    symptoms = []
    for eg,v in eg.iteritems():
        if eg != v["name"]:
            print "warning.. name not same %s" % eg
        out += [eg]
        for s in v["symptoms"]:
            symptoms += [s]
    
    for e,v in e.iteritems():
        if e not in symptoms:
             out += [e]
    
    print ",".join(out)
  2. To stop alerts for a single event group type 400160001 (SW_AUDIT_CEE_UNREACHABLE):
    1. Configure email alerts for all event groups except 400160001:
      isi event channels create mychannel smtp --address my_email@isilon.com --smtp_host smtp.isilon.com
      isi event alert create myalert NEW mychannel --eventgroup `./eventgroups.py | sed 's/,400160001//'
    2. View the alert configuration:
      csmithhart-rt4x-1# isi event alert view myalert
            Name: myalert
      Eventgroup: synciq, storage_transport, hwmon, windows_auth, overheating, physmem, reboot, powersupply, reboot-fail, avscan, filesystem, windows_idmap, external_network, toocold, 
      windows_networking, 400050001, 400050002, 400050003, 400050004, 400110001, 900150001, 500010005, 500010004, 900130014, 500010001, 500010003, 500010002, 400140002, 900010012, 
      800010009, 400040012, 400140001, 600010003, 900130005, 600010001, 400060004, 900100009, 900100008, 200010002, 200010003, 600010004, 200010001, 200010006, 900100002, 900100001, 
      200010005, 900060033, 900060032, 900130011, 900130010, 400130001, 900100005, 900130015, 400040020, 910100007, 400210002, 900060030, 900010013, 600010005, 900060037, 910100006, 
      900060035, 400150003, 400150002, 400150001, 900060034, 900140001, 400150005, 400150004, 1100000008, 900100011, 900080033, 900100013, 900100016, 900100017, 900100018, 1100000001, 
      1100000002, 1100000003, 1100000004, 1100000005, 1100000006, 1100000007, 900130008, 900130009, 700100001, 900130004, 900100007, 900130006, 900130007, 100010009, 900040055, 400210001, 
      100010001, 900090023, 100010003, 100010002, 900020033, 400070004, 900100006, 400070005, 900110004, 400030002, 400120001, 400030001, 400130002, 100010018, 800010006, 100010012, 100010013, 
      100010010, 100010011, 600010002, 100010017, 100010014, 100010015, 900100004, 900140005, 200020003, 920100002, 400100004, 400100005, 400100002, 400100003, 400100001, 900100003, 400080001, 
      900010008, 920100005, 900090046, 100010029, 100010028, 100010027, 100010026, 100010025, 100010024, 100010023, 900100010, 700020003, 900060038, 700030005, 900060031, 900060036, 900100021, 
      900100020, 900100015, 900110005, 800010008, 100010030, 100010031, 900010003, 900010002, 900010005, 900010004, 900010007, 900010006, 900010009, 400100011, 700010005, 920100009, 400090001, 
      400090002, 400090003, 900060027, 900100026, 900040033, 100010045, 100010044, 900010010, 900010011, 100010041, 100010040, 100010043, 100010042, 900120005, 900120004, 900100012, 900100014, 
      400020002, 400020001, 900060029, 700040001, 900100022, 900100027, 700050001, 920100008, 900100019, 920100001, 920100000, 920100003, 920100004, 920100007, 920100006
        Category: -
             Sev: *
         Channel: mychannel
      Condition: NEW
      
    3. Verify that alert 400160001 does not send:
      /usr/bin/isi_celog/celog_send_events.py -o 400160001
    4. Verify that other alerts send:
      /usr/bin/isi_celog/celog_send_events.py -o 400050001
      

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\