openvpn error messages on the administrative interface?
Hi All,
I have been patching NetworkManager-openvpn for some time now, trying to enable some functionality, which a lot of
people use.
The main problem we have been facing for some time now, is that openvpn throws error messages only in the logs,
due to which any form of graphical output for us, is only possible by screen scraping these logs, which is a real pain.
I am thinking if we can make openvpn show these messages on the administrative interface or something similar so that programatically it would become easier to parse them and show them graphical to the user.
Thanks in Advance.
Regards,
Huzaifa.
I meant management interface rather :)
Quoted 18 lines · Huzaifa Sidhpurwala
Hi All,
I have been patching NetworkManager-openvpn for some time now, trying to enable some functionality, which a lot of
people use.
The main problem we have been facing for some time now, is that openvpn throws error messages only in the logs,
due to which any form of graphical output for us, is only possible by screen scraping these logs, which is a real pain.I am thinking if we can make openvpn show these messages on the administrative interface or something similar so that programatically it would become easier to parse them and show them graphical to the user.
Thanks in Advance.
Regards,
Huzaifa.
What does the management interface "log" command do exactly? Does it output the same log lines which go to the system logger?
http://openvpn.net/index.php/open-source/documentation/miscellaneous/79-management-interface.html
Signature · 5 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock
Quoted 26 lines
I meant management interface rather :)
On Fri, Apr 23, 2010 at 12:06 PM, Huzaifa Sidhpurwala <[email protected]... <mailto:[email protected]...>> wrote:
Hi All,
I have been patching NetworkManager-openvpn for some time now, trying to enable some functionality, which a lot of people use.
The main problem we have been facing for some time now, is that openvpn throws error messages only in the logs,
due to which any form of graphical output for us, is only possible by screen scraping these logs, which is a real pain.I am thinking if we can make openvpn show these messages on the administrative interface or something similar so that programatically it would become easier to parse them and show them graphical to the user.
Thanks in Advance.
Regards,
Huzaifa.
Quoted 12 lines · Huzaifa Sidhpurwala
Hi All,
I have been patching NetworkManager-openvpn for some time now, trying to
enable some functionality, which a lot of
people use.
The main problem we have been facing for some time now, is that openvpn
throws error messages only in the logs,
due to which any form of graphical output for us, is only possible by screen
scraping these logs, which is a real pain.
Quoted 5 lines
I am thinking if we can make openvpn show these messages on the administrative interface or something similar so that programatically it
would become easier to parse them and show them graphical to the user.
Wny not configure your syslog program to pipe log messages straight into some program you write that delivers the messages where ever you
want them? Or use UDP, TCP or RELP instead of a pipe.
Or is the problem that MS Windows does not support --syslog?
Karl <[email protected]...>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 19 lines · Karl O. Pinc
Quoted 12 lines · Huzaifa Sidhpurwala
Hi All,
I have been patching NetworkManager-openvpn for some time now, trying to
enable some functionality, which a lot of
people use.
The main problem we have been facing for some time now, is that openvpn
throws error messages only in the logs,
due to which any form of graphical output for us, is only possible by screen
scraping these logs, which is a real pain.Quoted 5 lines
I am thinking if we can make openvpn show these messages on the administrative interface or something similar so that programatically it
would become easier to parse them and show them graphical to the user.
Quoted 6 lines
Wny not configure your syslog program to pipe log messages straight into some program you write that delivers the messages where ever you
want them? Or use UDP, TCP or RELP instead of a pipe.Or is the problem that MS Windows does not support --syslog?
NetworkManager-openvpn is most known on the Linux platform, and might maybe be used on other platforms like Solaris or *BSD.
Piping syslog messages to a process will also be non-trivial, as you need to support a broad setup of distributions, which might use different syslog implementations with different config syntaxes.
Using the management interface would be the proper solution, IMHO.
kind regards,
David Sommerseth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAkvSwfgACgkQDC186MBRfrpOIwCfWv3ByQQ5wH7DFs2jqg+jxwfs bzUAn3YGpYOb1r2MtcreuUqKd5+hZqZH
=YRd6
-----END PGP SIGNATURE-----