Skip to content
Snippets Groups Projects
Commit 320d8f02 authored by Kamil Porembiński's avatar Kamil Porembiński
Browse files

Common UserParameter and visual fix for README.md

parent 5483d451
No related branches found
No related tags found
No related merge requests found
...@@ -6,18 +6,20 @@ Script and templates for Zabbix 2.2.x. and 2.4.x ...@@ -6,18 +6,20 @@ Script and templates for Zabbix 2.2.x. and 2.4.x
- In Templates there are XML files ready to import using Zabbix GUI - In Templates there are XML files ready to import using Zabbix GUI
- In zabbix_agentd.conf.d there are custom User Parameters (need to be installed on agent) - In zabbix_agentd.conf.d there are custom User Parameters (need to be installed on agent)
Templates was tested on Red Hat 5.x, 6.x and CentOS 5.x, 6.x. Please let us know if you have any questions or concerns. Templates was tested on Red Hat 5.x, 6.x and CentOS 5.x, 6.x. Common UserParameter were added to ```zabbix_agentd.conf.d/linux.conf``` file. Please add it to your own Zabbix Agent installation.
Please let us know if you have any questions or concerns.
The Camels Team The Camels Team
http://thecamels.org http://thecamels.org
Template App APC Template App APC
====== ======
Monitoring memory usage of APC (http://pecl.php.net/package/APC) module. File apc-stats.php need to be accessed via HTTP for example http://127.0.0.1/apc-stats.php Monitoring memory usage of APC (http://pecl.php.net/package/APC) module. File ```bin/apc-stats.php``` need to be accessed via HTTP for example http://127.0.0.1/apc-stats.php
Template App Brocade HBA Template App Brocade HBA
====== ======
Monitoring for Network Adapters - Brocade. Monitoring for Network Adapters - Brocade. Template is usind Discovery to create Items and Triggers.
Template App Nscd Template App Nscd
====== ======
...@@ -27,7 +29,7 @@ You need also add SUDO for zabbix user: ```zabbix ALL=(ALL) NOPASSWD: /usr/sbin ...@@ -27,7 +29,7 @@ You need also add SUDO for zabbix user: ```zabbix ALL=(ALL) NOPASSWD: /usr/sbin
Template App OPcache Template App OPcache
====== ======
Monitoring memory usage of OPcache (http://php.net/manual/en/book.opcache.php). File opcache.php need to be accessed via HTTP for example http://127.0.0.1/opcache.php. Curl need to be installed on server. Monitoring memory usage of OPcache (http://php.net/manual/en/book.opcache.php). File ```bin/opcache.php``` need to be accessed via HTTP for example http://127.0.0.1/opcache.php. Curl need to be installed on server.
Template App RabbitMQ Template App RabbitMQ
====== ======
......
UserParameter=nfs[*], df | grep -cw $1
UserParameter=netstat[*], ss -nat | grep -c $1
UserParameter=mysqlnetstat[*], ss -nat | grep 3306 | grep -c $1
UserParameter=mailqueue,mailq | grep -v 'Mail queue is empty' | grep -c '^[0-9A-Z]'
UserParameter=chkconfig[*], chkconfig --list | grep "$1" | cut -d ":" -f 4 | grep -c on
UserParameter=sockstat.sockets,cat /proc/net/sockstat|grep sockets|cut -d' ' -f 3
UserParameter=sockstat.tcp.inuse,cat /proc/net/sockstat|grep TCP|cut -d' ' -f 3
UserParameter=sockstat.tcp.orphan,cat /proc/net/sockstat|grep TCP|cut -d' ' -f 5
UserParameter=sockstat.tcp.timewait,cat /proc/net/sockstat|grep TCP|cut -d' ' -f 7
UserParameter=sockstat.tcp.allocated,cat /proc/net/sockstat|grep TCP|cut -d' ' -f 9
UserParameter=sockstat.tcp.mem,cat /proc/net/sockstat|grep TCP|cut -d' ' -f 11
UserParameter=sockstat.udp.inuse,cat /proc/net/sockstat|grep UDP:|cut -d' ' -f 3
UserParameter=sockstat.udp.mem,cat /proc/net/sockstat|grep UDP:|cut -d' ' -f 5
UserParameter=check_chmod[*], stat --format '%a' $1
UserParameter=os-full, cat /etc/issue | head -1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment