Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Zabbix Cookbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
Zabbix Cookbook

Zabbix Cookbook

By : Patrik Uytterhoeven
4.5 (4)
close
close
Zabbix Cookbook

Zabbix Cookbook

4.5 (4)
By: Patrik Uytterhoeven

Overview of this book

If you have some experience with Zabbix and wish to take your infrastructure to the next level, then this book is for you. Before you start with Zabbix, or monitoring in general, it is best to have some basic Linux knowledge and a good understanding of snmp, virtualization, and scripting.
Table of Contents (13 chapters)
close
close
12
Index

Checks with SSH


Another way to extend our Zabbix server to do some checks is by making use of Secure Shell (SSH). SSH checks will be launched from the server with the need of a Zabbix Agent.

Getting ready

For this example, we just need a Zabbix server properly configured and a host that we can use to connect to by making use of SSH.

How to do it…

When you log in with SSH, you have to provide a username and a password in Zabbix to log in to the host that we want to monitor. This must be done in the GUI in plain text. An alternative to this is the use of SSH keys.

  1. The first thing we have to do in the Zabbix_server.conf file is to look for the option SSHKeyLocation and enable it and add a path for the location of our SSH key files. Add the following line to the config file.

    SSHKeyLocation=/home/zabbix/.ssh
  2. First edit the /etc/passwd file and give a home folder to the user zabbix:

    zabbix:x:500:500::/home/zabbix:/sbin/nologin
  3. Next, create the directory on the server. This can be done by running the following...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Zabbix Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon