Виктор, используйте систему интеграции, в процессе разработки, если да, то какую?
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 MenuBuild UNICODE libraries : NO
/* Define to 1 if you have the `gmtime_r' function. */
#define HAVE_GMTIME_R 1
/* Define to 1 if you have the `iconv' function. */
/* #undef HAVE_ICONV */
/* Define to 1 if iconv supports ASCII */
#define HAVE_ICONV_ASCII 1
# uname -rms
FreeBSD 6.3-STABLE i386
# ./configure --with-server --with-client --with-agent --with-mysql
# mysql -p netxms < dbinit_mysql.sql
Enter password:
ERROR 1064 (42000) at line 342: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integter not null,
situation_instance varchar(255) not null,
PRIMARY KEY(rule_' at line 12
# nxdbmgr -c /usr/local/etc/netxmsd.conf init dbinit_mysql.sql
NetXMS Database Manager Version 0.2.20-rc1
Configuration file OK
Initializing database...
SQL query failed:
CREATE TABLE event_policy
(
rule_id integer not null,
flags integer not null,
comments blob not null,
script blob not null,
alarm_message varchar(255) not null,
alarm_severity integer not null,
alarm_key varchar(255) not null,
alarm_timeout integer not null,
alarm_timeout_event integer not null,
situation_id integter not null,
situation_instance varchar(255) not null,
PRIMARY KEY(rule_id)
)
Database initialization failed
QuoteCannot terminate alarm, Invalid alarm IDзахожу в ObjectBrowser>Node>Alarms(вкладка)
QuoteCannot terminate alarm, Invalid alarm ID
QuoteNETXMS CONSOLE CRASH DUMP
Thu Dec 06 13:44:01 2007
EXCEPTION: C0000005 (Access violation) at 7C92AE22
NetXMS Console Version: 0.2.19
OS Version: Windows XP Build 2600 Service Pack 2
Processor architecture: Intel x86
Register information:
eax=0012FA54 ebx=00000000 ecx=00000000 edx=005E0608
esi=0012FAF8 edi=005E0000 ebp=0138FF34 esp=0138FE78
cs=001B ds=0023 es=0023 ss=0023 fs=003B gs=0000 flags=00010203
Call stack:
[ntdll:7C92AE22]: RtlImpersonateSelf
[msvcrt:77C1C2DE]: free
[nxcon:0040AEB3]: (function-name not available)
[kernel32:7C80B683]: GetModuleFileNameA
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 -V