Revision 077e4de7
Prise en compte conventions de codage
Change-Id: I74d6ea904e099519e7d2b08f0586696470514280
Reviewed-on: https://vigilo-dev.si.c-s.fr/review/2367
Tested-by: Build system <qa@vigilo-dev.si.c-s.fr>
Reviewed-by: Francois POIROTTE <francois.poirotte@c-s.fr>
src/Vigilo/VigiloSoftwareList.php | ||
---|---|---|
1 | 1 |
<?php |
2 |
|
|
2 | 3 |
function getSoftwareList($computer) |
3 | 4 |
{ |
4 |
return array('httpd' =>array("addHTTPTest",array()), //http Apache server of CentOS |
|
5 |
'apache2' =>array("addHTTPTest",array()), //http Apache server |
|
6 |
'aolserver-4' =>array("addHTTPTest",array()), //AOL web server |
|
7 |
'gunicorn' =>array("addHTTPTest",array()), //Event-based HTTP/WSGI server |
|
8 |
'ebhttpd' =>array("addHTTPTest",array()), //Specialized HTTP server to access CD-ROM books |
|
9 |
'lighttpd' =>array("addHTTPTest",array()), //Fast webserver with minimal memory footprint |
|
10 |
'micro-httpd' =>array("addHTTPTest",array()), //Really small HTTP server |
|
11 |
'nghttp2' =>array("addHTTPTest",array()), //nghttp HTTP 2.0 servers |
|
12 |
'nginx' =>array("addHTTPTest",array()), //Small, powerful, scalable web/proxy server |
|
13 |
'webfs' =>array("addHTTPTest",array()), //Lightweight HTTP server for static content |
|
14 |
'yaws' =>array("addHTTPTest",array()), //High performance HTTP 1.1 webserver written by Erlang |
|
15 |
'elserv' =>array("addHTTPTest",array()), //HTTP server that runs on Emacsen |
|
16 |
'thin' =>array("addHTTPTest",array()), //Fast and very simple Ruby web server |
|
17 |
'webdis' =>array("addHTTPTest",array()), //Web server providing an HTTP interface to Redis |
|
18 |
//'ntp'=>array("addNTPTest",array()), //Network Time Protocol deamon and utility programs |
|
19 |
|
|
20 |
'vigilo-connector-metro' =>array("addVigiloConnectorTest",array("metro")), //Vigilo module receiving and stocking metrology data |
|
21 |
'vigilo-connector-nagios' =>array("addVigiloConnectorTest",array("nagios")), //Vigilo module sharing data with Nagios |
|
22 |
'vigilo-connector-syncevent' =>array("addVigiloConnectorTest",array("syncevent")), |
|
23 |
'vigilo-connector-vigiconf' =>array("addVigiloConnectorTest",array("vigiconf")), |
|
24 |
|
|
25 |
'nagios' =>array("addNagiosTest",array()), //Host/service/network monitoring and management system for CentOS |
|
26 |
'nagios3' =>array("addNagiosTest",array()), //Host/service/network monitoring and management system for Debian |
|
27 |
|
|
28 |
'memcached' =>array("addMemcachedTest",array($computer)), //High-performance memory object caching system |
|
29 |
'yrmcds' =>array("addMemcachedTest",array($computer)), //Memory object caching system with master/slave replication and server-side locking. |
|
30 |
|
|
31 |
'openssh-server' =>array("addSSHTest",array()), //Secure shell (SSH) server, for secure access from remote machines |
|
32 |
'ssh' =>array("addSSHTest",array()), //Secure shell client and server (metapackage) |
|
33 |
|
|
34 |
'mariadb-server' =>array("addPGSQLTest",array($computer)), //MariaDB database server |
|
35 |
'mysql-server' =>array("addPGSQLTest",array($computer)), //MySQL database server |
|
36 |
|
|
37 |
'micro-proxy' =>array("addProxyTest",array($computer)), //Really small HTTP/HTTPS proxy |
|
38 |
'ntlmaps' =>array("addProxyTest",array($computer)), //NTLM Authorization Proxy Server |
|
39 |
'privoxy' =>array("addProxyTest",array($computer)), //Privacy enhancing HTTP Proxy |
|
40 |
'squid3' =>array("addProxyTest",array($computer)), //Full featured Web Proxy cache (HTTP proxy) |
|
41 |
'tinyproxy' =>array("addProxyTest",array($computer)), //A lightweight, non-caching, optionally anonymizing HTTP proxy |
|
42 |
|
|
43 |
'rrdcached' =>array("addRRDcachedTest",array($computer))); //Data caching daemon for RRDtool |
|
5 |
return array( |
|
6 |
/** |
|
7 |
* Serveurs web |
|
8 |
*/ |
|
9 |
// Apache HTTP Server (RHEL/CentOS) |
|
10 |
'httpd' => array("addHTTPTest", array()), |
|
11 |
|
|
12 |
// Apache HTTP Server (Debian) |
|
13 |
'apache2' => array("addHTTPTest", array()), |
|
14 |
|
|
15 |
// AOL web server |
|
16 |
'aolserver-4' => array("addHTTPTest", array()), |
|
17 |
|
|
18 |
// Event-based HTTP/WSGI server |
|
19 |
'gunicorn' => array("addHTTPTest", array()), |
|
20 |
|
|
21 |
// Specialized HTTP server to access CD-ROM books |
|
22 |
'ebhttpd' => array("addHTTPTest", array()), |
|
23 |
|
|
24 |
// Fast webserver with minimal memory footprint |
|
25 |
'lighttpd' => array("addHTTPTest", array()), |
|
26 |
|
|
27 |
// Really small HTTP server |
|
28 |
'micro-httpd' => array("addHTTPTest", array()), |
|
29 |
|
|
30 |
// nghttp HTTP 2.0 servers |
|
31 |
'nghttp2' => array("addHTTPTest", array()), |
|
32 |
|
|
33 |
// Small, powerful, scalable web/proxy server |
|
34 |
'nginx' => array("addHTTPTest", array()), |
|
35 |
|
|
36 |
// Lightweight HTTP server for static content |
|
37 |
'webfs' => array("addHTTPTest", array()), |
|
38 |
|
|
39 |
// High performance HTTP 1.1 webserver written by Erlang |
|
40 |
'yaws' => array("addHTTPTest", array()), |
|
41 |
|
|
42 |
// HTTP server that runs on Emacsen |
|
43 |
'elserv' => array("addHTTPTest", array()), |
|
44 |
|
|
45 |
// Fast and very simple Ruby web server |
|
46 |
'thin' => array("addHTTPTest", array()), |
|
47 |
|
|
48 |
// Web server providing an HTTP interface to Redis |
|
49 |
'webdis' => array("addHTTPTest", array()), |
|
50 |
|
|
51 |
|
|
52 |
//'ntp'=> array("addNTPTest", array()), //Network Time Protocol deamon and utility programs |
|
53 |
|
|
54 |
|
|
55 |
/** |
|
56 |
* Connecteurs de Vigilo |
|
57 |
*/ |
|
58 |
// Vigilo module receiving and stocking metrology data |
|
59 |
'vigilo-connector-metro' => array("addVigiloConnectorTest", array("metro")), |
|
60 |
|
|
61 |
// Vigilo module sharing data with Nagios |
|
62 |
'vigilo-connector-nagios' => array("addVigiloConnectorTest", array("nagios")), |
|
63 |
|
|
64 |
'vigilo-connector-syncevent' => array("addVigiloConnectorTest", array("syncevent")), |
|
65 |
|
|
66 |
'vigilo-connector-vigiconf' => array("addVigiloConnectorTest", array("vigiconf")), |
|
67 |
|
|
68 |
|
|
69 |
/** |
|
70 |
* Nagios |
|
71 |
*/ |
|
72 |
// Host/service/network monitoring and management system (RHEL/CentOS) |
|
73 |
'nagios' => array("addNagiosTest", array()), |
|
74 |
|
|
75 |
// Host/service/network monitoring and management system (Debian) |
|
76 |
'nagios3' => array("addNagiosTest", array()), |
|
77 |
|
|
78 |
|
|
79 |
/** |
|
80 |
* Caches mémoires |
|
81 |
*/ |
|
82 |
// High-performance memory object caching system |
|
83 |
'memcached' => array("addMemcachedTest", array($computer)), |
|
84 |
|
|
85 |
//Memory object caching system with master/slave replication and server-side locking |
|
86 |
'yrmcds' => array("addMemcachedTest", array($computer)), |
|
87 |
|
|
88 |
//Data caching daemon for RRDtool |
|
89 |
'rrdcached' => array("addRRDcachedTest", array($computer)), |
|
90 |
|
|
91 |
|
|
92 |
/** |
|
93 |
* Serveurs SSH |
|
94 |
*/ |
|
95 |
// Secure shell (SSH) server, for secure access from remote machines |
|
96 |
'openssh-server' => array("addSSHTest", array()), |
|
97 |
|
|
98 |
// Secure shell client and server (metapackage) |
|
99 |
'ssh' => array("addSSHTest", array()), |
|
100 |
|
|
101 |
|
|
102 |
/** |
|
103 |
* Bases de données |
|
104 |
*/ |
|
105 |
// MariaDB database server |
|
106 |
'mariadb-server' => array("addPGSQLTest", array($computer)), |
|
107 |
|
|
108 |
// MySQL database server |
|
109 |
'mysql-server' => array("addPGSQLTest", array($computer)), |
|
110 |
|
|
111 |
|
|
112 |
/** |
|
113 |
* Serveurs mandataires |
|
114 |
*/ |
|
115 |
// Really small HTTP/HTTPS proxy |
|
116 |
'micro-proxy' => array("addProxyTest", array($computer)), |
|
117 |
|
|
118 |
// NTLM Authorization Proxy Server |
|
119 |
'ntlmaps' => array("addProxyTest", array($computer)), |
|
120 |
|
|
121 |
// Privacy enhancing HTTP Proxy |
|
122 |
'privoxy' => array("addProxyTest", array($computer)), |
|
123 |
|
|
124 |
// Full featured Web Proxy cache (HTTP proxy) |
|
125 |
'squid3' => array("addProxyTest", array($computer)), |
|
126 |
|
|
127 |
// A lightweight, non-caching, optionally anonymizing HTTP proxy |
|
128 |
'tinyproxy' => array("addProxyTest", array($computer)), |
|
129 |
); |
|
44 | 130 |
} |
Also available in: Unified diff