The objective of this project is to make servers of web service, ftp service, VoIP video call service, and manage them centrally from a host in private connection or from remote connection. We will also monitor the services, we are going to install, from this central PC. If there is a problem found like no connectivity, then the monitor agent will notify the network administrator showing the error message.
1. Central Management of
Network and Call Services
Mohammad Nazmul Hossain
Mohammad Ashiqur Rahman
Md Mhabub Hossain
Md Shahinul Haque Chowdhury
Advanced –Multimedia Communication
2. Abstract
• Make servers of web service, ftp service, VoIP
video call service
• Monitor & manage them centrally from a host
in private connection or from remote
connection.
• The remote connection can be established
through Secure Shell (SSH) connection which
will connect to the servers through Router (or
Routers).
4. IP Table for Our Network
Device (Hostname) Interfaces Used Software IP Address Gateway
Monitor Server NIC Nagios 10.10.0.135/25 10.10.0.129
Call Server NIC Asterisk 10.10.0.130/25 10.10.0.129
http Server VM XAMPP 10.10.0.131/25 10.10.0.129
ftp Server VM ProFTPD 10.10.0.132/25 10.10.0.129
IP Phone NIC Grandstream 10.10.0.140/25 10.10.0.129
IP Phone NIC Grandstream 10.10.0.141/25 10.10.0.129
Switch Vlan99 Catalyst 2960 10.10.0.200/25 10.10.0.129
Wi-Fi Router
Wireless Linksys 10.10.1.129/25
Internet Linksys 10.10.0.129/25
6. Call Server
• We used Asterisk as call server.
• IP: 10.10.0.130 (call server IP)
• SIP.conf (Configuration file)
• Extensions.conf (Configuration file)
• We have video call service enabled
-We have used GXV3140 IP Multimedia Phone
8. We can use call server service by any
smart phone remotely using Antisip.
VoIP by antisip
9. HTTP Server
• We are using HTTP server to get the Web service.
• The HTTP server has setup using LAMPP
(Common name XAMPP) software
• XAMPP stand for
X = Any of the different operating systems
A = Apache
M = MySQL
P = PHP
P = Perl
10. Main Services (LAMPP)
• http server for Web service
• ProFTPD fo file transfer service
• MySQL Database
• Interpreters for scripting languages
11. HTTP Server
• Command : sudo ./manager-linux-x64.run
• This will open Graphical interface of XAMPP.
14. FTP Server
• ProFTPD is an open source software for file transfer
service Ubuntu or Linux based OS.
• We are using ProFTPD software for file transfer
service
19. WHY??
• Network monitoring is the information
collection function of network management.
• Network monitoring provides the information
necessary for network management. It is
important to find network trends and locate
network problems quickly.
• Can automatically detect and respond to
threats and performance issues in real time,
as well as predict possible issues in the future.
20. There are generally three basic goals for
network monitoring:
• Performance monitoring
• Fault monitoring
• Account monitoring
21. Wireshark vs Nagios
• Wireshark: protocol analyzer.
• Nagios: Completely Monitor detect and
receive aterts.
24. Benefits of Nagios
• Allows to detect and resolve problems before
they have a negative effect on Networks.
• Can completely monitor and receive alerts for
Networks services, servers, switches and
applications, and even mitigate any future
issues.
• Fully flexible and scalable, and gives total
peace-of-mind that IT systems will continue
running without causing any interruptions.
26. Nagios Configuration:
Object Used for
hosts servers or devices being monitored
hostgroups group of hosts
services services being monitored
servicegroups groups of services
timeperiod scheduling of checks and notifications
commands checking hosts and services notifying contacts
event handling
contacts individuals to alert
contactgroups groups of contacts
We have configured two configuration file:
• commands.cfg
• localhost.cfg
28. Define a host for the local machine.
define host{
use linux-server
host_name callserver
alias Call Server
address 10.10.0.130
}
29. Define hostgroup for linux machines.
define hostgroup{
hostgroup_name grp6server
alias Group 6 Servers
members webserver,ftpserver,callserver
}
30. Define a service to ping the host or
server machines.
define service{
use local-service
host_name callserver
service_description PING
check_command
check_ping!100.0,20%!500.0.60%
}
32. Define a command to see a host is
alive by pinging it.
# ‘check-host-alive’ command definition
define command{
command_name check-host-alive
command_line $USER1$/check_ping –H
$HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5
}
33. To Enter the Nagios monitor page
• http://localhost/nagios
• Or
• http://127.0.0.1/nagios
47. NRPE Server
• Nagios Remote Plugin Executor
• Nagios cannot execute commands to remote
servers from remote connection.
• NRPE Server do this job remotely for Nagios.
57. SSL handshake
• ./check_nrpe –H 10.10.0.130
• Check_nrpe: error – could not complete SSL handshake
• By default nrpe.cfg allowed_hosts line only holds
localhost address:
• allowed_hosts=127.0.0.1
• We have to put the nagios IP address here:
• allowed_hosts=127.0.0.1, 10.10.0.135