Nagios status information

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
StanGilbertlandria
Posts: 6
Joined: Sat Mar 26, 2022 2:24 am

Nagios status information

Post by StanGilbertlandria »

Hi

I am working on a project that has my computer communicating with an arduino board that reads the sensor output and test it in a C plugin for nagios. My problem is that the status information is always null. My plugin is in the lib"/usr/local/nagios/libexec" In commands.cfg I added the following:

define command{
command_name arduino_temp_sensor
command_line /usr/local/nagios/libexec/essai.c
}
And in the localhost.cfg I added the following:

define service{
use generic-service
host_name localhost
service_description Temp
check_command arduino_temp_sensor
}
I'm confused if the output of the printf should appear in the status information or not omegle shagle. Thanks in advance.
Locked