Send Netdot-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-users digest..."


Today's Topics:

   1. Unable to document Cisco Nexus 7k (YUUNI, OSAY OSMAN)
   2. Re: arp cache discovery (Kirk Reeves)


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

Message: 1
Date: Mon, 8 Jul 2013 07:06:48 +0000
From: "YUUNI, OSAY OSMAN" <[email protected]>
Subject: [Netdot-users] Unable to document Cisco Nexus 7k
To: "[email protected]" <[email protected]>
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Hi,

Has anybody successfully documented Cisco Nexus 7000 with netdot?  I've tried 
discovering my two boxes but each time it returns "SNMP failed".  It's 
configured with SNMP v.3 and I've used the correct SNMP configurations (I 
think) but it fails each time.

This is what is in the nexus switch

snmp-server user admin network-admin auth md5 
0x9dffd34fa393dadb9871e87c712834ca priv 0x9dffd34fa393dadb9871e87c712834ca 
localizedkey
rmon event 1 log trap public description FATAL(1) owner PMON@FATAL
rmon event 2 log trap public description CRITICAL(2) owner PMON@CRITICAL
rmon event 3 log trap public description ERROR(3) owner PMON@ERROR
rmon event 4 log trap public description WARNING(4) owner PMON@WARNING
rmon event 5 log trap public description INFORMATION(5) owner PMON@INFO

This is what I configured when I try a new discovery

Name/IP: 10.29.133.1  --- this is the management IP
SNMP version: 3
Sec Name: admin
Sec Level: authPriv
Auth proto: MD5
Auth Pass: 0x9dffd34fa393dadb9871e87c712834ca
Priv Proto: DES
Priv Pass: 0x9dffd34fa393dadb9871e87c712834ca

When I click discover it comes back with "SNMP Failed".

Can anyone detect what I'm doing wrong?

TIA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://osl.uoregon.edu/pipermail/netdot-users/attachments/20130708/bd780bdd/attachment-0001.html
 

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

Message: 2
Date: Mon, 8 Jul 2013 14:14:34 -0400
From: Kirk Reeves <[email protected]>
Subject: Re: [Netdot-users] arp cache discovery
To: [email protected]
Message-ID:
        <caln2tl+fn1ms0xbswpwy61i8pzbrueizjaa-dzprsmynwjk...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

I figured out the issue.  This appears to be specific to Postgres

in Ipblock->fast_update

the SQL Statement

my $sth2 = $dbh->prepare_cached("INSERT INTO ipblock

(address,prefix,version,status,first_seen,last_seen)
                                           VALUES (?, ?, ?, ?, ?, ?)");

violates the NOT NULL constraint for columns "monitored" and
"use_network_broadcast"

a quick and dirty work around is

my $sth2 = $dbh->prepare_cached("INSERT INTO ipblock

(monitored,use_network_broadcast,address,prefix,version,status,first_seen,last_seen)
                                           VALUES (FALSE,FALSE,?, ?, ?, ?,
?, ?)");

Kirk


On Fri, Jul 5, 2013 at 5:23 PM, Kirk Reeves <[email protected]> wrote:

> I am currently reviewing netdot
>
> When running updatedevice.pl -H device -A -c community
>
> I get error adding ip addresses from the forwarding table to the arpcache
>
> DETAIL:  Failing row contains (30, 9683, 45, null, 1722). [for Statement
> "INSERT INTO arpcacheentry
>                                     (arpcache,interface,ipaddr,physaddr)
>                                     VALUES (?, ?,
>                                     (SELECT id FROM ipblock WHERE
> address=? AND PREFIX=? AND version=?),
>                                     (SELECT id FROM physaddr WHERE
> address=?))" with ParamValues: 1='30', 2='45', 3='2887007052', 4='32',
> 5='4', 6='0023AEA2B647'] at
> /usr/lib/perl5/vendor_perl/5.16.2/DBIx/ContextualFetch.pm line 52.
>
>
> Is this by design,  I reviewed the code and ip appears
> the ArpCacheEntry->fast_insert function is not setup to add "unknown" ip
> addresses.
>
> I am not running a release version just a clone of master from a few days
> ago.
>
> Thanks.
>
> Kirk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://osl.uoregon.edu/pipermail/netdot-users/attachments/20130708/1cdf1b20/attachment-0001.html
 

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

_______________________________________________
Netdot-users mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-users


End of Netdot-users Digest, Vol 56, Issue 7
*******************************************

Reply via email to