Skip to content

Instantly share code, notes, and snippets.

@nojimage
Created April 6, 2011 07:18
Show Gist options
  • Save nojimage/905266 to your computer and use it in GitHub Desktop.
Save nojimage/905266 to your computer and use it in GitHub Desktop.
auto startup zabbix agent on Mac OS X (macports)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.macports.zabbix_agent</string>
<key>ProgramArguments</key>
<array>
<string>/opt/local/share/zabbix/zabbix_agentd.init</string>
<string>start</string>
</array>
<key>OnDemand</key> <false />
<key>Disabled</key> <true/>
</dict>
</plist>
@nojimage
Copy link
Author

nojimage commented Apr 6, 2011

save to /Library/LaunchAgents/org.macports.zabbix_agent.plist

and

sudo launchctl load -w /Library/LaunchAgents/org.macports.zabbix_agent.plist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment