CHips L MINI SHELL

CHips L pro

Current Path : /etc/nagios/
Upload File :
Current File : //etc/nagios/nrpe.cfg

###### NRPE Configuration File ###### 

### Same as sample file ### 

log_facility=daemon 
pid_file=/var/run/nrpe.pid 
server_port=5666 
nrpe_user=nagios 
nrpe_group=nagios 
allowed_hosts=127.0.0.1,66.11.12.25
dont_blame_nrpe=0 
debug=0 
command_timeout=60 
connection_timeout=300 

command[check_users]=/usr/lib64/nagios/plugins/check_users -w 10 -c 15
command[check_load]=/usr/lib64/nagios/plugins/check_load -w 5,5,5 -c 7,7,7
command[check_disk_root]=/usr/lib64/nagios/plugins/check_disk -w 7% -c 5% -W 20% -K 10% -p /
command[check_disk_temp]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -W 20% -K 10% -p /dev/shm
command[check_disk_boot]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -W 20% -K 10% -p /boot
command[check_disk_vz]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -W 20% -K 10% -p /vz

command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 750 -c 1000

command[check_apache_connect_time]=/usr/lib64/nagios/plugins/check_http -H localhost -w 5 -c 15
command[check_crond]=/usr/lib64/nagios/plugins/check_procs -w 1:1 -c 1:15 -C crond

### Custom Scripts ### 

command[check_apache_connections]=/usr/lib64/nagios/plugins/check_connections.pl -w 100 -c 200 -C httpd
command[check_ssh_rpm]=sudo /usr/lib64/nagios/plugins/check_ssh_rpm -t 30
command[check_kernel_updates]=sudo /usr/lib64/nagios/plugins/check_kernel_updates.sh
command[check_all_procs]=/usr/lib64/nagios/plugins/check_all_procs.sh -C sshd:1:0 -C crond:1:0 -C rsyslogd:1:0 -C ossec-execd:1:0 -C ossec-agentd:1:0 -C ossec-syscheckd:1:0 -C httpd:1:1000 -C mysqld:1:0  -C exim:1:0  -C dovecot:1:0 -C pure-ftpd:1:0 -C cpsrvd:1:0 -C named:1:0
command[check_cpanel_version]=/usr/lib64/nagios/plugins/check_cpanel_version.sh
command[check_mailchannels]=/usr/lib64/nagios/plugins/check_mailchannels.sh
command[check_logfiles]=sudo /usr/lib64/nagios/plugins/check_logfiles --config /usr/lib64/nagios/plugins/check_logfiles.cfg
command[plesk_compromised_mail]=sudo /usr/lib64/nagios/plugins/plesk_compromised_mail.sh
command[cpanel_compromised_mail]=sudo /usr/lib64/nagios/plugins/cpanel_compromised_mail.sh
command[cpanel_compromised_account]=sudo /usr/lib64/nagios/plugins/cpanel_compromised_account.sh
command[check_slash_tmp_elf_proc]=sudo /usr/lib64/nagios/plugins/check_slash_tmp_elf_proc
command[check_patchman_status]=sudo /usr/lib64/nagios/plugins/check_patchman_status

### Extra Add-ons ### 

command[check_eximqueue]=/usr/lib64/nagios/plugins/check_eximailqueue -w 1000 -c 2000
command[check_traffic]=/usr/lib64/nagios/plugins/check_tcptraffic -w 104857600 -c 209715200 -i venet0 -s 100
command[check_ro_mounts]=sudo /usr/lib64/nagios/plugins/check_ro_mounts
command[check_swap]=/usr/lib64/nagios/plugins/check_swap_memory -w 20000 -c 25000
command[check_memory]=/usr/lib64/nagios/plugins/check_memory -f -w 10 -c 5 -C

command[check_apache]=/usr/lib64/nagios/plugins/check_apache -H localhost

command[check_mysql_commands]=/usr/lib64/nagios/plugins/check_mysql_commands -H localhost -u testuser -p ''
command[check_mysql_connections]=/usr/lib64/nagios/plugins/check_mysql_connections -H localhost -u testuser -p '' -w 75 -c 90
command[check_mysql_selects]=/usr/lib64/nagios/plugins/check_mysql_selects -H localhost -u testuser -p ''

command[check_ipmi_sensor]=/usr/lib64/nagios/plugins/check_ipmi_sensor.pl -H localhost -x 73 -x 75
command[check_ipmi_sensor]=/usr/lib64/nagios/plugins/check_ipmi_sensor.pl -H localhost -x 73 -x 75
command[check_megaraid_sas]=/usr/lib64/nagios/plugins/check_megaraid_sas.pl -o 8 -m 4

command[check_wbs_backup]=/usr/lib64/nagios/plugins/check_wbs_backup.sh
command[check_wbs_du]=/usr/lib64/nagios/plugins/check_disk_usage.sh -p /dev/sdb2 -p /dev/sdb3 -p /dev/sdb4 -w 90 -c 95

Copyright 2K16 - 2K18 Indonesian Hacker Rulez