Questions tagged [icinga2]

Icinga 2 is an open-source network and computer system monitoring application. Use this tag for questions relating to version two of the application.

Icinga 2 is version two of an open-source network and computer system monitoring application. Further information can be obtained from the following resources:-

There is a more general icinga tag, but it is recommended to use this tag for version two of the application.

112 questions
1
vote
3 answers

NPCD: ERROR: Executed command exits with return code '255'

After updating modules in cpan pnp4nagios/NPCD started logging the following in my syslog every time the script was called; NPCD[19673]: ERROR: Executed command exits with return code '255' NPCD[19673]: ERROR: Command line was…
user3788685
  • 2,943
  • 5
  • 26
  • 45
1
vote
2 answers

API not syncing files to Icinga2 satellite

I have a master and a satellite going over the internet. I cannot get the files from the master to sync to the satellite. I am looking under /var/lib/icinga2/api. There is no zones file. My master zones file is as follows - object Zone "master" { …
dynmatt
  • 153
  • 3
  • 18
1
vote
1 answer

Install Dell Open manage Plugin for nagios core with Icinga2?

Has anyone successfully installed the Dell open Manage plugin for Nagios core on an icinga2 installation? What is the Nagios core install location for an installation of icinga2 on CentOS7? I can't proceed past asking for the install location of…
Kevin Gardenhire
  • 626
  • 8
  • 22
1
vote
0 answers

Icinga2 - check_interval for cluster-zone check

I have defined a host template that uses the check_command as cluster_zone. I have set the check_interval to 2m, retry_inteval to 1m and max_check_attempts to 3. So, I am expecting to get a host down notification after 3m. However, the notification…
Vikas Tiwari
  • 517
  • 5
  • 16
1
vote
2 answers

How to re-setup Database configurations in Icinga2 server?

I am using ubuntu 16.04 and mysql DB ,i configured DB for icinga2 server and i created separate user in database. somedays back i deleted that user from db now i am not able access icingaweb2 UI, Getting below error while trying to access to the…
RCP
  • 374
  • 1
  • 5
  • 19
1
vote
1 answer

Execute script on Master node when a client host goes down

I know by default the "Event Command" is executed on the "Command endpoint" doing the check for a device. Is there a way to change this or define which endpoint the event command is executed on? I need the Event commands to be executed on the master…
alexis
  • 1,022
  • 3
  • 16
  • 44
1
vote
2 answers

Icinga2 check_by_ssh plugin returns 255 without running the command

I'm configuring a Icinga2 server and want it to run local scripts on external machines using the check_by_ssh plugin, and I encountered a strange issue. I've searched for an answer for few hours, but no luck. My command object looks as…
Chen A.
  • 10,140
  • 3
  • 42
  • 61
1
vote
1 answer

Icinga 2: variable in display_name?

Is it possible to pass a variable to display_name in Icinga2 configuration, e.g. for a service: apply Service for (disk_name => config in host.vars.disks) to Host { import "generic-service" vars = vars + config display_name = "disk" //TODO:…
Tombart
  • 30,520
  • 16
  • 123
  • 136
1
vote
1 answer

How can I limit Icinga2 API permissions to only allow changing a single check result?

I've got a backup script that, upon successful completion, calls the Icinga2 REST API via curl (command is below). This works perfectly well, but I'd like to secure the API user so that it can only change this one check result. I'm not sure what the…
1
vote
0 answers

How i can use Graphite with check_snmp (icinga2)?

I'm using graphite to display my services, but only display the default services (http, disk, ssh, etc ...). I add check_snmp command but Graphite does not recognize it Hope Somebody can Help me, thanks :)
Carlos Rojas
  • 334
  • 5
  • 13
1
vote
0 answers

how to install nagios plugin for icinga2 - Windows

I tried to install nagios plugin for icinga2 client on windows 10. Downloaded source code for nagios plugin. /configure in command prompt i got the following error checking whether it is possible to resort to fread on /etc/mnttab... …
stalin N
  • 11
  • 3
1
vote
2 answers

How to add hosts to Icinga2?

I'm having problem adding a host to Icinga2. I know that it is possible to add it via the following command: icinga2 node wizard But I have a feeling that you could add the hosts yourself, choosing which services you would like to monitor and…
0
votes
0 answers

Monitoring gitlab version with icinga2

I'd like to monitor the version of docker gitlab-ce instances with icinga2. I did not find a plugin for that. I began writing my own (which I am glad to share after finishing). Maybe I oversaw a very basic thing and there are other ways being…
c.holtermann
  • 113
  • 1
  • 9
0
votes
0 answers

How to use umlaute in Icinga2 static configuration files?

I use utf-8 encoding within the Icinga2 configuration files. Everything works correctly, but the display is strange: in Icingaweb2, characters that are not part of ascii-7 are shown incorrectly. As a specific example, the display name of a user…
Gogowitsch
  • 1,181
  • 1
  • 11
  • 32
0
votes
0 answers

plugin thats monitors ontap av connector in icinga2

can you suggest a good plugin for icinga 2 that can monitor and send alerts if ontap av connector is down? Thank you! We need a plugin that will send alerts or automatically create a ticket if the host or services is down.