Example #1
0
def handler_entity_post_delete(sender, instance, **kwargs):
    send_nagios_notification(instance.domain, "Entity deleted")
Example #2
0
def handler_entity_post_delete(sender, instance, **kwargs):
    send_nagios_notification(instance.domain, 'Entity deleted')
Example #3
0
def handler_entity_post_save(sender, instance, created, **kwargs):
    action = created and "Entity created" or "Entity updated"
    send_nagios_notification(instance.domain, action)
Example #4
0
def handler_entity_post_save(sender, instance, created, **kwargs):
    action = created and 'Entity created' or 'Entity updated'
    send_nagios_notification(instance.domain, action)