Issues when graphing nodes trough passive checks 🙂

Hello!

It is my first post, so I decided to write because I couldn’t find information in the forum about my issue. I’ll try to describe in detail.

Here is my system information:

icinga2 --version
icinga2 - The Icinga 2 network monitoring daemon (version: 2.12.3)

Copyright (c) 2012-2021 Icinga GmbH (https://icinga.com/)
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl2.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

System information:
  Platform: CentOS Linux
  Platform version: 7 (Core)
  Kernel: Linux
  Kernel version: 3.10.0-1160.11.1.el7.x86_64
  Architecture: x86_64

Build information:
  Compiler: GNU 4.8.5
  Build host: runner-hh8q3bz2-project-322-concurrent-0
  OpenSSL version: OpenSSL 1.0.2k-fips  26 Jan 2017

Application information:

General paths:
  Config directory: /etc/icinga2
  Data directory: /var/lib/icinga2
  Log directory: /var/log/icinga2
  Cache directory: /var/cache/icinga2
  Spool directory: /var/spool/icinga2
  Run directory: /run/icinga2

Old paths (deprecated):
  Installation root: /usr
  Sysconf directory: /etc
  Run directory (base): /run
  Local state directory: /var

Internal paths:
  Package data directory: /usr/share/icinga2
  State path: /var/lib/icinga2/icinga2.state
  Modified attributes path: /var/lib/icinga2/modified-attributes.conf
  Objects path: /var/cache/icinga2/icinga2.debug
  Vars path: /var/cache/icinga2/icinga2.vars
  PID path: /run/icinga2/icinga2.pid

OS: CentOS Linux 7

icinga2 feature list
Disabled features: compatlog debuglog elasticsearch gelf graphite icingadb livestatus opentsdb statusdata syslog
Enabled features: api checker command ido-mysql influxdb mainlog notification perfdata

Icinga Web 2 Version:

Icinga Web 2 Version
2.8.2
Git commit
8a89839af94a247ee2149b2336c73b8251b477c0
PHP Version
7.3.20
Git commit date
2020-08-17

So, my issue is related with graphing. I have a lot of graphic nodes working with influxdb and grafana. I have to say that I didn configured this system, Iḿ just fixing missing graphics for several nodes.

All those nodes that doesn’t show the graphs are monitored by a passive checks/scripts, the other that have graphics use active checks.

There is something that I’m missing? I have a lot of time viewing what is wrong but I can’t find the culprit.

BTW: Sorry for my poor english.

Thanks in advance and best regards,

Oscar.

Hello @oamata!

Please provide an example passive check result which doesn’t reach your graphers.

Best,
AK

Hello @Al2Klimov

Thank you for your reply, but I already fixed my problem with graphing. It was that process perfdata was disabled in the passive-check service.

But Iḿ wondering if there is a way to do pings passively to each host.

Best regards,

What is a “passive ping”?

Antony.

For others hosts I use active monitoring and I can see a graph with the latency to that host issued by Icinga using a ping. So I’m wondering if I can do the same by a pasive check.

Regards,

Oscar.

Yes, but my question is “what is a passive ping?”

“ping” for me is something you actively do, to see whether there is a “pong”
response.

I ping you, you pong back - success.

I ping you, you don’t respond - fail.

So, unless I actively send a ping request, how is it possible to get a
resonse?

What sort of passive service check could achieve the same thing?

I’m sure that if you can think of what you want the passive check to be,
Icinga can handle it, but I have no idea how that can work without being an
active check.

Antony.