Ad Widget

Collapse

Turn off use of PID file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • troels@arvin.dk
    Junior Member
    • Nov 2022
    • 1

    #1

    Turn off use of PID file

    The agent configuration includes a path to where a PID file is written when the agent starts (PidFile=). I'd like to turn off PidFile creation altogether, because it causes SELinux warning messages, and it seems the PID file generation doesn't have much use in a systemd governed installation.

    So: Is it possible to configure the agent to now write a PID file anywhere?

    --
    Regards,
    Troels Arvin
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Or maybe you just reconfigure the pidfile location? There is also a selinux package for zabbix...
    Security-Enhanced Linux secures the zabbix_agent processes via flexible mandatory access control. The zabbix_agent processes execute with the zabbix_agent_t SELinux

    Comment

    Working...