[Openswan Users] list connected users

Leo tstcenter at gmail.com
Thu May 22 11:57:10 EDT 2008


Hello guys,

I have created a script to list connected users:
You can add it to Nagios if you want to know connected users.

grep -v "Open\|ROUT\|GLO\|Max\|Up\|Common\|END\|^1" /var/open/packt.status |
cut -f1 -d, | fmt -u -w200

Look that you can extract more fields just changing -f1 to for example,
-f1,2,3.
But for nagios you are limited to a maximun number of chars... I don't
remember how much...

Good luck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20080522/6898688e/attachment.html 


More information about the Users mailing list