Ad Widget

Collapse

How to check SWITCH is alive

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bulledk
    Junior Member
    • Jul 2009
    • 22

    #16
    Originally posted by Calimero
    fping must be setuid root.

    chown root:root /usr/sbin/fping
    chmod 4755 /usr/sbin/fping
    That didnt solve my problem.

    I have the same problem.

    In my error column i see "/tmp/zabbix_server_16319.pinger: [13] Permission denied"

    Almost tried everything in this forum... Please help

    Comment

    • Handi
      Junior Member
      • Aug 2009
      • 19

      #17
      Thanks brow its work.

      perms /usr/sbin/fping is

      -rwxrwxrwx 1 root root

      Comment

      • bulledk
        Junior Member
        • Jul 2009
        • 22

        #18
        Originally posted by Handi
        Thanks brow its work.

        perms /usr/sbin/fping is

        -rwxrwxrwx 1 root root

        That didn't solve my problem.

        Still get this error in Zabbbix : /tmp/zabbix_server_16319.pinger: [13] Permission denied

        Anyone? Please help

        Comment

        • Handi
          Junior Member
          • Aug 2009
          • 19

          #19
          can I see all your configuration file

          zabbix_server.conf??

          Comment

          • bulledk
            Junior Member
            • Jul 2009
            • 22

            #20
            Originally posted by Handi
            can I see all your configuration file

            zabbix_server.conf??
            Here it is:

            # This is config file for ZABBIX server process
            # To get more information about ZABBIX,
            # go http://www.zabbix.com

            ############ GENERAL PARAMETERS #################

            # This defines unique NodeID in distributed setup,
            # Default value 0 (standalone server)
            # This parameter must be between 0 and 999
            #NodeID=0

            # Number of pre-forked instances of pollers
            # Default value is 5
            # This parameter must be between 0 and 255
            #StartPollers=5

            # Number of pre-forked instances of IPMI pollers
            # Default value is 0
            # This parameter must be between 0 and 255
            #StartIPMIPollers=0

            # Number of pre-forked instances of pollers for unreachable hosts
            # Default value is 1
            # This parameter must be between 0 and 255
            #StartPollersUnreachable=1

            # Number of pre-forked instances of trappers
            # Default value is 5
            # This parameter must be between 0 and 255
            #StartTrappers=5

            # Number of pre-forked instances of ICMP pingers
            # Default value is 1
            # This parameter must be between 0 and 255
            #StartPingers=1

            # Number of pre-forked instances of discoverers
            # Default value is 1
            # This parameter must be between 0 and 255
            #StartDiscoverers=1

            # Number of pre-forked instances of HTTP pollers
            # Default value is 1
            # This parameter must be between 0 and 255
            #StartHTTPPollers=1

            # Listen port for trapper. Default port number is 10051. This parameter
            # must be between 1024 and 32767

            #ListenPort=10051

            # Source IP address for outgoing connections
            #SourceIP=

            # Listen interface for trapper. Trapper will listen on all network interfaces
            # if this parameter is missing.

            #ListenIP=127.0.0.1

            # How often ZABBIX will perform housekeeping procedure
            # (in hours)
            # Default value is 1 hour
            # Housekeeping is removing unnecessary information from
            # tables history, alert, and alarms
            # This parameter must be between 1 and 24

            #HousekeepingFrequency=1

            # How often ZABBIX will try to send unsent alerts
            # (in seconds)
            # Default value is 30 seconds
            SenderFrequency=30

            # Uncomment this line to disable housekeeping procedure
            #DisableHousekeeping=1

            # Specifies debug level
            # 0 - debug is not created
            # 1 - critical information
            # 2 - error information
            # 3 - warnings (default)
            # 4 - for debugging (produces lots of information)

            DebugLevel=3

            # Specifies how long we wait for agent response (in sec)
            # Must be between 1 and 30
            Timeout=5

            # Specifies how many seconds trapper may spend processing new data
            # Must be between 1 and 300
            #TrapperTimeout=5

            # After how many seconds of unreachability treat a host as unavailable
            #UnreachablePeriod=45

            # How often check host for availability during the unavailability period
            #UnavailableDelay=60

            # Name of PID file

            PidFile=/var/run/zabbix-server/zabbix_server.pid

            # Name of log file
            # If not set, syslog is used

            LogFile=/var/log/zabbix-server/zabbix_server.log

            # Maximum size of log file in MB. Set to 0 to disable automatic log rotation.
            #LogFileSize=1

            # Location for custom alert scripts
            AlertScriptsPath=/etc/zabbix/alert.d/

            # Location of external scripts
            #ExternalScripts=/etc/zabbix/externalscripts

            # Location of fping. Default is /usr/sbin/fping
            # Make sure that fping binary has root permissions and SUID flag set
            FpingLocation=/usr/sbin/fping

            # Location of fping6. Default is /usr/sbin/fping6
            # Make sure that fping binary has root permissions and SUID flag set
            #Fping6Location=/usr/sbin/fping6

            # Temporary directory. Default is /tmp
            #TmpDir=/tmp

            # Frequency of ICMP pings (item keys 'icmpping' and 'icmppingsec'). Default is 60 seconds.
            #PingerFrequency=60

            # Database host name
            # Default is localhost

            #DBHost=localhost

            # Database name
            # SQLite3 note: path to database file must be provided. DBUser and DBPassword are ignored.
            DBName=zabbix

            # Database user

            DBUser=root

            # Database password
            # Comment this line if no password used

            DBPassword=

            # Connect to MySQL using Unix socket?

            #DBSocket=/tmp/mysql.sock

            Comment

            • Handi
              Junior Member
              • Aug 2009
              • 19

              #21
              how about

              perms /usr/sbin/fping

              ??

              why
              # Database user

              DBUser=root

              set to zabbix

              Comment

              • bulledk
                Junior Member
                • Jul 2009
                • 22

                #22
                Originally posted by Handi
                how about

                perms /usr/sbin/fping

                ??

                why
                # Database user

                DBUser=root

                set to zabbix
                -rwxrwxrwx 1 root root 35320 Mar 15 17:43 /usr/sbin/fping

                the DBUser is now set to zabbix

                Comment

                • bulledk
                  Junior Member
                  • Jul 2009
                  • 22

                  #23
                  Still getting this error, i'am really confused... Did/does anyone have the same problem?

                  When i login as zabbix on my CentOS, i can run fping without problem!


                  Error message on zabbix:
                  Code:
                  /tmp/zabbix_server_16748.pinger: [13] Permission denied

                  Comment

                  • bulledk
                    Junior Member
                    • Jul 2009
                    • 22

                    #24
                    Originally posted by bulledk
                    Still getting this error, i'am really confused... Did/does anyone have the same problem?

                    When i login as zabbix on my CentOS, i can run fping without problem!


                    Error message on zabbix:
                    Code:
                    /tmp/zabbix_server_16748.pinger: [13] Permission denied
                    Please! Anyone? Really need this working!

                    Comment

                    • bulledk
                      Junior Member
                      • Jul 2009
                      • 22

                      #25
                      Originally posted by bulledk
                      Still getting this error, i'am really confused... Did/does anyone have the same problem?

                      When i login as zabbix on my CentOS, i can run fping without problem!


                      Error message on zabbix:
                      Code:
                      /tmp/zabbix_server_16748.pinger: [13] Permission denied
                      Bump....Come on people...

                      Comment

                      • benito103e
                        Junior Member
                        • Jun 2010
                        • 24

                        #26
                        Same problem

                        Hi,

                        I've the same problem

                        Code:
                        zabbix_server_32541.pinger: [13] Permission denied
                        Have you solved this?

                        I think i've the good rights ?
                        Code:
                        lrwxrwxrwx 1 root root 12 mai 20 17:38 /usr/sbin/fping

                        Comment

                        • bulledk
                          Junior Member
                          • Jul 2009
                          • 22

                          #27
                          Originally posted by benito103e
                          Hi,

                          I've the same problem

                          Code:
                          zabbix_server_32541.pinger: [13] Permission denied
                          Have you solved this?

                          I think i've the good rights ?
                          Code:
                          lrwxrwxrwx 1 root root 12 mai 20 17:38 /usr/sbin/fping
                          Hi, yes its solved, when I reinstalled version 1.8.2 to a new server.

                          If you running zabbix as root, it schould do it, but if you running it as zabbix user, try to chown root:zabbix

                          Comment

                          • benito103e
                            Junior Member
                            • Jun 2010
                            • 24

                            #28
                            Thanks for your answered

                            I tried it, I tried a lot of configuration .. and it doesnt work...

                            And I can make a fping from my server.....

                            fouuuu I didn't know : make a ping will be so difficult...

                            Comment

                            • bulledk
                              Junior Member
                              • Jul 2009
                              • 22

                              #29
                              Originally posted by benito103e
                              Thanks for your answered

                              I tried it, I tried a lot of configuration .. and it doesnt work...

                              And I can make a fping from my server.....

                              fouuuu I didn't know : make a ping will be so difficult...
                              What is your "/tmp" directory permission?

                              Comment

                              • benito103e
                                Junior Member
                                • Jun 2010
                                • 24

                                #30
                                Waww O_O !!

                                Thanks a lot, I just made a :

                                Code:
                                chmod 777 -R /tmp
                                And it works.

                                But why? what was the reason of the problam? (fping use /tmp? )

                                Comment

                                Working...