Skip to content

l13t/l13t-old-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Added:

  • snmp.php - for displaying SNMP info about IF-MIB::ifHCInOctets etc counters from switches and routers.
  • openvpn.php - for displaying traffic usage by openvpn connections.

All two plugins are modified interfaces.php plugin.

For using snmp.php you need to edit cgp/inc/collectd.inc.php:

old value:

if ($CONFIG['version'] >= 5 || !preg_match('/^(df|interface)$/', $item['p']))

new value:

if ($CONFIG['version'] >= 5 || !preg_match('/^(df|interface|snmp)$/', $item['p']))

Modified:

  • nut.php:

diff cgp.orig/plugin/nut.php cgp/plugin/nut.php master

20c20

< $obj->data_sources = array(‘value’);

$obj->data_sources = array(‘frequency’);

  • apache-mod-authnz - athentication in apache via simple perl script and postgresql database. need mod_authnz_external for work.

  • db/backup - structure to weekly backups of mysql and pgsql

  • openvpn - script for generation openvpn bundles for clients

  • aws/add_cloudflare_ips.sh - script which automatically gets group where you need to whitelist CF IP's, compare with its current state and update it

About

Some features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published