APKPM.git
12 years agoexpire LDAP and CRM entries after 15 min
Dobrica Pavlinusic [Mon, 11 Jul 2011 16:31:18 +0000 (18:31 +0200)]
expire LDAP and CRM entries after 15 min

12 years agostore last table.name.username json for 15 min
Dobrica Pavlinusic [Mon, 11 Jul 2011 16:29:18 +0000 (18:29 +0200)]
store last table.name.username json for 15 min

12 years agofix user.html link
Dobrica Pavlinusic [Mon, 11 Jul 2011 16:25:44 +0000 (18:25 +0200)]
fix user.html link

12 years agocleanup cpe_limit
Dobrica Pavlinusic [Mon, 11 Jul 2011 09:57:39 +0000 (09:57 +0000)]
cleanup cpe_limit

12 years agoalways have 1 sql worker ready for web_ui
Dobrica Pavlinusic [Mon, 11 Jul 2011 00:31:18 +0000 (02:31 +0200)]
always have 1 sql worker ready for web_ui

12 years agomake ldap keys bold
Dobrica Pavlinusic [Sun, 10 Jul 2011 23:27:03 +0000 (01:27 +0200)]
make ldap keys bold

12 years agoremove obsolete css
Dobrica Pavlinusic [Sun, 10 Jul 2011 23:21:58 +0000 (01:21 +0200)]
remove obsolete css

12 years agogeneralize right panel with on/off checkbox
Dobrica Pavlinusic [Sun, 10 Jul 2011 23:13:24 +0000 (01:13 +0200)]
generalize right panel with on/off checkbox

12 years agodisplay messages from each step
Dobrica Pavlinusic [Sun, 10 Jul 2011 22:40:06 +0000 (00:40 +0200)]
display messages from each step

12 years agodefine graph for EasyGateWay
Dobrica Pavlinusic [Sun, 10 Jul 2011 21:55:56 +0000 (23:55 +0200)]
define graph for EasyGateWay

12 years agocorrectly decode hstore with @ in data
Dobrica Pavlinusic [Sun, 10 Jul 2011 21:45:02 +0000 (23:45 +0200)]
correctly decode hstore with @ in data

12 years agoreally call clear_LDAP
Dobrica Pavlinusic [Sun, 10 Jul 2011 20:58:23 +0000 (22:58 +0200)]
really call clear_LDAP

12 years agofetch (LDAP|CRM)_search from redis
Dobrica Pavlinusic [Sun, 10 Jul 2011 20:53:52 +0000 (22:53 +0200)]
fetch (LDAP|CRM)_search from redis

12 years agouse checkboxes to select gnuplot columns
Dobrica Pavlinusic [Sun, 10 Jul 2011 20:39:34 +0000 (22:39 +0200)]
use checkboxes to select gnuplot columns

12 years agoshow redis info
Dobrica Pavlinusic [Sun, 10 Jul 2011 17:54:31 +0000 (19:54 +0200)]
show redis info

12 years agostore CRM and LDAP entries in redis
Dobrica Pavlinusic [Sun, 10 Jul 2011 17:44:55 +0000 (19:44 +0200)]
store CRM and LDAP entries in redis

12 years agodisplay cpe_* tables and select limit via radio button
Dobrica Pavlinusic [Sun, 10 Jul 2011 17:19:07 +0000 (19:19 +0200)]
display cpe_* tables and select limit via radio button

12 years agoextract gnuplot_draw function and remove old code
Dobrica Pavlinusic [Sun, 10 Jul 2011 16:00:00 +0000 (18:00 +0200)]
extract gnuplot_draw function and remove old code

12 years agoconvert table to $resource
Dobrica Pavlinusic [Sun, 10 Jul 2011 14:26:49 +0000 (16:26 +0200)]
convert table to $resource

12 years agoLDAP_search using $resource
Dobrica Pavlinusic [Sun, 10 Jul 2011 13:33:21 +0000 (15:33 +0200)]
LDAP_search using $resource

