When we execute commands in shell we have correct respond.
But when we execute command via nrpe we have this respond:
UNKNOWN - Could not fetch data from API: HTTP error code was 500
and this error in syslog
Sep 21 08:46:48 node-05-cloud pvedaemon[159490]: <root@pam> successful auth for user 'monitoring@pve'
Sep 21 08:46:48 node-05-cloud pveproxy[616954]: Use of uninitialized value $path in hash element at /usr/share/perl5/PVE/RPCEnvironment.pm line 123.
Sep 21 08:46:48 node-05-cloud pveproxy[616954]: Use of uninitialized value $path in string eq at /usr/share/perl5/PVE/AccessControl.pm line 1439.
Sep 21 08:46:48 node-05-cloud pveproxy[616954]: Use of uninitialized value $path in hash element at /usr/share/perl5/PVE/RPCEnvironment.pm line 59.
Sep 21 08:46:48 node-05-cloud pveproxy[616954]: Use of uninitialized value $path in hash element at /usr/share/perl5/PVE/RPCEnvironment.pm line 71.
Sep 21 08:46:48 node-05-cloud pveproxy[616954]: Use of uninitialized value $path in hash element at /usr/share/perl5/PVE/RPCEnvironment.pm line 88.
Looks like maybe nrpe is omitting some parts of the command. Do you have any logs of the full command which is run by nrpe (not just the configuration)?
Hi,
We tried to install your plugin. We use proxmox 7.0-11. Here is our nrpe config
When we execute commands in shell we have correct respond. But when we execute command via nrpe we have this respond:
and this error in
syslog
Could you help me to resolve this issue?