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. Where to Install Netdisco MIBS? (Jiann-Ming Su)
   2. Re: Where to Install Netdisco MIBS? (Jiann-Ming Su)
   3. topology question (Jiann-Ming Su)
   4. Re: topology question (Jiann-Ming Su)
   5. Problems Moving DhcpScope into shared-network (Jiann-Ming Su)
   6. Re: Problems Moving DhcpScope into shared-network (Carlos Vicente)
   7. Re: topology question (Carlos Vicente)


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

Message: 1
Date: Thu, 9 Aug 2012 14:35:47 -0700 (PDT)
From: Jiann-Ming Su <[email protected]>
Subject: [Netdot-users] Where to Install Netdisco MIBS?
To: "[email protected]" <[email protected]>
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=iso-8859-1

Just tried discovering a device with 1.0.1 and got the following error:

updatedevice.html produced the following error:


The CISCO-STP-EXTENSIONS-MIB did not load. See README for 
SNMP::Info::Layer3::C6500
?at /usr/local/netdot/lib/Netdot/Model/Device.pm line 3807.

Stack:
? [/usr/local/share/perl5/Carp.pm:100]
? [/usr/share/perl5/vendor_perl/SNMP/Info.pm:2917]
? [/usr/share/perl5/vendor_perl/SNMP/Info.pm:995]
? [/usr/share/perl5/vendor_perl/SNMP/Info.pm:1623]
? [/usr/share/perl5/vendor_perl/SNMP/Info.pm:1030]
? [/usr/local/netdot/lib/Netdot/Model/Device.pm:3807]
? [/usr/local/netdot/lib/Netdot/Model/Device.pm:683]
? [/usr/local/netdot/htdocs/management/updatedevice.html:125]
? [/usr/local/netdot/htdocs/management/autohandler:81]
? [/usr/local/share/perl5/HTML/Mason/Request.pm:951]
? 
[/usr/local/netdot/htdocs/masondata/obj/1292882063/management/autohandler.obj:21]
? [/usr/local/netdot/htdocs/autohandler:76]


I downloaded the netdisco-mibs but am not sure where to install it.? SNMP mibs 
usually go in /usr/share/snmp/mibs.? Should the netdisco mibs be put somewhere 
more specific to netdot?




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

Message: 2
Date: Thu, 9 Aug 2012 14:53:33 -0700 (PDT)
From: Jiann-Ming Su <[email protected]>
Subject: Re: [Netdot-users] Where to Install Netdisco MIBS?
To: "[email protected]" <[email protected]>
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=iso-8859-1

Nevermind, found the SNMP_MIBS_PATH variable in Sites.conf.



----- Original Message -----
> From: Jiann-Ming Su <[email protected]>
> To: "[email protected]" <[email protected]>
> Cc: 
> Sent: Thursday, August 9, 2012 5:35 PM
> Subject: [Netdot-users] Where to Install Netdisco MIBS?
> 
> Just tried discovering a device with 1.0.1 and got the following error:
> 
> updatedevice.html produced the following error:
> 
> 
> The CISCO-STP-EXTENSIONS-MIB did not load. See README for 
> SNMP::Info::Layer3::C6500
> ?at /usr/local/netdot/lib/Netdot/Model/Device.pm line 3807.
> 
> Stack:
> ? [/usr/local/share/perl5/Carp.pm:100]
> ? [/usr/share/perl5/vendor_perl/SNMP/Info.pm:2917]
> ? [/usr/share/perl5/vendor_perl/SNMP/Info.pm:995]
> ? [/usr/share/perl5/vendor_perl/SNMP/Info.pm:1623]
> ? [/usr/share/perl5/vendor_perl/SNMP/Info.pm:1030]
> ? [/usr/local/netdot/lib/Netdot/Model/Device.pm:3807]
> ? [/usr/local/netdot/lib/Netdot/Model/Device.pm:683]
> ? [/usr/local/netdot/htdocs/management/updatedevice.html:125]
> ? [/usr/local/netdot/htdocs/management/autohandler:81]
> ? [/usr/local/share/perl5/HTML/Mason/Request.pm:951]
> ? 
> [/usr/local/netdot/htdocs/masondata/obj/1292882063/management/autohandler.obj:21]
> ? [/usr/local/netdot/htdocs/autohandler:76]
> 
> 
> I downloaded the netdisco-mibs but am not sure where to install it.? SNMP 
> mibs 
> usually go in /usr/share/snmp/mibs.? Should the netdisco mibs be put 
> somewhere 
> more specific to netdot?
> 
> 
> _______________________________________________
> Netdot-users mailing list
> [email protected]
> https://osl.uoregon.edu/mailman/listinfo/netdot-users
> 



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

