1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
---|
3 | <plist version="1.0"> |
---|
4 | <dict> |
---|
5 | <key>Label</key> |
---|
6 | <string>com.macports.cacti</string> |
---|
7 | <key>Username</key> |
---|
8 | <string>cactiuser</string> |
---|
9 | <key>ProgramArguments</key> |
---|
10 | <array> |
---|
11 | <string>%%PREFIX%%/bin/php55</string> |
---|
12 | <string>-q</string> |
---|
13 | <string>%%CACTIDIR%%/poller.php</string> |
---|
14 | </array> |
---|
15 | <key>StartInterval</key> |
---|
16 | <!-- default every 5min --> |
---|
17 | <integer>300</integer> |
---|
18 | <key>StandardOutPath</key> |
---|
19 | <string>%%PREFIX%%/var/log/cacti/poller.log</string> |
---|
20 | <key>StandardErrorPath</key> |
---|
21 | <string>%%PREFIX%%/var/log/cacti/poller_err.log</string> |
---|
22 | <!-- This section is for cacti dependencies to run: net-snmp is not necessary if you don't monitor localhost --> |
---|
23 | <key>OtherJobEnabled</key> |
---|
24 | <dict> |
---|
25 | <key>org.macports.net-snmp</key> |
---|
26 | <true /> |
---|
27 | <key>org.macports.mysql5</key> |
---|
28 | <true /> |
---|
29 | </dict> |
---|
30 | </dict> |
---|
31 | </plist> |
---|