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: Reports not working (Ankarloo, Gustaf)
   2. Re: netdisco2 Scheduler not working (Oliver Gorwits)
   3. Re: netdisco2 Scheduler not working (Chuck Sanderson)
--- Begin Message ---
As you tought the console did show some errors.

Uncaught ReferenceError: all is not defined
    at HTMLDocument.eval (eval at <anonymous> (jquery-latest.min.js:3), 
<anonymous>:55:20)
    at c (jquery-latest.min.js:3)
    at Object.add [as done] (jquery-latest.min.js:3)
    at init.ready (jquery-latest.min.js:3)
    at eval (eval at <anonymous> (jquery-latest.min.js:3), <anonymous>:2:13)
    at eval (<anonymous>)
    at jquery-latest.min.js:3
    at Function.globalEval (jquery-latest.min.js:3)
    at init.domManip (jquery-latest.min.js:4)
    at init.append (jquery-latest.min.js:4)

I don know java but maybe someone could tell me what might be wrong.

Med vänlig hälsning 
Gustaf
Gustaf Ankarloo | Technical Specialist 
Dedicated Infrastructure Services South
GIS Scandinavia | CGI Sweden 
Grafiska vägen 22, 400 20 Göteborg | Sweden
T: +46 31 761 14 57| M: +46 705 67 14 57 
[email protected] | www.cgi.se



CONFIDENTIALITY NOTICE: Proprietary/Confidential Information belonging to CGI 
Group Inc. and its affiliates may be contained in this message. If you are not 
a recipient indicated or intended in this message (or responsible for delivery 
of this message to such person), or you think for any reason that this message 
may have been addressed to you in error, you may not use or copy or deliver 
this message to anyone else. In such case, you should destroy this message and 
are asked to notify the sender by reply e-mail.


-----Original Message-----
From: Ankarloo, Gustaf [mailto:[email protected]] 
Sent: Wednesday, 18 October, 2017 11:05
To: [email protected]
Subject: Re: [Netdisco] Reports not working

I will have a look at Javascript Console.
Thanks

Med vänlig hälsning
Gustaf
Gustaf Ankarloo | Technical Specialist
Dedicated Infrastructure Services South
GIS Scandinavia | CGI Sweden
Grafiska vägen 22, 400 20 Göteborg | Sweden
T: +46 31 761 14 57| M: +46 705 67 14 57 [email protected] | www.cgi.se



CONFIDENTIALITY NOTICE: Proprietary/Confidential Information belonging to CGI 
Group Inc. and its affiliates may be contained in this message. If you are not 
a recipient indicated or intended in this message (or responsible for delivery 
of this message to such person), or you think for any reason that this message 
may have been addressed to you in error, you may not use or copy or deliver 
this message to anyone else. In such case, you should destroy this message and 
are asked to notify the sender by reply e-mail.

-----Original Message-----
From: Oliver Gorwits [mailto:[email protected]]
Sent: Wednesday, 18 October, 2017 09:06
To: [email protected]
Subject: Re: [Netdisco] Reports not working

Hi Gustaf

At a complete guess, I would say that something is upsetting the DataTables 
plugin that renders the table on the page. Opening a javascript console in the 
browser might show the issue.

However I'm not an expert in this area and I've not seen this particular 
behaviour before.

regards,
oliver.

On 2017-10-11 13:17, Ankarloo, Gustaf wrote:
> Hi.
> 
> I have a problem with one of my Netdisco2 installations.
> 
> No reports are working.
> 
> Inventory page lists correct values. But if I click on a vendor or a 
> switchmodel all I get is an empty page
> 
> Nothing of value in the logs.
> 
> But I enabled query logging in Postgres and the queries looks legit.
> 
> Any Ideas?
> 
> Med vänlig hälsning
>  Gustaf__
> 
> GUSTAF ANKARLOO | Technical Specialist
> 
> Dedicated Infrastructure Services South
> 
> GIS Scandinavia | CGI Sweden
>  Grafiska vägen 22, 400 20 Göteborg | Sweden
>  T: +46 31 761 14 57| M: +46 705 67 14 57  [email protected] | 
> www.cgi.se [1]
> 
>  CONFIDENTIALITY NOTICE: Proprietary/Confidential Information 
> belonging to CGI Group Inc. and its affiliates may be contained in 
> this message. If you are not a recipient indicated or intended in this 
> message (or responsible for delivery of this message to such person), 
> or you think for any reason that this message may have been addressed 
> to you in error, you may not use or copy or deliver this message to 
> anyone else. In such case, you should destroy this message and are 
> asked to notify the sender by reply e-mail.
> 
> 
> 
> Links:
> ------
> [1] http://www.logica.se/
> 
> ----------------------------------------------------------------------
> -------- Check out the vibrant tech community on one of the world's 
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> 
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/netdisco-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech 
sites, Slashdot.org! http://sdm.link/slashdot 
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech 
sites, Slashdot.org! http://sdm.link/slashdot 
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

--- End Message ---
--- Begin Message ---
Hi Chuck

On 2017-10-18 22:21, Chuck Sanderson wrote:
I have yet to get the scheduler working, everything else seems
functional. Any ideas?

