summaryrefslogtreecommitdiffstats
path: root/network/zabbix_agentd/README.SLACKWARE
diff options
context:
space:
mode:
author Niels Horn2010-05-13 01:00:27 +0200
committer Erik Hanson2010-05-13 01:00:27 +0200
commitcc817703debc23860b74bac3abcc53f93dde6de0 (patch)
treecb92a0f9ca1b5f059d65eb6c65959327ae080322 /network/zabbix_agentd/README.SLACKWARE
parentf33c3d5a66642d55d4ed667503164ca4998d1ee5 (diff)
downloadslackbuilds-cc817703debc23860b74bac3abcc53f93dde6de0.tar.gz
network/zabbix_agentd: Added to 13.0 repository
Diffstat (limited to 'network/zabbix_agentd/README.SLACKWARE')
-rw-r--r--network/zabbix_agentd/README.SLACKWARE71
1 files changed, 71 insertions, 0 deletions
diff --git a/network/zabbix_agentd/README.SLACKWARE b/network/zabbix_agentd/README.SLACKWARE
new file mode 100644
index 0000000000..d1b96b52ea
--- /dev/null
+++ b/network/zabbix_agentd/README.SLACKWARE
@@ -0,0 +1,71 @@
+README.Slackware
+================
+
+This file contains some specific instructions to complete the
+installation of zabbix_agentd on Slackware.
+
+0) Before running the SlackBuild script
+---------------------------------------
+
+0.1) zabbix group & user
+
+Before running the zabbix_agentd.SlackBuild script, you will need to create
+the 'zabbix' user and group. The script won't run if these do not
+exist.
+
+The suggested UID and GID is 228, but you can change this as needed:
+
+ # groupadd -g 228 zabbix
+ # useradd -u 228 -g zabbix -d /dev/null -s /bin/false zabbix
+
+1) Configuring zabbix_agentd
+----------------------------
+
+A standard configuration file is installed as /etc/zabbix/zabbix_agentd.conf
+
+At least the following lines need to be configured:
+
+ Server=<ip_of_your_zabbix_server>
+ Hostname=<hostname_of_your_zabbix_server>
+
+2) Start & Stop scripts for zabbix agent daemon
+-----------------------------------------------
+
+2.1) Automatic startup and shutdown
+
+If you want to start zabbix_agentd on system bootup, include these lines in
+your /etc/rc.d/rc.local:
+
+ # Start zabbix_agentd
+ if [ -x /etc/rc.d/rc.zabbix_agentd ]; then
+ echo "Starting zabbix agent daemon..."
+ /etc/rc.d/rc.zabbix_agentd start
+ fi
+
+To guarantee a clean shutdown of zabbix_agentd, include this in
+/etc/rc.d/rc.local_shutdown:
+
+ # Stop zabbix_agentd
+ if [ -x /etc/rc.d/rc.zabbix_agentd ]; then
+ echo "Stopping zabbix agent daemon..."
+ /etc/rc.d/rc.zabbix_agentd stop
+ fi
+
+2.2) Make /etc/rc.d/rc.zabbix_agentd executable
+
+Additionally, you'll have to set the rc script to be executable just like
+any other Slackware rc script:
+
+ # chmod +x /etc/rc.d/rc.zabbix_agentd
+
+4) Starting zabbix agent daemon
+-------------------------------
+
+Now you are ready to start zabbix_agentd by calling the startup script:
+
+ # /etc/rc.d/rc.zabbix_agentd start
+
+You can check the log file (/var/log/zabbix/zabbig_agentd.log) in case of
+problems.
+Zabbix uses ports 10050 & 10051 to communicate, so make sure these aren't
+blocked on your network.