ℹ️ Your data is safe here... unless you make the SNIP gods angry. And let's just say they have a really bad sense of humor.

From TonyM, 6 Years ago, written in Plain Text.
Embed
  1. template(name="noc360" type="list") {
  2.     property(name="msg")
  3.     constant(value="\\n")
  4. }
  5.  
  6. module(load="omprog")
  7.  
  8. if $fromhost-ip != '127.0.0.1' and ($msg startswith ' DHCPACK' or $msg startswith ' Reply')
  9. then action(type="omprog" binary="/opt/noc360-scripts/handle-dhcpack.py" template="noc360")
  10.  
captcha