Re: [weewx-user] Re: monitoring Weewx with Nagios

2024-01-03 Thread salinois
thanks all I will test that tomorrow and I will come back to you. Bye Patrick Le 03/01/2024 à 21:51, vince a écrit : Here's a quick script to print secs since a file was last modified and complain if it's more than 10 minutes, as an example.  You could alternately throw a snmp trap for

[weewx-user] Re: monitoring Weewx with Nagios

2024-01-03 Thread vince
Here's a quick script to print secs since a file was last modified and complain if it's more than 10 minutes, as an example. You could alternately throw a snmp trap for nagios to listen for, use 'logger' to log a syslog message, etc. Many ways to cause something to alert in a way that

[weewx-user] Re: monitoring Weewx with Nagios

2024-01-03 Thread sali...@gmail.com
ok, I didn't understand everything, but I was able to put "python3 /usr/share/weewx/weewxd" in the nagios plugins, and it responds: OK: Process exists. Running instances: 1, when I stop weewx it responds: CRITICAL: Process python3 does not exist, it's a start. for the archives I don't know

[weewx-user] Re: monitoring Weewx with Nagios

2024-01-03 Thread matthew wall
here are some nagios plugins that i wrote a *very* long time ago. you might be able to use the pattern in check_wview as the basis for a check_weewx. you might even be able to use check_wview directly, depending on the schema you use in weewx.

[weewx-user] Re: monitoring Weewx with Nagios

2024-01-03 Thread matthew wall
On Wednesday, January 3, 2024 at 2:38:54 PM UTC-5 sali...@gmail.com wrote: I would like to monitor my weather station "weewx" with my Nagios; what process should I monitor to verify that Weewx is active? first order would be to check whether weewxd is running. but a better check would be to

[weewx-user] monitoring Weewx with Nagios

2024-01-03 Thread sali...@gmail.com
hello, first of all, happy new year everyone. I would like to monitor my weather station "weewx" with my Nagios; what process should I monitor to verify that Weewx is active? I found a plugin "check_snmp_proc.sh", it works for "sshd" for example. do you have an idea ? Good evening Patrick --