Ad Widget

Collapse

check server-status

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sue
    Member
    • Mar 2011
    • 41

    #1

    check server-status

    Hi..i need some help. How to check server status if using zabbix appliance use linux suse. i success to check centos apache but i cannot check status appliance zabbix suse. how to enable server status because i cannot put this code line
    ExtendedStatus On
    it give me error

    Invalid command 'ExtendedStatus', perhaps mispelled or defined by a moduled not included in the server configuration
    who can show me the right path to put this code. thanks
  • alisson
    Member
    Zabbix Certified Specialist
    • Nov 2009
    • 70

    #2
    You need the module apache's called mod_status (or status_module)...

    Checks whether you have enabled the module with the following command:
    httpd -t -D DUMP_MODULES 2>&1 | grep status

    you can add in configuration of apache: "LoadModule status_module modules/mod_status.so"
    __________________
    --
    Alisson Oliveira
    [url]www.zabbix.com.br[/url]
    [url]www.unirede.net[/url]
    Porto Alegre - RS - Brasil

    Comment

    • sue
      Member
      • Mar 2011
      • 41

      #3
      when i type command below, what suppose the result will appear because i saw nothing.

      You need the module apache's called mod_status (or status_module)...

      Checks whether you have enabled the module with the following command:
      httpd -t -D DUMP_MODULES 2>&1 | grep status
      and where should i add this configuration? Sorry, i am very new with this zabbix also linux.
      you can add in configuration of apache: "LoadModule status_module modules/mod_status.so"

      Comment

      • alisson
        Member
        Zabbix Certified Specialist
        • Nov 2009
        • 70

        #4
        should appear:
        # httpd -t -D DUMP_MODULES 2>&1 | grep status
        status_module (shared)

        Probably you don't this module.

        You can put in /etc/httpd/conf/httpd.conf (or /etc/apache2/httpd.conf) this configuration, but probably you have to install this module before.

        If you have the GUI in your server, you can use the Yast GUI for Installation and configuration of apache2, because is very simple.
        If not, you could use yast even in text mode, which is easier than manually editing the configuration file.
        __________________
        --
        Alisson Oliveira
        [url]www.zabbix.com.br[/url]
        [url]www.unirede.net[/url]
        Porto Alegre - RS - Brasil

        Comment

        • sue
          Member
          • Mar 2011
          • 41

          #5
          Originally posted by alisson
          should appear:
          # httpd -t -D DUMP_MODULES 2>&1 | grep status
          status_module (shared)

          Probably you don't this module.

          You can put in /etc/httpd/conf/httpd.conf (or /etc/apache2/httpd.conf) this configuration, but probably you have to install this module before.

          If you have the GUI in your server, you can use the Yast GUI for Installation and configuration of apache2, because is very simple.
          If not, you could use yast even in text mode, which is easier than manually editing the configuration file.
          when i add line about loadmodule u give before to put it in apache configuration, i get this error after reload httpd.

          httpd2-prefork:Syntax error on line 165 of /etc/apache2/httpd.conf: Cannot load /svr/www/modules/mod_Status.so into server: /svr/www/modules/mod_status.so: cannot open shared object file: No such file or directory

          Comment

          • alisson
            Member
            Zabbix Certified Specialist
            • Nov 2009
            • 70

            #6
            This error is because you don't have this module installed in your server.

            Use Yast GUI for configuration of apache2.
            __________________
            --
            Alisson Oliveira
            [url]www.zabbix.com.br[/url]
            [url]www.unirede.net[/url]
            Porto Alegre - RS - Brasil

            Comment

            Working...