12 years agoauto-select single result from CRM
Dobrica Pavlinusic [Sun, 10 Jul 2011 13:09:21 +0000 (15:09 +0200)]
auto-select single result from CRM

12 years agorewrite CRM_search using $resource
Dobrica Pavlinusic [Sun, 10 Jul 2011 13:06:12 +0000 (15:06 +0200)]
rewrite CRM_search using $resource

12 years agomove user.html template to static one
Dobrica Pavlinusic [Sun, 10 Jul 2011 12:06:19 +0000 (14:06 +0200)]
move user.html template to static one

It's pure Angular anyway

12 years agoadded limit
Dobrica Pavlinusic [Sun, 10 Jul 2011 11:59:33 +0000 (13:59 +0200)]
added limit

12 years agorefator self.cpe out
Dobrica Pavlinusic [Sun, 10 Jul 2011 11:59:23 +0000 (13:59 +0200)]
refator self.cpe out

12 years agodecode hstore column back into HASH
Dobrica Pavlinusic [Sat, 9 Jul 2011 20:59:38 +0000 (22:59 +0200)]
decode hstore column back into HASH

12 years agoreturn simple table dump sa json
Dobrica Pavlinusic [Sat, 9 Jul 2011 20:18:15 +0000 (22:18 +0200)]
return simple table dump sa json

12 years agospecify just hash names and generate SQL from it
Dobrica Pavlinusic [Sat, 9 Jul 2011 19:50:18 +0000 (21:50 +0200)]
specify just hash names and generate SQL from it

12 years agogenerate _cpe_vendor and _cpe_parser fields in LDAP_search response
Dobrica Pavlinusic [Sat, 9 Jul 2011 19:09:27 +0000 (21:09 +0200)]
generate _cpe_vendor and _cpe_parser fields in LDAP_search response

12 years agognuplot object now has structure
Dobrica Pavlinusic [Sat, 9 Jul 2011 18:44:58 +0000 (20:44 +0200)]
gnuplot object now has structure

12 years agofix gnuplot sql
Dobrica Pavlinusic [Sat, 9 Jul 2011 18:33:33 +0000 (20:33 +0200)]
fix gnuplot sql

12 years agopass gearman timeout option correctly
Dobrica Pavlinusic [Sat, 9 Jul 2011 17:16:19 +0000 (17:16 +0000)]
pass gearman timeout option correctly

12 years agoset and get json correctly in redis for caching gearman
Dobrica Pavlinusic [Sat, 9 Jul 2011 16:29:35 +0000 (16:29 +0000)]
set and get json correctly in redis for caching gearman

12 years agonew poll example SQL queries
Dobrica Pavlinusic [Sat, 9 Jul 2011 15:29:13 +0000 (15:29 +0000)]
new poll example SQL queries

12 years agocache gearman calls from web_ui in redis
Dobrica Pavlinusic [Sat, 9 Jul 2011 14:24:06 +0000 (14:24 +0000)]
cache gearman calls from web_ui in redis

12 years agoadded links for database schema
Dobrica Pavlinusic [Fri, 8 Jul 2011 23:23:16 +0000 (01:23 +0200)]
added links for database schema

12 years agoimplement psql plain-text output
Dobrica Pavlinusic [Fri, 8 Jul 2011 23:20:22 +0000 (01:20 +0200)]
implement psql plain-text output

12 years agorename tables and functions to make them consistant
Dobrica Pavlinusic [Wed, 6 Jul 2011 20:04:36 +0000 (22:04 +0200)]
rename tables and functions to make them consistant

12 years agocleanup schema dir
Dobrica Pavlinusic [Wed, 6 Jul 2011 18:41:28 +0000 (20:41 +0200)]
cleanup schema dir

12 years agorename file
Dobrica Pavlinusic [Wed, 6 Jul 2011 18:39:33 +0000 (20:39 +0200)]
rename file

12 years agoadded error columns
Dobrica Pavlinusic [Wed, 6 Jul 2011 18:39:19 +0000 (20:39 +0200)]
added error columns

