--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/b48c900d-29f8-4b8c-a984-68cdd41b93a1n%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CAAGgX6KHJuE-d8qJnVXSGaZiLWjti7VeYcR66vsG88DW69Y_nA%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CA%2B7VT_BGH%2BbyZoAGKz0i0k92b-J4JsLSquNwURabjQE0RABA1w%40mail.gmail.com.
I use openvpn but don't works.
On my openvpn server i have this option "management localhost
7505"
My templates on openwisp is:
#!/bin/sh COLLECTOR_URL="https://controller.nnxx.ninux.org/api/v1/network-topology/topology/81461fe7-479b-4a6d-96cc-7b873bcd4efe/receive/?key=qGfhxlhfepEllYDiheZIBrNQVRgqcsM0" DATA=$(cat /var/log/openvpn.stats) curl -s -X POST -d "$DATA" --header "Content-Type: text/plain" $COLLECTOR_URL
i run this: /usr/sbin/send_topology
{"detail":"Supplied data not recognized as OpenVPN, got exception of type \"ConversionException\" with message \"OpenVPN parsing error: expected 'OpenVPN CLIENT LIST' but got 'OpenVPN STATISTICS'\""}
# more /var/log/openvpn.stats
OpenVPN STATISTICS Updated,2023-04-02 23:04:29 TUN/TAP read bytes,5005389 TUN/TAP write bytes,19304454 TCP/UDP read bytes,22829623 TCP/UDP write bytes,5995265 Auth read bytes,19304560 pre-compress bytes,0 post-compress bytes,0 pre-decompress bytes,0 post-decompress bytes,0 END
I never understood how to make it work.
Thanks.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CAAGgX6JzP_DwGV7O2he%2BKCdB6HvGkPOYN_RctUHZXPUTiz8Y8w%40mail.gmail.com.
-- Informativa Privacy - Ai sensi del D. Lgs n. 196/2003 (Codice Privacy) si precisa che le informazioni contenute in questo messaggio sono riservate e ad uso esclusivo del destinatario. Qualora il messaggio in parola Le fosse pervenuto per errore, La preghiamo di eliminarlo senza copiarlo e di non inoltrarlo a terzi, dandocene gentilmente comunicazione. Grazie. Privacy Information - This message, for the D. Lgs n. 196/2003 (Privacy Code), may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/06d7a301-a11f-eca8-3f90-c2112554d3e7%40gmail.com.
curl -s -X POST -d "$DATA" --header "Content-Type: text/plain" $COLLECTOR_URL
$DATA being the variable holding the NetJSON NetworkGraph object (it's JSON formatted plain text).
Our network is basically a LAN (wired), and consists of a layer 2 transport backbone and central and peripheral routers.
The devices are either openwrt or proprietary OS (e.g. CISCO).
The protocols to be used for the network topology are arp tables (MAC addresses), LLDP and static routes. What might be the best solution in this case?
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/cf0620c4-26b0-4f72-b329-80b8ee91de81n%40googlegroups.com.