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: Truncated port description (Oliver Gorwits)
2. Re: ND2 - Delete nodes from the database (Oliver Gorwits)
3. Re: Netdisco with Rancid web plugin (Oliver Gorwits)
4. Re: Problem after upgrade (Harry)
5. Re: Problem after upgrade (Harry)
6. fortinet mib issues (Golden, Scott)
7. Re: Problem after upgrade (Oliver Gorwits)
--- Begin Message ---
Hi,
Many thanks for the bug report. This will be fixed in the next CPAN
release - 2.028001
regards,
oliver.
On 2014-07-03 14:27, Francesco Schiavarelli wrote:
Hi,
when setting port description the description string sometimes gets
truncated, e.g. trying to set "giga8-test" as description results in
"giga8" on the router as you can see from the log below:
~$ bin/netdisco-do set_portname -d 1.1.1.1 -p GigabitEthernet0/8 -e
"giga8-test"
info @0.000011> set_portname: started at Thu Jul 3 14:45:25 2014
info @0.965388> set_portname: finished at Thu Jul 3 14:45:26 2014
info @0.965699> set_portname: status done: Updated
[GigabitEthernet0/8]
alias status on [1.1.1.1] to [giga8]
The expected result is that the description set is equal to the
string
passed as argument to the -e option.
Looking at the code I've found the following line inside
Daemon/Worker/Interactive/PortActions.pm:
53 (my $data = $job->subaction) =~ s/-\w+//;
basically whatever follows a dash gets removed from the -e argument
so
that "giga8-test" becomes "giga8".
I can see no reason for this code, is it a leftover?
May I remove the regexp altogether and keep only the left part of the
assignment safely?
thank you
regards
------------------------------------------------------------------------------
Open source business process management suite built on Java and
Eclipse
Turn processes into business applications with Bonita BPM Community
Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users
--- End Message ---
--- Begin Message ---
Hi Tobias,
On 2014-07-04 15:26, Tobias wrote:
I'm looking for a solution to delete all nodes and archived nodes
from
the database manually.
With ND1 it was possible to do this by using the options
"--expirenodes" or "--expire-nodes-subnet".
Ah, it seems we overlooked some of the extra features expirenodes
offers - sorry about that! I'll create a tracker item for this so it
will hopefully eventually get done.
You can already do something in Netdisco 2 for manual expiry per
device:
~/bin/netdisco-do expire 1.2.3.4
This uses the expire_devices, expire_nodes, expire_nodes_archive
settings from your config, and of course you can run this regularly
using the expire component of schedule in your config.
Right now there's no way to specify the port or control archive vs.
expire.
Is it possible and recommended to use the old netdisco binary (1.3.2)
maybe to do this?
Yes this _should_ work, because the DB schema for netdisco 2 is
deliberately backwards compatible to netdisco 1. However please do take
a database backup first as I've not tested/verified expiry myself.
In which tables are these information stored if it is necessary to
delete them from the database?
You need to work on the node and node_ip tables. If you're familiar
with DBIx:Class, take a look at what happens in
App::Netdisco::Daemon::Worker::Poller::Expiry.
regards,
oliver.
--- End Message ---
--- Begin Message ---
Hi Mana,
On 2014-06-26 08:51, Manfred Mayer IT wrote:
I installed a new netdisco 2.027007 and integrated the
App-NetdiscoX-Web-Plugin-RANCID-2.003002. Generally, it works, I just
have the situation that my rancid-devices are listed without fqdn,
but
netdisco does recognize them with fqdn. So the link that is provided
by the plugin points to http://rancidurl/hostname.domain, but my
rancid config is under http://rancidurl/hostname [1]
I also have some devices, that are only accessible by IP, name
resolution does not work there. Is there a way to modify the url that
the plugin sets here?
You can configure in the export script a group of devices which will be
known by IP in the config file, instead of by FQDN or device sysname.
I've just also added a very similar option for hostname (which is
simply FQDN stripped of the domain_suffix config item): "by_hostname".
For both of these, you'll need the new releases of App-Netdisco and
App-NetiscoX-Web-Plugin-RANCID from CPAN (available shortly).
regards,
oliver
--- End Message ---
--- Begin Message ---
Oliver Gorwits <oliver@...> writes:
>
> Hi Sassan,
>
> Yes, something is fishy with the <at> INC shown in your output. I believe
> the correct directory to have included would be:
> /home/netdisco/perl5/lib/perl5/
>
> Does the web frontend work OK?
Same problem here - but Web frontend works fine.
>
> Can you try logging out, then back in, then running "~/bin/localenv
> perl -V" and looking at the content of <at> INC to see if it's different?
>
%ENV:
PERL5LIB="/home/netdisco/perl5/lib/perl5"
PERL_LOCAL_LIB_ROOT="/home/netdisco/perl5"
PERL_MB_OPT="--install_base "/home/netdisco/perl5""
PERL_MM_OPT="INSTALL_BASE=/home/netdisco/perl5"
@INC:
/home/netdisco/perl5/lib/perl5/x86_64-linux-gnu-thread-multi
/home/netdisco/perl5/lib/perl5
/etc/perl
/usr/local/lib/perl/5.18.2
/usr/local/share/perl/5.18.2
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.18
/usr/share/perl/5.18
/usr/local/lib/site_perl
> The second item, about the admin.job error can safely be ignored for
> now, I think.
>
> regards,
> oliver.
--- End Message ---
--- Begin Message ---
Harry <spam@...> writes:
Looks like I accidentially solved it :)
After adding "interactives" to the workers config the error disappeared.
Now I have in deployment.yml
workers:
interactives: 2
pollers: 10
--- End Message ---
--- Begin Message ---
having issue with fortinet not showing correctly
device showing as unknown/ enterprises.12356.101.1.6200
<http://netdisco.globe.com:5000/search?tab=device&matchall=checked&q=enterprises.12356.101.1.6200&model=enterprises.12356.101.1.6200>
when i run
t/test_class.pl -c Layer3 -d 10.61.34.10 -s !@#$%^&* -v 2 -m
/home/netdisco/netdisco-mibs/r
fc:/home/netdisco/netdisco-mibs/net-snmp:/home/netdisco/netdisco-mibs/fortinet
-i
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none)
Cannot find module (UCD-DISKIO-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (MTA-MIB): At line 0 in (none)
Cannot find module (NETWORK-SERVICES-MIB): At line 0 in (none)
Cannot find module (SCTP-MIB): At line 0 in (none)
Cannot find module (RMON-MIB): At line 0 in (none)
Cannot find module (EtherLike-MIB): At line 0 in (none)
Cannot find module (LM-SENSORS-MIB): At line 0 in (none)
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (IPV6-ICMP-MIB): At line 0 in (none)
Cannot find module (IPV6-MIB): At line 0 in (none)
Cannot find module (IPV6-TCP-MIB): At line 0 in (none)
Cannot find module (IPV6-UDP-MIB): At line 0 in (none)
Cannot find module (IP-FORWARD-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-PASS-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
Cannot find module (NET-SNMP-VACM-MIB): At line 0 in (none)
Class SNMP::Info::Layer3 (3.18) loaded from SNMP::Info 3.18.
Cannot find module (ENTITY-MIB): At line 0 in (none)
The ENTITY-MIB did not load. See README for SNMP::Info::Layer3
at ./test_class.pl line 105
walk_all of fortinet device
https://db.tt/BxFqwmpq
i would like to get this straight, as have my network uses fortinet as
their default router, ani dont think we can do an macsuck or arpnip until i
figure out the mibs
thx
*Scott Golden*
Systems Analyst
Boston Globe Media Partners, LLC
978-340-8207
[email protected]
--- End Message ---
--- Begin Message ---
On 2014-07-15 13:32, Harry wrote:
Harry <spam@...> writes:
Looks like I accidentially solved it :)
After adding "interactives" to the workers config the error
disappeared.
Now I have in deployment.yml
workers:
interactives: 2
pollers: 10
Nice catch, many thanks!
I've just uploaded version 2.028003 to CPAN with a default for
interactives if one is not set.
regards,
oliver.
--- End Message ---
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users