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

Add monitoring for NSCD

parent ddad10e7
No related branches found
No related tags found
No related merge requests found
Zabbix Zabbix
====== ======
Script and templates for Zabbix 2.2.x. Script and templates for Zabbix 2.2.x. and 2.4.x
- In /bin you will find Bash/Perl/PHP scripts used by some User Parameters (need to be installed on agent) - In /bin you will find Bash/Perl/PHP scripts used by some User Parameters (need to be installed on agent)
- 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)
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. Please let us know if you have any questions or concerns.
The Camels Team The Camels Team
http://thecamels.org http://thecamels.org
...@@ -15,6 +15,16 @@ Template App APC ...@@ -15,6 +15,16 @@ 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 apc-stats.php need to be accessed via HTTP for example http://127.0.0.1/apc-stats.php
Template App Brocade HBA
======
Monitoring for Network Adapters - Brocade.
Template App Nscd
======
Nscd is a daemon that provides a cache for the most common name service requests. Nscd provides caching for accesses of the passwd(5), group(5), and hosts(5) databases through standard libc interfaces, such as getpwnam(3), getpwuid(3), getgrnam(3), getgrgid(3), gethostbyname(3), and others.
You need also add SUDO for zabbix user: ```zabbix ALL=(ALL) NOPASSWD: /usr/sbin/nscd -g```
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 opcache.php need to be accessed via HTTP for example http://127.0.0.1/opcache.php. Curl need to be installed on server.
...@@ -181,6 +191,8 @@ Dell Open Manage System Status ...@@ -181,6 +191,8 @@ Dell Open Manage System Status
6 - NonRecoverable 6 - NonRecoverable
``` ```
You need also add SUDO for zabbix user: ```zabbix ALL=(ALL) NOPASSWD: /opt/dell/srvadmin/bin/omreport```
Template Security Template Security
====== ======
Contains items related with basic linux security (iptables status, selinux status) and Fail2ban application Contains items related with basic linux security (iptables status, selinux status) and Fail2ban application. You need also add SUDO for zabbix user: ```zabbix ALL=(ALL) NOPASSWD: /sbin/iptables -L INPUT -n```
This diff is collapsed.
# Requires
# zabbix ALL=(ALL) NOPASSWD: /usr/sbin/nscd -g
# in /etc/sudoers
UserParameter=nscd[*],sudo /usr/sbin/nscd -g | grep "$1" | awk '{ print $ 1 }'
UserParameter=nscd-hosts[*],sudo /usr/sbin/nscd -g | grep "hosts cache:" -A 22 | grep "$1" | awk '{ print $ 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