Send netdisco-users mailing list submissions to
        netdisco-users@lists.sourceforge.net

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
        netdisco-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        netdisco-users-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Netdisco Psql custom command (Muris)
   2. Juniper/Trapeze Wireless Controllers do not work (Muris)
--- Begin Message ---
Hi,

 

I am used to using this query to get a status of devices scanned within the 
last 2 weeks, but since I upgraded to postgresql 12, it stopped working.

 

How can I make it work again?

 

[netdisco@]$ ./netdisco-do psql -e "select ip, name from device where creation 
> now() - interval '2 weeks'"

info App::Netdisco version 2.046002 loaded.

info psql:  started at Sat Aug 29 08:47:55 2020

Can't exec "psql": Permission denied at 
/home/netdisco/perl5/lib/perl5/App/Netdisco/Worker/Plugin/Psql.pm line 39.

info psql: finished at Sat Aug 29 08:47:55 2020

info psql: status done: psql session closed.

 

Thankyou


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

 

I had Juniper/Trapeze wireless controllers working before with SNMP, but all of 
a sudden its stopped working, I think theres a bug in SNMP info

 

Anyway it can be fixed? See below for output

 

 

[netdisco@]$ ./netdisco-do discover -D -d 10.xx.xx.xx

[4662] 2020-08-28 11:38:28  info App::Netdisco version 2.046002 loaded.

[4662] 2020-08-28 11:38:29  info discover: [10.xx.xx.xx] started at Fri Aug 28 
21:08:29 2020

[4662] 2020-08-28 11:38:29 debug discover: running with timeout 600s

[4662] 2020-08-28 11:38:29 debug => running workers for phase: check

[4662] 2020-08-28 11:38:29 debug -> run worker check/_base_/0

[4662] 2020-08-28 11:38:29 debug Discover is able to run.

[4662] 2020-08-28 11:38:29 debug => running workers for phase: early

[4662] 2020-08-28 11:38:29 debug -> run worker early/properties/100

[4662] 2020-08-28 11:38:29 debug snmp reader cache warm: [10.xx.xx.xx]

[4662] 2020-08-28 11:38:29 debug [10.xx.xx.xx:161] try_connect with ver: 2, 
class: SNMP::Info, comm: <hidden>

[4662] 2020-08-28 11:38:30 debug [10.xx.xx.xx:161] try_connect with ver: 2, new 
class: SNMP::Info::Layer2::Trapeze, comm: <hidden>

Deep recursion on subroutine "SNMP::Info::Layer2::serial" at 
/home/netdisco/perl5/lib/perl5/SNMP/Info/Layer2/Trapeze.pm line 656.

Deep recursion on subroutine "SNMP::Info::Entity::entity_derived_serial" at 
/home/netdisco/perl5/lib/perl5/SNMP/Info/Layer2.pm line 124.

Deep recursion on subroutine "SNMP::Info::Layer2::Trapeze::e_serial" at 
/home/netdisco/perl5/lib/perl5/SNMP/Info/Entity.pm line 125.

Attempt to free unreferenced scalar: SV 0x21e8385f8, Perl interpreter: 0x89d010 
at /home/netdisco/perl5/lib/perl5/Try/Tiny.pm line 109.

[4662] 2020-08-28 11:48:42 debug -> HASH(0x27d4e40)

[4662] 2020-08-28 11:48:42 debug {}

[4662] 2020-08-28 11:48:42 debug -> run worker early/properties/100

[4662] 2020-08-28 11:48:45 debug -> run worker early/properties/100

[4662] 2020-08-28 11:48:45 debug -> run worker early/properties/100

[4662] 2020-08-28 11:48:45 debug -> run worker early/properties/100

[4662] 2020-08-28 11:48:45 debug => running workers for phase: main

[4662] 2020-08-28 11:48:45 debug -> run worker main/canonicalip/100

[4662] 2020-08-28 11:48:45 debug -> run worker main/entities/100

[4662] 2020-08-28 11:48:45 debug -> run worker main/neighbors/100

[4662] 2020-08-28 11:48:45 debug -> run worker main/neighbors/100

[4662] 2020-08-28 11:48:45 debug -> run worker main/neighbors/100

[4662] 2020-08-28 11:48:45 debug -> run worker main/portpower/100

[4662] 2020-08-28 11:48:45 debug -> run worker main/portproperties/100

[4662] 2020-08-28 11:48:45 debug -> run worker main/vlans/100

[4662] 2020-08-28 11:48:45 debug -> run worker main/wireless/100

[4662] 2020-08-28 11:48:45 debug -> run worker main/withnodes/0

[4662] 2020-08-28 11:48:45 debug discover: timed out!

[4662] 2020-08-28 11:48:45 debug job timed out after 600 sec

[4662] 2020-08-28 11:48:45  info discover: finished at Fri Aug 28 21:18:45 2020

[4662] 2020-08-28 11:48:45  info discover: status error: HASH(0x27d4e40)


--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to