Zabbix windows process monitoring8/31/2023 ![]() In the navigation menu, unfold Configuration 1, go to Actions 2 and click on Trigger actions 3. We will now configure an action trigger, which will use our script to restart the service. The script is added and available in Zabbix.Ĭreating a trigger that will use the script In the Commands field, enter the script executed 1 and then click the Add 2 button. Selecting Zabbix agent indicates that the script will be executed by the agent that is installed on the monitored server. Name the script 1, choose type Script 2 and select Zabbix agent 3. The first step will be to create our script in Zabbix which will allow us to restart the service when it stops.įrom the menu, expand Administration 1 and click on Scripts 2.īy default, 3 scripts are already configured, Click on the Create a script 1 button at the top left. ![]() Creating a trigger that will use the script.So if you want to hide all processes to other users, except zabbixīack to github hestiacp/hst-install-ubuntu. This last option will work perfectly for most systems.Īdditionally you can specify a user/group ID which is still able to look up the processes with the gid option. When setting it to 1, the directories entries in /proc will remain visible, but not accessible. This means that every user can see all data. ![]() What do you think about adding option -hp -hidepid default: 2 And -gi -gid Group ID (Monitoring like zabbix)īy default, the hidepid option has the value zero (0). It sees only processes by Zabbix user only. What about creating a new option at installation?īecause with restricting access to /proc fs with hidepid=2 I can’t monitor with Zabbix agent processes. So, there was a problem with the Zabbix agent - I can’t get the correct proc.num count for running services.Īfter searching the problem, I found this hestiacp/hst-install-ubuntu.sh at 2304b935db47ea303c8e0caa8931712c4e2764e0
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |