Retter, сделать так или иначе - Ваше право
своё предпочтение отдаю оригиналу в скобках
			своё предпочтение отдаю оригиналу в скобках
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuoteПеревел еще пару пунктов и выложил в вики.добавьте ссылку на следующей странице http://wiki.netxms.org/wiki/Nxwiki_ru
ExtendedStatus        On
<Location /server-status>
        SetHandler server-status
        Order deny,allow
        Deny from all
        Allow from localhost
</Location># parameters for monitoring WebServer Apache
ExternalParameter = ApacheAccesses(*):fetch -qo - http://$1/server-status?auto | head -n 9 | grep Accesses | cut -d " " -f 3
ExternalParameter = ApacheTotalKb(*):fetch -qo - http://$1/server-status?auto | head -n 9 | grep kBytes | cut -d " " -f 3
ExternalParameter = ApacheCPULoad(*):fetch -qo - http://$1/server-status?auto | head -n 9 | grep CPULoad | cut -d " " -f 2
ExternalParameter = ApacheUptime(*):fetch -qo - http://$1/server-status?auto | head -n 9 | grep Uptime | cut -d " " -f 2
ExternalParameter = ApacheReqPerSec(*):fetch -qo - http://$1/server-status?auto | head -n 9 | grep ReqPerSec | cut -d " " -f 2
ExternalParameter = ApacheBytesPerSec(*):fetch -qo - http://$1/server-status?auto | head -n 9 | grep BytesPerSec | cut -d " " -f 2
ExternalParameter = ApacheBytesPerReq(*):fetch -qo - http://$1/server-status?auto | head -n 9 | grep BytesPerReq | cut -d " " -f 2
ExternalParameter = ApacheBusyServers(*):fetch -qo - http://$1/server-status?auto | head -n 9 | grep BusyServers | cut -d " " -f 2
ExternalParameter = ApacheIdleServers(*):fetch -qo - http://$1/server-status?auto | head -n 9 | grep IdleServers | cut -d " " -f 2# fetch -qo - http://localhost/server-status?auto
Total Accesses: 5
Total kBytes: 3
Uptime: 6
ReqPerSec: .833333
BytesPerSec: 512
BytesPerReq: 614.4
BusyServers: 1
IdleServers: 4
Scoreboard: W____...                location /nginx_status {
                    stub_status on;
                    access_log   off;
                    allow 127.0.0.254;
                    deny all;
                }# parameters for monitoring WebServer Nginx
ExternalParameter = NginxActiveConnections(*):fetch -qo - http://$1:$2/nginx_status | grep "Active connections" | cut -f3 -d" "
ExternalParameter = NginxServerAccepts(*):fetch -qo - http://$1:$2/nginx_status | head -n3 | tail -n1 | cut -f2 -d" "
ExternalParameter = NginxServerHandled(*):fetch -qo - http://$1:$2/nginx_status | head -n3 | tail -n1 | cut -f3 -d" "
ExternalParameter = NginxServerRequests(*):fetch -qo - http://$1:$2/nginx_status | head -n3 | tail -n1 | cut -f4 -d" "
ExternalParameter = NginxServerReading(*):fetch -qo - http://$1:$2/nginx_status | head -n4 | tail -n1 | cut -f2 -d" "
ExternalParameter = NginxServerWriting(*):fetch -qo - http://$1:$2/nginx_status | head -n4 | tail -n1 | cut -f4 -d" "
ExternalParameter = NginxServerWaiting(*):fetch -qo - http://$1:$2/nginx_status | head -n4 | tail -n1 | cut -f6 -d" "# fetch -qo - http://localhost:85/nginx_status
Active connections: 13
server accepts handled requests
 234 327 236
