I installed NCPA on a Debian 9 machine and was trying to monitor the Apache service (apache2). When the command runs, it says that the apache2 service is not found.
Here is the service definition:
Code: Select all
define service{
use generic-service
host_name <hostname>
service_description Apache2 Service
check_command check_ncpa!-t '<token>' -P 5693 -M services -q service=apache2,status=running
max_check_attempts 2
check_interval 30
retry_interval 5
check_period 24x7
contact_groups admins
register 1
notification_interval 720
#}
Code: Select all
"root": {
"services": [],
"processes": [],
Thank you in advance,
~Allen