Nagios 4.3 installed but refusing password

I have just started to test/use UCS, I’m running into a issue with Nagios, it does not seem to recognise user or passwords?

I have assigned a user to the ‘nagios admin’ group, is there anything else I’m supposed to do?

Are you running Nagios on a different server? If so, edit the file /etc/nagios/nrpe.cfg line 109: allowed_hosts=YOUR.NAGIOS.SERVER

This is how I fixed my Nagios configuration. In my Nagios server, I added the file /usr/local/nagios/etc/objects/univention-checks.cfg:

###############################################################################
# 
# CHECK UNIVENTION CORPORATE SERVER COMMANDS
#
# Added 20230129
# Tim Finley
#
###############################################################################

define command {
    command_name    univention-disk-root
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c UNIVENTION_DISK_ROOT
}

define command {
    command_name    univention-dns
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c UNIVENTION_DNS
}

define command {
    command_name    univention-joinstatus
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c UNIVENTION_JOINSTATUS -t 120
}

define command {
    command_name    univention-ldap-auth
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c UNIVENTION_LDAP_AUTH
}

define command {
    command_name    univention-listener-mdb-maxsize
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c UNIVENTION_LISTENER_MDB_MAXSIZE
}

define command {
    command_name    univention-load
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c UNIVENTION_LOAD
}

define command {
    command_name    univention-nscd2
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c UNIVENTION_NSCD2
}

define command {
    command_name    univention-package-status
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c UNIVENTION_PACKAGE_STATUS
}

define command {
    command_name    univention-replication
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c UNIVENTION_REPLICATION -t 120
}

define command {
    command_name    univention-slapd-mdb-maxsize
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c UNIVENTION_SLAPD_MDB_MAXSIZE
}

define command {
    command_name    univention-smtp2
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c UNIVENTION_SMTP2
}

define command {
    command_name    univention-ssl
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c UNIVENTION_SSL
}

define command {
    command_name    univention-swap
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c UNIVENTION_SWAP
}

If you’re not that familiar with Nagios, I can keep going. But I think that’s enough to get you going.

I apologize for the delay and want to express my gratitude for your assistance. Our organization has decided to transition away from UCS and move towards using dedicated VMs due to numerous issues we have encountered. We believe that the concept of UCS is commendable, but it has proven to be too delicate, and our lack of expertise has been a contributing factor. \

Despite our efforts to update UCS, we have encountered consistent errors, whereas updating packages has proven to be less problematic.

Mastodon