/etc/nagios3/conf.d/nagios2mantis.cfg is in nagios2mantis 3.1-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | define command{
command_name notify-service-mantis
command_line nagios2mantis spool --hostname $HOSTALIAS$ --service="$SERVICEDESC$" --state $SERVICESTATE$ --plugin-output "$SERVICEOUTPUT$" --host-notes='$HOSTNOTES$' --notification-type='$NOTIFICATIONTYPE$' 2>&1 | logger -i -t nagios2mantis -d -p local0.alert
}
define command{
command_name notify-host-mantis
command_line nagios2mantis spool --hostname $HOSTALIAS$ --state $HOSTSTATE$ --plugin-output "$HOSTOUTPUT$" --host-notes='$HOSTNOTES$' --notification-type='$NOTIFICATIONTYPE$' 2>&1 | logger -i -t nagios2mantis -d -p local0.alert
}
define contact{
contact_name mantis
alias Mantis
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,r
service_notification_commands notify-service-mantis
host_notification_commands notify-host-mantis
}
|