- template(name="noc360" type="list") {
- property(name="msg")
- constant(value="\\n")
- }
- module(load="omprog")
- if $fromhost-ip != '127.0.0.1' and ($msg startswith ' DHCPACK' or $msg startswith ' Reply')
- then action(type="omprog" binary="/opt/noc360-scripts/handle-dhcpack.py" template="noc360")