![IBM Carrier Grade X3650 T Скачать руководство пользователя страница 104](http://html1.mh-extra.com/html/ibm/carrier-grade-x3650-t/carrier-grade-x3650-t_user-manual_4040617104.webp)
IBM® Carrier Grade Server X3650 T
Revision
3.0
96
"severity > WARNING && severity < CRIT"
/* ">" and "<" not supported for severity attribute */
"gid == 12"
/* gid attribute not supported */
"recid >= 1000"
/* ">=" not supported for recid attribute */
By comparison, the following sample expressions shall yield valid limited queries:
"event_type = devunmnt && severity >= CRIT"
"uid == 12"
"recid = 1000"
"event_type=devadd && uid=\"root\""
Note:
The implementation must support general queries, as defined in the query sections. However, it is
permissible for the implementation to place no limitations at all on “limited” queries, with the effect that
limited queries follow the same rules as general queries.
17.2.8.3 Returns
Upon successful completion, these functions shall return zero. Otherwise, an error number shall be
returned to indicate the error. If
syscon_log_query_create
() fails, the query object pointed to by
query
shall remain unchanged. If
syscon_log_query_get
() fails, the values pointed to by
query_string
and
purpose
shall remain unchanged.
17.2.8.4 Errors
If any of the following conditions occur, the
syscon_log_query_create
()
function shall return the
corresponding error number:
•
[EINVAL]:
The
query
argument is
NULL
.
•
[EINVAL]:
The
query_string
argument is
NULL
, or points to an expression string that is empty or
contains one or more syntactic or semantic errors.
•
[EINVAL]:
The
purpose
argument is invalid.
•
[ENOTSUP]: According to the
purpose
argument, the specified query must qualify as a limited
query, but it does not.
If any of the following conditions occur, the
syscon_log_query_get
()
function shall return the
corresponding error number:
•
[EINVAL]:
The
query
argument is
NULL
, or points to an invalid query object.
•
[EMSGSIZE]:
The
qsbuf
argument is
NULL
, or the buffer length (as specified by the
qslen
argument) is insufficient to hold the returned character string.
17.2.8.5 Cross-References
None.
17.2.9
Destroy Log Query
Function: syscon_log_query_destroy()
Содержание Carrier Grade X3650 T
Страница 1: ...IBM Carrier Grade Server X3650 T SysCon User s Guide Order Number D23731 003 Revision 3 0 March 2006...
Страница 8: ...IBM Carrier Grade Server X3650 T Revision 3 0 viii This page intentionally left blank...
Страница 12: ...IBM Carrier Grade Server X3650 T Revision 3 0 4...
Страница 15: ...IBM Carrier Grade Server X3650 T Revision 3 0 7...
Страница 17: ...IBM Carrier Grade Server X3650 T Revision 3 0 9...
Страница 25: ...IBM Carrier Grade Server X3650 T Revision 3 0 17...
Страница 43: ...IBM Carrier Grade Server X3650 T Revision 3 0 35...