APKPM.git
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

12 years agocreate private Gearman::Client to make taskset work
Dobrica Pavlinusic [Wed, 25 May 2011 16:11:02 +0000 (18:11 +0200)]
create private Gearman::Client to make taskset work

12 years agodecrease Davolink_info max_process to 40
Dobrica Pavlinusic [Wed, 25 May 2011 16:04:28 +0000 (18:04 +0200)]
decrease Davolink_info max_process to 40

12 years agoenqueue logout on end for each ip
Dobrica Pavlinusic [Wed, 25 May 2011 15:55:49 +0000 (17:55 +0200)]
enqueue logout on end for each ip

12 years agostore ZTEDSLAM stats in redis
Dobrica Pavlinusic [Wed, 25 May 2011 14:25:20 +0000 (16:25 +0200)]
store ZTEDSLAM stats in redis

12 years agodon't try to encode non-references
Dobrica Pavlinusic [Wed, 25 May 2011 13:31:13 +0000 (15:31 +0200)]
don't try to encode non-references

12 years agohush more debug
Dobrica Pavlinusic [Wed, 25 May 2011 12:19:58 +0000 (14:19 +0200)]
hush more debug

12 years agopass port into hash call and ip into new
Dobrica Pavlinusic [Wed, 25 May 2011 10:22:45 +0000 (12:22 +0200)]
pass port into hash call and ip into new

12 years agorefactor to proper Moose object
Dobrica Pavlinusic [Wed, 25 May 2011 09:34:10 +0000 (11:34 +0200)]
refactor to proper Moose object

12 years agolimit processes for old search implementation
Dobrica Pavlinusic [Mon, 23 May 2011 19:32:16 +0000 (21:32 +0200)]
limit processes for old search implementation

12 years agohush debug output without DEBUG=1
Dobrica Pavlinusic [Mon, 23 May 2011 19:31:36 +0000 (21:31 +0200)]
hush debug output without DEBUG=1

12 years agoworking ZTEDSLAM poller with persistant workers for each ip
Dobrica Pavlinusic [Mon, 23 May 2011 19:12:36 +0000 (21:12 +0200)]
working ZTEDSLAM poller with persistant workers for each ip

12 years agoopen telnet session to each IP just once
Dobrica Pavlinusic [Mon, 23 May 2011 18:44:43 +0000 (20:44 +0200)]
open telnet session to each IP just once

12 years agoextracted to_hstore
Dobrica Pavlinusic [Mon, 23 May 2011 18:44:09 +0000 (20:44 +0200)]
extracted to_hstore

12 years agofirst try to create persistant worker using Gearman::Driver
Dobrica Pavlinusic [Mon, 23 May 2011 16:50:12 +0000 (18:50 +0200)]
first try to create persistant worker using Gearman::Driver

12 years agospecify search argument in command line
Dobrica Pavlinusic [Mon, 23 May 2011 12:20:01 +0000 (14:20 +0200)]
specify search argument in command line

13 years agocleanup MSAN hash keys and values
Dobrica Pavlinusic [Sat, 21 May 2011 13:08:19 +0000 (15:08 +0200)]
cleanup MSAN hash keys and values

13 years agobuseniss logic and store data in PostgreSQL using hstore
Dobrica Pavlinusic [Sat, 21 May 2011 12:31:16 +0000 (14:31 +0200)]
buseniss logic and store data in PostgreSQL using hstore

13 years agoreturn row
Dobrica Pavlinusic [Sat, 21 May 2011 12:30:27 +0000 (14:30 +0200)]
return row

13 years agoadd default german server localhost:4730 so tests can run
Dobrica Pavlinusic [Sat, 21 May 2011 11:47:29 +0000 (13:47 +0200)]
add default german server localhost:4730 so tests can run

13 years agosimplify API to just ip and shelf/slot/port
Dobrica Pavlinusic [Sat, 21 May 2011 10:59:53 +0000 (12:59 +0200)]
simplify API to just ip and shelf/slot/port

13 years agostore dslam data in hstore
Dobrica Pavlinusic [Sat, 21 May 2011 10:35:01 +0000 (12:35 +0200)]
store dslam data in hstore