12 years agofix eval typo
Dobrica Pavlinusic [Wed, 6 Jul 2011 16:06:24 +0000 (18:06 +0200)]
fix eval typo

12 years agocleanup CPE poller to use new H1:: modules
Dobrica Pavlinusic [Wed, 6 Jul 2011 14:47:12 +0000 (16:47 +0200)]
cleanup CPE poller to use new H1:: modules

12 years agoparse full adsl info --show
Dobrica Pavlinusic [Wed, 6 Jul 2011 14:22:19 +0000 (16:22 +0200)]
parse full adsl info --show

12 years agofix perms
Dobrica Pavlinusic [Wed, 6 Jul 2011 11:45:26 +0000 (13:45 +0200)]
fix perms

12 years agomake EasyGateway stand-alone module called from CPE_ping
Dobrica Pavlinusic [Wed, 6 Jul 2011 11:43:27 +0000 (13:43 +0200)]
make EasyGateway stand-alone module called from CPE_ping

12 years agostore ip for CPE.EasyGateway.queued
Dobrica Pavlinusic [Tue, 5 Jul 2011 20:55:10 +0000 (22:55 +0200)]
store ip for CPE.EasyGateway.queued

12 years agoEasyGateway_info accepts just IP address
Dobrica Pavlinusic [Tue, 5 Jul 2011 20:54:51 +0000 (22:54 +0200)]
EasyGateway_info accepts just IP address

12 years agoCPE_poll
Dobrica Pavlinusic [Tue, 5 Jul 2011 19:55:45 +0000 (21:55 +0200)]
CPE_poll

12 years agoremove old poll implementation replaced with CPE
Dobrica Pavlinusic [Tue, 5 Jul 2011 19:43:52 +0000 (21:43 +0200)]
remove old poll implementation replaced with CPE

12 years agomodify schema for new CPE stats
Dobrica Pavlinusic [Tue, 5 Jul 2011 19:42:47 +0000 (21:42 +0200)]
modify schema for new CPE stats

12 years agostore columns availabe in schema and ignore others
Dobrica Pavlinusic [Tue, 5 Jul 2011 19:42:18 +0000 (21:42 +0200)]
store columns availabe in schema and ignore others

12 years agospeed up select test
Dobrica Pavlinusic [Tue, 5 Jul 2011 19:23:06 +0000 (21:23 +0200)]
speed up select test

12 years agosetup min_processes to 0 for all workers
Dobrica Pavlinusic [Tue, 5 Jul 2011 19:00:35 +0000 (21:00 +0200)]
setup min_processes to 0 for all workers

12 years agorename davolink table and collect queued and ok
Dobrica Pavlinusic [Tue, 5 Jul 2011 18:53:23 +0000 (20:53 +0200)]
rename davolink table and collect queued and ok

12 years agoshow CPE stats instead of (unused) poll
Dobrica Pavlinusic [Tue, 5 Jul 2011 17:57:33 +0000 (19:57 +0200)]
show CPE stats instead of (unused) poll

12 years agobetter redis CPE stats
Dobrica Pavlinusic [Tue, 5 Jul 2011 17:57:10 +0000 (19:57 +0200)]
better redis CPE stats

12 years agoadded pid file
Dobrica Pavlinusic [Tue, 5 Jul 2011 17:55:07 +0000 (19:55 +0200)]
added pid file

12 years agotune CPE and EasyGateway processes
Dobrica Pavlinusic [Tue, 5 Jul 2011 17:09:40 +0000 (19:09 +0200)]
tune CPE and EasyGateway processes

12 years agofix prefix remove
Dobrica Pavlinusic [Tue, 5 Jul 2011 17:09:26 +0000 (19:09 +0200)]
fix prefix remove

12 years agostore CPE poll stats
Dobrica Pavlinusic [Tue, 5 Jul 2011 17:09:09 +0000 (19:09 +0200)]
store CPE poll stats

12 years agoreplacement for APKPM::Poll
Dobrica Pavlinusic [Tue, 5 Jul 2011 12:42:44 +0000 (14:42 +0200)]
replacement for APKPM::Poll

