Free tech learning for everyone, from basics to pro

Network SecurityNetworking SecurityIntermediate

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.

LevelNameMeaning
0EmergencySystem unusable
1AlertImmediate action needed
2CriticalCritical condition
3ErrorError condition
4WarningWarning condition
5NotificationNormal but significant
6InformationalInformational message
7DebuggingDebug output

Setting a logging level sends that level and everything more severe. Memory aid: Every Awesome Cisco Engineer Will Need Ice cream Daily.

Network devices sending logs, time and monitoring dataNTP serveraccurate timeSyslog servercentral logsNMSSNMPv3 monitoringRouterSwitchFirewalllogs, UDP 514SNMP, UDP 161time, UDP 123
Figure 1. Devices take their time from NTP, send logs to a syslog server and are polled by an SNMP manager.

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).

VersionSecurity
SNMPv1Plain-text community string; avoid
SNMPv2cBetter performance, still plain-text community string
SNMPv3Message 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?
Levels 0 to 4: emergency, alert, critical, error and warning.
Why use SNMPv3 instead of SNMPv2c?
SNMPv3 adds authentication, integrity and encryption; v2c sends its community string in plain text.
Why does NTP matter for security investigations?
Logs from different devices can only be lined up and trusted if their clocks agree.

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.
Tracks your learning on this device only. See your progress on the learning paths.

About the author

Mohamed Fayas

Founder of FM TecHub. CCNA certified, with a BTEC HND in Network Engineering, and BEng (Hons) in Computer Networking and Cloud Security. He writes practical, plain-English guides on networking, security and cloud.

More about the author

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.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.