Enabling cgi logging turned up another clue. The cgi log is full of:
Error: Invalid service object directive 'mount'.
Error: Could not add object property in file
'/var/cache/icinga2/objects.cache' on line 65.
A google search on that leads to Bug 6754:
https://dev.icinga.org/issues/6754
It's not clear to me from the example if I'm hitting the same issue, but
maybe it's close.
The section of objects.cache is:
define service {
host_name somedata.che.wisc.edu
service_description {
mount = "/cifs/somedata"
}
display_name {
mount = "/cifs/somedata"
}
check_period 24x7
check_interval 1.000000
retry_interval 0.500000
max_check_attempts 5
active_checks_enabled 1
passive_checks_enabled 1
flap_detection_enabled 0
is_volatile 0
notifications_enabled 1
notification_options w,u,c,r,f,s
notification_interval 30.000000
notification_period 24x7
event_handler_enabled 1
check_command check_mountpoints!
contacts icingaadmin
contact_groups icingaadmins
initial_state o
low_flap_threshold 30.000000
high_flap_threshold 30.000000
process_perf_data 1
check_freshness 1
service_groups
_mount /cifs/somedata
}
So maybe I need to re-write my config so it doesn't trip this bug?
All insights are welcome.
RP
On 22/02/16 13:40, Russell R Poyner wrote:
This is a Centos 7 system with selinux disabled.
icinga2 daemon -C completes successfully.
apache is a member of icinga and icingacmd groups and has read access
to /var/cache/icinga2
Icinga2 and icinga-gui were installed from rpms using yum:
yum list installed |grep icinga
icinga-doc.x86_64 1.13.3-0.el7.centos
icinga-stable-release icinga-gui.x86_64 1.13.3-0.el7.centos
icinga-stable-release icinga2.x86_64 2.4.1-1.el7.centos
icinga-stable-release icinga2-bin.x86_64 2.4.1-1.el7.centos
icinga-stable-release icinga2-classicui-config.x86_64 2.4.1-1.el7.centos
icinga-stable-release icinga2-common.x86_64 2.4.1-1.el7.centos
icinga-stable-release icinga2-ido-mysql.x86_64
I'm out of ideas of what to look at.
Thanks
RP
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users