I've tried at the host level;
Code: Select all
define host{
use linux-box
host_name blackduck
alias BlackDuck
address x.x.x.x ; IP address of the server
hostgroups release-build-systems
notifications_enabled 0
}
Code: Select all
define service{
use generic-service
host_name blackduck
service_description ProtexIP HTTP
check_command check_nrpe!check_url1
notifications_enabled 0
}
Code: Select all
notifications_enabled=0
Error: Could not add object property in file '/usr/local/nagios/etc/objects/hosts/blackduck.cfg' on line 43.
Code: Select all
Using notifications_enabled = 0
After each change, I restart the nagios service.
At first I didn't see the squelched alerts icon and figured that was just an oversight, but when I kill nrpe I still get alerts to email and slack.
Any takers?