-
Notifications
You must be signed in to change notification settings - Fork 2
Debugging
- Paths
- Start in foreground
- Query the Agent - Pull Mode with enabled AutoTLS
- Manual query and process check results - Pull Mode
- Access submitted data - Push Mode
/etc/openitcockpit-agent/
/var/log/openitcockpit-agent/
/Applications/openitcockpit-agent/
/Library/Logs/openitcockpit-agent/
C:\Program Files\it-novum\openitcockpit-agent
Registry:
HKEY_LOCAL_MACHINE\SOFTWARE\it-novum\
sudo systemctl stop openitcockpit-agent
sudo /usr/bin/openitcockpit-agent --config /etc/openitcockpit-agent/config.ini --log /tmp/agent.log --verbose --debug
sudo su
/bin/launchctl stop com.it-novum.openitcockpit.agent
/Applications/openitcockpit-agent/openitcockpit-agent --config /Applications/openitcockpit-agent/config.ini --log /tmp/agent.log --verbose --debug
Open a new PowerShell
window. Administrator privileges are not required but recommended. Please see Windows Service Configuration how to enable Verbose
and Debug
options.
cd "C:\Program Files\it-novum\openitcockpit-agent"
Stop-Service -Name openITCOCKPITAgent
$env:OITC_AGENT_DEBUG="1"
.\openitcockpit-agent.exe -c "$PWD\config.ini" -l "$env:TEMP\agent.log" --debug --verbose
You can run this curl command on the openITCOCKPIT Monitoring Server to send an request to the Agent.
curl -k -v https://xxx.xxx.xxx.xxx:3333 --cacert /opt/openitc/agent/server_ca.pem --key /opt/openitc/agent/server_ca.key --cert /opt/openitc/agent/server_ca.pem
You can run this command on the openITCOCKPIT Monitoring Server to send an request to the Agent and pass all check results to the Monitoring Engine
/opt/openitc/receiver/bin/poller.php poller -H <Host-UUID> -c /opt/openitc/receiver/etc/production.json --verbose
If you don't want to pass the check results to the Monitoring Engine add the option --dryrun
Open the openITCOCKPIT web interface and navigate to openITCOCKPIT Agent -> Agents Overview -> Push
and select Show received data
from the drop down menu.
If the entire Agent is missing from the list, please check the log file of the Agent for any errors.