In this article, I am going to explain how to implement a monitoring on your system, using an agentless solution (without Nagios’ nrpe agents), and I will underline some advantages of this useful solution. The target machine will be Linux or Unix Operating Systems.
The need can arise from the fact that some of the Operating Systems do not provide the Nagios’ agent or the customer does not intend to install software of third parties, as the system is considered too critical or the customer wants to avoid discussions with the assistance offered by the system’s vendor.
The basic idea is very similar to the one utilized by Nagios’ agent. Having recourse to the features available in the SNMP protocol (Net-SNMP package) installed by default on the main Operating Systems “Unix-like”, it is possible to define a script and run it with a specific OID via the SNMP protocol.
In this article, I will use Oracle Solaris 11 as the target Operating System. However, with some simple configuration changes it is possible to adapt the configuration also to other systems.
The configuration is quite simple. Here are the main steps:
Edit the file etc/net-snmp/snmp/snmpd.conf with the following settings:
rocommunity public # Read Only community
exec oracle_tbs /opt/scripts/oracle.sh # name and path of the script to be executed via SNMP
Create a file that will be called and executed by SNMP i.e.: /opt/scripts/oracle.sh
Restart the SNMP service in order to apply the new settings.
The following is a screenshot that shows some of the steps:
There are no limits to the potentialities of these checks, except for the ability to write its own scripts.
This package will allow you to increase your checks and with some simple keywords you will be able to expand the features available and make recourse to further controls provided by the package. For instance, you can verify a partition of your target system, simply by adding the following configuration in the snmpd.conf file. For example, for the partition var you must add:
disk /var
The integration with NetEye is very easy as well, thanks to the plugin check_snmp, that is already installed on our system.
Hi, I'm Matteo and since 2005 I am working as IT system consultant with different systems (Oracle, Solaris, Linux, Cisco, NetApp, etc.) and various programming languages too. I have also obtained some certifications, as RHCE, OCA and CCNA. In the last years, my main focus is on monitoring tools like Zenoss, Zabbix, ntop and of course Nagios. Thanks to my working experience I acquired the ability to manage complex services, to analyse and solve both organizational and technological problems. In 2016 I joined the Wuerth-Phoenix Group as System Integration consultant. My free time is dedicated to photography and also to windsurfing and playing guitar.
Author
Matteo Baruchello
Hi, I'm Matteo and since 2005 I am working as IT system consultant with different systems (Oracle, Solaris, Linux, Cisco, NetApp, etc.) and various programming languages too. I have also obtained some certifications, as RHCE, OCA and CCNA. In the last years, my main focus is on monitoring tools like Zenoss, Zabbix, ntop and of course Nagios. Thanks to my working experience I acquired the ability to manage complex services, to analyse and solve both organizational and technological problems. In 2016 I joined the Wuerth-Phoenix Group as System Integration consultant. My free time is dedicated to photography and also to windsurfing and playing guitar.
With the NetEye 4.49 release, we're extending the coverage of our NetEye Extension Packs (NEPs) by introducing a new package specifically focused on Audiocodes device monitoring, implemented through Centreon plugins over SNMP. This article explains: When the Audiocodes NEP will Read More
Office 365 is a suite of online subscription services offered by Microsoft as part of the Microsoft 365 ecosystem. It includes capabilities for document creation and management, email, video conferencing, collaboration, and many other productivity services. The upcoming NetEye Extension Read More
The code is the structure, the LLM is the glue at the joints. There's a widespread misconception about automations “powered by artificial intelligence”: People picture a model you give an order to, which then carries out a complex operation from Read More
Practical lessons learned from real-world alert routing, automation, and integrations Introduction As mentioned at the end of Part 1, let's continue exploring practical use cases and real‑world solutions for Jira Operations alert handling and enrichment. NetEye, Icinga, and Jira Ops Read More
During our consulting activities we frequently find ourselves having to collect data from SNMP devices that do not support SNMPv3 for data encryption. This type of traffic is readable on the network and can create security problems and noncompliance with Read More