Reading: 0 Writing: 412 Waiting: 0# parameters for monitoring MySQL server
ExternalParameter = MySQL_Ping,mysqladmin -uroot ping|grep alive|wc -l
ExternalParameter = MySQL_Uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T"
ExternalParameter = MySQL_Threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q"
ExternalParameter = MySQL_Questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S"
ExternalParameter = MySQL_SlowQueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O"
ExternalParameter = MySQL_qps,mysqladmin -uroot status|cut -f9 -d":"
ExternalParameter = MySQL_Version,mysql -VQuotehttp://lists.communigate.com/Lists/CGatePro/Message/93043.html
History:
5.2c1 23-Oct-07 5.2c1 23-Oct-2007 Valid Core License Keys: issued after 01-Sep-2006.
* ROUTER: all records are "NORELAY" by default now.
PLEASE CHECK YOUR EXISTING Router Records!.
* MAILBOX: Synchronization snapshots are implemented.
* AIRSYNC: the Windows Mobile Email/Calendaring/Contacts "ActiveSync"
synchronization protocol is implemented.
* XIMSS: HTTP binding is implemented.
* Parlay: the Parlay X "Third Party Call Control" and "Call Handling"
interfaces are implemented.
* WebApp: CG/PL Web Applications are supported now.
* MEDIA: inband DTMF detection is implemented.
* MEDIA: "play position" operations are implemented.
* Admin: the Account Type Licensing concept is implemented.
* Admin: the Class of Service mechanism is implemented for Account Settings.
* Admin: the AirSync Service setting is implemented.
* Admin: the Temp Blocked Addresses setting is moved from the SMTP Settings
to Network->Blacklisted Settings.
* Admin: the Alt RADIUS Password and Alt SIP Password Account settings
become standard ones.
* Admin: the Client IP Addresses Domain-level settings are implemented.
* Admin: the CanControlCluster Monitor admin right is implemented.
* Foundation: now XML parser supports complex DOCTYPEs, non-UTF-8 charsets,
and processes ENTITY data.
* Foundation: the SHA256 digest algorithm is implemented.
* XIMSS, XMPP: message delivery failure is reported back to the client now.
* SNMP: MIB elements renamed (they start with lowercase letters) to confirm
to SNMP naming recommendations.
mibs/CGatePro-MIB:13: [2] {bad-identifier-case} `StalkerMIB' should start with a lower case letter
mibs/CGatePro-MIB:13: [1] {internal-other} syntax error, unexpected MODULE_IDENTITY, expecting OBJECT
mibs/CGatePro-MIB:32: [5] {internal-flushing} warning: flushing recent incorrect declaration, see previous error(s)
mibs/CGatePro-MIB:35: [2] {bad-identifier-case} `CommuniGatePro' should start with a lower case letter
mibs/CGatePro-MIB:36: [2] {bad-identifier-case} `StalkerMIB' should start with a lower case letter
mibs/CGatePro-MIB:39: [2] {bad-identifier-case} `CGateProObject' should start with a lower case letter
mibs/CGatePro-MIB:40: [2] {bad-identifier-case} `CommuniGatePro' should start with a lower case letter
mibs/CGatePro-MIB:43: [2] {bad-identifier-case} `CGateProModule' should start with a lower case letter
mibs/CGatePro-MIB:44: [2] {bad-identifier-case} `CGateProObject' should start with a lower case letter
mibs/CGatePro-MIB:48: [2] {bad-identifier-case} `CGateProModule' should start with a lower case letter
mibs/CGatePro-MIB:57: [5] {integer-misuse} warning: use Integer32 instead of INTEGER in SMIv2
mibs/CGatePro-MIB:57: [2] {access-in-smiv2} ACCESS is SMIv1 style, use MAX-ACCESS in SMIv2 MIBs instead
mibs/CGatePro-MIB:65: [5] {integer-misuse} warning: use Integer32 instead of INTEGER in SMIv2
mibs/CGatePro-MIB:65: [2] {access-in-smiv2} ACCESS is SMIv1 style, use MAX-ACCESS in SMIv2 MIBs instead
mibs/CGatePro-MIB:73: [2] {access-in-smiv2} ACCESS is SMIv1 style, use MAX-ACCESS in SMIv2 MIBs instead
mibs/CGatePro-MIB:81: [2] {access-in-smiv2} ACCESS is SMIv1 style, use MAX-ACCESS in SMIv2 MIBs instead
mibs/CGatePro-MIB:89: [2] {access-in-smiv2} ACCESS is SMIv1 style, use MAX-ACCESS in SMIv2 MIBs instead
mibs/CGatePro-MIB:97: [2] {access-in-smiv2} ACCESS is SMIv1 style, use MAX-ACCESS in SMIv2 MIBs instead
mibs/CGatePro-MIB:105: [2] {access-in-smiv2} ACCESS is SMIv1 style, use MAX-ACCESS in SMIv2 MIBs instead
mibs/CGatePro-MIB:113: [2] {access-in-smiv2} ACCESS is SMIv1 style, use MAX-ACCESS in SMIv2 MIBs instead
mibs/CGatePro-MIB:121: [2] {access-in-smiv2} ACCESS is SMIv1 style, use MAX-ACCESS in SMIv2 MIBs instead
mibs/CGatePro-MIB:129: [2] {access-in-smiv2} ACCESS is SMIv1 style, use MAX-ACCESS in SMIv2 MIBs instead
mibs/CGatePro-MIB:137: [2] {access-in-smiv2} ACCESS is SMIv1 style, use MAX-ACCESS in SMIv2 MIBs instead
mibs/CGatePro-MIB:145: [2] {access-in-smiv2} ACCESS is SMIv1 style, use MAX-ACCESS in SMIv2 MIBs instead
mibs/CGatePro-MIB:153: [2] {access-in-smiv2} ACCESS is SMIv1 style, use MAX-ACCESS in SMIv2 MIBs instead
mibs/CGatePro-MIB:161: [2] {access-in-smiv2} ACCESS is SMIv1 style, use MAX-ACCESS in SMIv2 MIBs instead
mibs/CGatePro-MIB:173: [5] {integer-misuse} warning: use Integer32 instead of INTEGER in SMIv2
mibs/CGatePro-MIB:173: [2] {access-in-smiv2} ACCESS is SMIv1 style, use MAX-ACCESS in SMIv2 MIBs instead
mibs/CGatePro-MIB:181: [5] {integer-misuse} warning: use Integer32 instead of INTEGER in SMIv2
mibs/CGatePro-MIB:181: [2] {access-in-smiv2} ACCESS is SMIv1 style, use MAX-ACCESS in SMIv2 MIBs instead
mibs/CGatePro-MIB:189: [2] {access-in-smiv2} ACCESS is SMIv1 style, use MAX-ACCESS in SMIv2 MIBs instead
                                      ***