I've added only a single (external) host to attempt to test out how to get certain things working. In adding the host via NConf and generating and applying the config, everything seems OK with no errors. After checking on the added host through NagVis (as well as the default installed host) I'm noticing that the SSH and HTTP services are disabled from sending notifications. As far as I can tell I've enabled notifications on my added host. I also made sure to update the admin user with a valid email address, and successfully tested the email settings via the shell command test.
I do see other topics discussing email notifications not working, but I'd imagine they've already checked other areas of the interface to verify there are no defined symptoms like I'm seeing here.
NEMS version 1.3
My added host config:
Code: Select all
define host {
host_name saratogareads.org
address saratogareads.org
max_check_attempts 5
check_interval 15
retry_interval 1
first_notification_delay 0
notification_interval 15
notification_options d,u,r
active_checks_enabled 1
passive_checks_enabled 0
notifications_enabled 1
check_freshness 0
icon_image_alt Linux
icon_image base/linux40.gif
statusmap_image base/linux40.gd2
check_command check-host-alive
check_period 24x7
notification_period 24x7
contact_groups +admins
use linux-server
}
A more general Nagios question:
By default in these service groups it's checking SSH/SWAP etc, but it's checking localhost (NEMS). Could someone point me to the documentation on how to go about checking an external host's processes? I'm assuming I'd have to write some of my own bash scripts (or find pre-existing ones).
Thanks!