Linux service monitoring, Zabbix

Ғылым және технология

UserParameter:
raw.githubusercontent.com/cat...
Template:
raw.githubusercontent.com/cat...

Пікірлер: 29

  • @user-fv4eq5yj5d
    @user-fv4eq5yj5d3 жыл бұрын

    Your mechanism works well. Thank you very much!

  • @aigarskadikis
    @aigarskadikis4 жыл бұрын

    Starting with 4.4 and using Zabbix Agent 2 there is a native functionality to cover this out from the box. See item keys: systemd.unit.discovery and systemd.unit.info under: www.zabbix.com/documentation/4.4/manual/config/items/itemtypes/zabbix_agent

  • @nishantbahri
    @nishantbahri3 жыл бұрын

    how to generate mails when the status of the process is not running?

  • @kenroyandfamily
    @kenroyandfamily Жыл бұрын

    I wasn't seeing any data and I found the "permission denied" error when looking at discovery rules. "setenforce 0" on host fixed that, but obviously that is not a good solution.

  • @gocanary
    @gocanary2 жыл бұрын

    I get "Cannot send request: wrong discovery rule type." when I execute it. Any ideas ?

  • @rethinr2234
    @rethinr22344 жыл бұрын

    Hi, I am seeing results for zabbix get but not able to see the key in the list , please check whether this supports ubuntu 18.04. If yes what am i doing wrong?

  • @linqian871834
    @linqian8718344 жыл бұрын

    I have tried this template. However, there is a problem with custom services monitoring. I can use "zabbix_agent-s host -k systemctl.status[custom service]" to query the custom service data from monitored host, but auto-discovery cannot discover custom service. Any workaround for that? thanks.

  • @aigarskadikis

    @aigarskadikis

    4 жыл бұрын

    Does "zabbix_get -s host -k services.systemctl" reports some content? Try unloading SELinux on the destination station with 'setenforce 0'.

  • @frozelio
    @frozelio3 жыл бұрын

    Thanks for the video! In my case, the Zabbix server is showing the status of Not Supported for systems with Debian.

  • @yugared86

    @yugared86

    3 жыл бұрын

    For RedHat??

  • @SinanCakmakcilar
    @SinanCakmakcilar7 ай бұрын

    Hi, Thanks for the template, it works great, it just makes you wait a little too long in the zabbix server queue. I think this will be a problem, is it possible to reduce the queue waiting time?

  • @harishkumaru589
    @harishkumaru5893 жыл бұрын

    When i run zabbix_get command it shows me an error not found inspite of installing all its dependencies like mysql,pgsql and sqlite3. Not sure what's wrong

  • @aigarskadikis

    @aigarskadikis

    3 жыл бұрын

    thank you for comment. to have 'zabbix_get' utility on system, kindly install 'zabbix-get' package. on ubuntu/debian run 'apt install zabbix-get', on centos/rhel run 'yum install zabbix-get'.

  • @Cholasbanoez
    @Cholasbanoez Жыл бұрын

    Hi, currently this process currently works on Zabbix 6.0.5 ?

  • @malikbasha1921
    @malikbasha19214 жыл бұрын

    Hi Aigars : I am not able to see the values for 3rd and 4th pre-processing steps 3. \1;dead=0;running=1;exited=2;start=3;Result: exit-code=4; 4. (dead|running|exited|start|Result: exit-code.*) if i am trying with this, I am getting the error "Value of type "string" is not suitable for value type "Numeric (unsigned)". Value "" can you please help in getting proper inputs field for me to complete this.

  • @FranciscoBarrento

    @FranciscoBarrento

    Жыл бұрын

    Have you found a solution?

  • @neilvassallo
    @neilvassallo4 жыл бұрын

    do you create the service_monitoring_via_systemctl.conf on zabbix server?.... can you explain further each steps please as I did not manage to make it work

  • @aigarskadikis

    @aigarskadikis

    4 жыл бұрын

    Thank you for comment. As the file is stored in '/etc/zabbix/zabbix_agentd.d' directory, this means, it is an agent related configuration part only. In case you want to monitor a remote system you need to populate the file on the remote machine and make sure 'Include=/usr/local/etc/zabbix_agentd.conf.d/*.conf' directive is enabled on a remote machine.

  • @neilvassallo

    @neilvassallo

    4 жыл бұрын

    @@aigarskadikis thanks for your prompt reply.... I am getting the items from the zabbix agent (active) but no data... even when I try check now I am prompted with this error (Details Cannot send request Cannot send request: wrong item type. [items.php:1325 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CTask->create() → CTask->validateCreate() → CApiService::exception() in include/classes/api/services/CTask.php:147]) Should I check something else? thanks

  • @stephanemoreau846
    @stephanemoreau8464 жыл бұрын

    Hi, have tested this disco but nothing in latest data , I see the discover Item in the Discovery rules , I forget what ?

  • @aigarskadikis

    @aigarskadikis

    4 жыл бұрын

    Hi Stephane, My guess is that the agent configuration is not installed properly (The 'Hostname=' in zabbix_agentd.conf does not match agent 'Host name' configured in frontend). As a workaround, you can try to switch disco agent type from "Zabbix agent (active)" to "Zabbix agent".

  • @cadugevaerd

    @cadugevaerd

    4 жыл бұрын

    I have the same problem. All itens in status dont get Last Value. My agent.conf has the same hostname configured in frontend

  • @wilmarneto6145
    @wilmarneto61454 жыл бұрын

    error, Failed to issue method call: Access denied . you can help me?

  • @aigarskadikis

    @aigarskadikis

    4 жыл бұрын

    Try turning off SELinux with command: setenforce 0 Then restart Zabbix agent.

  • @wilmarneto6145

    @wilmarneto6145

    4 жыл бұрын

    @@aigarskadikis the computer is Ubuntu, selinux is disabled, with the command zabbix_agentd it works, but with zabbix_get, which is to collect the information for this error, I don't know what else to configure, but I'm sure it is permission.

  • @wesleyfranklin2234
    @wesleyfranklin22342 жыл бұрын

    Someone can share the Reprocessing text?

  • @aigarskadikis

    @aigarskadikis

    2 жыл бұрын

    Check video description and second link. Line 126

Келесі