Ad Widget

Collapse

item are not supported for apache template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rrw
    Junior Member
    • Sep 2012
    • 6

    #1

    item are not supported for apache template

    hi

    I am using zabbix 2.0.2
    I want to monitor apacher server on agent ..
    I import xml file on server and added a user parameter to zabbix agent :
    UserParameter=apache[*],/path/to/apache-status.sh $1

    But no there was no dta in graph..I searched that items were not suppoted .

    In server.log
    error is

    4626:20120912:142238.881 item [open-web1:apache[BytesPerSec]] became not supported: Received value [] is not suitable for value type [Numeric (float)]
    4626:20120912:142238.882 item [open-web1:apache[kBytes]] became not supported: Received value [] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
    4624:20120912:142303.897 item [open-web1:apache[Accesses]] became not supported: Received value [] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
    4624:20120912:142303.897 item [open-web1:apache[BusyWorkers]] became not supported: Received value [] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
    4630:20120912:142308.899 item [open-web1:apache[BytesPerReq]] became not supported: Received value [] is not suitable for value type [Numeric (float)]
    4630:20120912:142308.899 item [open-web1:apache[IdleWorkers]] became not supported: Received value [] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
    4630:20120912:142308.899 item [open-web1:apache[ReqPerSec]] became not supported: Received value [] is not suitable for value type [Numeric (float)]
    4630:20120912:142308.899 item [open-web1:apache[Uptime]] became not supported: Received value [] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
    4624:20120912:142508.948 item [open-web1:apache[ReqPerSec]] became not supported: Received value [] is not suitable for value type [Numeric (float)]



    Please suggest a sloution I am not getting what to now
    Attached Files
  • ajonnalagadda
    Junior Member
    • Apr 2013
    • 5

    #2
    any update on this .

    We are also getting the same error message on apache monitoring.

    became not supported: Received value [] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]


    Originally posted by rrw
    hi

    I am using zabbix 2.0.2
    I want to monitor apacher server on agent ..
    I import xml file on server and added a user parameter to zabbix agent :
    UserParameter=apache[*],/path/to/apache-status.sh $1

    But no there was no dta in graph..I searched that items were not suppoted .

    In server.log
    error is

    4626:20120912:142238.881 item [open-web1:apache[BytesPerSec]] became not supported: Received value [] is not suitable for value type [Numeric (float)]
    4626:20120912:142238.882 item [open-web1:apache[kBytes]] became not supported: Received value [] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
    4624:20120912:142303.897 item [open-web1:apache[Accesses]] became not supported: Received value [] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
    4624:20120912:142303.897 item [open-web1:apache[BusyWorkers]] became not supported: Received value [] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
    4630:20120912:142308.899 item [open-web1:apache[BytesPerReq]] became not supported: Received value [] is not suitable for value type [Numeric (float)]
    4630:20120912:142308.899 item [open-web1:apache[IdleWorkers]] became not supported: Received value [] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
    4630:20120912:142308.899 item [open-web1:apache[ReqPerSec]] became not supported: Received value [] is not suitable for value type [Numeric (float)]
    4630:20120912:142308.899 item [open-web1:apache[Uptime]] became not supported: Received value [] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
    4624:20120912:142508.948 item [open-web1:apache[ReqPerSec]] became not supported: Received value [] is not suitable for value type [Numeric (float)]



    Please suggest a sloution I am not getting what to now

    Comment

    • Heilig
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Mar 2013
      • 366

      #3
      Did you read this thread?

      Comment

      • ajonnalagadda
        Junior Member
        • Apr 2013
        • 5

        #4
        i read that thread. But i am not able to unload the Script . In zabbix wiki also for the apache monitoring they put three methods. In that the fetch.py file is able to download. Can you provide the script.

        I am not able to see the Scipt Location.

        Originally posted by Heilig
        Did you read this thread?
        Attached Files

        Comment

        • Heilig
          Senior Member
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • Mar 2013
          • 366

          #5
          Try method 1. Script you can find in a /bin folder.

          Comment

          • ajonnalagadda
            Junior Member
            • Apr 2013
            • 5

            #6
            Thanks for updating the Wiki for Apache monitoring.
            But some how i am not able to pull the Results.

            I downloaded the Script and name as ZabbixApacheUpdater.py

            And i put the Cron job on the Zabbix Server for the Location of the File Where it is located. And edit the apache configuration on the Apache monitoring host.

            I downloaded the Template_App_Apache_stats and imported to Server(Zabbix web Protal). and added the client to the Template. But i am not able to see the Any thing related to the Apache .

            Please help me
            Originally posted by Heilig
            Try method 1. Script you can find in a /bin folder.

            Comment

            • Heilig
              Senior Member
              Zabbix Certified Trainer
              Zabbix Certified SpecialistZabbix Certified Professional
              • Mar 2013
              • 366

              #7
              You are configuring monitoring of remote or local apache server?

              Have you completed "Install/Configure Steps" from wiki?

              Do you have access to the page "http://RemoteOrLocalApacheServerHostName/server-status?auto?"? The information is displayed (Workers, ReqPerSec, BytesPerSec, etc)?

              What you get when run
              /usr/bin/python /etc/zabbix/ZabbixApacheUpdater.py -o <RemoteOrLocalApacheServerHostName> -c <HostNameInZabbixFrontend> -z <ZabbixServerHost>
              ?

              Comment

              • ajonnalagadda
                Junior Member
                • Apr 2013
                • 5

                #8
                When i run that command for the local server (Apache Server which need to be monitored) i am getting the error.

                Traceback (most recent call last):
                File "/etc/zabbix/ZabbixApacheUploader.py", line 224, in ?
                data = parse(data = data)
                File "/etc/zabbix/ZabbixApacheUploader.py", line 77, in parse
                for (key, val) in csvobj:
                ValueError: need more than 1 value to unpack





                Originally posted by Heilig
                You are configuring monitoring of remote or local apache server?

                Have you completed "Install/Configure Steps" from wiki?

                Do you have access to the page "http://RemoteOrLocalApacheServerHostName/server-status?auto?"? The information is displayed (Workers, ReqPerSec, BytesPerSec, etc)?

                What you get when run
                /usr/bin/python /etc/zabbix/ZabbixApacheUpdater.py -o <RemoteOrLocalApacheServerHostName> -c <HostNameInZabbixFrontend> -z <ZabbixServerHost>
                ?

                Comment

                • Heilig
                  Senior Member
                  Zabbix Certified Trainer
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • Mar 2013
                  • 366

                  #9
                  What can you say about the second and third question?
                  Also, try to add 127.0.0.1 in item key, for example - apache[127.0.0.1,BytesPerReq].

                  Comment

                  Working...