Linux SNMP Wizard Adds HTTP

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
TheHutGroup
Posts: 18
Joined: Wed Feb 11, 2015 12:21 pm

Linux SNMP Wizard Adds HTTP

Post by TheHutGroup »

Hello,

Whenever we add a new Linux SNMP host it automatically adds HTTP monitoring which cannot be deleted (it does not show in the Core Config Manager). Can someone please advise what is responsible for forcing this check and how I can remove it (or fix it so it does not happen on future monitoring wizards)?

Cheers
Martyn
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Linux SNMP Wizard Adds HTTP

Post by tmcdonald »

It absolutely should appear in the CCM. What are you searching for to find it? Try both "HTTP" and the name of the host that the service is attached to. Also, make sure you are checking past the first page of search results.

What XI version is this?
Former Nagios employee
TheHutGroup
Posts: 18
Joined: Wed Feb 11, 2015 12:21 pm

Re: Linux SNMP Wizard Adds HTTP

Post by TheHutGroup »

Hopefully the following screen shots should explain better than my words.
nXI-1.png
nXI-2b.png
nXI-3.png
And to confirm searching for HTTP in the CCM (Services) results in no results (was limited to 3 uploads).

*edit: The version is NagiosXI 2014R2.6
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Linux SNMP Wizard Adds HTTP

Post by tgriep »

Go to Core Config Manager, under the Tools section on the left hand side, click the Static Configurations link and check to see if it is defined there.
Be sure to check out our Knowledgebase for helpful articles and solutions!
TheHutGroup
Posts: 18
Joined: Wed Feb 11, 2015 12:21 pm

Re: Linux SNMP Wizard Adds HTTP

Post by TheHutGroup »

Thank you. In the following file "/usr/local/nagios/etc/static/xitemplates.cfg" I can see the following definition:

Code: Select all

define host{
	name							xi_host_website
	use								xi_host_generic
	alias							Website
	_template_description			Website
	check_command					check_xi_host_http
	hostgroups						xi_hostgroup_websites
	register						0
}
Stupid question time but if I remove this section that should resolve the issue?
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Linux SNMP Wizard Adds HTTP

Post by jdalrymple »

So it sounds like the template xi_host_website is getting applied when you're using the Linux SNMP wizard to create a host? That doesn't sound normal, when I run it on my machine I get xiwizard_linuxsnmp_host which sources xiwizard_generic_host.
TheHutGroup
Posts: 18
Joined: Wed Feb 11, 2015 12:21 pm

Re: Linux SNMP Wizard Adds HTTP

Post by TheHutGroup »

Thanks for the information.

I had a check in the host templates and found "xiwizard_website_host" and removed the reference to "xi_generic_host" from the "Manage Templates" option. This looks to have resolved the issue!
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Linux SNMP Wizard Adds HTTP

Post by jdalrymple »

Great - OK to lock this one up or do you think there is any further analysis we should do?
TheHutGroup
Posts: 18
Joined: Wed Feb 11, 2015 12:21 pm

Re: Linux SNMP Wizard Adds HTTP

Post by TheHutGroup »

Hey,

I am taking over from Martyn as he is focusing on other tasks today.

Unfortunately, the issue hasn't been resolved by removing the following from xitemplates.cfg

Code: Select all

define host{
   name                     xi_host_website
   use                        xi_host_generic
   alias                     Website
   _template_description         Website
   check_command               check_xi_host_http
   hostgroups                  xi_hostgroup_websites
   register                  0
}
Can you recommend anything else so that we might better self-diagnose the issue?

Thanks,

Dave
TheHutGroup
Posts: 18
Joined: Wed Feb 11, 2015 12:21 pm

Re: Linux SNMP Wizard Adds HTTP

Post by TheHutGroup »

It doesn't appear to matter what we select - It auto-populates HTTP, PING, Root Partition, SSH, Swap Usage, Total Processes:

The metrics:
select.png
The alert:
alert.png
It really is a head scratcher!
You do not have the required permissions to view the files attached to this post.
Locked