Message: 3
Date: Thu, 9 Aug 2012 17:01:28 -0700 (PDT)
From: Jiann-Ming Su <[email protected]>
Subject: [Netdot-users] topology question
To: "[email protected]" <[email protected]>
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=us-ascii

When I try to view topology from one of the devices, I get:


device.html produced the following error: 
Cannot find root device: localhost 
"localhost" is also listed in the "Reference Point" field.  "Reference Point" 
should be any one of the devices that Netdot has discovered, right?

If I change the reference point to one of the devices, I get a connection reset:

[Thu Aug 09 19:57:33 2012] [error] [client 10.231.24.248] 
Apache2::RequestIO::print: (103) Software caused connection abort at 
/usr/local/share/perl5/HTML/Mason/ApacheHandler.pm line 1020, referer: 
https://mynetdot/netdot/management/device.html?id=4&view=Topology


Thanks for any clarification.



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

Message: 4
Date: Thu, 9 Aug 2012 22:21:43 -0700 (PDT)
From: Jiann-Ming Su <[email protected]>
Subject: Re: [Netdot-users] topology question
To: Jiann-Ming Su <[email protected]>,   "[email protected]"
        <[email protected]>
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=iso-8859-1



Ugh... the connection reset is a SELinux policy problem.? Setting to permissive 
for now.


----- Original Message -----
> From: Jiann-Ming Su <[email protected]>
> To: "[email protected]" <[email protected]>
> Cc: 
> Sent: Thursday, August 9, 2012 8:01 PM
> Subject: [Netdot-users] topology question
> 
> When I try to view topology from one of the devices, I get:
> 
> 
> device.html produced the following error: 
> Cannot find root device: localhost 
> "localhost" is also listed in the "Reference Point" field.? 
> "Reference Point" should be any one of the devices that Netdot has 
> discovered, right?
> 
> If I change the reference point to one of the devices, I get a connection 
> reset:
> 
> [Thu Aug 09 19:57:33 2012] [error] [client 10.231.24.248] 
> Apache2::RequestIO::print: (103) Software caused connection abort at 
> /usr/local/share/perl5/HTML/Mason/ApacheHandler.pm line 1020, referer: 
> https://mynetdot/netdot/management/device.html?id=4&view=Topology
> 
> 
> Thanks for any clarification.
> 
> _______________________________________________
> Netdot-users mailing list
> [email protected]
> https://osl.uoregon.edu/mailman/listinfo/netdot-users
> 



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

Message: 5
Date: Fri, 10 Aug 2012 00:04:46 -0700 (PDT)
From: Jiann-Ming Su <[email protected]>
Subject: [Netdot-users] Problems Moving DhcpScope into shared-network
To: "[email protected]" <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=iso-8859-1

Trying to move a DhcpScope currently in a global container scope into a 
shared-network that also belongs in the same global container scope.? I click 
edit on the DhcpScope, then select the shared-network from the container scope 
pulldown.? I click update, and get the following:



edit.html produced the following error: 
Transaction aborted: 10.10.201.0 netmask 255.255.255.0: IP version in subnet 
scope does not match IP version in container 
Please go back and try again. 


It's not possible to set the IP version for the shared-network since it's not a 
global container.? What am I doing wrong?




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