From the way your config appeared in the email, it could be that you have an indenting error in the file - this is a common cause of problems with YAML. Perhaps copy the config here and send the link: https://nopaste.xyz/

In any case, what do you mean by the netdisco-backend "stalls" ?

You should be able to run ~netdisco/bin/netdisco-backend-fg at the command line and see what happens. You can increase logging by adding "log: debug" to the config file as well.

regards,
oliver.



 BUILT USING OPEN SOURCE

SOFTWARE

VERSION

APP::NETDISCO [1]

2.36.9

SNMP::INFO [2]

3.37

DB SCHEMA [3]

44

POSTGRESQL [4]

9.5.8

PERL [5]

5.22.1

Here's what is in the deployment.yml, when I uncomment out the workers
part the netdisco-backend stalls and the netdisco-web will not start,
comment it back and it starts but auto scheduler/poller does not work

# this is the schedule for automatically keeping netdisco up-to-date

# ``````````````````````````````````````````````````````````````````

schedule:

 discoverall:

 when: '5 7 * * *'

 macwalk:

 when:

 min: 20

 arpwalk:

 when:

 min: 50

 nbtwalk:

 when: '0 8,13,21 * * *'

 expire:

 when: '20 23 * * *'

workers:

pollers: 10

 tasks: 'AUTO * 2'

 sleep_time: 1

 min_runtime: 0

 max_deferrals: 10

 retry_after: '7 days'

Thanks in advance..

Chuck Sanderson
 JELD-WEN Technology Services - LAN/WAN Integration Mgr

JELD-WEN, inc.
 Corporate Business Technology
 [email protected]

RELIABILITY _for_ REAL LIFEÄ



Links:
------
[1] http://netdisco.org/
[2] https://github.com/netdisco/snmp-info
[3] https://metacpan.org/module/netdisco-db-deploy
[4] http://www.postgresql.org/
[5] http://www.perl.org/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users



--- End Message ---
--- Begin Message ---
Thanks for the response, That was it a formatting, this is working for me now. 

-Chuck  

-----Original Message-----
From: Oliver Gorwits [mailto:[email protected]] 
Sent: Thursday, October 19, 2017 10:30 AM
To: [email protected]
Subject: Re: [Netdisco] netdisco2 Scheduler not working

Hi Chuck

On 2017-10-18 22:21, Chuck Sanderson wrote:
> I have yet to get the scheduler working, everything else seems 
> functional. Any ideas?

 From the way your config appeared in the email, it could be that you have an 
indenting error in the file - this is a common cause of problems with YAML. 
Perhaps copy the config here and send the link: 
https://nopaste.xyz/

In any case, what do you mean by the netdisco-backend "stalls" ?

You should be able to run ~netdisco/bin/netdisco-backend-fg at the command line 
and see what happens. You can increase logging by adding
"log: debug" to the config file as well.

regards,
oliver.


> 
>  BUILT USING OPEN SOURCE
> 
> SOFTWARE
> 
> VERSION
> 
> APP::NETDISCO [1]
> 
> 2.36.9
> 
> SNMP::INFO [2]
> 
> 3.37
> 
> DB SCHEMA [3]
> 
> 44
> 
> POSTGRESQL [4]
> 
> 9.5.8
> 
> PERL [5]
> 
> 5.22.1
> 
> Here's what is in the deployment.yml, when I uncomment out the workers 
> part the netdisco-backend stalls and the netdisco-web will not start, 
> comment it back and it starts but auto scheduler/poller does not work
> 
> # this is the schedule for automatically keeping netdisco up-to-date
> 
> # ``````````````````````````````````````````````````````````````````
> 
> schedule:
> 
>  discoverall:
> 
>  when: '5 7 * * *'
> 
>  macwalk:
> 
>  when:
> 
>  min: 20
> 
>  arpwalk:
> 
>  when:
> 
>  min: 50
> 
>  nbtwalk:
> 
>  when: '0 8,13,21 * * *'
> 
>  expire:
> 
>  when: '20 23 * * *'
> 
> workers:
> 
> pollers: 10
> 
>  tasks: 'AUTO * 2'
> 
>  sleep_time: 1
> 
>  min_runtime: 0
> 
>  max_deferrals: 10
> 
>  retry_after: '7 days'
> 
> Thanks in advance..
> 
> Chuck Sanderson
>  JELD-WEN Technology Services - LAN/WAN Integration Mgr
> 
> JELD-WEN, inc.
>  Corporate Business Technology
>  [email protected]
> 
> RELIABILITY _for_ REAL LIFEÄ
> 
> 
> 
> Links:
> ------
> [1] http://netdisco.org/
> [2] https://github.com/netdisco/snmp-info
> [3] https://metacpan.org/module/netdisco-db-deploy
> [4] http://www.postgresql.org/
> [5] http://www.perl.org/
> 
> ----------------------------------------------------------------------
> -------- Check out the vibrant tech community on one of the world's 
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> 
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/netdisco-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech 
sites, Slashdot.org! http://sdm.link/slashdot 
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

--- End Message ---
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to