Nagios → A DevOps tool (part -1)
Basically It is monitering tool and why we need it →
- If any failure inside CI/CD pipeline
- Failure inside the aplication
- Infrastructure failure
- or if your code getting fail due to some error and other things
Why we used nagios →
- To avoid downtown of application
- Nagios is an open source means it is free for everyone.
- It is based on client server architecture.
- In case of any failure it gives an alert to technical team.
- It uses port number 5666 and 5667 and 5668 to monitor its client.
- Detect all types of network or server issues
- allow you to monitor and troubleshoot server performance issues.
- Sometimes it automatically fix problem.
Phases Of continous Monitering →
- Define → first you define your monitering Strategy
- Establish → How frequently you are going to moniter it
- Implement
- Analyze data and report finding
- Respond
- Renew and Update
Nagios Architecture →
It is a client Server architecture. Usually on a network and a nagios server is running on a host and plugins are running on all the remote host which should you monitor.
How Nagios works →
- Mention all the details in configuration file.
- Daemon read those details what data to be collected.
- Daemon use and NRPE plugin to collect data from nodes and store in its own database.
- Finally shown in dashboard.
Features of Nagios →
- Good lag and database system
2.informative and attractive web interface
3. automatically sends alert , if condition changes(warning,normal — ->critical)
4. help you to detect network errors or server crashes
5. you can monitor the entire business process and its Infra with a single pass
6. monitor network services like http, smtp, ftp ,ssh, pop, DNS, ldap, ipmi, etc…..