Ad Widget

Collapse

zabbix ping No route to host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dima_dm
    Senior Member
    • Dec 2009
    • 2697

    #16
    Originally posted by supertek
    But I don't find this file, impossible to find this file with the whereis command /var/www/html/zabbix/conf/zabbix.conf.php
    Find file conf/zabbix.conf.php in your root Web dir.
    Remember, You must restart zabbix_server if file /etc/zabbix/zabbix_server.conf changed.

    Comment

    • supertek
      Junior Member
      • Jul 2011
      • 20

      #17
      Sorry but I can't find it, I've looked in /etc/apache2/conf.d
      /usr/share/zabbix

      Sorry but I begin with Linux

      Comment

      • dima_dm
        Senior Member
        • Dec 2009
        • 2697

        #18
        Originally posted by supertek
        Sorry but I can't find it, I've looked in /etc/apache2/conf.d
        /usr/share/zabbix

        Sorry but I begin with Linux
        See Web server (Apache) configuration, in httpd.conf
        DocumentRoot "/var/www/html"
        You can find dir with PHP Web interface Zabbix and find file in dir conf/.

        Comment

        • supertek
          Junior Member
          • Jul 2011
          • 20

          #19
          forget it, i found the file, I had a wrong IP address. Now the server is running Yes on the dashboard.

          Comment

          • supertek
            Junior Member
            • Jul 2011
            • 20

            #20
            Now the script run well (I have no more error script...), but there is nothing in the windows any idea?
            Thanks

            Comment

            • dima_dm
              Senior Member
              • Dec 2009
              • 2697

              #21
              Originally posted by supertek
              Now the script run well (I have no more error script...), but there is nothing in the windows any idea?
              Thanks
              Check SELinux policy on server. You can disable SELinux (For test only) and check again.
              Last edited by dima_dm; 19-07-2011, 10:46.

              Comment

              • supertek
                Junior Member
                • Jul 2011
                • 20

                #22
                I have read the link, but I hane no files in /selinux so I can't disable it. What can I do?

                Comment

                • dima_dm
                  Senior Member
                  • Dec 2009
                  • 2697

                  #23
                  Originally posted by supertek
                  I have read the link, but I hane no files in /selinux so I can't disable it. What can I do?
                  Use util setenforce and getenforce, see doc in internet.

                  Comment

                  • supertek
                    Junior Member
                    • Jul 2011
                    • 20

                    #24
                    SELinux disabled but same problem.
                    Is there anything which could explain that?

                    Comment

                    • dima_dm
                      Senior Member
                      • Dec 2009
                      • 2697

                      #25
                      Originally posted by supertek
                      SELinux disabled but same problem.
                      Is there anything which could explain that?
                      Check permition on ping util
                      ls -l /bin/ping
                      -rwsr-xr-x 1 root root 40760 Mar 22 12:26 /bin/ping

                      Comment

                      • supertek
                        Junior Member
                        • Jul 2011
                        • 20

                        #26
                        Here what I get:
                        -rwxrwxrwx 1 root root 34716 2010-11-15 09:08 /bin/ping

                        Comment

                        • dima_dm
                          Senior Member
                          • Dec 2009
                          • 2697

                          #27
                          Originally posted by supertek
                          Here what I get:
                          -rwxrwxrwx 1 root root 34716 2010-11-15 09:08 /bin/ping
                          Add suid bit s for user.
                          chmod 4777 /bin/ping

                          Check php option sockets.
                          Create phpinfo.php
                          Code:
                          <html>
                          <?php
                          // Show all information, defaults to INFO_ALL
                          phpinfo();
                          
                          // Show just the module information.
                          // phpinfo(8) yields identical results.
                          phpinfo(INFO_MODULES);
                          ?>
                          </html>
                          in Web Brоwser: http://you_host/path/phpinfo.php

                          Check:
                          Code:
                          sockets
                          Sockets Support 	enabled
                          Whis PHP Configure Command --enable-sockets
                          Last edited by dima_dm; 19-07-2011, 13:13.

                          Comment

                          • supertek
                            Junior Member
                            • Jul 2011
                            • 20

                            #28
                            It's working, THANK YOU very much for your precious help.

                            Comment

                            • sarah
                              Junior Member
                              • Aug 2011
                              • 4

                              #29
                              tracerout

                              How I can create a new script for zabbix 1.8.4?

                              Comment

                              • supertek
                                Junior Member
                                • Jul 2011
                                • 20

                                #30
                                You go on Administration tab > Scripts tab and create script

                                Comment

                                Working...