I've written a number of scripts (Bash and PowerShell Core) to use as Plugins. Starting in March of 2022, I started getting occasional time outs. After some testing, I have determined that any script that takes more than 10 or 11 seconds to execute will time out.
pandora_server.log:
2022-06-21 13:33:39 ProducerConsumerServer: pandoraserver.domain.com [V3] Plug-in module Test for agent dd0aa20090f94f38bbe288550ad1d17644b3fdf968c2560ba81be5b124fe053a timed out.
It doesn't matter what I set the "time out" value to for the plugin or the module (whether 0 or some high number).
Pandora FMS: v7.0NG.762 Akira - OUM 762 - MR 54 (latest version)
CentOS: 7 (up-to-date)
PowerShell core: 7.1.5
Sample Bash script - timeout with seconds set to 12 or greater:
#!/bin/bash
seconds=12
sleep $seconds
echo $seconds
Sample PowerShell script - timeout with seconds set to 11 or greater:
$Seconds = 11
Start-Sleep $Seconds
$Seconds
