I don't have a testing host, so I recommend you, to do it yourself if you have a testing host.
Ad Widget
Collapse
Trigger name or trigger comments with macro's
Collapse
X
-
Hi Bashman,
I am using the below template for monitoring CPU utilization .
{ATL640
erf_counter["\Processor(_Total)\% Processor Time"].avg(3600)}>95
i.e it is monitoring the CPU Utilization for Average time of 3600Second for the threshold more than 95% ,
{ATL640
erf_counter["\Processor(_Total)\% Processor Time"].max(3600)}>95
but the above templates says that CPU Utilization for Maximum time of 3600Seconds for the threshold more than 95% ,if iam using this template its sending the false alert . I want to Create a trigger for the MAX CPU Utilization for 60 mins for the threshold more than 95 % . Please help me how to create this
Thanks in Advance
SubbuLast edited by subba5678; 06-10-2010, 19:50.Comment
-
Just change your max function to min:
This wouldn't send a false alert.Code:{ATL640:perf_counter["\Processor(_Total)\% Processor Time"].[B]min[/B](3600)}>95
What max function does is calculate the maximum value within an hour (3600 seconds).
If your polling interval is 60 seconds, you'll have 60 values within an hour, so max will return the maximum value in these 60 values. So if you have one value >95 then you'll receive an alert.
If you want to know if your CPU load is keeping high (>95) during one hour, you should use the min function. The min function will return the minimum value within one hour, if all your values within the last hour are >95, you'll receive an alert.
Take in mind, if you are going to use the min function, don't use the value 95, use a lower value, or check in less time, let's say 300 seconds instead of 3600.978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15Comment
-
Hi Bashman,
Thanks for the reply , So what is the exact difference between Min and Average value ,because we are using another tool called Proactive net , It uses the Max value , when compared to that as of now I am using AVG value so Zabbix is sending the alerts before Pronet sends for the threshold 1 hour more than 95% . I want to trigger an alert exactly if the CPU Utilization is more than 95% for 1 hour . Can you please explain me why I need to use less time as because i want to monitor the CPU utilization exactly for 1 hour .so what will happen if i use the below template
{ATL640
erf_counter["\Processor(_Total)\% Processor Time"].min(3600)}>95
Thanks,
SubbuComment
-
min: Minimal value for period of time. Parameter defines length of the period in seconds.
avg: Average value for period of time. Parameter defines length of the period in seconds.
If you want to trigger an alert exactly if the CPU Utilization is more than 95% for 1 hour, then you should use:
No problem if you use the above expression, forget about less time or less percentage.Code:{ATL640:perf_counter["\Processor(_Total)\% Processor Time"].[B]min[/B](3600)}>95978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15Comment
-
978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15Comment
-
Please stop spamming the forum with writing 5 times the same message in the same day, it's hard to follow conversations:
The best forum practices are to find first what you're looking for, and if you don't find anything, then write in a related conversation or open a new one, and wait for the answer.
Now, if you want to monitor a Web site:
1. Go to Monitoring > Web
2. Select group and host
3. Create scenario
4. Select basic authentication and introduce all necessary data978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15Comment
-
Yes, you can use external checks, ssh agent, telnet agent to connect from your zabbix server to your db host and query.
http://www.zabbix.com/documentation/...l/config/items978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15Comment
-
I tried but dont do login.
Please stop spamming the forum with writing 5 times the same message in the same day, it's hard to follow conversations:
The best forum practices are to find first what you're looking for, and if you don't find anything, then write in a related conversation or open a new one, and wait for the answer.
Now, if you want to monitor a Web site:
1. Go to Monitoring > Web
2. Select group and host
3. Create scenario
4. Select basic authentication and introduce all necessary dataComment
-
Hi Bashman,
As disscused with you . I tried with the below 2 Templates . I didnt see much difference between the Avg and Min template . For testing i stopped the Zabbix Agent . but both the AVG and Min trigger the alert at once . As per Min it should wait for 5 Mins but it trigger along with the Avg , Can you please help me out in this
{Template_Windows:status.avg(300)}=2
{BLR-NOC-06:status.min(300)}=2
Thanks,
SubbuComment
-
Hi Lucman ,
Configure the Web Urls to monitor through Zabbix
Go to Web , Configuration , and select host and then click on “ Create Scenario” (refer Attachmen)
2. Create an application Scenario as shown below and add the URL for monitoring . If u want to monitor Login , Click on Basic Authentication so that u can give the login (refer 2nd attchment)
http://172.25.100.64:8080/share/page/site-index This is the URL that I want to monitor . Click on Save
For More Information go through the link http://www.zabbix.com/documentation/...web_monitoring
Thanks
SubbuLast edited by subba5678; 08-10-2010, 23:47.Comment
Comment