Ad Widget

Collapse

Host processes monitoring-graphs LLD

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lennyroquai
    Junior Member
    • Aug 2014
    • 8

    #76
    The Answer is :yes, it still working

    After a few debug, it works perfectly

    Comment

    • HaveDill
      Senior Member
      • Sep 2014
      • 103

      #77
      Hello, i've got values coming into my zabbix from my test machine, however no graphs are being generated.

      Any ideas?
      Last edited by HaveDill; 16-09-2014, 01:37.

      Comment

      • HaveDill
        Senior Member
        • Sep 2014
        • 103

        #78
        Originally posted by neo32
        I also sign this, anybody answer us please, how we can solution this problem ?


        Also getting the same error. Please help

        Comment

        • anisimov_evgeniy
          Member
          • Jul 2014
          • 37

          #79
          Originally posted by HaveDill
          Also getting the same error. Please help
          same problem

          Comment

          • HaveDill
            Senior Member
            • Sep 2014
            • 103

            #80
            Originally posted by anisimov_evgeniy
            same problem
            I think i've fixed this. The URL in the .pl files had to be changed to

            Http://192.168.x.x/zabbix/api_jsonpc.php


            ^ That worked on my previous build of Zabbix.

            I've done this to the new build (it was a fresh ubuntu build vs a premade iso), but when i run those scripts i now get no outputs whatsoever.

            Also my Zabbix reports that it's timing out while attempting to run a shell script. Please assist!
            Last edited by HaveDill; 01-10-2014, 17:20.

            Comment

            • ckozler_mcc
              Junior Member
              • Nov 2014
              • 3

              #81
              Hey guys -

              Signed up just to post this since I really wanted to use this. If you're using the latest zabbix (2.4 at the time of this writing) the reason why you are returning no output is because authentication is failing since they changed user.authentication to user.login. See here when I ran the curl command that it executes

              Code:
              {"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params.","data":"Incorrect method \"user.authenticate\"."},"id":0}
              And checking the example I saw on the zabbix blog http://blog.zabbix.com/getting-start...bbix-api/1381/

              You can see how its using user.login

              Solution

              Go to the directory where all these perl scripts are and then ..

              Code:
              sed -i 's,user.authenticate,user.login,g' *
              And you will get output

              Also ensure you are using perl-JSON if on RedHat 6/7

              Comment

              • mrzbxlanes
                Junior Member
                • Oct 2015
                • 1

                #82
                Originally posted by tchjts1
                Is anyone else observing negative amounts on the processor time stack graph? Any way to correct this?
                Has anyone been able to find a way to correct this?

                Thanks

                Comment

                • TriEs
                  Junior Member
                  • Nov 2015
                  • 3

                  #83
                  Originally posted by ckozler_mcc
                  Hey guys -

                  Signed up just to post this since I really wanted to use this. If you're using the latest zabbix (2.4 at the time of this writing) the reason why you are returning no output is because authentication is failing since they changed user.authentication to user.login. See here when I ran the curl command that it executes

                  Code:
                  {"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params.","data":"Incorrect method \"user.authenticate\"."},"id":0}
                  And checking the example I saw on the zabbix blog http://blog.zabbix.com/getting-start...bbix-api/1381/

                  You can see how its using user.login

                  Solution

                  Go to the directory where all these perl scripts are and then ..

                  Code:
                  sed -i 's,user.authenticate,user.login,g' *
                  And you will get output

                  Also ensure you are using perl-JSON if on RedHat 6/7

                  That's worked! Thank you!

                  Comment

                  • Timka
                    Junior Member
                    • Oct 2013
                    • 17

                    #84
                    Help me please!

                    Code:
                    # perl win_process_all_bytessec_stack.pl
                    
                    malformed JSON string, neither array, object, number, string or atom, at character offset 1 (before "(end of string)") at win_process_all_bytessec_stack.pl line 62.
                    Code:
                    # perl -v
                    
                    This is perl 5, version 24, subversion 3 (v5.24.3) built for amd64-freebsd-thread-multi
                    Code:
                    # pkg info | grep p5
                    p5-Cpanel-JSON-XS-3.0239       JSON::XS for Cpanel, fast and correct serialising
                    p5-JSON-2.90_1                 Perl extension to convert to JSON (JavaScript Object Notation)
                    p5-Locale-gettext-1.07         Message handling functions

                    Comment

                    • glardz
                      Member
                      • Oct 2018
                      • 45

                      #85
                      hi,

                      all script is run but i don't see graph why ?

                      perl win_process_all_bytessec_stack.pl

                      HOSTGROUP: Group ICMP ping (15)
                      HOST: 270PRO_Calarasi (10286)
                      Graph created: WIN Process "ALL" bytes/sec stack
                      HOSTGROUP: Hypervisors (7)
                      HOST: 270PRO_Calarasi (10286)
                      Graph created: WIN Process "ALL" bytes/sec stack
                      HOSTGROUP: Linux servers (2)
                      HOST: 270PRO_Calarasi (10286)
                      Graph created: WIN Process "ALL" bytes/sec stack
                      HOSTGROUP: Templates/Applications (12)
                      HOST: 270PRO_Calarasi (10286)
                      Graph created: WIN Process "ALL" bytes/sec stack
                      HOSTGROUP: Templates/Databases (13)
                      HOST: 270PRO_Calarasi (10286)
                      Graph created: WIN Process "ALL" bytes/sec stack
                      HOSTGROUP: Templates/Modules (8)
                      HOST: 270PRO_Calarasi (10286)
                      Graph created: WIN Process "ALL" bytes/sec stack
                      HOSTGROUP: Templates/Network devices (9)
                      HOST: 270PRO_Calarasi (10286)
                      Graph created: WIN Process "ALL" bytes/sec stack
                      HOSTGROUP: Templates/Operating Systems (16)
                      HOST: 270PRO_Calarasi (10286)
                      Graph created: WIN Process "ALL" bytes/sec stack
                      HOSTGROUP: Templates/Operating systems (10)
                      HOST: 270PRO_Calarasi (10286)
                      Graph created: WIN Process "ALL" bytes/sec stack
                      HOSTGROUP: Templates/Server hardware (11)
                      HOST: 270PRO_Calarasi (10286)
                      Graph created: WIN Process "ALL" bytes/sec stack
                      HOSTGROUP: Templates/Virtualization (14)
                      HOST: 270PRO_Calarasi (10286)
                      Graph created: WIN Process "ALL" bytes/sec stack
                      HOSTGROUP: Virtual machines (6)
                      HOST: 270PRO_Calarasi (10286)
                      Graph created: WIN Process "ALL" bytes/sec stack
                      HOSTGROUP: Zabbix servers (4)
                      HOST: 270PRO_Calarasi (10286)
                      Graph created: WIN Process "ALL" bytes/sec stack

                      Comment

                      Working...