renamed to CPE since it *is* CPE poller, and now with support for
polling from Davolink and EasyGateway

12 years agopull adsl by default if nothing specified
Dobrica Pavlinusic [Tue, 5 Jul 2011 12:31:15 +0000 (14:31 +0200)]
pull adsl by default if nothing specified

12 years agosave pid file so we can restart workers
Dobrica Pavlinusic [Tue, 5 Jul 2011 11:23:48 +0000 (13:23 +0200)]
save pid file so we can restart workers

12 years agoEasyGateway SOAP poller
Dobrica Pavlinusic [Sun, 3 Jul 2011 19:30:55 +0000 (21:30 +0200)]
EasyGateway SOAP poller

12 years agoadded variant to zte_poll
Dobrica Pavlinusic [Thu, 23 Jun 2011 11:27:19 +0000 (13:27 +0200)]
added variant to zte_poll

12 years agostore last zte_poll in database
Dobrica Pavlinusic [Thu, 23 Jun 2011 11:23:49 +0000 (13:23 +0200)]
store last zte_poll in database

12 years agoextract redis_status into APKPM::Model
Dobrica Pavlinusic [Thu, 23 Jun 2011 11:06:24 +0000 (13:06 +0200)]
extract redis_status into APKPM::Model

12 years agocontrol warn output with DEBUG env var
Dobrica Pavlinusic [Thu, 23 Jun 2011 10:37:30 +0000 (12:37 +0200)]
control warn output with DEBUG env var

all warn output prefixed with one or more # (hash) symbols will be
skipped in output if DEBUG=3 level isn't ### for example

12 years agoshow stats of all poll_* on one page
Dobrica Pavlinusic [Mon, 20 Jun 2011 20:43:10 +0000 (22:43 +0200)]
show stats of all poll_* on one page

12 years agoinstall cron file with: sudo ./cron.sh install
Dobrica Pavlinusic [Mon, 20 Jun 2011 20:42:48 +0000 (22:42 +0200)]
install cron file with: sudo ./cron.sh install

12 years agospecify poll_* to call from cron
Dobrica Pavlinusic [Mon, 20 Jun 2011 20:39:41 +0000 (22:39 +0200)]
specify poll_* to call from cron

12 years agoreturn small stats hash
Dobrica Pavlinusic [Mon, 20 Jun 2011 20:38:54 +0000 (22:38 +0200)]
return small stats hash

12 years agoremove poll_ZTE* and return stats only
Dobrica Pavlinusic [Mon, 20 Jun 2011 20:38:37 +0000 (22:38 +0200)]
remove poll_ZTE* and return stats only

12 years agocreate fresh gearman client for each gc call
Dobrica Pavlinusic [Mon, 20 Jun 2011 18:24:27 +0000 (20:24 +0200)]
create fresh gearman client for each gc call

12 years agomove ping inside poll_ip_username
Dobrica Pavlinusic [Mon, 20 Jun 2011 18:22:58 +0000 (20:22 +0200)]
move ping inside poll_ip_username

12 years agoincrease number of poll_ip_username to 40
Dobrica Pavlinusic [Mon, 20 Jun 2011 18:21:12 +0000 (20:21 +0200)]
increase number of poll_ip_username to 40

since we don't use external ping worker we still can do this and fit into 4G
or RAM with ~500Mb free at all times

12 years agoset min_processes to 0 for poll_*
Dobrica Pavlinusic [Mon, 20 Jun 2011 17:14:47 +0000 (19:14 +0200)]
set min_processes to 0 for poll_*

12 years agoset min_processes to 0
Dobrica Pavlinusic [Mon, 20 Jun 2011 17:14:34 +0000 (19:14 +0200)]
set min_processes to 0

12 years agodon't keep one worker started if not needed
Dobrica Pavlinusic [Mon, 20 Jun 2011 16:57:54 +0000 (18:57 +0200)]
don't keep one worker started if not needed

12 years agoreturn without telnet handle
Dobrica Pavlinusic [Mon, 20 Jun 2011 16:57:28 +0000 (18:57 +0200)]
return without telnet handle

