Ad Widget

Collapse

Proc.Num returns 0 in zabbix 3.4.11

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ben maina
    Junior Member
    • Jun 2017
    • 17

    #16
    ingus.vilnis The output is as follows:

    proc.num[,,,apache2] [u|12]

    Comment

    • ben maina
      Junior Member
      • Jun 2017
      • 17

      #17
      zux Regarding this:

      'I'm starting to think, that the host you are trying to monitor and the one you are getting data from are different.
      '

      its the same server

      Comment

      • zux
        Member
        • Sep 2018
        • 93

        #18
        please try to rename it to something unique, and see what happens.

        Comment

        • ben maina
          Junior Member
          • Jun 2017
          • 17

          #19
          zux ingus.vilnis iwas trying to monitor the apache service in the zabbix server but its not working.When i tried to monitor another service in another server proc.num [redis-server,redis] it works perfect.Not sure whats happening to my zabbix server. it cannot monitor its own services.

          Comment

          • ingus.vilnis
            Senior Member
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Mar 2014
            • 908

            #20
            Set the item type to be " Zabbix agent" instead of active. Do you receive values then?

            If yes, then there is a hostname mismatch between the agent configuration file (setting "Hostname) and web interface (field "Host name"). They must be completely identical for active checks to work. Restart the agent if you made any changes in the agent config file. Then the active should also function.

            Comment

            • ben maina
              Junior Member
              • Jun 2017
              • 17

              #21
              ingus.vilnis about this: Set the item type to be " Zabbix agent" instead of active. Do you receive values then?

              I have reset to zabbix agent and now am getting the correct values.Thanks.

              However i have rechecked what i have on the zabbix UI hostname and i have confirmed it similar to what is in the server,

              Comment

              • zux
                Member
                • Sep 2018
                • 93

                #22
                similar or exactly the same?
                If there is another zabbix agent running, that also has ServerActive configured with the same address and has the same hostname, it will also insert data into that item. That's why you need to change this to something unique and look at logs if there are errors about active agent from another address

                Comment

                • ben maina
                  Junior Member
                  • Jun 2017
                  • 17

                  #23
                  zux Its exact but on my server logs i can see error regarding active checks for that problematic server.I gues if i rectify that then it should work
                  ​​​​​​​

                  Comment

                  • ben maina
                    Junior Member
                    • Jun 2017
                    • 17

                    #24
                    kloczek zux ingus.vilnis Thanks guys.I have been able to resolve this.

                    Problem: on my zabbix agent config file for the zabbix server i hadnt put the hostname to be exact like the actual servers hostname. in the agent config file hostname = zabbix server instead of Hostname = monitorserver.

                    Solution: Resolved the hostname issue and zabbix agent active can now monitor my processes well.

                    ​​​​​​​Thanks alot guys for your support and troubleshooting.

                    Comment

                    Working...