GldRush98 wrote:Have you compared file owner/group as well as permissions between working and nonworking servers?
File owner/group is fine. Let me clarify, I didn't mean nagios servers, I meant defined hosts in XI.
As stated, I am in the cli as the nagios user and run it from the cli and it works fine. This has got to deal with the new way nagios 4 handles parsing check commands, but I just have no clue how to resolve!
EDIT: After further examiniation the same service is not working, however, they are configured the exact same.
Doesn't work:
Code: Select all
define service {
service_description System Memory
use system_checks
hostgroup_name system_checks_hypervisors
servicegroups system
check_command check-ssh-local-perl!check_mem2!!-w 10 -c 5 -f -C!!!!!
contact_groups primary_sys_admins
register 1
}
Works:
Code: Select all
define service {
service_description System Memory
use system_checks
hostgroup_name system_checks_solaris
servicegroups system
check_command check-ssh-local-perl!check_mem2!!-w 10 -c 5 -f -C!!!!!
contact_groups primary_sys_admins
register 1
}
Anyone care to guess why the one works and the other does not?