Avail feature updated
[ninja.git] / test / configs / all-host_service-states / etc / misccommands.cfg
blob241d38ea16fd8ee3b98dcb05eebdf0391454ff61
1 ###############################################################################
2 #  Generated by op5 Monitor webconfiguration exporter
4 #  Exported 2009-02-11 12:57 by monitor
8 # command 'host-notify'
9 define command{
10     command_name                   host-notify
11     command_line                   $USER3$/notify/notify -c "$CONTACTNAME$" -h "$HOSTNAME$" -f "$NOTIFICATIONTYPE$" -m "$CONTACTEMAIL$" -p "$CONTACTPAGER$" "HOSTALIAS=$HOSTALIAS$" "HOSTADDRESS=$HOSTADDRESS$" "HOSTSTATE=$HOSTSTATE$" "HOSTSTATEID=$HOSTSTATEID$" "HOSTSTATETYPE=$HOSTSTATETYPE$" "HOSTATTEMPT=$HOSTATTEMPT$" "HOSTLATENCY=$HOSTLATENCY$" "HOSTEXECUTIONTIME=$HOSTEXECUTIONTIME$" "HOSTDURATION=$HOSTDURATION$" "HOSTDURATIONSEC=$HOSTDURATIONSEC$" "HOSTDOWNTIME=$HOSTDOWNTIME$" "HOSTPERCENTCHANGE=$HOSTPERCENTCHANGE$" "HOSTGROUPNAME=$HOSTGROUPNAME$" "HOSTGROUPALIAS=$HOSTGROUPALIAS$" "LASTHOSTCHECK=$LASTHOSTCHECK$" "LASTHOSTSTATECHANGE=$LASTHOSTSTATECHANGE$" "LASTHOSTUP=$LASTHOSTUP$" "LASTHOSTDOWN=$LASTHOSTDOWN$" "LASTHOSTUNREACHABLE=$LASTHOSTUNREACHABLE$" "HOSTOUTPUT=$HOSTOUTPUT$" "HOSTPERFDATA=$HOSTPERFDATA$" "HOSTACKAUTHOR=$HOSTACKAUTHOR$" "HOSTACKCOMMENT=$HOSTACKCOMMENT$" "NOTIFICATIONNUMBER=$NOTIFICATIONNUMBER$" "CONTACTALIAS=$CONTACTALIAS$" "LONGDATETIME=$LONGDATETIME$" "SHORTDATETIME=$SHORTDATETIME$" "DATE=$DATE$" "TIME=$TIME$" "TIMET=$TIMET$" "HOSTACTIONURL=$HOSTACTIONURL$" "HOSTNOTESURL=$HOSTNOTESURL$" "ADMINPAGER=$ADMINPAGER$" "ADMINEMAIL=$ADMINEMAIL$"
12     }
14 # command 'host-notify-nilex'
15 define command{
16     command_name                   host-notify-nilex
17     command_line                   $USER3$/notify/notify-nilex.php url=$CONTACTADDRESS1$ NOTIFICATIONTYPE="$NOTIFICATIONTYPE$" HOSTALIAS="$HOSTALIAS$" "HOSTADDRESS=$HOSTADDRESS$" "HOSTSTATE=$HOSTSTATE$" "HOSTSTATEID=$HOSTSTATEID$" "HOSTSTATETYPE=$HOSTSTATETYPE$" "HOSTATTEMPT=$HOSTATTEMPT$" "HOSTLATENCY=$HOSTLATENCY$" "HOSTEXECUTIONTIME=$HOSTEXECUTIONTIME$" "HOSTDURATION=$HOSTDURATION$" "HOSTDURATIONSEC=$HOSTDURATIONSEC$" "HOSTDOWNTIME=$HOSTDOWNTIME$" "HOSTPERCENTCHANGE=$HOSTPERCENTCHANGE$" "HOSTGROUPNAME=$HOSTGROUPNAME$" "HOSTGROUPALIAS=$HOSTGROUPALIAS$" "LASTHOSTCHECK=$LASTHOSTCHECK$" "LASTHOSTSTATECHANGE=$LASTHOSTSTATECHANGE$" "LASTHOSTUP=$LASTHOSTUP$" "LASTHOSTDOWN=$LASTHOSTDOWN$" "LASTHOSTUNREACHABLE=$LASTHOSTUNREACHABLE$" "HOSTOUTPUT=$HOSTOUTPUT$" "HOSTPERFDATA=$HOSTPERFDATA$" "NOTIFICATIONNUMBER=$NOTIFICATIONNUMBER$" "SHORTDATETIME=$SHORTDATETIME$" "TIME=$TIME$" "TIMET=$TIMET$" "HOSTACTIONURL=$HOSTACTIONURL$" "HOSTNOTESURL=$HOSTNOTESURL$"
18     }
20 # command 'process-host-perfdata'
21 define command{
22     command_name                   process-host-perfdata
23     command_line                   /bin/mv /opt/monitor/var/host-perfdata /opt/monitor/var/spool/perfdata/host_perfdata.$TIMET$
24     }
26 # command 'process-service-perfdata'
27 define command{
28     command_name                   process-service-perfdata
29     command_line                   /bin/mv /opt/monitor/var/service-perfdata /opt/monitor/var/spool/perfdata/service_perfdata.$TIMET$
30     }
32 # command 'service-notify'
33 define command{
34     command_name                   service-notify
35     command_line                   $USER3$/notify/notify -c "$CONTACTNAME$" -h "$HOSTNAME$" -f "$NOTIFICATIONTYPE$" -m "$CONTACTEMAIL$" -p "$CONTACTPAGER$" -s "$SERVICEDESC$" "HOSTALIAS=$HOSTALIAS$" "HOSTADDRESS=$HOSTADDRESS$" "HOSTSTATE=$HOSTSTATE$" "HOSTSTATEID=$HOSTSTATEID$" "HOSTSTATETYPE=$HOSTSTATETYPE$" "HOSTATTEMPT=$HOSTATTEMPT$" "HOSTLATENCY=$HOSTLATENCY$" "HOSTEXECUTIONTIME=$HOSTEXECUTIONTIME$" "HOSTDURATION=$HOSTDURATION$" "HOSTDURATIONSEC=$HOSTDURATIONSEC$" "HOSTDOWNTIME=$HOSTDOWNTIME$" "HOSTPERCENTCHANGE=$HOSTPERCENTCHANGE$" "HOSTGROUPNAME=$HOSTGROUPNAME$" "HOSTGROUPALIAS=$HOSTGROUPALIAS$" "LASTHOSTCHECK=$LASTHOSTCHECK$" "LASTHOSTSTATECHANGE=$LASTHOSTSTATECHANGE$" "LASTHOSTUP=$LASTHOSTUP$" "LASTHOSTDOWN=$LASTHOSTDOWN$" "LASTHOSTUNREACHABLE=$LASTHOSTUNREACHABLE$" "HOSTOUTPUT=$HOSTOUTPUT$" "HOSTPERFDATA=$HOSTPERFDATA$" "SERVICESTATE=$SERVICESTATE$" "SERVICESTATEID=$SERVICESTATEID$" "SERVICESTATETYPE=$SERVICESTATETYPE$" "SERVICEATTEMPT=$SERVICEATTEMPT$" "SERVICELATENCY=$SERVICELATENCY$" "SERVICEEXECUTIONTIME=$SERVICEEXECUTIONTIME$" "SERVICEDURATION=$SERVICEDURATION$" "SERVICEDURATIONSEC=$SERVICEDURATIONSEC$" "SERVICEDOWNTIME=$SERVICEDOWNTIME$" "SERVICEPERCENTCHANGE=$SERVICEPERCENTCHANGE$" "SERVICEGROUPNAME=$SERVICEGROUPNAME$" "SERVICEGROUPALIAS=$SERVICEGROUPALIAS$" "LASTSERVICECHECK=$LASTSERVICECHECK$" "LASTSERVICESTATECHANGE=$LASTSERVICESTATECHANGE$" "LASTSERVICEOK=$LASTSERVICEOK$" "LASTSERVICEWARNING=$LASTSERVICEWARNING$" "LASTSERVICEUNKNOWN=$LASTSERVICEUNKNOWN$" "LASTSERVICECRITICAL=$LASTSERVICECRITICAL$" "SERVICEOUTPUT=$SERVICEOUTPUT$" "SERVICEPERFDATA=$SERVICEPERFDATA$" "SERVICEACKAUTHOR=$SERVICEACKAUTHOR$" "SERVICEACKCOMMENT=$SERVICEACKCOMMENT$" "NOTIFICATIONNUMBER=$NOTIFICATIONNUMBER$" "LONGDATETIME=$LONGDATETIME$" "SHORTDATETIME=$SHORTDATETIME$" "TIME=$TIME$" "TIMET=$TIMET$" "HOSTACTIONURL=$HOSTACTIONURL$" "HOSTNOTESURL=$HOSTNOTESURL$" "SERVICEACTIONURL=$SERVICEACTIONURL$" "SERVICENOTESURL=$SERVICENOTESURL$"
36     }
38 # command 'service-notify-nilex'
39 define command{
40     command_name                   service-notify-nilex
41     command_line                   $USER3$/notify/notify-nilex.php url=$CONTACTADDRESS1$ NOTIFICATIONTYPE="$NOTIFICATIONTYPE$" SERVICEDESC="$SERVICEDESC$" "HOSTALIAS=$HOSTALIAS$" "HOSTADDRESS=$HOSTADDRESS$" "HOSTSTATE=$HOSTSTATE$" "HOSTSTATEID=$HOSTSTATEID$" "HOSTSTATETYPE=$HOSTSTATETYPE$" "HOSTATTEMPT=$HOSTATTEMPT$" "HOSTLATENCY=$HOSTLATENCY$" "HOSTEXECUTIONTIME=$HOSTEXECUTIONTIME$" "HOSTDURATION=$HOSTDURATION$" "HOSTDURATIONSEC=$HOSTDURATIONSEC$" "HOSTDOWNTIME=$HOSTDOWNTIME$" "HOSTPERCENTCHANGE=$HOSTPERCENTCHANGE$" "HOSTGROUPNAME=$HOSTGROUPNAME$" "HOSTGROUPALIAS=$HOSTGROUPALIAS$" "LASTHOSTCHECK=$LASTHOSTCHECK$" "LASTHOSTSTATECHANGE=$LASTHOSTSTATECHANGE$" "LASTHOSTUP=$LASTHOSTUP$" "LASTHOSTDOWN=$LASTHOSTDOWN$" "LASTHOSTUNREACHABLE=$LASTHOSTUNREACHABLE$" "HOSTOUTPUT=$HOSTOUTPUT$" "HOSTPERFDATA=$HOSTPERFDATA$" "SERVICESTATE=$SERVICESTATE$" "SERVICESTATEID=$SERVICESTATEID$" "SERVICESTATETYPE=$SERVICESTATETYPE$" "SERVICEATTEMPT=$SERVICEATTEMPT$" "SERVICELATENCY=$SERVICELATENCY$" "SERVICEEXECUTIONTIME=$SERVICEEXECUTIONTIME$" "SERVICEDURATION=$SERVICEDURATION$" "SERVICEDURATIONSEC=$SERVICEDURATIONSEC$" "SERVICEDOWNTIME=$SERVICEDOWNTIME$" "SERVICEPERCENTCHANGE=$SERVICEPERCENTCHANGE$" "SERVICEGROUPNAME=$SERVICEGROUPNAME$" "SERVICEGROUPALIAS=$SERVICEGROUPALIAS$" "LASTSERVICECHECK=$LASTSERVICECHECK$" "LASTSERVICESTATECHANGE=$LASTSERVICESTATECHANGE$" "LASTSERVICEOK=$LASTSERVICEOK$" "LASTSERVICEWARNING=$LASTSERVICEWARNING$" "LASTSERVICEUNKNOWN=$LASTSERVICEUNKNOWN$" "LASTSERVICECRITICAL=$LASTSERVICECRITICAL$" "SERVICEOUTPUT=$SERVICEOUTPUT$" "SERVICEPERFDATA=$SERVICEPERFDATA$" "SERVICEACKAUTHOR=$SERVICEACKAUTHOR$" "SERVICEACKCOMMENT=$SERVICEACKCOMMENT$" "NOTIFICATIONNUMBER=$NOTIFICATIONNUMBER$" "SHORTDATETIME=$SHORTDATETIME$" "TIME=$TIME$" "TIMET=$TIMET$" "HOSTACTIONURL=$HOSTACTIONURL$" "HOSTNOTESURL=$HOSTNOTESURL$" "SERVICEACTIONURL=$SERVICEACTIONURL" "SERVICENOTESURL=$SERVICENOTESURL$"
42     }