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: More than one custom report. (Peter Grasso)
2. Discovery question (Dean, Barry)
--- Begin Message ---
Hi guys,
Not doing anything fancy at all, here is what hangs the web interface:
reports:
- tag: power_inventory
label: 'Power Supply Inventory'
category: Device
columns:
- {name: 'Name'}
- {ps1_type: 'PS1 Type'}
- {ps1_status: 'PS1 Status'}
query: |
SELECT d.name, d.ps1_type, d.ps1_status
FROM device d
ORDER BY name
- tag: serials
label: 'Module Serials'
columns:
- {name: 'Device'}
- {serial: 'Module Serial'}
- {type: 'Module Type'}
query: |
SELECT d.name, dm.ip, dm.serial, dm.type
FROM device_module dm
LEFT JOIN device d USING (ip)
WHERE dm.type ~* ? and dm.serial != ''
ORDER BY name, type, serial
bind_params: ['dm.type']
I can run one or the other, but not both…
Regards,
Peter Grasso
Network Projects Administration
Methodist Ladies' College
207 Barkers Road, Kew Vic 3101, Australia
Telephone: +61 3 92748187
Facsimile: +61 3 92748101
Email: [email protected]<mailto:[email protected]>
Disclaimer: This email is intended for the use of the named individual or
entity and may contain confidential and privileged information. Any
dissemination, distribution or copying by anyone other than the intended
recipient of this email is strictly prohibited. Attachments are opened and
transmitted at the user's own risk. Any representations or opinions expressed
are those of the individual sender, and not necessarily those of Methodist
Ladies' College.
________________________________
From: Oliver Gorwits <[email protected]>
Sent: Monday, 8 April 2019 6:00 PM
To: Peter Grasso <[email protected]>; [email protected]
Subject: Re: [Netdisco] More than one custom report.
Hi Peter
If you're able to share your custom reports config (on
http://paste.scsys.co.uk/ for example) we can give it a try.
On Sun, 7 Apr 2019 at 06:30, Peter Grasso
<[email protected]<mailto:[email protected]>> wrote:
Hi all,
Does anyone know if it is possible to add more than one custom report to the
end of deployment.yml ?
I can get the first report to work fine, but if I try to add another it seems
to hang the web interface.
Regards,
Pete
_______________________________________________
Netdisco mailing list
[email protected]<mailto:[email protected]>
https://sourceforge.net/p/netdisco/mailman/netdisco-users/
--- End Message ---
--- Begin Message ---
Firstly I give permission for you all to do a slow hand clap! I have just
recently installed NetDisco 2.40.3, an upgrade from 1.1, look it's not my fault
that 1.1 was stable enough to be used all these years!
When I initially started "netdisco-backend" I was missing the filter that
prevented NetDisco from trying to inventory phones and APs via SNMP, I think I
have this fixed now, but my job queue is still full of requests to scan these
devices.
Is there a database change I can make to stop it doing this? has it stored a
"scan in the future" flag against these IPs? They are not in the devices table.
If not I guess my filter is not working (same one I used on 1.1 essentially):
discover_no_type:
- '(?i)phone'
- '(?i)mitel'
- '(?i)(?:wap|wireless)'
- 'cisco\s+AIR-[LC]AP'
But still I have lots of jobs for the APs (last entry). Any help appreciated.
We are enjoying version 2.x and plan a switch off 1.1 as soon as I wrestle back
control of the job queue!
--
Barry Dean
--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users