12 years agoallocate one process for 50 ports
Dobrica Pavlinusic [Mon, 20 Jun 2011 15:26:33 +0000 (17:26 +0200)]
allocate one process for 50 ports

command-line paramenter is now hard limit for maximum number of parallel
scans on single IP address

12 years agoremove debug warn
Dobrica Pavlinusic [Mon, 20 Jun 2011 15:10:33 +0000 (17:10 +0200)]
remove debug warn

12 years agorename redis stats, move validation on enqueue, fix logout
Dobrica Pavlinusic [Mon, 20 Jun 2011 14:50:56 +0000 (16:50 +0200)]
rename redis stats, move validation on enqueue, fix logout

12 years agoCRM can handle 3 requests in parallel
Dobrica Pavlinusic [Mon, 20 Jun 2011 14:04:36 +0000 (16:04 +0200)]
CRM can handle 3 requests in parallel

12 years agologout with telnet session is not good reason to die
Dobrica Pavlinusic [Mon, 20 Jun 2011 13:53:14 +0000 (15:53 +0200)]
logout with telnet session is not good reason to die

12 years agoinvoke poll_ZTEDSLAM and poll_ZTEMSAN for presistant workers
Dobrica Pavlinusic [Sun, 19 Jun 2011 15:32:14 +0000 (17:32 +0200)]
invoke poll_ZTEDSLAM and poll_ZTEMSAN for presistant workers

12 years agonever use more than one process for CRM
Dobrica Pavlinusic [Sun, 19 Jun 2011 15:31:36 +0000 (17:31 +0200)]
never use more than one process for CRM

12 years agospecify max_processes as second argument in command-line
Dobrica Pavlinusic [Sun, 19 Jun 2011 14:04:17 +0000 (16:04 +0200)]
specify max_processes as second argument in command-line

12 years agoreorg stats collected in redis in variant.ip.description sets
Dobrica Pavlinusic [Wed, 25 May 2011 21:14:27 +0000 (23:14 +0200)]
reorg stats collected in redis in variant.ip.description sets

12 years agofix port arguments
Dobrica Pavlinusic [Wed, 25 May 2011 19:06:43 +0000 (21:06 +0200)]
fix port arguments

12 years agoadd ZTEMSAN to poll stats
Dobrica Pavlinusic [Wed, 25 May 2011 19:06:13 +0000 (21:06 +0200)]
add ZTEMSAN to poll stats

12 years agospecify ZTEDSLAM (default) or ZTEMSAN in command line
Dobrica Pavlinusic [Wed, 25 May 2011 18:38:25 +0000 (20:38 +0200)]
specify ZTEDSLAM (default) or ZTEMSAN in command line

12 years agorefactor ZTEMSAN to use ZTE role
Dobrica Pavlinusic [Wed, 25 May 2011 18:08:21 +0000 (20:08 +0200)]
refactor ZTEMSAN to use ZTE role

12 years agorefactor common parts into ZTE role
Dobrica Pavlinusic [Wed, 25 May 2011 17:47:07 +0000 (19:47 +0200)]
refactor common parts into ZTE role

12 years agogenerate more stats in redis
Dobrica Pavlinusic [Wed, 25 May 2011 17:28:15 +0000 (19:28 +0200)]
generate more stats in redis

12 years agoreturn number of DSLAM IPs so job won't fail
Dobrica Pavlinusic [Wed, 25 May 2011 17:28:04 +0000 (19:28 +0200)]
return number of DSLAM IPs so job won't fail

12 years agoset start after del
Dobrica Pavlinusic [Wed, 25 May 2011 16:19:44 +0000 (18:19 +0200)]
set start after del

12 years agoshow ZTEDSLAM stats over web
Dobrica Pavlinusic [Wed, 25 May 2011 16:14:26 +0000 (18:14 +0200)]
show ZTEDSLAM stats over web

12 years agorecord start and finish in redis
Dobrica Pavlinusic [Wed, 25 May 2011 16:11:19 +0000 (18:11 +0200)]
record start and finish in redis