Ad Widget

Collapse

Trigger name or trigger comments with macro's

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bashman
    Senior Member
    • Dec 2009
    • 432

    #46
    I don't have a testing host, so I recommend you, to do it yourself if you have a testing host.
    978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

    Comment

    • subba5678
      Senior Member
      • May 2010
      • 132

      #47
      Hi Bashman,
      I am using the below template for monitoring CPU utilization .

      {ATL640erf_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% ,


      {ATL640erf_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

      Subbu
      Last edited by subba5678; 06-10-2010, 19:50.

      Comment

      • bashman
        Senior Member
        • Dec 2009
        • 432

        #48
        Just change your max function to min:

        Code:
        {ATL640:perf_counter["\Processor(_Total)\% Processor Time"].[B]min[/B](3600)}>95
        This wouldn't send a false alert.

        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.15

        Comment

        • subba5678
          Senior Member
          • May 2010
          • 132

          #49
          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

          {ATL640erf_counter["\Processor(_Total)\% Processor Time"].min(3600)}>95


          Thanks,
          Subbu

          Comment

          • bashman
            Senior Member
            • Dec 2009
            • 432

            #50
            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:

            Code:
            {ATL640:perf_counter["\Processor(_Total)\% Processor Time"].[B]min[/B](3600)}>95
            No problem if you use the above expression, forget about less time or less percentage.
            978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

            Comment

            • subba5678
              Senior Member
              • May 2010
              • 132

              #51
              Hi Bashman,
              Thanks for that . Now we are using zabbix in the production . Can you please help me how to monitor remote MYSQL queries

              Thanks,
              Subbu

              Comment

              • bashman
                Senior Member
                • Dec 2009
                • 432

                #52
                You can use Zabbix agent to query locally:

                http://www.zabbix.com/documentation/...c_applications
                978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

                Comment

                • subba5678
                  Senior Member
                  • May 2010
                  • 132

                  #53
                  Hi Bashman,
                  Is there any way to monitor the Remote database query without installing the agent locally

                  Thanks,
                  Subbu

                  Comment

                  • lucman
                    Junior Member
                    • Oct 2010
                    • 8

                    #54
                    Hi, ppl,
                    I'm new in Zabbix.
                    I would like to monitor a website (made in Java-ZK).
                    How can i do a step that make login in a site?
                    I tried follow what is writen in manual, but doest not work, I mean dont do login.
                    Any help? Pls

                    Comment

                    • bashman
                      Senior Member
                      • Dec 2009
                      • 432

                      #55
                      Originally posted by lucman
                      Hi, ppl,
                      I'm new in Zabbix.
                      I would like to monitor a website (made in Java-ZK).
                      How can i do a step that make login in a site?
                      I tried follow what is writen in manual, but doest not work, I mean dont do login.
                      Any help? Pls
                      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 data
                      978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

                      Comment

                      • bashman
                        Senior Member
                        • Dec 2009
                        • 432

                        #56
                        Originally posted by subba5678
                        Hi Bashman,
                        Is there any way to monitor the Remote database query without installing the agent locally

                        Thanks,
                        Subbu
                        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/items
                        978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

                        Comment

                        • lucman
                          Junior Member
                          • Oct 2010
                          • 8

                          #57
                          I tried but dont do login.

                          Originally posted by bashman
                          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 data

                          Comment

                          • subba5678
                            Senior Member
                            • May 2010
                            • 132

                            #58
                            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,
                            Subbu

                            Comment

                            • subba5678
                              Senior Member
                              • May 2010
                              • 132

                              #59
                              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
                              Subbu
                              Attached Files
                              Last edited by subba5678; 08-10-2010, 23:47.

                              Comment

                              • subba5678
                                Senior Member
                                • May 2010
                                • 132

                                #60
                                Hi Bashman,
                                I am monitoring one server through SNMP . It is a Windows server . To monitor the Filesystem , CPU , e.t.c do i need to link the Windows Template it . please help me out .


                                Thanks,
                                Subbu

                                Comment

                                Working...