Scheduled execution
The plugin runs via module_plugin in the Pandora FMS EndPoint. Add one of the following lines to /etc/pandora/pandora_agent.conf:
# Zero-config (nvidia-smi auto-detected)
module_plugin /etc/pandora/plugins/pandora-nvidia-gpu
# Fanless server GPU
module_plugin /etc/pandora/plugins/pandora-nvidia-gpu --include-fan=false
# Windows with explicit nvidia-smi path
module_plugin "C:\Program Files\pandora_agent\plugins\pandora-nvidia-gpu.exe" --smi-path "C:\Windows\System32\nvidia-smi.exe"
# Custom GPU limit
module_plugin /etc/pandora/plugins/pandora-nvidia-gpu --max-count 64
After adding the line, restart the pandora_agent daemon. The EndPoint invokes the binary on every agent cycle and attaches the returned modules to the agent's XML report.