We have some problems with Nagios xi. First of all let me explain how we implemented Nagios xi in our company.
For security and performance reasons we only want to use passive checks for all of our monitoring customers. We use NSClient++ and Nagevlog as client agents.
To verifiede a host is up we use passive checks. NSClient++ sends information every minute.
When no checks have been received for 240 seconds, Nagios xi wil set the host state to "No_Checks_received!!!!!!!"
PROBLEM 1:
However i have some problems setting the notifications. We only want a notification when a "host state" changes.
But when i enable the notifications for the host (in nagios core), "service states" wil also be emailed.
Possible bug:
I was going crazy of all the service emails that i received. So i set the notifications enabled option to OFF. To my surprise i was still getting emails.
I also removed the event_handler (notify-host-by-email) from the config but still getting email.
After i removed the contact group from the config, the mails stopped.
Config host file, note that notification_enabled is set to 0. With these configs we still received email. Emails that include also service states.
Code: Select all
###############################################################################
#
# Host configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2012-04-24 08:51:06
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################
define host {
host_name Test-Roel
use xiwizard_passive_host
address Test-Roel
hostgroups Lantech
check_command check_dummy!2!No_Checks_received!!!!!!!
max_check_attempts 1
check_interval 1
retry_interval 1
passive_checks_enabled 1
check_period 24x7
check_freshness 1
freshness_threshold 300
event_handler notify-host-by-email
contacts
contact_groups Lantech Email
notification_interval 15
notification_period 24x7
notifications_enabled 0
icon_image passiveobject.png
statusmap_image passiveobject.png
_xiwizard passiveobject
register 1
}
###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################
PROBLEM 2:
Somes Nagios xi stops processing the passive checks. However all system component states are green (xi system component status & monitoring engine process)
NSClient ++ /test shows us the following output: Could not connect to: "nagios server IP": no connection could be made because the target machine actively refused it.
Our solution/workaround to this problem is to execute this command: "/usr/local/nagios/bin/nsca –c /usr/local/nagios/etc/nsca.cfg" After this command is executed the passive checks resumed being processed.
However this problem occurs to much for a business environment. We try to identify the problem but the debug option in nsca.cfg shows no errors.
__________________________________________________________________________________________________________________________________
Question:
We purchased Nagios xi a while back, but we still don't have permission to the customers page. How do we get access to that forum?
I hope you guys can help us with these issue's!
Greetings,
Roel van Dijk
Lantech B.V