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: Install/Upgrade version 2 (Oliver Gorwits)
2. Re: NetDisco on a Windows box.. (Oliver Gorwits)
3. Re: Mac addresses on "IP Inventory" report? (Oliver Gorwits)
4. Issue with netdisco-deploy while upgrading from 1.x to 2.x
(Troendle, Dirk (SCC))
5. Reports > Device > By Location Issue (Robert Beer)
6. Re: Issue with netdisco-deploy while upgrading from 1.x to
2.x (Oliver Gorwits)
7. Re: Reports > Device > By Location Issue (Oliver Gorwits)
--- Begin Message ---
Hi,
Sorry for the confusion about where to start in the docs, this will be
more clear in the next release.
For now I suggest you delete everything in your Netdisco user's home
area and then start from the instructions at the very top (including
installing needed RPMs):
https://metacpan.org/pod/App::Netdisco
regards,
oliver,
On 2014-10-03 16:03, Jim Glassford wrote:
Greetings,
Trying to get Netdisco 2.007000_001 setup on RedHat SELinux
2.6.18-398.el5 running in a VM.
Had a Linux admin that setup version 1.1, just about the time
version
2 started. Since then, the admin had left for greener pastures and I
just waited a while, planned to go to version 2. So I have limited
knowledge on the Linux so please forgive my ignorance.
# netdisco -v
n e t d i s c o
--------------------------------------------------
Netdisco Version : 1.1
SNMP::Info Version : 2.09
Net-SNMP Version : 5.03022
Perl Version : 5.8.8
Following instructions at:
<http://search.cpan.org/~oliver/App-Netdisco-2.007000_001/lib/App/Netdisco.pm#Installation>
[1]
~~ I tried to start at the Upgrading section but had perl issue
reported
Removing previously used
/usr/share/netdisco/.cpan/build/App-Netdisco-2.029009
CPAN.pm: Going to build O/OL/OLIVER/App-Netdisco-2.029009.tar.gz
ERROR: perl: Version 5.008008 is installed, but we need version >=
5.010 at inc/Module/Install/Makefile.pm line 208.
Running make test
Make had some problems, maybe interrupted? Won't test
-sh-3.2$
~~ So I moved up the page to the install but got the below warnings:
# su - netdisco
# curl -L http://cpanmin.us/ | perl - --notest --verbose --local-lib
~/perl5 App::Netdisco
~~ All seems ok above here but got the Warning below?
Using included version of ExtUtils::Command (1.16) as it is newer
than the installed version (1.09).
Using included version of File::Copy::Recursive (0.38) because it is
not already installed.
Using included version of File::Temp (0.22) as it is newer than the
installed version (0.16).
Checking if your kit is complete...
WARNING: THE FOLLOWING FILES ARE MISSING IN YOUR KIT:
't/liblist/win32/di
't/liblist/win32/space
Please inform the author.
Generating a Unix-style Makefile
Writing Makefile for ExtUtils::MakeMaker
Writing MYMETA.yml and MYMETA.json
OK
Checking dependencies from MYMETA.json ...
Finding PREREQ from Makefile ...
Checking if you have Pod::Man 0 ... Version '2.28' from
/usr/lib/perl5/5.8.8/Pod/Man.pm does not appear to be valid:
BEGIN { my $dummy = q# Hide from _packages_inside()
#; package Module::Metadata::_version::p4;
use version;
no strict;
no warnings;
$vsub = sub {
local $VERSION;
$VERSION=undef;
$VERSION = '2.28';;
$VERSION
};
}
The fatal error was: Can't call method "thischar" without a package
or object reference at - line 471, <$handle> line 39.
at - line 130
at - line 130
-sh-3.2$
Not sure on these, any input appreciated and thanks in advanced!
jim
Links:
------
[1]
http://search.cpan.org/~oliver/App-Netdisco-2.007000_001/lib/App/Netdisco.pm#Installation
--- End Message ---
--- Begin Message ---
Hi Ed,
Most of Netdisco should work on Windows, but there might be some small
corners where assumptions are made!
It will probably have to wait for me to have some time to try it on my
Windows laptop one day, unless you want to give it a go (however I don't
think you'll get much support here, unless someone else is already
lurking and waiting for the same thing!).
regards,
oliver.
On 2014-10-01 20:29, Edward J. Marshall wrote:
Hi All,
Anyone put NetDisco on a Windows machine by chance?
Thanks,
-Ed
-------------------------
Confidentiality: The information contained in this electronic mail
message and any attachments is intended only for the use of the
individual or entity to which is addressed and my contain legally
privileged, confidential information or work product. If the reader
of
this message is not the intended recipient, you are hereby notified
that any use, dissemination, distribution, or forwarding of the
E-mail
message is strictly prohibited. If you have received this message in
error, please notify me by E-mail reply, and delete the original
message from your system.
--- End Message ---
--- Begin Message ---
Hi Ken,
Please start a new thread in future, the previous emails were for a
different question altogether.
For your question, please could you find an IP you're expecting to see,
and turn on archive data, and see what date Netdisco last saw the node?
It's best to start troubleshooting with something you expect to see,
then to dig to find out why it's not shown.
BTW, yes, the report looks at the last time the node was seen, and
checks it's between the start/end dates in the query.
regards,
oliver.
On 2014-10-02 20:26, Deshong, Kenneth wrote:
I’m using Netdisco release 2.029007 and out of curiosity I ran the IP
Inventory report but I’m getting less than optimal results. Maybe
something isn’t set correctly on my server.
I’m running it against a /24 network which has about 150 active
clients and has a DHCP lease time of 24 hours. When I run the report
and pick last 7 days, my report only comes back with 33 entries.
Shouldn’t it come back with every client that has been active in the
past 7 days?
Ken DeShong
Network Engineer
USF Health Information Systems
Amazing Things Happen When You Connect the Unconnected
From: Falk [mailto:[email protected]]
Sent: Thursday, October 02, 2014 1:13 PM
To: [email protected]
Subject: Re: [Netdisco] Mac addresses on "IP Inventory" report?
Hi,
Thanks for the share.
This will help us when we continue our inventory of mac addresses
before rolling out dot1x on switches.
Going to try this out @ work tomorrow..
--
Regards Falk
2014-10-01 16:52 GMT+02:00 Cardinal-Richards, Emma
<[email protected]>:
I've written a custom report for this (shown below) but as you can
imagine, loading a whole /16 makes netdisco a bit grumpy (well at
least on my little dev machine) so it would be great if we could have
it as an extra field on the IP Inventory report page. If you have a
smaller range this report might work fine though.
label: 'IP inventory of x.x.x.x/16'
columns:
- {ip: 'IP Address'}
- {dns: 'DNS'}
- {mac: 'MAC Address'}
- {time_last: 'Time last seen'}
query: |
SELECT DISTINCT ON (ip) ip, dns, mac, time_last
FROM node_ip
WHERE ip << inet 'x.x.x.x/16'
ORDER BY inet(ip), time_last desc
Cheers,
Emma
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS
Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users
--- End Message ---
--- Begin Message ---
Hello,
I am trying to upgrade from 1.x to 2.x while following this documentation:
https://metacpan.org/pod/App::Netdisco
I ran into a problem while trying to use the deploy script:
~/bin/netdisco-deploy
This is the output I get:
Would you like to deploy or upgrade your database schema? [y/N]: y
DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently
unversioned. Please call upgrade on your schema to sync the DB. at
/var/lib/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 62
DBIx::Class::Storage::DBI::deploy(): DBIx::Class::Storage::DBI::deploy(): DBI
Exception (unhandled by DBIC, ::Schema GCed): DBD::Pg::db do failed: ERROR:
current transaction is aborted, commands ignored until end of transaction block
at /var/lib/netdisco/perl5/bin/netdisco-db-deploy line 88
(running "CREATE TABLE dbix_class_schema_versions (
version character varying(10) NOT NULL,
installed character varying(20) NOT NULL,
PRIMARY KEY (version)
)") at /var/lib/netdisco/perl5/bin/netdisco-db-deploy line 88
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception (unhandled by DBIC,
::Schema GCed): DBD::Pg::st execute failed: ERROR: current transaction is
aborted, commands ignored until end of transaction block [for Statement "INSERT
INTO dbix_class_schema_versions ( installed, version) VALUES ( ?, ? )" with
ParamValues: 1='v20141006_172152.159', 2='1'] at
/var/lib/netdisco/perl5/bin/netdisco-db-deploy line 88
DB schema update complete.
DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently
unversioned. Please call upgrade on your schema to sync the DB. at
/var/lib/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 62
I already tried editing the 'pg_hba.conf' and 'environment/deployment.yml'
without success.
Has anyone an idea how to solve this?
best regards,
Dirk
--- End Message ---
--- Begin Message ---
I just upgraded to 2.029009 an the Reports > Device > By Location screen is
blank. I turned on logging and this error came out:
[11451] 2014-10-06 15:32:44 error request to GET /ajax/userlog crashed: Can't
call method "status" on unblessed reference at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Web/PortControl.pm line 70.
--
Bob Beer <[email protected]>
Ohio Northern University, Information Technology, Ada, OH 45810
--- End Message ---
--- Begin Message ---
Hi Dirk,
I'm sorry about that bug. You can work around it by issueing the
following command:
~netdisco/bin/localenv cpanm --notest --force DBIx::[email protected]
We seem to have caught a regression in the upstream library, and this
command will downgrade it to the earlier release. I'm going to find the
root cause and issue a fixed version or patch upstream in due course.
regards,
oliver.
On 2014-10-06 18:29, Troendle, Dirk (SCC) wrote:
Hello,
I am trying to upgrade from 1.x to 2.x while following this
documentation:
https://metacpan.org/pod/App::Netdisco
I ran into a problem while trying to use the deploy script:
~/bin/netdisco-deploy
This is the output I get:
Would you like to deploy or upgrade your database schema? [y/N]: y
DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently
unversioned. Please call upgrade on your schema to sync the DB. at
/var/lib/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 62
DBIx::Class::Storage::DBI::deploy():
DBIx::Class::Storage::DBI::deploy(): DBI Exception (unhandled by
DBIC,
::Schema GCed): DBD::Pg::db do failed: ERROR: current transaction is
aborted, commands ignored until end of transaction block at
/var/lib/netdisco/perl5/bin/netdisco-db-deploy line 88
(running "CREATE TABLE dbix_class_schema_versions (
version character varying(10) NOT NULL,
installed character varying(20) NOT NULL,
PRIMARY KEY (version)
)") at /var/lib/netdisco/perl5/bin/netdisco-db-deploy line 88
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception (unhandled
by DBIC, ::Schema GCed): DBD::Pg::st execute failed: ERROR: current
transaction is aborted, commands ignored until end of transaction
block [for Statement "INSERT INTO dbix_class_schema_versions (
installed, version) VALUES ( ?, ? )" with ParamValues:
1='v20141006_172152.159', 2='1'] at
/var/lib/netdisco/perl5/bin/netdisco-db-deploy line 88
DB schema update complete.
DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently
unversioned. Please call upgrade on your schema to sync the DB. at
/var/lib/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 62
I already tried editing the 'pg_hba.conf' and
'environment/deployment.yml' without success.
Has anyone an idea how to solve this?
best regards,
Dirk
------------------------------------------------------------------------------
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users
--- End Message ---
--- Begin Message ---
Hi Robert,
Are any other of the pages working at all? Can you run the
netdisco-deploy script OK?
It's just that another user found an issue when upgrading and I'm
surprised you didn't trip over it too. The fix is to run:
~netdisco/bin/localenv cpanm --notest --force DBIx::[email protected]
regards,
oliver.
On 2014-10-06 18:52, Robert Beer wrote:
I just upgraded to 2.029009 an the Reports > Device > By Location
screen is blank. I turned on logging and this error came out:
[11451] 2014-10-06 15:32:44 error request to GET /ajax/userlog
crashed: Can't call method "status" on unblessed reference at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Web/PortControl.pm line
70.
--- End Message ---
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users