April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Categories

April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

installing Nagios 4.1 on Centos 7

#### Problem Statement installing Nagios 4.1 on Centos 7 ## Step #1: Install LAMP yum install httpd -y systemctl start httpd systemctl enable httpd yum -y install mariadb-server mariadb systemctl start mariadb systemctl enable mariadb systemctl status mariadb mysql mysql_secure_installation yum install php php-mysql php-gd php-pear -y ## Install dependencies for Nagios sudo yum install […]

NagiosQL

NagiosQL 3.2

NagiosQL 3.2 ? Installation Page 2 Table of contents 1 Installation ………………………………………………………………………………………………………………………………. 3 1.1 Prerequisites …………………………………………………………………………………………………………………….. 3 1.2 Prepare directory structure …………………………………………………………………………………………………. 3 1.3 Nagios configuration files ……………………………………………………………………………………………………. 4 1.4 Prepare Apache configuration……………………………………………………………………………………………… 5 1.5 Install PHP modules (SSH) …………………………………………………………………………………………………… 6 1.6 Install NagiosQL ………………………………………………………………………………………………………………… 6 1.7 NagiosQL installer (new installation) …………………………………………………………………………………….. 7 […]

check_fping,check_ping,check_icmp

With Nagios using check_icmp is the way to go, it better and faster, below is an example configuration directive for setting the check-host-alive command which will be used by each host check.

# ‘check-host-alive’ command definitiondefine command{command_name check-host-alivecommand_line $USER1$/check_icmp -H $HOSTADDRESS$ -w 30,5% -c 100,20% -p 1}

 

time ./check_icmp -H 10.60.48.244 -n 5

OK […]

Detecting DDoS attacks with Nagios

DDOS attacks are under the limelight (and the media) from the Wikileaks affair.It is quite difficult to detect attack because unlike most “traditional” attacks, it is based on the fact that flood the target machine requests from a large number of zombie machines (ie infected a program that will launch an attack).In this post we […]

NAGIOS

Nagios

Firewall and SElinux is Disable

Server IP :- 192.168.0.10 Hostname :- shashi.example.com Client IP :- 192.168.0.11 Hostname :- client.example.com 1.Package Requirement :- # yum install httpd php # yum install gcc glibc glibc-common # yum install gd gd-devel 2.Create Nagios user and group :- # useradd -m nagios # passwd nagios # usermod […]