Ad Widget

Collapse

Command with zabbix 1.1 for service,processor and Process

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smad
    Junior Member
    • Mar 2005
    • 27

    #1

    Command with zabbix 1.1 for service,processor and Process

    Hi,

    I looked around on the forum and can't find the answer.

    I installed zabbix 1.0 and I used command like :
    service_state[ServiceName]
    proc_cnt[NameProcess]
    cpu_util[processorNumber]


    But it's seems that with the new version, the command have changed:
    I found for the CPU : system.cpu.load[,avg1]

    But on this one I can't make it work for a server with several Proc.
    I tried : system.cpu.load[1,avg1], but It doesn't work.

    So, what's the command to check the Service State on a windows server, and how can I check several proc?

    Thanks for your help.
    Damien
  • erisan500
    Senior Member
    Zabbix Certified Specialist
    • Aug 2005
    • 285

    #2
    I think you should be using system.cpu.util[1,,avg1]


    Greetings
    EriSan
    Zabbix Certified Specialist

    Comment

    • smad
      Junior Member
      • Mar 2005
      • 27

      #3
      Not Supported

      ummmh

      doesn't seems to work: [Not Supported]

      Can I check a log some where to see where the problem ?

      details:

      Description: Processor$1 load1
      Type: ZABBIX agent
      Key : system.cpu.load[<cpu Num>,,avg1]
      Type of information: Numeric (float)
      Units:
      Use multiplier Do not use
      Update interval (in sec): 5
      Keep history (in days): 7
      Keep trends (in days): 365


      And what about the service, is it the good command ? service_state[ServiceName]

      Thanks for your quick reply.

      Comment

      • erisan500
        Senior Member
        Zabbix Certified Specialist
        • Aug 2005
        • 285

        #4
        Did you also installed the new agent on the windows pc ?
        EriSan
        Zabbix Certified Specialist

        Comment

        • smad
          Junior Member
          • Mar 2005
          • 27

          #5
          yep

          Yes, indeed.

          Comment

          • KitWalker
            Junior Member
            • Jan 2006
            • 17

            #6
            Hi, for the several processors I use:

            system.cpu.util[0]
            system.cpu.util[1]
            system.cpu.util[2]
            system.cpu.util[3]


            For the Services, the Key remains unchanged:
            service_state[ClusSvc]

            Comment

            • smad
              Junior Member
              • Mar 2005
              • 27

              #7
              It works.

              Thanks :-)
              Last edited by smad; 09-06-2006, 19:14.

              Comment

              • smad
                Junior Member
                • Mar 2005
                • 27

                #8
                still some problem

                Hello everybody :-)

                I still have some problem with the Service. :-(

                The host send back the information about the srevice but always on 1
                And I can stopped a service but it's still on 1 for zabbix.

                what's wrong ?
                how can I check on my host if it's taking the good information ?


                Thanks
                Damien

                Comment

                • smad
                  Junior Member
                  • Mar 2005
                  • 27

                  #9
                  my mistyake

                  Hi,

                  Sorry, My mistake.
                  I didn't used it properly.

                  I used the Display Name instead of the Service Name:
                  service_state[IIS Admin] instead of the correct service_state[IISADMIN]


                  Thanks
                  D.

                  Comment

                  Working...