Comments (5)
Which version of openvpn are you using?
Can you run openvpn-monitor.py on the command line with the debug option?
from openvpn-monitor.
used OpenVPN 2.0.9 .
(openvpn-monitor) sh-4.2# python3 openvpn-monitor.py -d
WARNING: Config file does not exist or is unreadable: ./openvpn-monitor.conf
WARNING: Config file does not exist or is unreadable: /srv/openvpn-monitor/etc/openvpn-monitor.conf
INFO: Using default settings => localhost:5555
WARNING: No compatible geoip1 or geoip2 data/libraries found.
INFO: Sending command: version
DEBUG:
=== begin raw data
OpenVPN Version: OpenVPN 2.0.9 x86_64-unknown-linux [SSL] [LZO] [EPOLL] built on Feb 11 2022
Management Version: 1
END
=== end raw data
INFO: Sending command: state
DEBUG:
=== begin raw data
1645007299,CONNECTED,SUCCESS,10.8.0.1
END
=== end raw data
DEBUG:
=== begin split line
['1645007299', 'CONNECTED', 'SUCCESS', '10.8.0.1']
=== end split line
Traceback (most recent call last):
File "openvpn-monitor.py", line 887, in
main()
File "openvpn-monitor.py", line 865, in main
monitor = OpenvpnMgmtInterface(cfg, **kwargs)
File "openvpn-monitor.py", line 214, in init
self.collect_data(vpn)
File "openvpn-monitor.py", line 222, in collect_data
vpn['state'] = self.parse_state(state)
File "openvpn-monitor.py", line 324, in parse_state
if parts[4]:
IndexError: list index out of range
from openvpn-monitor.
from openvpn-monitor.
Looks like 2.0.9 was released in 2013. Could you try a newer version of openvpn?
from openvpn-monitor.
OpenVPN 2.4.8 version is normal.
from openvpn-monitor.
Related Issues (20)
- Support url for logo HOT 1
- disconnect button is not working HOT 4
- Flag doesn't load, doesn't load location! HOT 1
- Getting 403 Forbidden Error
- Purpose of Map? HOT 1
- Flag images broken on Docker HOT 1
- Stop during installation HOT 2
- Need updated instructions for Ubuntu 20.04 HOT 2
- How to load the tool on Ubuntu 14.04 HOT 1
- flags wont load and the city is double HOT 2
- Still support for this tool?
- [Q+A] Monitoring 100 isolated groups
- Apache opening with contents of openvpn-monitor.py file HOT 2
- geoip-database-extra HOT 3
- The map cannot be displayed HOT 1
- Unknown location HOT 2
- docker to docker python errors after connect HOT 1
- Set favicon
- is this project still supported
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openvpn-monitor.