Questions tagged [icinga]
Icinga is a fork of the Nagios Project that is also backwards compatible with Nagios.
151
questions
0
votes
1
answer
453
views
icinga2 multi instance display
i have ~30 independent icinga2 systems. All have their own config.
Not i am locking for a dashboard showing problems off all nodes.
I tryed to setup a master server where i add those nodes.
when i do:...
9
votes
2
answers
26k
views
There is currently no icinga instance writing to the IDO
Hi i have installer icinga2 and icingaweb2 from official docs:
icinga2:
http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/getting-started#!/icinga2/latest/doc/module/icinga2/chapter/...
1
vote
3
answers
875
views
Monitoring Debian 5, 6, 7 hosts with icinga2
I successfully installed icinga2 and icinga2-web on Debian 8. The problem is that I need to monitor servers with Debian 5, 6 and 7 installed. Is it even possible?
If I understand correctly - I need a ...
2
votes
1
answer
3k
views
Icinga2 perfdata directory is overflowed
I`ve installed icinga2 on a virtual machine for monitoring 5 other ones with graphite support for the graphics and icingaweb2 as an interface. Recently on my web interface I got the follow:
Fatal ...
1
vote
2
answers
2k
views
Nagios configuration syntax: Multiple directives per line?
A large volatile part of my Nagios 3 (Icinga 1, actually) config looks like this:
...
define host{
host_name bla0037
use template-bla
}
define host{
host_name bla0042
use ...
0
votes
1
answer
53
views
Output additional information if nagios/icinga check fails
We use check_postgres to monitor our PostgreSQL servers.
Sometimes there are peaks in the number of locks and the check alerts.
Up to now the check only tells us the number of locks. This does not ...
2
votes
2
answers
11k
views
Run check_nrpe on remote server
I am trying to monitor a small service on a dummy server via Icinga2 the check_nrpe plugin. I have setup both correctly as I can do the following:
when I run /usr/lib/nagios/plugins/check_nrpe -H ...
2
votes
0
answers
124
views
How to manage third-party Nagios/Icinga plugins?
What is the recommended way to manage installed Nagios (or Icinga) plugins?
At the moment all plugins on my system are installed from Debian/Ubuntu packages, so this takes care of updates, file ...
10
votes
2
answers
22k
views
How to monitor remote “https” with Icinga version 2?
I have icinga 2.3.11 on ubuntu 14.04.3 inside VirtualBox. Im trying to monitor "https" port 443 for example "https://mail.google.com" here.Below is my snippet from default host.conf file
object Host ...
0
votes
2
answers
3k
views
Create custom plugin for Icinga2
I am a beginner in icinga and nagios usage for server management. I setup icinga on a machine and set up all the basics. The next step I tried was to check if certain services were running at ports ...
1
vote
1
answer
39
views
Icinga 1.8.4 not displaying all the services it manages
I'm new to managing Icinga. One of our Icinga 1.8.4 installs is not showing me all the services/hosts it manages. I've checked its status.dat file and it references the services and hosts I expect, ...
-1
votes
1
answer
1k
views
Running a linux command against Icinga2 macro variable in mail script?
It looks like some macros have been dropped between Icinga1 and Icinga2?
For example, I can only add "HOSTDURATIONSEC" = "$host.duration_sec$", to my template to then use it in the mail-host-...
2
votes
2
answers
5k
views
Icinga IDO schema error
I was going through the steps to setup icinga on a server with the icingaweb UI v 2.0 layout as given in their documentation. I was successful in getting to the setup page, which requires you to put ...
2
votes
1
answer
312
views
NRPE : Unable to read output
I've installed an Incinga 2 server and I'm trying to monitor Linux server.
So my server Icinga is working well. And last week I've installed the NRPE agent on one of our Server. It's a Red Hat ...
0
votes
1
answer
1k
views
Icinga: http check without ping'ing
I'm setting up Icinga for the first time.
I'd like to monitor websites, not their hosts (i.e. no ping, only http).
I've created a template like this:
template Host "generic-website" {
...
1
vote
2
answers
6k
views
icinga2 host state for passive host
I am using icinga2 for monitoring, and I want to include devices like NVR's located at customer sites. These cannot be pinged to check the host state.
The Icinga2 agent reports everything I need just ...
1
vote
1
answer
2k
views
Icinga2 and pnp4nagios
I am trying to install icinga2 and icingaweb with pnp4nagios. As directed in icinga2 document I have added following parameter on npcd.conf :
perfdata_spool_dir = /var/spool/icinga2/perfdata
I get ...
3
votes
1
answer
2k
views
Icinga2 dependecies of devices on HA
I would like to configure a Host-to-Host dependency on Icinga2, however, one of the Hosts has an HA configuration, so I need the to trigger it only when both HA devices are down. Suppose this scenario:...
2
votes
2
answers
1k
views
Icinga2 unidirectional remote clients
I'd like to monitor some hosts on which I can't allow an income connection.
Is there a away to achieve that while using "Icinga 2 Client" or "by_ssh"?
I can't find anything about that in the ...
2
votes
2
answers
5k
views
Error with using NRPE with Icinga2
I have working instance of Nagios, and I would like to run Icinga2 on other machine. Nagios is using NRPE so I would like to use it too.
I have following configuration in files:
object Service "NRPE ...
1
vote
1
answer
342
views
Nagios plugin runs manually, returns error when run automatically
To monitor Mailman mailing lists, I've added the check_mailman_qfiles plugin to an Icinga host.
With only the hostname as an argument, the plugin works fine when run manually:
user@icinga:~$ /usr/...
3
votes
2
answers
26k
views
Icinga2: Send E-Mail on Host/Service Down
I installed and configured Icinga2 with icingaweb2.
I added a test-host with a test-service: Let's call it "example.com".
This is the test-host:
/etc/icinga2/conf.d/hosts/example-com:
object Host "...
0
votes
1
answer
318
views
Icingaweb2 - Setup returns to start page
I tried to configure Icingaweb2 on Debian 8; it works fine so far, but if I call the web installer (http://d.pr/186lu) and click "next", I'm getting redirected to the second page (http://d.pr/1f6kE). ...
1
vote
1
answer
349
views
Unable to force checks in icinga
On the Icinga instance I look after some of the service checks aren't running on the schedule they should be. Moreover when I try to schedule a manual check I get the error message
Logger "...
0
votes
0
answers
109
views
Icinga DB Monitoring Null output
Hi I have deployed icinga monitoring solution using the blog which is here
Now I want to monitor multiple DB servers which are windows DB servers. I have placed the service description for DB ...
1
vote
1
answer
1k
views
icinga2 mysql connection issue
I followed all the install wizards When setting up icinga2, I have the following error:
SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13)
I ...
1
vote
0
answers
586
views
Nagios python plugin not working properly
I have installed Icinga for monitoring my azure infrastructure.
I want to monitor my DB Servers using python script which is here
Now it is making connection to DB server but mode options are not ...
1
vote
2
answers
7k
views
Icinga 2 vs Nagios 4 vs Shinken 2 : is there Performance Benchmarking comparison available?
I am not able to find out any link that displays the benchmarking report for the cores.
We have to monitor 50,000 hosts and 30 services per host
per minute host check : icmp
per 5 minute service ...
1
vote
1
answer
381
views
Best practice to handle service windows for passive checks in Nagios/Icinga
With active checks, regular service windows can easily be handled using time periods and check intervals. How do you handle this for passive checks?
2
votes
1
answer
7k
views
How to divide hosts by groups in Icinga2 properly?
I just migrate from Nagios to Icinga2 and have a question.
For example I have bunch of hosts related to group by their functional for example "web". But I want to check temperature for that group with ...
5
votes
1
answer
1k
views
Icinga - Very high check latency in distributed environment
I have a distributed Icinga setup set up as follows:
CENTRAL
Receives passive check results only
DISTRIBUTED A
227 hosts
835 services
DISTRIBUTED B
67 hosts
243 ...
1
vote
2
answers
4k
views
How to import or export nagios host Data from command line
This might be a basic question for some of you but being a beginner i wanted to know how to export or import data of the current status(CPU, Memory, Diskspace etc) of the host from command line into a ...
0
votes
2
answers
3k
views
Turning off specific Icinga 2 notifications over HTTP
In Nagios Core, it is possible to turn off notifications for a specific service or host through the web interface. This is a simple web request, which we can also construct in a command line script/...
2
votes
1
answer
185
views
AND / OR service dependencies in Icinga / Nagios
I've been setting up an Icinga instance using service dependencies as so:
define servicedependency{
dependent_host_name ahost
dependent_service_description ...
1
vote
1
answer
119
views
Include check_command with nagios/icinga alerts
Is there a way to include the check_command that is being used when being alerted via Nagios or Icinga.
Example:
define command {
command_name check-x-dc6.x-icmp
command_line $...
2
votes
1
answer
1k
views
nginx subdirectory to subdomain icingaweb2
I currently have icinga2 set up with the new icingaweb2 ui. it defaults to the subfolder /icingaweb as follows:
location ~ ^/icingaweb/index\.php(.*)$ {
# fastcgi_pass 127.0.0.1:9000;
...
1
vote
1
answer
3k
views
Howto monitor web server nodes through HA proxy using Icinga/Nagios in CentOS 6
In this guide I'm not focusing at all on setting up HA proxy or why you'd want to do that. If you have it and want to properly monitor it using Icinga, here's an idea of how you could go about this.
...
1
vote
1
answer
385
views
After Foreman install, my Icinga interface is not working
I installed Foreman now my nagios (Icinga actually) is not working. The URL is /icinga/ but it just says:
The page you were looking for doesn't exist.
You may have mistyped the address or the page ...
0
votes
2
answers
2k
views
Call NSCA from windows batch script (using NSClient++)
I have NSClient++ installed on some distributed windows servers that I am using Icinga to monitor. I also have a UPS attached to each server that can execute a custom command before scheduling a ...
1
vote
1
answer
618
views
Icinga Distributed - Status Map / Reachability Issue
I'm setting up a distributed Icinga setup in the following manner. We have 6 sites so i'm monitoring 3 on each of 2 nodes plus a central server.
Sites a,b,c are actively monitored by node 1
Sites d,...
0
votes
1
answer
874
views
Use Nagios hostgroups in check_cluster --service check?
Is there a way to use hostgroups within a check_cluster --service check?
I've only seen examples that list out each host in the cluster individually like this:
define service{
...
...
1
vote
2
answers
3k
views
check_http!--ssl actually checks http
When monitoring the SSL service on a host that runs HTTPS but not HTTP, Icinga warns about a 403 Forbidden return code. But that warning is for HTTP, not HTTPS.
Manually running the check_http ...
0
votes
1
answer
116
views
icinga nrpe executes locally instead of server
I am very new to icinga. In fact I finished setting it up today.
I am trying to monitor a bunch of stuff on my nrpe machines. I set up my services in /etc/icinga/objects/my.server.com.cfg and ...
3
votes
1
answer
1k
views
icinga-web not updating icinga status properly
I have a problem similar to this one... if you look at the photo there, you'll see that the icinga server is marked as down.
I checked everything according to the answer given there, but it has ...
1
vote
2
answers
368
views
Orthogonally defining services and contacts for a host/hostgroup?
I'm trying to turn our Icinga spaghetti into something more manageable and less repetitive. So far features like templates, object inheritance, multiple inheritance, hostgroups, servicegroups, etc ...
0
votes
1
answer
215
views
Icinga displays binary output to browser
Can't tell if this is Icinga or nginx, but when I pull up Icinga classic web I get the binary cgi displayed on the screen.
Here's a screenshot:
It seems to be the binary data from "tag.cgi".
...
1
vote
1
answer
1k
views
Icinga-web does not update when icinga2 configuration is updated
I recently setup a new Icinga2+ Icinga-web server.
Adding services in Icinga2 does cause them to show up in icinga-web, but upon renaming, or deleting any services in icinga2, icinga-web does not ...
0
votes
1
answer
313
views
Setting downtimes in Nagios/Icinga via SCCM
At our company we have quite a lot of Windows 2012/2008 servers which are updated automatically (and sometimes rebooted) via SCCM. All our servers are monitored via Icinga/Nagios. If the servers are ...
2
votes
0
answers
103
views
Icinga Performance issue when using many service groups
We have an Icinga installation with more than 3k active service checks. Performance is acceptable. We're already using the use_large_installation_tweaks option.
We have now started to build a ...
2
votes
2
answers
3k
views
install icinga2 and icinga-web in different servers
I followed this tutorial to install icinga2 on Sientific Linux and it works fine. What I need to do now is to install icinga2 in a server, the database in other server and icinga-web in an other one. ...