Server Monitoring
Prerequisites
Section titled “Prerequisites”Before getting started, make sure you have:
- Root or sudo access to your Linux servers
- AlertKick account set up (see Account Setup)
- Network access from your servers to AlertKick’s monitoring endpoints
Adding Your First Server
Section titled “Adding Your First Server”AlertKick uses an agent-based monitoring approach. Let’s add your first server:
Adding a Server
Section titled “Adding a Server”- Navigate to Monitoring -> Add Server
- Enter server details:
- Server Name: A descriptive name (e.g., “Web Server 01”)
- IP Address: Server’s IP address
- Operating System: Linux distribution
- Environment: Production, Staging, Development
- Generate installation command for your server
- Copy the installation script provided by AlertKick
Installing the Agent
Section titled “Installing the Agent”On your Linux server, run the installation command:
# Example installation command (your actual command will be different)curl -sSL https://install.alertkick.com/agent | sudo bash -s -- --token=YOUR_AGENT_TOKENThe agent will:
- Install the AlertKick monitoring agent
- Configure automatic startup
- Begin collecting system metrics
- Establish secure communication with AlertKick
Configuring Linux Monitoring Profiles
Section titled “Configuring Linux Monitoring Profiles”Linux profiles define what checks to run on your servers. You can use predefined profiles or create custom ones.
Using Default Linux Profile
Section titled “Using Default Linux Profile”- Navigate to Monitoring -> Profiles
- Select “Default Linux Profile”
- Review the included checks:
- CPU Usage: Monitor processor utilization
- Memory Usage: Track RAM consumption
- Disk Space: Monitor disk usage
- Network Connectivity: Check network interfaces
- Service Status: Monitor critical services
- System Load: Track system load averages
Creating Custom Linux Profiles
Section titled “Creating Custom Linux Profiles”For specific server types, create custom profiles:
- Click “Create New Profile”
- Configure profile settings:
- Profile Name: “Web Server Profile”
- Description: “Monitoring for web servers”
- Add custom checks:
- Apache/Nginx Status: Monitor web server processes
- Database Connections: Check database connectivity
- SSL Certificate Expiry: Monitor certificate validity
- Custom Scripts: Run your own monitoring scripts
Profile Assignment
Section titled “Profile Assignment”- Go to Monitoring -> Servers
- Select your server
- Assign profile: Choose “Default Linux Profile” or your custom profile
- Configure check intervals: Set how often checks run (default: 5 minutes)
Testing Server Monitoring
Section titled “Testing Server Monitoring”Test Server Monitoring
Section titled “Test Server Monitoring”- Verify agent installation: Check that the agent is running on your server
- Review monitoring data: Ensure metrics are being collected
- Test alert generation: Trigger a test alert (e.g., high CPU usage)
- Verify notifications: Check that alerts are sent to the right people
- Test escalation: Ensure alerts escalate properly when not acknowledged
Monitoring Dashboard
Section titled “Monitoring Dashboard”Use the AlertKick dashboard to:
- View server status: See all your monitored servers
- Monitor active alerts: Track current issues and their status
- Review metrics: Check CPU, memory, disk usage trends
- Team performance: Monitor response times and alert resolution
- Generate reports: Create reports for stakeholders
Best Practices
Section titled “Best Practices”Server Monitoring
Section titled “Server Monitoring”- Start with default profiles: Use predefined Linux profiles for common monitoring needs
- Customize for your environment: Create specific profiles for different server types
- Set appropriate thresholds: Configure alert thresholds based on your server capacity
- Regular profile review: Update monitoring profiles as your infrastructure evolves
Troubleshooting
Section titled “Troubleshooting”Common Issues
Section titled “Common Issues”Agent not connecting to AlertKick:
- Check network connectivity from server to AlertKick
- Verify agent token is correct
- Review firewall settings
- Check agent service status
No monitoring data appearing:
- Verify agent installation completed successfully
- Check agent logs for errors
- Ensure monitoring profile is assigned to server
- Review check intervals and thresholds
Alerts not being generated:
- Check alert thresholds in monitoring profiles
- Verify escalation policies are configured
- Review notification settings
- Test with manual alert generation
Next Steps
Section titled “Next Steps”After setting up server monitoring:
- Set up security monitoring - See eBPF Security Monitoring
- Configure alerts and escalation - See Escalation Policies
Support
Section titled “Support”Need help with server monitoring? Contact our support team at support [at] alertkick [dot] com or check out our complete documentation.