Ad Widget

Collapse

How to verify the Zabbix is online

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Carine_IT
    Junior Member
    • May 2022
    • 2

    #1

    How to verify the Zabbix is online

    Hi,

    I'm a new user of Zabbix.

    As Zabbix is monitoring all our servers, services and so on, I would like to know if it is possible that Zabbix sent an "auto e-mail" (f.e every hours) to know if it is working or not ?

    Thanks.
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1782

    #2
    Not as a built-in, no. But you can get creative:
    - On the Zabbix server, add a Zabbix agent configuration UserParameter=healthcheck,/usr/local/share/zabbix/externalscripts/healthcheck.sh
    - In that shell script send the email you want
    - In Zabbix GUI, create a Zabbix agent item to the Zabbix server host for that healthcheck key, and set the item interval to whatever you want the emailing interval to be

    This should make Zabbix call this healthcheck.sh script regularly, so if you receive the email, you can at least know that the server platform is running, Zabbix server process is running and the database is running (because otherwise Zabbix would not be able to do the checks I think).

    I have usually installed another small Zabbix server to just monitor the main server. In that case you can use for example Zabbix trapper in the main server healthcheck.sh script to send a "hello I'm here" value to the monitoring server, and the monitoring server can then use a nodata() trigger to alert you if the main server has not sent the healthchecks in time.

    Markku

    Comment

    • Carine_IT
      Junior Member
      • May 2022
      • 2

      #3
      Hi,
      Thank you for your answer.
      I will try.

      Carine.
      Last edited by Carine_IT; 17-05-2022, 11:11.

      Comment

      Working...