Retain disabled notifications and active checks?

Does anyone know if nagios has the ability to remember between program restarts that notifications or active checks for a particular service have been disabled (via cgi/external command)? I’ve hunted through mailing lists, forums, the code itself, and I can’t seem to find a definitive answer.

Also, retention.dat never gets created on my server (2.0b6 / freebsd) for some reason, I’d appreciate it if someone could be kind enough to point me in the right direction, perhaps that is the reason nagios isn’t remembering that checks for a particular service have been disabled after I sighup nagios. Or perhaps nagios simply doesn’t (yet) support this feature. Anyway, below is (what I believe to be) the relevant parts of my config:


define service{
name generic-service
active_checks_enabled 1
passive_checks_enabled 0
parallelize_check 1
obsess_over_service 1
check_freshness 0
notifications_enabled 0
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
register 0

define service{
use generic-service
host_name some_random_hostname
service_description SSH Secure Shell
is_volatile 0
check_period 24x7
max_check_attempts 2
normal_check_interval 5
retry_check_interval 1
contact_groups level_1_notifications
notification_interval 120
notification_period 24x7
notification_options c,r
check_command check_ssh


ba bump

Sorry, can’t help you on this one. You already asked this question in another thread and I will work in that one only.

But for the one question, yes nagios can remember if notifications have been turned off.