You can monitor all servers with Zabbix. Currently the most powerful server is Zabbix. You can use it to be completely free. But to get support, you need to get help with Google search. At first you can get my many post such as,
★ Install Zabbix server on ubuntu 16.04
★ Send Mail Notification From Zabbix Server Using Gmail
★ How To Add Windows Host In Zabbix Server
So I have to configure linux server into Zabbix server.
Step #01: Add Linux server into my Zabbix server.
Goto to http://Your_Zabbix_server_IP/zabbix/
Using user name : Admin
Using Password : zabbix
Step #02: Click Configuration/Hosts see right corner Create host button. Type your host name, Visible name, add any groups (or Create new group), Agent interfaces (add your machine ip address).
Step #03: Now goto Templates tab Link new templates search type linux or goto right side click Select then show all templates. Then select Template OS Linux now click Add again click Add. See image example below.
Step #04: Check all item goto Monitoring/Latest data select hosts then click Apply. See all item and data collected on your host. Like as image below:
Create trigger for ping test
Step #05: Create trigger for ping test or network disconnected my LAN. Goto Configuration / Hosts click Triggers. Now see all triggers . I can do disable all triggers. Because I can create now trigger. Click on the Severity left side check box now selected all trigger. Goto buttom and click Disable button.
Step #06: Now create trigger goto top right corner click Create trigger button. Show three important input box such as Name, Severity and Expression. Details below:
Name : Type any name here (e.g. Ping Test For Ubuntu Machine)
Severity : Select any types (If ping loss then active High for send email notification)
Expression : {ubuntu:agent.ping.nodata(5m)}=1
Details explain :
ubuntu is my machine name, and 5m ping loss ping then show trigger problem.
If you can change your ping loss time. See as like below image.
Then goto bottom and click Add button now active your rigger.
Create trigger for server restart
Step #07: Create trigger for server restart or shutdown. I have to show when your server restart or shutdown then send mail notification. Goto Step #06 for create trigger.
Name : Type any name here (e.g. Server hasbeen restart)
Severity : Select any types (If ping loss then active High for send email notification)
Expression : {ubuntu:system.uptime.change(0)}<0
Details explain :
ubuntu is my machine name, and system.uptime.change is expression.
If your server restart or shutdown then active trigger.
See as like below image.
Then goto bottom and click Add button now active your rigger.
Create trigger for check HardDisk
Step #08: Server hardisk is very important for monitoring.
Name : Type any name here (e.g. Server Harddisk space is low)
Severity : Select any types (If ping loss then active High for send email notification)
Expression : {ubuntu:vfs.fs.size[/,pfree].last(0)}<20
Details explain :
ubuntu is my machine name, and boot size less than 20 percent.
If face any problem then see my YouTube video and Subscribe my channel. Please subscribe my channel for more update.
- How To Install Zabbix Server 6.4 On AlmaLinux 8 Server - August 9, 2024
- How To Clear RAM Memory Cache Buffer Linux Server - February 29, 2024
- How To Install Apache Cloud Stack Management Server 4.17 On Ubuntu 22.04 - February 1, 2024
Leave a Comment