Questions tagged [icinga]

Icinga is a fork of the Nagios Project that is also backwards compatible with Nagios.

The aim of the Icinga project is to retain all the existing features of Nagios but also build upon Nagios to introduce long awaited new features and patches requested by the Nagios user community.

152 questions
1
vote
1 answer

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 remove the old service. For example, renaming a…
1
vote
1 answer

Time period in Nagios - First weekday after EOM?

I'm trying to set up a custom time period for some of my Nagios notifications. I need to execute checks for the first weekday after EOM. This would meet the following criteria: day of month >1, day of month <8 day of week monday - friday only…
Tim Brigham
  • 15,465
  • 7
  • 72
  • 113
1
vote
1 answer

Get IPs of printers on Windows print server via SNMP\Script

I am setting up an icinga server for monitoring printer status via SNMP (toner levels, errors, that kind of thing). All of the printers are accessible via a shared windows print server (Printer is added to client machines via…
1
vote
0 answers

Icinga notification behaviour

The notifications I'm getting and not getting from Icinga don't seem to be making sense and I'm hoping someone here can help me out. It's Icinga 1.10.1 running on Ubuntu 12.04.3 LTS When the host moves from up to down it checks it 5 times and then…
Stanzor
  • 11
  • 1
1
vote
1 answer

How to exempt weekends from freshness checks in Nagios

Thank you, serverfault, for giving me the answer to how-does-an-administrator-generalize-alerting-when-an-event-doesnt-happen. Now, I only want to check the freshness of these passive services Monday through Friday. There are some subtleties:…
Dan Garthwaite
  • 2,922
  • 18
  • 29
1
vote
1 answer

Icinga Monitor Website for String

I am trying to use Icinga to monitor a website for a particular string. When I run the plugin from the command line, it seems to work fine, but in Icinga-Web, it always shows up as successful no matter what I enter for the string. #Doesn't Work -…
Daniel
  • 251
  • 3
  • 12
1
vote
1 answer

Icinga (nagios) ignoring forced checks

I have a strange problem: Icinga (nagios) doesn't run check_nt which I've set up on a debian box. What I do is that I schedule a forced check of both NSClient_version and PING. If I look in the log file, I can see that both commands are scheduled to…
1
vote
4 answers

Monitor Services with $ in the service name in Icinga / Nagios

I'm trying to set up monitoring on a couple of MSSQL instances that exist on my Windows servers. The issue here is that if the service name contains a $ (for example, MSSQL$PROD)then the check_nt command will return a warning of null. The following…
DKNUCKLES
  • 4,028
  • 9
  • 45
  • 60
1
vote
1 answer

Nagios/Icinga check of Windows disk space, wrong -l argument

I'm using NSClient++ on the Windows servers and all other checks are working fine. I'm using the default nt_check config, but these show up as "services unknown" define service{ use generic-service host_name winserver …
1
vote
2 answers

anonymous access to icinga cgi

I'm currently setting up an Icinga monitoring system, however I'm lacking the idea of how to access a specific page that asks for authentication when accessed by http, mainly the "All problems" option on Icinga. Is there anyway I can bypass…
brusilva
  • 125
  • 4
1
vote
2 answers

Setting up apache vhost for Icinga

It's been a while since I've worked with Apache so please be kind - I'm also aware of this question but it hasn't been much help to me. I'd like to set up a simple vHost w/ Apache for my Icinga instance. Icinga is up and running and I can access it…
DKNUCKLES
  • 4,028
  • 9
  • 45
  • 60
1
vote
1 answer

Nagios monitoring mysql database size

Is there some plugin to monitoring database size in nagios? Of course i can write some bash script with query like: SELECT table_schema \"DB Name\", sum( data_length + index_length ) / 1024 / 1024 \"DB Size in MB\" FROM information_schema.TABLES…
Rafał Kamiński
  • 187
  • 2
  • 5
  • 15
1
vote
2 answers

Check mysql slow queries

Is it possible to monitor mysql like: if some queries run more then 300 seconds - it will be warning if some queries run more then 500 seconds - it will be critical I tried: /usr/lib/nagios/plugins/check_mysql_health --hostname localhost…
Rafał Kamiński
  • 187
  • 2
  • 5
  • 15
1
vote
1 answer

Icinga change ping check interval from service and http

I have Icinga installed on a machine with the basic configuration and we just use the Host Status Detail screen with a big monitor only to know when a machine is down due to network/eletrical problems. But it takes too long to update the ping times…
StackUnder
  • 113
  • 4
1
vote
1 answer

recommended way to use command line options for icinga/nagios checks?

Short version: if I want to change one of the "command definitions" in the Nagios set, what is the best way to do it? For example, I would like to add the -f (follow) flag to one of the check_http commands found in…
Chris Curvey
  • 359
  • 1
  • 2
  • 8