Syslog, SNMP, NTP, network monitoring tools and penetration testing
In short: Syslog collects device messages centrally, SNMP lets a manager poll and receive alerts from devices, and NTP keeps every clock in sync so logs can be trusted. Monitoring tools watch for outages and threats, and penetration testing finds weaknesses before attackers do.
Syslog
Syslog is the standard way for network devices to send event messages, such as interface changes, logins and errors, to a central server (usually UDP 514), so they are stored safely and can be searched. Each message has a facility (its source), a severity level, a timestamp and the message text.
| Level | Name | Meaning |
|---|---|---|
| 0 | Emergency | System unusable |
| 1 | Alert | Immediate action needed |
| 2 | Critical | Critical condition |
| 3 | Error | Error condition |
| 4 | Warning | Warning condition |
| 5 | Notification | Normal but significant |
| 6 | Informational | Informational message |
| 7 | Debugging | Debug output |
Setting a logging level sends that level and everything more severe. Memory aid: Every Awesome Cisco Engineer Will Need Ice cream Daily.
SNMP
The Simple Network Management Protocol lets a manager (NMS) read and change information held by an agent on each device, organised in a MIB, and receive alerts (traps and informs).
| Version | Security |
|---|---|
| SNMPv1 | Plain-text community string; avoid |
| SNMPv2c | Better performance, still plain-text community string |
| SNMPv3 | Message integrity and authentication, encryption, and access control per user: use this |
NTP: accurate time
If every device's clock is different, logs can't be correlated and investigations fall apart. Certificates and some authentication also depend on correct time. The Network Time Protocol (UDP 123) synchronises clocks from a reliable source. Accuracy is described by stratum: stratum 0 is a reference clock (GPS or atomic), stratum 1 servers connect directly to it, and so on. Use NTP authentication so devices only accept time from trusted servers.
Network monitoring
A network monitoring system constantly watches for slow or failing components and alerts administrators by email, SMS or dashboard. Benefits: catch problems before outages, fix issues faster, save staff time, manage growing networks and spot security threats. When choosing a tool, consider:
- scope and the devices it supports;
- connectivity and scalability;
- deployment: on-premises, cloud or hybrid;
- automatic discovery and topology mapping;
- flexible alerting.
Widely used options include Zabbix and Nagios (open source), PRTG, SolarWinds NPM and ManageEngine OpManager.
Penetration testing
Penetration testing (ethical hacking) means testing systems, networks or applications, with written permission, to find weaknesses an attacker could exploit. It can be automated or manual. Benefits: manage risk properly, improve business continuity, protect customers and partners, show whether security spending works, and protect the organisation's reputation.
Real-world example: logs that did not line up
A secondary school investigated a night-time outage on its main internet link. The firewall, core switch and wireless controller had all logged events, but their clocks disagreed by up to eleven minutes, so the IT technician could not tell which event came first. The school configured every device to use the same NTP servers and to send syslog messages to one central server, with timestamps on each message.
It also set SNMP monitoring with traps for interface-down events, so the monitoring system sends an email and a text message when an uplink fails. A few weeks later, the uplink dropped again at 02:14. This time the correctly ordered logs showed the ISP router rebooting first, and the school sent the evidence to its provider, who replaced a faulty power supply.
Practice
A device is set to logging level 4. Which severities are sent?
Why use SNMPv3 instead of SNMPv2c?
Why does NTP matter for security investigations?
Key takeaways
- Syslog centralises device messages; severity runs from 0 (emergency) to 7 (debugging).
- SNMP managers poll agents and receive traps; always use SNMPv3.
- NTP keeps clocks in sync so logs and certificates can be trusted; use NTP authentication.
- Choose monitoring tools for scope, scalability, deployment, discovery, mapping and alerting.
- Penetration testing finds weaknesses, always with written permission.
Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.