Ad Widget

Collapse

Unsupported Items checked via proxy are not displayed on items-page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rrr
    Senior Member
    • Sep 2007
    • 100

    #1

    Unsupported Items checked via proxy are not displayed on items-page

    Items which are checked by proxy and gets unsupported, were not displayed as "not supported" on the items page.

    When I search for "not supported"-items I only get those which are checked directly from zabbix-server.
  • vinny
    Senior Member
    • Jan 2008
    • 145

    #2
    +1

    I face this situation too...
    Another drawback is that it is difficult to check the queue of a proxy (all unsupported items are listed in the queue)

    vinny
    -------
    Zabbix 1.8.3, 1200+ Hosts, 40 000+ Items...zabbix's everywhere

    Comment

    • cioris
      Member
      • Oct 2008
      • 30

      #3
      still there

      I intalled the latest 1.6.1. the problem is still there..

      Comment

      • Tristan
        Senior Member
        • Feb 2008
        • 110

        #4
        Is this a bug or by design?

        Are people working on this? it's very annoying. I have a lot of different systems so i have also a lot of unsupported items.

        Comment

        • Tristan
          Senior Member
          • Feb 2008
          • 110

          #5
          still no fix?

          Comment

          • cioris
            Member
            • Oct 2008
            • 30

            #6
            nope...

            i haven't seen anything yet....

            Comment

            • rrr
              Senior Member
              • Sep 2007
              • 100

              #7
              Still with the new 1.8 version, the same behaviour...

              When will this "feature" (someone call it a bug) be added??

              Comment

              • Alain Ganuchaud
                Member
                Zabbix Certified Trainer

                • Mar 2009
                • 49

                #8
                I had to manage this problem, got over 5000 unsupported items among 15 proxies; because of them, performance decreased.

                I did the following:

                - count unsupported items on each proxies
                select itemid from items where status=3;

                - regularly clean the Master Database (not the proxies)
                update items set status=1 where itemid in_my_list

                Hope this can help,
                It solved partially some performances issues for me.

                Below is the php script I used on the Master.
                Alain

                <?php

                #############################
                #
                # zabcleanmy.php - Clean Central Database from unsupported items
                #
                # Requires:
                # php-cli
                # php-mysql
                #
                # Produces:
                # Change status to disabled from unsupported items proxies list
                #
                #############################

                $progname = "zabcleanmy.php";
                $version = "1.0";

                if ($argc < 2)
                {
                echo "zabcleanmy.php input_itemid_list clean";
                echo "DB name is zabbix, to be changed in the script";
                exit();
                }

                $host = 'localhost';
                $username = 'root';
                $password = 'XXXXXXXXXXXXX';
                $itemidfile = $argv[1];


                /////////////////////////////////////////////
                // Connection
                $link = mysql_connect($host, $username, $password);
                if (!$link)
                {
                $db_connect = die('MYSQL connect error: ' . mysql_error());
                }
                else
                {
                $db_connect = "Connection OK\n";
                }


                /////////////////////////////////////////////
                // DB Select
                $db_selected = mysql_select_db('zabbix', $link);
                if (!$db_selected)
                {
                $db_select = die ('DB Select error : ' . mysql_error());
                }
                else
                {
                $db_select = "DB Select OK\n";
                }


                /////////////////////////////////////////////
                // Action: clean
                // Returns:
                // Parameters:
                if ( $argv[2] == 'clean' )
                {
                $lines = file($itemidfile);
                foreach ($lines as $line)
                {
                echo $line;
                $query = "update items set status=1 where itemid=$line;";
                $result = mysql_query($query);
                if (!$result)
                {
                die('Invalid query: ' . mysql_error());
                }
                }
                }

                mysql_close($link);
                exit();
                ?>

                Comment

                • mschedrin
                  Senior Member
                  • Jun 2009
                  • 179

                  #9
                  Is this issue still not fixed?

                  Comment

                  Working...