Message: 6
Date: Fri, 10 Aug 2012 09:50:08 -0400
From: Carlos Vicente <[email protected]>
Subject: Re: [Netdot-users] Problems Moving DhcpScope into
        shared-network
To: Jiann-Ming Su <[email protected]>
Cc: "[email protected]" <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

Hi Jiann-Ming.

Yes, that is a bug.

Normally (assuming your routers are properly discovered) Netdot detects
shared-networks when you click on the DHCP [enable] button of a subnet,
so changing a subnet's container like that is not common.

I have just fixed it. The diff is below in case you want to patch your
code now.

Thank you.

cv


- Log -----------------------------------------------------------------
commit 8fe5a3e0928cf7ed63e0d4f1b19acc51f2c0bf9a
Author: Carlos Vicente <[email protected]>
Date:   Fri Aug 10 09:44:55 2012 -0400

    Fixed bug in DhcpScope. Moving a subnet within a shared-network
complained about invalid IP version

diff --git a/lib/Netdot/Model/DhcpScope.pm b/lib/Netdot/Model/DhcpScope.pm
index 3ab9c90..4f44f9d 100644
--- a/lib/Netdot/Model/DhcpScope.pm
+++ b/lib/Netdot/Model/DhcpScope.pm
@@ -552,7 +552,7 @@ sub _validate_args {
     if ( $type eq 'host' ){
        if ( $fields{ipblock} ){
            if ( $fields{ipblock}->version == 4 && !$fields{physaddr} ){
-               $self->throw_user("$name: an IPv4 host scope requires an 
ethernet
addres");
+               $self->throw_user("$name: an IPv4 host scope requires an 
ethernet
address");
            }
            if ( $fields{ipblock}->version == 6 && !$fields{duid} &&
!$fields{physaddr} ){
                $self->throw_user("$name: an IPv6 host scope requires a DUID or
ethernet address");
@@ -610,9 +610,10 @@ sub _validate_args {
        $self->throw_user("$name: Subnet IP block not defined")
            unless $fields{ipblock};

-       if ( $fields{ipblock}->version != $fields{container}->version ){
+       if ( $fields{container}->type->name eq 'global' &&
+            $fields{ipblock}->version != $fields{container}->version ){
            $self->throw_user("$name: IP version in subnet scope does not
match IP version in container");
-       }       
+       }
     }elsif ( $type eq 'global' ){
        $argv->{version} = $fields{version} || 4;
        if ( $argv->{version} != 4 && $argv->{version} != 6 ){

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

Summary of changes:
 lib/Netdot/Model/DhcpScope.pm |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)



On 8/10/12 3:04 AM, Jiann-Ming Su wrote:
> Trying to move a DhcpScope currently in a global container scope into a 
> shared-network that also belongs in the same global container scope.  I click 
> edit on the DhcpScope, then select the shared-network from the container 
> scope pulldown.  I click update, and get the following:
> 
> 
> 
> edit.html produced the following error: 
> Transaction aborted: 10.10.201.0 netmask 255.255.255.0: IP version in subnet 
> scope does not match IP version in container 
> Please go back and try again. 
> 
> 
> It's not possible to set the IP version for the shared-network since it's not 
> a global container.  What am I doing wrong?
> 
> 
> _______________________________________________
> Netdot-users mailing list
> [email protected]
> https://osl.uoregon.edu/mailman/listinfo/netdot-users
> 


-- 
cv


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

Message: 7
Date: Fri, 10 Aug 2012 09:52:26 -0400
From: Carlos Vicente <[email protected]>
Subject: Re: [Netdot-users] topology question
To: Jiann-Ming Su <[email protected]>
Cc: "[email protected]" <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

On 8/9/12 8:01 PM, Jiann-Ming Su wrote:
> device.html produced the following error: 
> Cannot find root device: localhost 

You should edit your Site.conf and set "NMS_DEVICE" to the name of one
of your existing devices, which will be the root of your graph.

-- 
cv


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

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


End of Netdot-users Digest, Vol 45, Issue 9
*******************************************

Reply via email to