Page 1 of 3 123 LastLast
Results 1 to 10 of 22

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

  1. #1
    Join Date
    Mar 2010
    Location
    Jaipur,Rajasthan,India
    Posts
    11

    Question 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. #2
    Join Date
    Mar 2010
    Location
    Haute-Normandie
    Posts
    278

    Default

    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

  3. #3
    Join Date
    Mar 2010
    Location
    Jaipur,Rajasthan,India
    Posts
    11

    Question

    HI,

    I have received the following error :-

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

  4. #4
    Join Date
    Mar 2010
    Location
    Jaipur,Rajasthan,India
    Posts
    11

    Question

    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.
    Attached Images Attached Images
    • File Type: jpg 1.jpg (93.9 KB, 30 views)
    • File Type: jpg 2.jpg (76.8 KB, 21 views)

  5. #5
    Join Date
    Jul 2008
    Location
    France - Paris
    Posts
    4,329

    Default

    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 Community Manager
    Centreon Syslog Module Manager/Developper
    Centreon E2S Module Manager/Developper
    Centreon Enterprise Server (2.0 / 2.2 / 3.0) : Centreon Engine 1.3.x, Centreon Broker 2.6.x, Centreon 2.x, Centreon-Syslog 1.5.x, Centreon E2S 2.0
    Nagios 3.x et NDOutil 1.x

  6. #6
    Join Date
    Mar 2010
    Location
    Jaipur,Rajasthan,India
    Posts
    11

    Question

    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 1606 is running...

  7. #7
    Join Date
    Jul 2008
    Location
    France - Paris
    Posts
    4,329

    Default

    Network firewall ?
    Centreon Community Manager
    Centreon Syslog Module Manager/Developper
    Centreon E2S Module Manager/Developper
    Centreon Enterprise Server (2.0 / 2.2 / 3.0) : Centreon Engine 1.3.x, Centreon Broker 2.6.x, Centreon 2.x, Centreon-Syslog 1.5.x, Centreon E2S 2.0
    Nagios 3.x et NDOutil 1.x

  8. #8
    Join Date
    Dec 2004
    Location
    Montgeron
    Age
    38
    Posts
    1,129

    Default

    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

  9. #9
    Join Date
    Mar 2010
    Location
    Jaipur,Rajasthan,India
    Posts
    11

    Question

    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..

  10. #10
    Join Date
    Dec 2004
    Location
    Montgeron
    Age
    38
    Posts
    1,129

    Default

    Quote 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

Similar Threads

  1. Replies: 16
    Last Post: 16th May 2013, 15:23
  2. Replies: 3
    Last Post: 23rd February 2010, 11:04
  3. Replies: 5
    Last Post: 24th July 2009, 13:00
  4. Replies: 0
    Last Post: 4th October 2007, 21:57
  5. Replies: 6
    Last Post: 9th August 2005, 14:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •