CHANGE CUSTOM CONTACT VAR
Command Format
CHANGE_CUSTOM_CONTACT_VAR;contact_name;varname;varvalue
Description
Changes the value of a custom contact variable.
Shell Script Usage Example
sh
#!/bin/sh
# This is a shell script showing how to submit the CHANGE_CUSTOM_CONTACT_VAR command
# to Naemon. Adjust variables to fit your environment as necessary.
printf "[%%lu] CHANGE_CUSTOM_CONTACT_VAR;naemonadmin;SOMEVAR;some new value\n" \
`date +%%s` \
> /var/lib/naemon/naemon.cmd