diff options
Diffstat (limited to 'roles/nagios_server/templates/etc/nagios/objects/commands.cfg.j2')
-rw-r--r-- | roles/nagios_server/templates/etc/nagios/objects/commands.cfg.j2 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/nagios_server/templates/etc/nagios/objects/commands.cfg.j2 b/roles/nagios_server/templates/etc/nagios/objects/commands.cfg.j2 index e44d6ab..06503c5 100644 --- a/roles/nagios_server/templates/etc/nagios/objects/commands.cfg.j2 +++ b/roles/nagios_server/templates/etc/nagios/objects/commands.cfg.j2 @@ -167,6 +167,13 @@ define command { command_line $USER1$/check_asterisk_endpoints -H '$_HOSTFQDN$' -P '$ARG1$' -u '$ARG2$' -p '$ARG3$' $ARG4$ } +define command { + command_name check_asterisk_registrations + command_line $USER1$/check_by_ssh \ + {{ nagios_check_by_ssh_args }} \ + --command='check_asterisk_registrations' +} + ###################################### # Service Checks: Certificate Validity |