13 years agofix second column parsing
Dobrica Pavlinusic [Tue, 10 May 2011 20:17:30 +0000 (22:17 +0200)]
fix second column parsing

13 years agostrip traling spaces
Dobrica Pavlinusic [Tue, 10 May 2011 20:12:24 +0000 (22:12 +0200)]
strip traling spaces

13 years agoparse sections and create dump files with DEBUG=1
Dobrica Pavlinusic [Tue, 10 May 2011 20:08:49 +0000 (22:08 +0200)]
parse sections and create dump files with DEBUG=1

13 years agoZTEMSAN with pager problems
Dobrica Pavlinusic [Tue, 10 May 2011 19:42:48 +0000 (21:42 +0200)]
ZTEMSAN with pager problems

13 years agoZTEDSLAM poller
Dobrica Pavlinusic [Tue, 10 May 2011 19:01:35 +0000 (21:01 +0200)]
ZTEDSLAM poller

13 years agotest all three types
Dobrica Pavlinusic [Sun, 8 May 2011 20:57:45 +0000 (22:57 +0200)]
test all three types

13 years agosimple DSPAM search
Dobrica Pavlinusic [Sat, 7 May 2011 20:09:39 +0000 (22:09 +0200)]
simple DSPAM search

13 years agoincrease gearman timeout to 15s
Dobrica Pavlinusic [Fri, 6 May 2011 09:56:51 +0000 (11:56 +0200)]
increase gearman timeout to 15s

13 years agoadded font-family
Dobrica Pavlinusic [Wed, 13 Apr 2011 15:49:57 +0000 (15:49 +0000)]
added font-family

13 years agomove all info into message div
Dobrica Pavlinusic [Wed, 13 Apr 2011 15:38:49 +0000 (15:38 +0000)]
move all info into message div

13 years agoMerge branch 'devel' of h1dev:/srv/APKPM/
Dobrica Pavlinusic [Wed, 13 Apr 2011 09:23:32 +0000 (09:23 +0000)]
Merge branch 'devel' of h1dev:/srv/APKPM/

13 years agoclear before fetch to remove selection
Dobrica Pavlinusic [Wed, 13 Apr 2011 09:23:27 +0000 (09:23 +0000)]
clear before fetch to remove selection

13 years agoadded adsl(timestamp) index
Dobrica Pavlinusic [Wed, 13 Apr 2011 09:22:14 +0000 (11:22 +0200)]
added adsl(timestamp) index

13 years agoshow just last 100 rows with points
Dobrica Pavlinusic [Wed, 13 Apr 2011 09:13:13 +0000 (09:13 +0000)]
show just last 100 rows with points

13 years agohide sql form
Dobrica Pavlinusic [Wed, 13 Apr 2011 09:12:59 +0000 (09:12 +0000)]
hide sql form

13 years agostyle table with css
Dobrica Pavlinusic [Tue, 12 Apr 2011 20:29:58 +0000 (20:29 +0000)]
style table with css

13 years agomake columns fixed and over content
Dobrica Pavlinusic [Tue, 12 Apr 2011 17:39:16 +0000 (17:39 +0000)]
make columns fixed and over content

13 years agodon't submit without search string
Dobrica Pavlinusic [Tue, 12 Apr 2011 17:26:51 +0000 (17:26 +0000)]
don't submit without search string

13 years agomake proper form so submit via enter works
Dobrica Pavlinusic [Tue, 12 Apr 2011 17:11:12 +0000 (17:11 +0000)]
make proper form so submit via enter works

13 years agoremove old CRM link and use new user search
Dobrica Pavlinusic [Tue, 12 Apr 2011 16:52:27 +0000 (16:52 +0000)]
remove old CRM link and use new user search

13 years agoinclude gnuplot graph from user with cn from ldap
Dobrica Pavlinusic [Tue, 12 Apr 2011 16:49:33 +0000 (16:49 +0000)]
include gnuplot graph from user with cn from ldap

13 years agoselect row from CRM results by clicking on it
Dobrica Pavlinusic [Tue, 12 Apr 2011 16:18:33 +0000 (16:18 +0000)]
select row from CRM results by clicking on it

13 years agoadd/remove columns by clicking on them
Dobrica Pavlinusic [Tue, 12 Apr 2011 15:59:30 +0000 (15:59 +0000)]
add/remove columns by clicking on them

