Giter Site home page Giter Site logo

hermanekt / zabbix_systemd Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 3.0 5 KB

This is template for native monitoring systemd services via Zabbix Agent 2. Zabbix agent 2 is a new generation of Zabbix agent and may be used in place of Zabbix agent. Template is for Zabbix 4.4+

zabbix_systemd's People

Contributors

hermanekt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

zabbix_systemd's Issues

Filtering on zabbix server 5.2

Service filtering both with macro and discovery does not work.

Changing the template to agent active also does not work.

How is filtering supposed to work this this template?

Thx

Detect services that have not a true conditional start

Some services with systemd does not satisfy to a true condition to be started, I mean a configuration file, an empty folder for example.

This is an example

[root@prometheus ~]# systemctl status nethserver-system-init.service
โ— nethserver-system-init.service - Initialize NethServer configuration
   Loaded: loaded (/usr/lib/systemd/system/nethserver-system-init.service; enabled; vendor preset: enabled)
   Active: inactive (dead)
Condition: start condition failed at Wed 2021-03-17 09:56:14 CET; 7h ago
     Docs: https://github.com/nethesis/nethserver-base
[root@prometheus ~]# systemctl cat  nethserver-system-init.service

[root@prometheus ~]# systemctl cat  nethserver-system-init.service
# /usr/lib/systemd/system/nethserver-system-init.service
[Unit]
Description=Initialize NethServer configuration
Documentation=https://github.com/nethesis/nethserver-base
ConditionPathExists=/var/spool/first-boot
After=network-online.target
DefaultDependencies=false
Conflicts=shutdown.target
RefuseManualStart=true
RefuseManualStop=true

[Service]
Type=oneshot
ExecStart=/sbin/e-smith/signal-event system-init

[Install]
WantedBy=multi-user.target

I would like to exclude these systemd service, does agent2 can do it ?

Doesn't work with Zabbix 6.x

Should your template work with Zabbix 6.0? It doesn't seem to be working for me.

I am running zabbix agent2 on my client and I was able to import Template_Systemd.xml OK but when I look at "Latest data" for the machine I'm monitoring I don't see any systemd related data. Both the Zabbix server and the client are running Ubuntu 22.04.

I want a template to monitor when specific systemd services stop running such as ssh, apache2 and mysql etc. I've not been able to get the official Zabbix systemd template to work properly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.