Send netdisco-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/netdisco-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 netdisco-users digest..."
Today's Topics:
1. Re: Error During Update (matthew jennings)
2. Re: Error During Update (Oliver Gorwits)
3. Docker (development)
4. Re: IBM BNT device version number problem (Andy Ruhl)
5. Re: Port Report Help (Tobias Gerlach)
6. Re: [netdisco-devel] Docker (development)
--- Begin Message ---
have you tried sudo ~/bin/localenv cpanm --notest App::Netdisco ?
From: [email protected]
Date: Sat, 9 May 2015 13:30:25 +0200
To: [email protected]
Subject: [Netdisco] Error During Update
Hi,
I`f installed version 2.032002 a few weeks back.Now i want to upgrade to
2.032003.
I`f logged in as the netdisco user.If I execute the update command
"~/bin/localenv cpanm --notest App::Netdisco”I`m receiving the following error:
"/root: Permission denied at /home/netdisco/perl5/bin/cpanm line 118.”
What do in need to do to get permissions?
Thanks in advanced.GreetingsPalermo
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users
--- End Message ---
--- Begin Message ---
Bavo,
Something along those lines, it seems to me that you installed Netdisco
originally as the root user and not the netdisco user. That could make
commands such as cpanm want to go back to /root (home for root user)
when later run as the netdisco user.
If that's the case, then you can reinstall in netdisco user's home
directory, and point at the same database. Just stop one web daemon and
start the other.
My advice is not to run Netdisco as root, of course.
regards,
oliver.
On 2015-05-09 15:02, matthew jennings wrote:
have you tried sudo ~/bin/localenv cpanm --notest App::Netdisco ?
-------------------------
From: [email protected]
Date: Sat, 9 May 2015 13:30:25 +0200
To: [email protected]
Subject: [Netdisco] Error During Update
Hi,
I`f installed version 2.032002 a few weeks back.
Now i want to upgrade to 2.032003.
I`f logged in as the netdisco user.
If I execute the update command "~/bin/localenv cpanm --notest
App::Netdisco”
I`m receiving the following error: "/root: Permission denied at
/home/netdisco/perl5/bin/cpanm line 118.”
What do in need to do to get permissions?
Thanks in advanced.
Greetings
Palermo
------------------------------------------------------------------------------
One dashboard for servers and applications across
Physical-Virtual-Cloud Widest out-of-the-box monitoring support with
50+ applications Performance metrics, stats and reports that give you
Actionable Insights Deep dive visibility with transaction tracing
using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________ Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users
--- End Message ---
--- Begin Message ---
Has anyone thought about (or better yet, implemented) a Docker container for
NetDisco? We may have need for this, and would certainly prefer to start with
someone else's container, rather than starting from scratch. Thanks.
Mike Callaghan
--- End Message ---
--- Begin Message ---
On Thu, May 7, 2015 at 1:34 PM, Andy Ruhl <[email protected]> wrote:
> I have some IBM BNT devices which don't show their os_ver numbers in
> netdisco properly. The G8124 device works, the G8052 and G8264 devices
> don't.
>
> For example:
>
> netdisco=> select model,os,os_ver from device where ip='IP1';
> model | os | os_ver
> ---------+-----+--------
> G8124-E | ibm | 7.11.1
> (1 row)
>
> netdisco=> select model,os,os_ver from device where ip='IP2';
> model | os | os_ver
> -------+-----+--------
> G8052 | ibm |
> (1 row)
>
> netdisco=> select model,os,os_ver from device where ip='IP3';
> model | os | os_ver
> --------------+-----+--------
> G8264, Stack | ibm |
>
> The correct data shows up in bulkwalk:
>
> $ snmpbulkwalk -v2c -c public IP1 | egrep "version|G8124"
> SNMPv2-MIB::sysDescr.0 = STRING: IBM Networking Operating System
> RackSwitch G8124-E
> HOST-RESOURCES-MIB::hrDeviceDescr.2 = STRING: image1, version 7.11.1,
> downloaded 6:47:01 Fri Mar 13, 2015
> HOST-RESOURCES-MIB::hrDeviceDescr.3 = STRING: image2, version 7.11.1,
> downloaded 6:49:34 Fri Mar 13, 2015
> HOST-RESOURCES-MIB::hrDeviceDescr.4 = STRING: linux-kernel, version 7.11.1
> SNMPv2-SMI::mib-2.47.1.1.1.1.2.1 = STRING: "IBM Networking Operating
> System RackSwitch G8124-E"
> SNMPv2-SMI::mib-2.47.1.1.1.1.7.1 = STRING: "RS G8124-E"
> $ snmpbulkwalk -v2c -c public IP2 | egrep "version|G8052"
> SNMPv2-MIB::sysDescr.0 = STRING: IBM Networking Operating System
> RackSwitch G8052
> HOST-RESOURCES-MIB::hrDeviceDescr.2 = STRING: image1, version 7.11.2,
> downloaded 6:16:37 Fri Mar 13, 2015
> HOST-RESOURCES-MIB::hrDeviceDescr.3 = STRING: image2, version 7.11.2,
> downloaded 6:19:08 Fri Mar 13, 2015
> HOST-RESOURCES-MIB::hrDeviceDescr.4 = STRING: linux-kernel, version 7.11.2
> SNMPv2-SMI::mib-2.47.1.1.1.1.2.1 = STRING: "IBM Networking Operating
> System RackSwitch G8052"
> SNMPv2-SMI::mib-2.47.1.1.1.1.7.1 = STRING: "RS G8052"
> $ snmpbulkwalk -v2c -c public IP3 | egrep "version|G8264"
> SNMPv2-MIB::sysDescr.0 = STRING: IBM Networking Operating System
> RackSwitch G8264, Stack
> HOST-RESOURCES-MIB::hrDeviceDescr.2 = STRING: image1, version 7.11.1,
> downloaded 17:35:51 Sat Dec 31, 2000
> HOST-RESOURCES-MIB::hrDeviceDescr.3 = STRING: image2, version 7.11.1,
> downloaded 13:25:24 Thu May 7, 2015
> HOST-RESOURCES-MIB::hrDeviceDescr.4 = STRING: linux-kernel, version 7.11.1
> SNMPv2-SMI::mib-2.47.1.1.1.1.2.1 = STRING: "IBM Networking Operating
> System RackSwitch G8264, Stack"
> SNMPv2-SMI::mib-2.47.1.1.1.1.2.156 = STRING: "IBM Networking Operating
> System RackSwitch G8264, Stack"
> SNMPv2-SMI::mib-2.47.1.1.1.1.7.1 = STRING: "RS G8264"
> SNMPv2-SMI::mib-2.47.1.1.1.1.7.156 = STRING: "RS G8264"
>
> Is it possible to fix this?
>
>
>
Sorry, this is an OS version, not model number problem as the previous
subject states.
Some more info. Here is discover with -DISQ for the device that works:
SNMP::Info::_global agSoftwareVersion :
IBM-GbTOR-10G-L2L3-MIB::agSoftwareVersion.0 :
.1.3.6.1.4.1.26543.2.7.4.1.1.1.10.0
Here's the same info for one that doesn't:
SNMP::Info::_global agSoftwareVersion :
IBM-GbTOR-10G-L2L3-MIB::agSoftwareVersion.0 :
.1.3.6.1.4.1.26543.2.7.4.1.1.1.10.0
SNMP::Info::_global(agSoftwareVersion) NOSUCHOBJECT at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Core/Discover.pm line 152.
That's the wrong MIB file for that device. I put the correct MIB files in
the netdisco-mibs/ibm directory. How do I get netdisco to use the correct
one? Is that even the problem?
Thanks.
Andy
--- End Message ---
--- Begin Message ---
Working now! :)
Problem was indeed that there was an indent problem within the SQL
query where YAML was not happy with.
Also there was need to change the GROUP BY statement from
GROUP BY t1.region,t1.country,t1.site,t1.zone,speed,up
to
GROUP BY region,country,site,zone,speed,up
and also delete the "t1." string in the column report section.
Thanks Oliver for the hint!
--- End Message ---
--- Begin Message ---
I guess it's been awhile since I installed it. You make a valid point, though.
Is there a similar install for RHEL/CentOS? I'm required to use that in my
environment. Thanks.
Mike
________________________________________
From: Jeroen Massar [[email protected]]
Sent: Tuesday, May 12, 2015 10:53 AM
To: development; [email protected]
Cc: [email protected]
Subject: Re: [netdisco-devel] Docker
On 2015-05-12 15:42, development wrote:
> Has anyone thought about (or better yet, implemented) a Docker container
> for NetDisco? We may have need for this, and would certainly prefer to
> start with someone else's container, rather than starting from scratch.
> Thanks.
What about good old:
apt-get install netdisco? :)
Especially, as when you are going to 'upgrade' your "Docker" you will
just replace the old one and thus are throwing away all the collected data.
Next to that, configs can be quite individual, hence you'll have to tune
a lot of knobs.
Greets,
Jeroen
--- End Message ---
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users