13 years agosearch CRM for username
Dobrica Pavlinusic [Tue, 12 Apr 2011 15:44:59 +0000 (15:44 +0000)]
search CRM for username

13 years agoparse first column for time definition
Dobrica Pavlinusic [Mon, 11 Apr 2011 16:10:32 +0000 (16:10 +0000)]
parse first column for time definition

This change is more correct and allow us to use date(timestamp)
in SQL queries and get correct x axis with something like:

select date(start),avg(ping_error),avg(adsl_ok)
from poll
group by date(start)
order by date(start)

13 years agocreate index on adsl(username) for faster lookup
Dobrica Pavlinusic [Sun, 10 Apr 2011 11:56:58 +0000 (13:56 +0200)]
create index on adsl(username) for faster lookup

13 years agoshow SQL errors
Dobrica Pavlinusic [Sun, 10 Apr 2011 11:27:14 +0000 (11:27 +0000)]
show SQL errors

13 years agocorrect timeout handling
Dobrica Pavlinusic [Thu, 7 Apr 2011 20:51:18 +0000 (20:51 +0000)]
correct timeout handling

13 years agoconfigure timeout and display error about it
Dobrica Pavlinusic [Thu, 7 Apr 2011 20:37:34 +0000 (22:37 +0200)]
configure timeout and display error about it

13 years agocorrect SQL reformating
Dobrica Pavlinusic [Thu, 7 Apr 2011 20:28:05 +0000 (22:28 +0200)]
correct SQL reformating

13 years agocomment out obsolete low-level API tests
Dobrica Pavlinusic [Thu, 7 Apr 2011 20:02:49 +0000 (22:02 +0200)]
comment out obsolete low-level API tests

13 years agoMerge branch 'master' into devel
Dobrica Pavlinusic [Thu, 7 Apr 2011 19:55:40 +0000 (21:55 +0200)]
Merge branch 'master' into devel

13 years agore-format SQL in textarea
Dobrica Pavlinusic [Thu, 7 Apr 2011 19:55:18 +0000 (19:55 +0000)]
re-format SQL in textarea

13 years agocheckbox to include gnuplot dump, off by default
Dobrica Pavlinusic [Thu, 7 Apr 2011 19:54:40 +0000 (19:54 +0000)]
checkbox to include gnuplot dump, off by default

13 years agohide function_name
Dobrica Pavlinusic [Thu, 7 Apr 2011 19:45:05 +0000 (19:45 +0000)]
hide function_name

13 years agoshow last poll statistics in table
Dobrica Pavlinusic [Thu, 7 Apr 2011 19:39:02 +0000 (19:39 +0000)]
show last poll statistics in table

13 years agorun inflate to produce files
Dobrica Pavlinusic [Thu, 7 Apr 2011 19:26:23 +0000 (19:26 +0000)]
run inflate to produce files

13 years agostart poll_prefix from cron
Dobrica Pavlinusic [Tue, 5 Apr 2011 17:14:43 +0000 (19:14 +0200)]
start poll_prefix from cron

This first checks if there is poll_prefix queued already and
exit 1 if it does

13 years agochdir into script directory to use relative paths
Dobrica Pavlinusic [Tue, 5 Apr 2011 12:25:11 +0000 (14:25 +0200)]
chdir into script directory to use relative paths

13 years agoMerge branch 'devel' of h1dev:/srv/APKPM/
Dobrica Pavlinusic [Sun, 27 Mar 2011 18:47:33 +0000 (18:47 +0000)]
Merge branch 'devel' of h1dev:/srv/APKPM/

13 years agocleanup Poll::prefix
Dobrica Pavlinusic [Sun, 27 Mar 2011 18:47:30 +0000 (20:47 +0200)]
cleanup Poll::prefix

13 years agobackground function calls are not dotted
Dobrica Pavlinusic [Sun, 27 Mar 2011 18:27:45 +0000 (18:27 +0000)]
background function calls are not dotted

13 years agoselect for with gnuplot param
Dobrica Pavlinusic [Sun, 27 Mar 2011 17:36:26 +0000 (17:36 +0000)]
select for with gnuplot param