External Command Reference

External Commands Reference - CHANGE_CUSTOM_CONTACT_VAR

Command Format:



Changes the value of a custom contact variable.

Shell Script Usage Example:

# This is a sample shell script showing how you can submit the CHANGE_CUSTOM_CONTACT_VAR command
# to Naemon. Adjust variables to fit your environment as necessary.
# This will change value of the custom variable: $_CONTACTSOMEVAR$

printf "[%lu] CHANGE_CUSTOM_CONTACT_VAR;naemonadmin;SOMEVAR;some new value\n" `date +%s` > /var/lib/naemon/naemon.cmd