{% extends 'base.html.twig' %} {% block title %}{% trans %}Monitoring{% endtrans %}{% endblock %} {% block body %}
%URL% returns the state of monitored printers in json format.
You can define the notification level on Notification page.
Define the ip(s) of your monitoring Tool(s) as allowed ip(s) in .env file to increase the security.
.env file'|trans}}{{'Command Template'|trans}}
define command {
command_name check_printerwatchdog
command_line $USER1$/check_printerwatchdog $ARG1$
}
{{'Service Template'|trans}}
define service{
use generic-service
host_name {{ app.request.gethost }}
service_description My PrinterWatchdog Install
check_command check_printerwatchdog!{{absolute_url(path('monitoring_status'))}}
}