Configuring global scripts

We will start by examining the existing scripts. Navigate to Administration | Scripts:

The same three scripts we saw in the menu can be seen here. Let's see what they do:

  • Detect operating system: This script calls nmap and relies on sudo
  • Ping: Uses the ping utility, and pings the host three times
  • Traceroute: Calls the traceroute utility against the host

These three scripts are all executed on the Zabbix server, so they should work for any host, a server with a Zabbix agent, a switch, a storage device, and so on.

We will discuss other options in a moment, but for now, let's see whether all of these scripts work. ...

Get Zabbix 4 Network Monitoring - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.