Some nagios xi problems and a possible bug?

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
Lantech
Posts: 7
Joined: Mon Jan 02, 2012 3:43 am

Some nagios xi problems and a possible bug?

Post by Lantech »

Hello,

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
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Some nagios xi problems and a possible bug?

Post by lmiltchev »

PROBLEM 1:
You can disable all service notifications on a host by going to: Details->Host Detail-><your_host>Advanced tab->More Options->See this host in Nagios Core->Host Commands->Disable notifications for all services on this host.
I am not sure why you would keep receiving alerts after service notifications have been disabled. Is there a possibility that you forgot to apply configuration?
PROBLEM 2:
Please, open a ticket in our system by sending us an e-mail at xisupport@nagios.com.

P.S.
Our sales team will be contacting you regarding your access to the customer only support forum.
Be sure to check out our Knowledgebase for helpful articles and solutions!
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Some nagios xi problems and a possible bug?

Post by mguthrie »

You should have access to the Customer forum now. For some reason your account was in a pending state for customer forum access. Let us know if you're not able to access it now.
Lantech
Posts: 7
Joined: Mon Jan 02, 2012 3:43 am

Re: Some nagios xi problems and a possible bug?

Post by Lantech »

We are able to access the customer forum now. Thank you.

Problem 1: Thank you for the advice!

When i looked here the notifications option was still enabled. Witch i find pretty awkward. I disabled the notifications like this
Nagios core Config manager -> monitoring -> host -> my hostname -> edit ->in host management in the tab Alert settings, notifications enabled = off
As you can see in the piece of code i put in the last post the notifications are disabled. I applied the config several times and reboot the server few times and double checked before i created the last post.

In theorie, this way of configuring a host should have the same effect as the way you describe youre way of disabling notifications right?
The configuration of the host is in both ways configured through nagios core.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Some nagios xi problems and a possible bug?

Post by scottwilkerson »

Lantech wrote:In theorie, this way of configuring a host should have the same effect as the way you describe youre way of disabling notifications right?
Actually no, the command lmiltchev described will take precedence and if set will override and changes in configurations.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart