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: Port Control Issue (Oliver Gorwits)
   2. Re: Discover CLI vs Web Inconsistency (Oliver Gorwits)
   3. Re: New user - trying v2 - some problems (Oliver Gorwits)
   4. Re: Netdisco on FreeBSD (Kris Jacobs)
   5. Re: 2 Questions: wrong deployment.yml location and        Cisco
      ASA5585 Arpnip/Macsuck (Sebastian R?sch)
   6. Netdisco 2 on BSD (FreeBSD and NetBSD for now) (Andy Ruhl)
--- Begin Message ---
Hi,

I believe we recently squashed a bug around the setting of VLANs on ports. Please would you upgrade (both App::Netdisco and SNMP::Info) and try again?

~netdisco/bin/localenv cpanm --notest SNMP::Info App::Netdisco
~netdisco/bin/netdisco-daemon restart

regards,
oliver.

On 2014-12-12 20:19, Deshong, Kenneth wrote:
I haven't used this feature since I upgraded to 2.0 but I tried to
change a VLAN on a switchport today through the web interface and the
job queue was green and I got no errors but the change never occured
on the switch. Here is a copy of my deployment.yml section dealing
with snmp.

What else should I check?

# SNMP community string(s)
 # ````````````````````````
 snmp_auth:
 - tag: 'v2default'
 community: 'mystring'
 read: true
 write: false
 - tag: 'v2default_rw'
 community: 'mystringwr'
 read: true
 write: true




--- End Message ---
--- Begin Message ---
Hi E,

On 2014-12-15 21:07, inetjunkmail wrote:
Is there any other feedback on this?  Can I crank up debugging or
look at any logs with regard to the discover process when launched by
the daemon?

Sorry for the lack of response. To get additional logging out of the daemon you need to stop and restart it with some new settings and environment parameters:

add this to your config:
log: "debug"

~netdisco/bin/netdisco-daemon stop
INFO_TRACE=1 ~netdisco/bin/netdisco-daemon start

That should send a lot more output to ~netdisco/logs/netdisco-daemon.log

You can compare this to running netdisco-do using its debug flags as documented:
https://metacpan.org/pod/distribution/App-Netdisco/bin/netdisco-do#DEBUG-LEVELS

regards,
oliver.


On Tue, Dec 9, 2014 at 8:51 AM, inetjunkmail <[email protected]
[7]> wrote:

Hey:

If I look in my job "Undiscovered Devices" report, I see devices
that I think should be discovered.  If I go the the CLI and launch
a discovery with a ./bin/netdisco-do discover -D -d w.x.y.z, it
completes seemingly successfully.  If I then go launch a discovery
via the web interface, the job reports failure in the job queue. 
The error is "could not SNMP connect to w.x.y.z".  snmpwalks and
CLI discoveries seem fine but the demonized discoveries and manually
triggered web interface discoveries generate errors.  

Is there a difference between the two?  Is there some log I can
look at to get more insight into why the web is failing?  The vast
majority of discoveries to the same kinds of devices on the same
network are successful either way.

SOFTWARE
VERSION

2.029012

DB SCHEMA [1]
V39

DANCER [2]
1.3126

BOOTSTRAP [3]
2.3.1

POSTGRESQL [4]
PostgreSQL 9.2.7 on x86_64-redhat-linux-gnu, compiled by gcc (GCC)
4.8.2 20140120 (Red Hat 4.8.2-16), 64-bit.
 DBI 1.631, DBD::Pg 2.19.3

SNMP::INFO [5]
3.20

PERL [6]
5.016003

Thanks for any help,
E


Links:
------
[1] https://metacpan.org/module/netdisco-db-deploy
[2] http://http//perldancer.org/
[3] http://getbootstrap.com/
[4] http://www.postgresql.org/
[5] http://snmp-info.sourceforge.net/
[6] http://www.perl.org/
[7] mailto:[email protected]




--- End Message ---
--- Begin Message ---
On 2014-11-26 20:06, Joseph Bernard wrote:
I just ran into the lack of “net-snmp-devel” at the Dependencies step
when installing on Oracle Linux 7.  I didn’t see it mentioned on the
website but found it here in the mailing list.  I’m guessing it’s a
change with el7 stuff.

Many thanks for letting us know, I'll get this added to the docs for redhat/fedora based OS.

regards,
oliver.


Thanks,
Joseph B.


On Sep 24, 2014, at 3:59 PM, Andy Ruhl <[email protected]> wrote:

On Wed, Sep 24, 2014 at 12:54 PM, Oliver Gorwits <[email protected]> wrote:
On 2014-09-24 20:32, Andy Ruhl wrote:
I'm new to cpanm as well, so I'm struggling to find out how it is
supposed to install whatever plugin or piece that includes
default_store.pm.

Ah, hang on, have you installed the system packages requested in the docs, particularly the net-snmp package? This is not Perl via CPAN, it's
an RPM or .deb (if you're on Linux):

On Ubuntu/Debian:
root:~# apt-get install libdbd-pg-perl libsnmp-perl build-essential

On Fedora/Red-Hat:
root:~# yum install perl-core perl-DBD-Pg net-snmp-perl make automake
gcc

Yeah, I did that.

On my particular system (RHEL7) I had to yum install net-snmp-devel as
well in order to get the net-snmp-config command.

Probably you should add that to your documentation.

Andy




------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE

http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users




--- End Message ---
--- Begin Message ---
Personally, I *REALLY* like that Netdisco 2 is completely encapsulated now on 
my FreeBSD server.
I don't need a port, and I don't need to worry about system-wide dependencies 
except for the well-established & ported Perl packages.

The way I see it, App::Netdisco is a very tidy & well-behaved Perl app - I'm 
confident I could run it on any OS that supports Perl properly.  =)

Thanks Oliver!

Merry Christmas & Happy Holidays,

-KJ

____________________________
Kris Jacobs
Network Administrator
Calhoun County IT Department
161 E Michigan Ave
Battle Creek, MI  49014
269.969.6813





-----Original Message-----
From: Oliver Gorwits [mailto:[email protected]] 
Sent: Wednesday, December 17, 2014 07:21
To: [email protected]
Subject: Re: [Netdisco] Netdisco on FreeBSD

Hi all,

This is a good discussion to have, it's helpful for the project to see the 
different needs and opinions.

Personally I've shied away from encouraging any packaging of App::Netdisco. 
There are various reasons, including support overhead for the core team (even 
if others maintain the packages), but also that I worry if we want to change 
the method of installation/upgrade radically at some point, we could get stuck 
(see sf.net issue #21).

But perhaps most of all I prefer the ability we have to push point releases 
relatively frequently, via CPAN, and have users execute a painless upgrade. As 
can be seen from the changelog and issue tracker, the stream of fixes and 
features might continue for some time yet, and most OS packaging systems don't 
deal with this constant-updating very well.

(I have no problem reassessing this opinion in the future, changing my mind, or 
having others still have a go at packaging right now, of
course.)

Just my 2p.

regards,
oliver.


On 2014-12-16 14:41, Kurt Buff wrote:
> I believe you, and if it were just me, I'd just do it.
>
> However, I have a reluctant team and manager to consider, and as they 
> are complete *nix novices, I have to get their comfort levels up.
>
> Without a port (or package, but I *really* prefer ports), this project 
> isn't going to fly.
>
> Kurt
>
> On Tue, Dec 16, 2014 at 6:28 AM, Kris Jacobs 
> <[email protected]> wrote:
>> I'm using Netdisco 2 on FreeBSD 10, it is really easy to install and 
>> run from source - you don't need a port.
>>
>>
>>
>> Sent from my Android phone using TouchDown (www.nitrodesk.com)
>>
>>
>> -----Original Message-----
>> From: Kurt Buff [[email protected]]
>> Received: Tuesday, 16 Dec 2014, 9:23
>> To: Alan Buxey [[email protected]]
>> CC: Netdisco Users List [[email protected]]
>> Subject: Re: [Netdisco] Netdisco on FreeBSD
>>
>> Sure - just as soon as there is a port for it in FreeBSD.
>>
>> Kurt
>>
>> On Tue, Dec 16, 2014 at 12:57 AM, Alan Buxey 
>> <[email protected]>
>> wrote:
>>> Stop
>>>
>>> Use netdisco2
>>>
>>> alan
>>
>> 
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and 
>> Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & 
>> more
>> Get technology previously reserved for billion-dollar corporations, 
>> FREE
>> 
>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Netdisco mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/netdisco-users
>
> 
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and 
> Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & 
> more
> Get technology previously reserved for billion-dollar corporations, 
> FREE
> 
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/netdisco-users


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users



--- End Message ---
--- Begin Message ---
> -----Ursprüngliche Nachricht-----
> Von: Robert Kerr [mailto:[email protected]]
> Gesendet: Dienstag, 16. Dezember 2014 10:12
> An: [email protected]
> Betreff: Re: [Netdisco] 2 Questions: wrong deployment.yml location and
> Cisco ASA5585 Arpnip/Macsuck
> 
> On 15/12/14 13:51, Sebastian Rösch wrote:
> > Hello,
> 
> > at first, thanks all the developers for their work on this lovely
> > piece of software. I now have two questions, that I couldn´t solve myself.
> 
> > Question1:
> 
> > I installed V2 and I´m really happy with it. Now I tried to upgrade
> > the installation to 2.029014, but I´m not able to complete the
> > netdisco-deploy procedure. It seems to be, that the netdisco uses the
> > default configuration file under
> > /home/netdisco/perl5/lib/perl5/auto/share/dist/App-
> Netdisco/environments.
> >
> > And not that file under /home/netdisco/environments/
> >
> > Where can I change the path to the correct deployment.yml?
> 
> Have you checked the file permissions on /home/netdisco/environments/
> and /home/netdisco/environments/deployment.yml ? Netdisco would fall
> back to the default if it couldn't access your local config.

A good hint, in fact my problems seems to be permission related. I used a user 
for executing netdisco commands, that had not the correct rights. 


Here an example, see the different location, the config watcher looks:

If I restart the netdisco-daemon with my user, everything is fine:
####################
netdisco@ubuntu:~$ bin/netdisco-daemon restart
config watcher: sending TERM to the server (pid:4627)...
Netdisco Daemon                                               [Stopped]
config watcher: watching /home/netdisco/environments for updates.
Netdisco Daemon                                               [Started]
####################

If I restart the netdisco-daemon with my user that I sudoed before, the path, 
where netdisco is looking for the configuration file moves....
####################
root@ubuntu:~# bin/netdisco-daemon restart
config watcher: sending TERM to the server (pid:1400)...
Netdisco Daemon                                               [Stopped]
Netdisco Daemon                                               [Started]
config watcher: watching 
/home/netdisco/perl5/lib/perl5/auto/share/dist/App-Netdisco/environments for 
updates.
####################

>
> > Question2:
> 
> > I´m trying to arpnip and macsuck a Cisco ASA 5585 but it doesn´t work.
> > (see attachments) Should that work or do I have to import other MIBS
> > (from Cisco) ?
> 
> This seems to be some issue reading the CiscoStats module, which should be
> at /home/netdisco/perl5/lib/perl5/SNMP/Info/CiscoStats.pm
> 
> Might be worth checking the permissions on this one too...

YES!

> 
> --
>  Robert Kerr

Best Thanks Robert,

Sebastian




--- End Message ---
--- Begin Message ---
I got Netdisco 2 running on NetBSD-7_BETA on an amd64 virtual machine this
morning.

>From Kris Jacobs in another email, high level steps to get Netdisco 2
running on FreeBSD:

Install Perl5.20 from ports
Install Perl DBD:Pg from ports
Install Perl SNMP from ports
Create the netdisco user
Install PostgreSQL from ports, configure, start database server, create
netdisco database
Make sure PgSQL starts at boot up, add to /etc/rc.conf:
 postgresql_enable="YES"

Change to the netdisco user
Install & configure, start Netdisco-daemon, start Netdisco-web
Log into web interface and enjoy!

This is basically the same set of steps for NetBSD except for some NetBSD
specifics:

1. Not all of these packages exist in binary form yet with pkgin (for
NetBSD-7_BETA anyway). I installed everything I could with pkgin including
manually installing dependencies that were rolled back when a certain
package didn't exist. Then I installed the rest from the latest stable
pkgsrc source tarball.

2. When installing postgresqlXX-server, it creates the pgsql user with the
nologin shell. As root, do vipw and change the shell to /bin/sh, or
whichever shell you want, so you can do the createuser step for postgresql
using the pgsql user.

3. pgtune doesn't seem to work on NetBSD. I'll have to figure out some
other way to tune postgresql. But for now,, postgresql works with it's
standard setup. Under load, I'm sure it won't be good.

4. Probably I forgot a few things.

I expected it would need some hacks to get it working, but it didn't which
is a testament to the correctness of the Netdisco 2 install. It wasn't
always working very good, but in the last month or 2 I think it's pretty
good.

Thanks Kris, and thanks especially to Oliver.

I might put a NetBSD machine into production just to annoy the Linux people
:)

OpenBSD anyone?

Andy

--- End Message ---
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to