In case of passive checks as for example SNMP traps or notifications via email from external checking systems, it is not always possible to know if these controls are correctly performed.
This is the reason that made us decide to look for a solution able to ensure that the passive checks are being regularly provided by external applications. To reach our target we opted for the freshness check of Nagios, that as the word itself is suggesting is a check that verifies the freshness of the results provided.
Nagios, in fact, supports freshness checks on host and service passive check results. The freshness check aims to ensure that host and service checks are being passively provided by external applications on a regular basis. In particular, it will be guaranteed that the passive checks are registered in the expected time period. For example, if you have a daily check at 8 a.m., the freshness check will verify that the results are received exactly in that configured time frame.
How does it work?
Nagios performs periodic checks to verify the passive check results for all those hosts and services that have the freshness check enabled.
A “freshness” threshold is calculated for each host or service
For each host/service, the age of its last check result is compared with the freshness threshold.
If last check result is received on a time above the freshness threshold, the check result is considered “stale”.
How is the Freshness Check enabled?
Here the procedure to follow to enable the freshness check:
Enable freshness checking on a host- and service-specific basis by setting the check_freshness option and activating the checkbox near the same option in Monarch
Configure freshness thresholds by setting the freshness_threshold option in your host and service definitions
Configure the check_command option in your host or service definitions to reflect a valid command that should be used to actively check the host or service when it is detected as “stale”
The check_period option in your host and service definitions is used when Nagios determines when a host or service can be checked for freshness, so make sure it is set to a valid timeperiod
I have over 20 years of experience in the IT branch. After first experiences in the field of software development for public transport companies, I finally decided to join the young and growing team of Würth Phoenix (now Würth IT Italy). Initially, I was responsible for the internal Linux/Unix infrastructure and the management of CVS software. Afterwards, my main challenge was to establish the meanwhile well-known IT System Management Solution WÜRTHPHOENIX NetEye. As a Product Manager I started building NetEye from scratch, analyzing existing open source models, extending and finally joining them into one single powerful solution. After that, my job turned into a passion: Constant developments, customer installations and support became a matter of personal. Today I use my knowledge as a NetEye Senior Consultant as well as NetEye Solution Architect at Würth Phoenix.
Author
Juergen Vigna
I have over 20 years of experience in the IT branch. After first experiences in the field of software development for public transport companies, I finally decided to join the young and growing team of Würth Phoenix (now Würth IT Italy). Initially, I was responsible for the internal Linux/Unix infrastructure and the management of CVS software. Afterwards, my main challenge was to establish the meanwhile well-known IT System Management Solution WÜRTHPHOENIX NetEye. As a Product Manager I started building NetEye from scratch, analyzing existing open source models, extending and finally joining them into one single powerful solution. After that, my job turned into a passion: Constant developments, customer installations and support became a matter of personal. Today I use my knowledge as a NetEye Senior Consultant as well as NetEye Solution Architect at Würth Phoenix.
Running Ollama locally or on dedicated hardware is straightforward until you need to know whether a model is actually loaded in RAM, how fast it generates tokens under load, or when memory consumption reaches a threshold that affects other workloads. Read More
Hi everyone! Today I'd like to share with you an investigation we undertook related to ingesting Open Telemetry data in Elasticsearch, while maintaining tenant segregation from start to end. The Scenario Let's imagine we have multiple customers, where in this Read More
SNMP monitoring is the standard method for obtaining information and metrics from network devices. Typically, we focus on extracting data from a single interface to monitor its status, traffic, or errors. But in many cases, we’re only interested in getting Read More
In the ITOA module we fixed a bug that prevented the Performance Graphs to be shown in the Monitoring host and service page. List of updated packages grafana, grafana-autosetup, grafana-configurator and grafana-neteye-config to version 12.4.1_neteye3.29.2-1
Creating a GitHub organization is easy. Creating a public one that is actually well-structured, secure, and maintainable over time… not so much. At the beginning, it feels like a simple task: create the org, push some repositories, maybe define a Read More