Zabbix

zabbix_agentd cannot run as root

[code lang=”js”] Starting Zabbix agent: zabbix_agentd [10808]: user zabbix does not exist zabbix_agentd [10808]: cannot run as root![/code] [code lang=”js”]groupadd zabbix[/code] <p style="text-align: justify;"> <p> [code lang=&#8221;js&#8221;]chown zabbix:zabbix /var/run/zabbix/[/code] </p> <p style="text-align: justify;"> <p> [code lang=&#8221;js&#8221;]rm -f /var/log/zabbix/*[/code] </p> <p style="text-align: justify;"> <p> [code lang=&#8221;js&#8221;]rm -f /var/run/zabbix/*[/code] </p> <p style="text-align: justify;"> <p> [code lang=&#8221;js&#8221;]service zabbix-agent restart[/code] </p> <p style="text-align: justify;"> <p> [code lang=&#8221;js&#8221;]chkconfig zabbix-agent on[/code] </p> <p style="text-align: justify;"> This should fix the agent start-up problem.

Powershell command to monitor disk fragmentation level using Zabbix

I love zabbix a lot because of its ease of use and the simplicity of the configuration when it comes to monitoring anything. I recently added a monitor to check the fragmentation level of volumes on a machine once a week and set it to trigger an alert when the fragmentation level reaches the set threshold. I wrote a simple command line statement that would run the defrag check and output just the value.

Installing Zabbix 2.0 package from EPEL on CentOS 6.4

[code lang=”js”] vi /etc/sysconfig/iptables -A INPUT -m state –state NEW -m tcp -p tcp –dport 80 -j ACCEPT -A INPUT -m state –state NEW -m tcp -p tcp –dport 10050 -j ACCEPT -A INPUT -m state –state NEW -m tcp -p tcp –dport 10051 -j ACCEPT [/code] [code lang=”js”]service iptables restart[/code]