External Commands Reference - CHANGE_CONTACT_MODSATTR
CHANGE_CONTACT_MODSATTR;contact_name;value
This command changes the modified service attributes value for the specified contact. Modified attributes values are used by Naemon to determine which object properties should be retained across program restarts. Thus, modifying the value of the attributes can affect data retention. This is an advanced option and should only be used by people who are intimately familiar with the data retention logic in Naemon.
#!/bin/sh
# This is a sample shell script showing how you can submit the CHANGE_CONTACT_MODSATTR command
# to Naemon. Adjust variables to fit your environment as necessary.
printf "[%lu] CHANGE_CONTACT_MODSATTR;naemonadmin;0\n" `date +%s` > /var/lib/naemon/naemon.cmd