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: trouble getting reports to work (Sascha Klauder)
2. Re: trouble getting reports to work (Steven Xu)
3. Re: netdisco version 2.033004 (Dwayne Hottinger)
4. Re: NetDisco not updating (Deshong, Kenneth)
--- Begin Message ---
Steven Xu wrote:
"Processing..." may indicate a client side problem: your browser
could be too old. What browser are you using? Does your browser
lock up when you look at the report? Does searching for a device
have the same problem?
I've tried both SeaMonkey and Chrome. Meanwhile, I've noticed
that there's a ticket describing the same problem:
http://sourceforge.net/p/netdisco/netdisco2/261/
Using the JS error console, I've compared the content generated
by my netdisco installation with that of the demo site at
heroukapp.com and noticed that there's a difference in the JSON
encoding:
my netdisco install:
var table = $('#data-table').dataTable({
"deferRender": true,
"data":
[{"dcount":18,"description":"DEFAULT_VLAN","vlan":1,"pcount":324},{"pcount":226,"dcount":15,"vlan":2,"description":"NTAG"}
...
heroukapp.com demo site:
var table = $('#data-table').dataTable({
"deferRender": true,
"data":
[{"pcount":"44","dcount":"2","description":"default","vlan":1},{"pcount":"1","dcount":"1","description":"VLAN0094","vlan":94}
...
Notice the difference in quoting of the pcount and dcount values.
I'm using JSON 2.90.
Cheers,
-sascha
--- End Message ---
--- Begin Message ---
Hi Sascha,
The difference in quoting shouldn't matter. _javascript_ treats "324" and 324 the same since it is a weakly typed language.
The error in the bug link means that the json response is incorrect. "data" is not a string when it should be. Can you post any errors you observed in the browser console to confirm that you're experiencing the same problem as in the link you provided?
I suspect there is something wrong with the database results. Try executing the raw database query and manually look if there is any rows with an empty count column or other unusual results. If possible, can you pastie the full json response?
Steven
-----Sascha Klauder <[email protected]> wrote: -----To: Steven Xu <
[email protected]>
From: Sascha Klauder <
[email protected]>
Date: 02/01/2016 09:07AM
Cc:
[email protected]Subject: Re: [Netdisco] trouble getting reports to work
Steven Xu wrote:
> "Processing..." may indicate a client side problem: your browser
> could be too old. What browser are you using? Does your browser
> lock up when you look at the report? Does searching for a device
> have the same problem?
I've tried both SeaMonkey and Chrome. Meanwhile, I've noticed
that there's a ticket describing the same problem:
http://sourceforge.net/p/netdisco/netdisco2/261/
Using the JS error console, I've compared the content generated
by my netdisco installation with that of the demo site at
heroukapp.com and noticed that there's a difference in the JSON
encoding:
my netdisco install:
var table = $('#data-table').dataTable({
"deferRender": true,
"data":
[{"dcount":18,"description":"DEFAULT_VLAN","vlan":1,"pcount":324},{"pcount":226,"dcount":15,"vlan":2,"description":"NTAG"}
...
heroukapp.com demo site:
var table = $('#data-table').dataTable({
"deferRender": true,
"data":
[{"pcount":"44","dcount":"2","description":"default","vlan":1},{"pcount":"1","dcount":"1","description":"VLAN0094","vlan":94}
...
Notice the difference in quoting of the pcount and dcount values.
I'm using JSON 2.90.
Cheers,
-sascha
--- End Message ---
--- Begin Message ---
Yes. My config file had an error in it. I worked through that and got
some info back from Oliver and everything is working now. Thanks for the
help. I appreciate the effort that has gone into this opensource project.
On Mon, Feb 1, 2016 at 8:06 AM, Steven Xu <[email protected]> wrote:
> Hi Dwayne,
>
> *Note that spacing matters in YAML*. Indent your config file
> appropriately. In addition, it should be "- community:", not "-community:".
>
> For Oliver's suggestion, note you can omit the tag: and write: line and
> simply use
>
> - community: 'foo'
> read: true
> ...
>
> Steven
>
> -----Oliver Gorwits <[email protected]> wrote: -----
> To: [email protected]
> From: Oliver Gorwits <[email protected]>
> Date: 01/18/2016 06:28PM
> Subject: Re: [Netdisco] netdisco version 2.033004
>
> Hi Dwayne,
>
> I think you might have the syntax for your SNMP configuration wrong.
>
> You cannot share settings between community strings. Each community must
> have its own tag/read/write:
>
>
> https://metacpan.org/pod/distribution/App-Netdisco/lib/App/Netdisco/Manual/Configuration.pod#snmp_auth
>
> If all your community strings are read-only, this is the easiest config...
>
> community: [ 'foo' , ‘abc' , ‘public' , ‘bar' ]
>
> or else do this...
>
> snmp_auth:
> - tag: 'first'
> community: 'foo'
> read: true
> write: false
> - tag: 'second'
> community: ‘abc'
> read: true
> write: false
> - tag: 'third'
> community: ‘public'
> read: true
> write: false
>
> I hope this helps,
>
> Oliver.
>
> Sent from the moon.
>
> On 18 Jan 2016, at 13:12, Dwayne Hottinger <
> [email protected]> wrote:
>
> Here is the output from debug command lines. The error is a result of my
> deployment.yml file not getting read when I restart, so IM pretty sure I
> have an error there somewhere.
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/netdisco-users
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/netdisco-users
>
>
--
Dwayne Hottinger
Supervisor of Network Operations
Harrisonburg City Public Schools
http://staff.harrisonburg.k12.va.us/~dhottinger
--- End Message ---
--- Begin Message ---
So anyone have a suggestion on how to correct this? I'm sure a general RHEL
update broke something. If not, I'll just stand up a brand new box.
Thanks,
Ken
From: Deshong, Kenneth
Sent: Thursday, January 28, 2016 8:55 AM
To: [email protected]
Subject: Re: [Netdisco] NetDisco not updating (update)
I have an update, It seems NetDisco isn't updating any IP info on my network.
I searched for something yesterday and it finds the MAC on the switchport fine
but the IP information shows an older date.
I looked at some debugging stuff online and I ran this command, and got this
error.
Netdisco-do discover 10.119.1.70 -DIQ
Info discover: status error: error running job: Can't call method "ip" on an
undefined value at
/home/netdisco/perl5/App/Netdisco/Daemon/Worker/Polloer/Device.pm line 44
Ken DeShong
Network Engineer
From: Deshong, Kenneth
Sent: Wednesday, January 27, 2016 10:43 AM
To:
[email protected]<mailto:[email protected]>
Subject: [Netdisco] Netdisco not updating
I'm having a very odd behavior with my NetDisco (newest release code). We
recently changed IP addressing within a building but my NetDisco keeps holding
on to the old Client records and won't recognize the new network.
I've went as far as deleting the switch and rediscovering it and it just brings
the old records back with it. I've manually done Macsuck and Arpnip too.
Example: We changed the network from 10.119.5.0/24 to 10.119.200.0/24
When I search for a MAC address of a client, it keeps showing the client having
a 10.119.5.xx address even though that network doesn't even exist any longer.
It shows an older "last seen date"
When I search for the IP (the new IP range) of a client, nothing shows up.
Almost as if NetDisco isn't updating its database.
Ken DeShong
Network Engineer
USF Health Information Systems
Desk: 813-396-9472
Fax: 813-974-5198
[Health IS Email Logo (2)]
--- End Message ---
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users