Announcement

Collapse

New version of forum

Hi,

As you can see, the forum has been updated.

We took advantage of this migration to change the theme of the forum and to reorganize sections.

These new sections allow better classify subjects discussed. The old topics have been classified in the "Archives" section of the forum and remains accessible.

We reclassified the recent topics (since the 1st of July) in the news sections. To find your topics, please use search menu. We will reclassify active topics from Archives section to the new ones frequently.

Enjoy reading and discussions
See more
See less

UNKNOWN: Received noSuchName(2) error-status at error-index 3.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • UNKNOWN: Received noSuchName(2) error-status at error-index 3.

    Hi,

    I have install everything by the excellent wiki guide and all went well, Nagiosstarted and I added my Servers (one windows & one linux machine ) and they are logging well,but i have received several unknown service error in monitoring tab,so can any one guide me how i get rid of these errors and how to add additional services/command on my remote server that i want to monitor through "Centreon" -

    ----------------------------------------------------------------------------------------------------------------------------

    Disk-/
    UNKNOWN23h 7m 20s23h 5m 20s25/03/2010 11:31:163/3 (H)ERROR: hrStorageDescr Table : Requested table is empty or does not exist.

    Load
    UNKNOWN23h 6m 5s23h 4m 5s25/03/2010 11:27:303/3 (H)UNKNOWN: Received noSuchName(2) error-status at error-index 3.

    UNKNOWN23h 4m 50s23h 2m 50s25/03/2010 11:28:443/3 (H)ERROR: Description Table hrStorageType : Requested table is empty or does not exist.
    CPU
    UNKNOWN22h 39m 40s22h 37m 40s25/03/2010 11:29:003/3 (H)ERROR when getting SNMP version : No response from remote host '75.126.115.4'.

    Disk-E
    UNKNOWN22h 38m 33s22h 36m 33s25/03/2010 11:30:023/3 (H)ERROR: hrStorageDescr Table : No response from remote host '75.126.115.4'.

    ------------------------------------------------------------------------------------------------------------------------------
    Thanks
    p-root

  • #2
    Hey,

    * I recommended to test with the command snmpwalk -v 2C -c snmpcommunity hostip from the server Centreon directly.
    * After test from the /usr/local/nagios/libexec your check with the help of your plugin

    And you can verifiy your snmp community config in your default community in Centreon (Configuration - Nagios - Ressources), if you use a different snmp community in your equipment, you must specify the snmp community in your check service (here the check_snmp_centreon_storage)

    Good Luck
    Ubuntu Server 10.04.4 x64 - Centreon 2.1.13 - Nagios 3.2.0
    Modules : ImportCSV 0.99rc5 - OCS2Cent 1.2.1 - Centreon-Gmap 1.2 - ndotools 0.2 - Centreon-NagVis 2.2b with NagVis 1.5.10

    Comment


    • #3
      HI,

      I have received the following error :-

      [root@centreon ~]# snmpwalk -v 2C -c snmpcommunity <hostip addresss>
      Timeout: No Response from 75.126.115.4

      Comment


      • #4
        HI,

        I have received the following error :-

        [root@centreon ~]# snmpwalk -v 2C -c snmpcommunity <hostip addresss>
        Timeout: No Response from 75.126.115.4

        Also please check the enclosed attachments.

        Comment


        • #5
          There are not access to SNMP on your remote machine.

          Do you use firewall (UDP 161) ?
          SNMP daemon is running ?
          SNMP daemon is configured to accept request from remote server ?
          Centreon Syslog Module Manager/Developper
          Centreon E2S Module Manager/Developper
          Centreon Enterprise Server (2.x / 3.x) : Centreon Engine 1.3.x / 1.4.x, Centreon Broker 2.6.x / 2.8.x , Centreon 2.x, Centreon-Syslog 1.5.x, Centreon E2S 2.0
          Nagios 3.x et NDOutil 1.x

          Comment


          • #6
            Hi,

            We have already used enabled snmp :-

            Do you use firewall (UDP 161) - Yes
            SNMP daemon is running :- Yes
            SNMP daemon is configured to accept request from remote server :- Yes

            [root@monitor ~]# /etc/init.d/snmpd status
            snmpd (pid 16068) is running...

            Comment


            • #7
              Network firewall ?
              Centreon Syslog Module Manager/Developper
              Centreon E2S Module Manager/Developper
              Centreon Enterprise Server (2.x / 3.x) : Centreon Engine 1.3.x / 1.4.x, Centreon Broker 2.6.x / 2.8.x , Centreon 2.x, Centreon-Syslog 1.5.x, Centreon E2S 2.0
              Nagios 3.x et NDOutil 1.x

              Comment


              • #8
                Did you have configured ACL in snmpd.conf ?
                RaphaŽl 'SurcouF' Bordet
                Je ne teste pas mes plugins en root, tu ne testes pas tes plugins en root...
                Dons Paypal

                Comment


                • #9
                  Hi,

                  No...I haven't configured ACL in snmpd.conf,also please check my default snmpd.conf configuration file :-


                  ==================================================
                  ################################################## #############################
                  # Access Control
                  ################################################## #############################

                  # As shipped, the snmpd demon will only respond to queries on the
                  # system mib group until this file is replaced or modified for
                  # security purposes. Examples are shown below about how to increase the
                  # level of access.

                  # By far, the most common question I get about the agent is "why won't
                  # it work?", when really it should be "how do I configure the agent to
                  # allow me to access it?"
                  #
                  # By default, the agent responds to the "public" community for read
                  # only access, if run out of the box without any configuration file in
                  # place. The following examples show you other ways of configuring
                  # the agent so that you can change the community names, and give
                  # yourself write access to the mib tree as well.
                  #
                  # For more information, read the FAQ as well as the snmpd.conf(5)
                  # manual page.

                  ####
                  # First, map the community name "public" into a "security name"

                  # sec.name source community
                  com2sec notConfigUser default public

                  ####
                  # Second, map the security name into a group name:

                  # groupName securityModel securityName
                  group notConfigGroup v1 notConfigUser
                  group notConfigGroup v2c notConfigUser

                  ####
                  # Third, create a view for us to let the group have rights to:

                  # Make at least snmpwalk -v 1 localhost -c public system fast again.
                  # name incl/excl subtree mask(optional)
                  view systemview included .1.3.6.1.2.1.1
                  view systemview included .1.3.6.1.2.1.25.1.1

                  ####
                  # Finally, grant the group read-only access to the systemview view.

                  # group context sec.model sec.level prefix read write notif
                  access notConfigGroup "" any noauth exact systemview none none

                  # -----------------------------------------------------------------------------

                  # Here is a commented out example configuration that allows less
                  # restrictive access.

                  # YOU SHOULD CHANGE THE "COMMUNITY" TOKEN BELOW TO A NEW KEYWORD ONLY
                  # KNOWN AT YOUR SITE. YOU *MUST* CHANGE THE NETWORK TOKEN BELOW TO
                  # SOMETHING REFLECTING YOUR LOCAL NETWORK ADDRESS SPACE.

                  ## sec.name source community
                  #com2sec local localhost COMMUNITY
                  #com2sec mynetwork NETWORK/24 COMMUNITY

                  ## group.name sec.model sec.name
                  #group MyRWGroup any local
                  #group MyROGroup any mynetwork
                  #
                  #group MyRWGroup any otherv3user
                  #...

                  ## incl/excl subtree mask
                  #view all included .1 80

                  ## -or just the mib2 tree-

                  #view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc


                  ## context sec.model sec.level prefix read write notif
                  #access MyROGroup "" any noauth 0 all none none
                  #access MyRWGroup "" any noauth 0 all all all


                  ################################################## #############################
                  # Sample configuration to make net-snmpd RFC 1213.
                  # Unfortunately v1 and v2c don't allow any user based authentification, so
                  # opening up the default config is not an option from a security point.
                  #
                  # WARNING: If you uncomment the following lines you allow write access to your
                  # snmpd daemon from any source! To avoid this use different names for your
                  # community or split out the write access to a different community and
                  # restrict it to your local network.
                  # Also remember to comment the syslocation and syscontact parameters later as
                  # otherwise they are still read only (see FAQ for net-snmp).
                  #

                  # First, map the community name "public" into a "security name"
                  # sec.name source community
                  #com2sec notConfigUser default public

                  # Second, map the security name into a group name:
                  # groupName securityModel securityName
                  #group notConfigGroup v1 notConfigUser
                  #group notConfigGroup v2c notConfigUser

                  # Third, create a view for us to let the group have rights to:
                  # Open up the whole tree for ro, make the RFC 1213 required ones rw.
                  # name incl/excl subtree mask(optional)
                  #view roview included .1
                  #view rwview included system.sysContact
                  #view rwview included system.sysName
                  #view rwview included system.sysLocation
                  #view rwview included interfaces.ifTable.ifEntry.ifAdminStatus
                  #view rwview included at.atTable.atEntry.atPhysAddress
                  #view rwview included at.atTable.atEntry.atNetAddress
                  #view rwview included ip.ipForwarding
                  #view rwview included ip.ipDefaultTTL
                  ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++

                  Please check and help me to sort out this problem.

                  Thanks..

                  Comment


                  • #10
                    Originally posted by p-root View Post
                    # sec.name source community
                    com2sec notConfigUser default public

                    # groupName securityModel securityName
                    group notConfigGroup v1 notConfigUser
                    group notConfigGroup v2c notConfigUser

                    # name incl/excl subtree mask(optional)
                    view systemview included .1.3.6.1.2.1.1
                    view systemview included .1.3.6.1.2.1.25.1.1

                    # group context sec.model sec.level prefix read write notif
                    access notConfigGroup "" any noauth exact systemview none none
                    com2sec directive link public community to notConfigUser secname.
                    This secname member of notConfigGroup group for v1 and v2c security model.
                    Finally, this group have only acces to OID defined by systemview view.

                    To have access to all accessibles OID, please add :
                    Code:
                    view    all    included   .1
                    access  notConfigGroup ""      any       noauth    exact  all none none
                    Restart snmpd.
                    RaphaŽl 'SurcouF' Bordet
                    Je ne teste pas mes plugins en root, tu ne testes pas tes plugins en root...
                    Dons Paypal

                    Comment


                    • #11
                      Hi,

                      surcouf..Thanks...but it works for my "localhost" only,still my my remote servers not monitored through "centreon",still i am getting the same error....

                      So please guide me how to get rid of these errors....

                      Also please let me know how can i add more services/commands on remote severs..

                      Thanks...

                      Comment


                      • #12
                        Originally posted by p-root View Post
                        Hi,

                        surcouf..Thanks...but it works for my "localhost" only,still my my remote servers not monitored through "centreon",still i am getting the same error....

                        So please guide me how to get rid of these errors....

                        Also please let me know how can i add more services/commands on remote severs..
                        On Debian systems, for example, snmpd is listening on localhost only by default.
                        You must modify this behaviour by editing /etc/default/snmpd configuration file.
                        RaphaŽl 'SurcouF' Bordet
                        Je ne teste pas mes plugins en root, tu ne testes pas tes plugins en root...
                        Dons Paypal

                        Comment


                        • #13
                          Hi,

                          surcouf..Thanks...but it works for my "localhost" only(i.e for my centreon server only ),still my my remote servers not monitored through "centreon",still i am getting the same error....please check the enclosed attachments.

                          So please guide me how to get rid of these errors....

                          Also please let me know how can i add more services/commands on remote severs..

                          Comment


                          • #14
                            Originally posted by p-root View Post
                            Hi,

                            surcouf..Thanks...but it works for my "localhost" only(i.e for my centreon server only ),still my my remote servers not monitored through "centreon",still i am getting the same error....please check the enclosed attachments.

                            So please guide me how to get rid of these errors....

                            Also please let me know how can i add more services/commands on remote severs..
                            You must also configure remote Linux servers like I said.
                            For Windows servers, settings differs but this is the same idea.
                            RaphaŽl 'SurcouF' Bordet
                            Je ne teste pas mes plugins en root, tu ne testes pas tes plugins en root...
                            Dons Paypal

                            Comment


                            • #15
                              Hi,

                              Please check my snmpd.conf settings and test results :-

                              ------------------------------------------------------------------------------------------------------------------
                              [root@monitor ~]# snmpwalk -v 1 localhost -c public system
                              SNMPv2-MIB:ysDescr.0 = STRING: Linux monitor.mytest.com 2.6.18-164.15.1.el5PAE #1 SMP Wed Mar 17 12:14:29 EDT 2010 i686
                              SNMPv2-MIB:ysObjectID.0 = OID: NET-SNMP-TC::linux
                              DISMAN-EVENT-MIB:ysUpTimeInstance = Timeticks: (14880109) 1 day, 17:20:01.09
                              SNMPv2-MIB:ysContact.0 = STRING: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
                              SNMPv2-MIB:ysName.0 = STRING: monitor.mytest.com
                              SNMPv2-MIB:ysLocation.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf)
                              SNMPv2-MIB:ysORLastChange.0 = Timeticks: (3) 0:00:00.03
                              SNMPv2-MIB:ysORID.1 = OID: SNMPv2-MIB:nmpMIB
                              SNMPv2-MIB:ysORID.2 = OID: TCP-MIB::tcpMIB
                              SNMPv2-MIB:ysORID.3 = OID: IP-MIB::ip
                              SNMPv2-MIB:ysORID.4 = OID: UDP-MIB::udpMIB
                              SNMPv2-MIB:ysORID.5 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
                              SNMPv2-MIB:ysORID.6 = OID: SNMP-FRAMEWORK-MIB:nmpFrameworkMIBCompliance
                              SNMPv2-MIB:ysORID.7 = OID: SNMP-MPD-MIB:nmpMPDCompliance
                              SNMPv2-MIB:ysORID.8 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
                              SNMPv2-MIB:ysORDescr.1 = STRING: The MIB module for SNMPv2 entities
                              SNMPv2-MIB:ysORDescr.2 = STRING: The MIB module for managing TCP implementations
                              SNMPv2-MIB:ysORDescr.3 = STRING: The MIB module for managing IP and ICMP implementations
                              SNMPv2-MIB:ysORDescr.4 = STRING: The MIB module for managing UDP implementations
                              SNMPv2-MIB:ysORDescr.5 = STRING: View-based Access Control Model for SNMP.
                              SNMPv2-MIB:ysORDescr.6 = STRING: The SNMP Management Architecture MIB.
                              SNMPv2-MIB:ysORDescr.7 = STRING: The MIB for Message Processing and Dispatching.
                              SNMPv2-MIB:ysORDescr.8 = STRING: The management information definitions for the SNMP User-based Security Model.
                              SNMPv2-MIB:ysORUpTime.1 = Timeticks: (3) 0:00:00.03
                              SNMPv2-MIB:ysORUpTime.2 = Timeticks: (3) 0:00:00.03
                              SNMPv2-MIB:ysORUpTime.3 = Timeticks: (3) 0:00:00.03
                              SNMPv2-MIB:ysORUpTime.4 = Timeticks: (3) 0:00:00.03
                              SNMPv2-MIB:ysORUpTime.5 = Timeticks: (3) 0:00:00.03
                              SNMPv2-MIB:ysORUpTime.6 = Timeticks: (3) 0:00:00.03
                              SNMPv2-MIB:ysORUpTime.7 = Timeticks: (3) 0:00:00.03
                              SNMPv2-MIB:ysORUpTime.8 = Timeticks: (3) 0:00:00.03
                              [root@monitor ~]# /etc/init.d/snmpd restart
                              Stopping snmpd: [ OK ]
                              Starting snmpd: [ OK ]
                              [root@monitor ~]# snmpwalk -v 2c localhost -c public system
                              SNMPv2-MIB:ysDescr.0 = STRING: Linux monitor.mytest.com 2.6.18-164.15.1.el5PAE #1 SMP Wed Mar 17 12:14:29 EDT 2010 i686
                              SNMPv2-MIB:ysObjectID.0 = OID: NET-SNMP-TC::linux
                              DISMAN-EVENT-MIB:ysUpTimeInstance = Timeticks: (16976) 0:02:49.76
                              SNMPv2-MIB:ysContact.0 = STRING: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
                              SNMPv2-MIB:ysName.0 = STRING: monitor.mytest.com
                              SNMPv2-MIB:ysLocation.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf)
                              SNMPv2-MIB:ysORLastChange.0 = Timeticks: (3) 0:00:00.03
                              SNMPv2-MIB:ysORID.1 = OID: SNMPv2-MIB:nmpMIB
                              SNMPv2-MIB:ysORID.2 = OID: TCP-MIB::tcpMIB
                              SNMPv2-MIB:ysORID.3 = OID: IP-MIB::ip
                              SNMPv2-MIB:ysORID.4 = OID: UDP-MIB::udpMIB
                              SNMPv2-MIB:ysORID.5 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
                              SNMPv2-MIB:ysORID.6 = OID: SNMP-FRAMEWORK-MIB:nmpFrameworkMIBCompliance
                              SNMPv2-MIB:ysORID.7 = OID: SNMP-MPD-MIB:nmpMPDCompliance
                              SNMPv2-MIB:ysORID.8 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
                              SNMPv2-MIB:ysORDescr.1 = STRING: The MIB module for SNMPv2 entities
                              SNMPv2-MIB:ysORDescr.2 = STRING: The MIB module for managing TCP implementations
                              SNMPv2-MIB:ysORDescr.3 = STRING: The MIB module for managing IP and ICMP implementations
                              SNMPv2-MIB:ysORDescr.4 = STRING: The MIB module for managing UDP implementations
                              SNMPv2-MIB:ysORDescr.5 = STRING: View-based Access Control Model for SNMP.
                              SNMPv2-MIB:ysORDescr.6 = STRING: The SNMP Management Architecture MIB.
                              SNMPv2-MIB:ysORDescr.7 = STRING: The MIB for Message Processing and Dispatching.
                              SNMPv2-MIB:ysORDescr.8 = STRING: The management information definitions for the SNMP User-based Security Model.
                              SNMPv2-MIB:ysORUpTime.1 = Timeticks: (3) 0:00:00.03
                              SNMPv2-MIB:ysORUpTime.2 = Timeticks: (3) 0:00:00.03
                              SNMPv2-MIB:ysORUpTime.3 = Timeticks: (3) 0:00:00.03
                              SNMPv2-MIB:ysORUpTime.4 = Timeticks: (3) 0:00:00.03
                              SNMPv2-MIB:ysORUpTime.5 = Timeticks: (3) 0:00:00.03
                              SNMPv2-MIB:ysORUpTime.6 = Timeticks: (3) 0:00:00.03
                              SNMPv2-MIB:ysORUpTime.7 = Timeticks: (3) 0:00:00.03
                              SNMPv2-MIB:ysORUpTime.8 = Timeticks: (3) 0:00:00.03
                              [root@monitor ~]#
                              ---------------------------------------------------------------------------------------------------------------------------

                              My Snmpd.conf file :-
                              ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++
                              # For more information, read the FAQ as well as the snmpd.conf(5)
                              # manual page.

                              ####
                              # First, map the community name "public" into a "security name"

                              # sec.name source community
                              com2sec notConfigUser default public
                              #com2sec readonly default public
                              ####
                              # Second, map the security name into a group name:

                              # groupName securityModel securityName
                              group notConfigGroup v1 notConfigUser
                              group notConfigGroup v2c notConfigUser

                              ####
                              # Third, create a view for us to let the group have rights to:

                              # Make at least snmpwalk -v 1 localhost -c public system fast again.
                              # name incl/excl subtree mask(optional)
                              #view systemview included .1.3.6.1.2.1.1
                              #view systemview included .1.3.6.1.2.1.25.1.1
                              view all included .1
                              ####
                              # Finally, grant the group read-only access to the systemview view.

                              # group context sec.model sec.level prefix read write notif
                              access notConfigGroup "" any noauth exact all none none

                              # -----------------------------------------------------------------------------

                              # Here is a commented out example configuration that allows less
                              # restrictive access.

                              # YOU SHOULD CHANGE THE "COMMUNITY" TOKEN BELOW TO A NEW KEYWORD ONLY
                              # KNOWN AT YOUR SITE. YOU *MUST* CHANGE THE NETWORK TOKEN BELOW TO
                              # SOMETHING REFLECTING YOUR LOCAL NETWORK ADDRESS SPACE.

                              ## sec.name source community
                              #com2sec local localhost COMMUNITY
                              #com2sec mynetwork NETWORK/24 COMMUNITY

                              ## group.name sec.model sec.name
                              #group MyRWGroup any local
                              #group MyROGroup any mynetwork
                              #
                              #group MyRWGroup any otherv3user
                              #...

                              ## incl/excl subtree mask
                              view all included .1 80

                              ## -or just the mib2 tree-

                              #view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc


                              ## context sec.model sec.level prefix read write notif
                              #access MyROGroup "" any noauth 0 all none none
                              #access MyRWGroup "" any noauth 0 all all all
                              access notConfigGroup "" any noauth exact all none none

                              ################################################## #############################
                              # Sample configuration to make net-snmpd RFC 1213.
                              # Unfortunately v1 and v2c don't allow any user based authentification, so
                              # opening up the default config is not an option from a security point.
                              #
                              ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++

                              Please help me still i am not able to monitor my remote hosts.

                              Thanks..

                              Comment

                              Working...
                              X