CN116881074A - Method for automatically monitoring performance of edge equipment - Google Patents

Method for automatically monitoring performance of edge equipment Download PDF

Info

Publication number
CN116881074A
CN116881074A CN202310782059.XA CN202310782059A CN116881074A CN 116881074 A CN116881074 A CN 116881074A CN 202310782059 A CN202310782059 A CN 202310782059A CN 116881074 A CN116881074 A CN 116881074A
Authority
CN
China
Prior art keywords
monitored
utilization rate
edge equipment
edge device
database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310782059.XA
Other languages
Chinese (zh)
Inventor
游仙
陈金栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Arcvideo Technology Co ltd
Original Assignee
Hangzhou Arcvideo Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Arcvideo Technology Co ltd filed Critical Hangzhou Arcvideo Technology Co ltd
Priority to CN202310782059.XA priority Critical patent/CN116881074A/en
Publication of CN116881074A publication Critical patent/CN116881074A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3024Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display

Abstract

The invention discloses a method for automatically monitoring the performance of edge equipment, which comprises the following steps: initializing a monitored edge equipment SSHCLIENT object; acquiring information of monitored edge equipment application services at fixed time; acquiring an output video stream of a monitored edge equipment channel at fixed time; when the system is restarted or the application service is restarted, sending alarm information to the user; when the CPU utilization rate, the memory utilization rate and the disk utilization rate exceed the threshold values, alarm information is sent to a user; when the channel output video stream fails to acquire, alarm information is sent to a user; when the monitoring program is disconnected with the monitored edge equipment SSH, the monitoring program reestablishes connection with the monitored edge equipment according to the execution period of the timing task; when the configuration file of the monitored edge equipment information is changed, the configuration file is loaded by heat, and the monitored edge equipment SSHCLIent object is reinitialized; and when the configuration file of the monitored edge equipment application service is changed, the configuration file is loaded by heat.

Description

Method for automatically monitoring performance of edge equipment
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a method for automatically monitoring the performance of edge equipment.
Background
Performance monitoring techniques refer to techniques for monitoring and evaluating the performance and efficiency of a system, application, or service. Existing performance monitoring tools require specific programs to be installed on the device being monitored for collecting, analyzing, and reporting data regarding the performance of the device. However, due to the characteristic of a large number of edge devices, if the performance of the edge devices is monitored by adopting the existing monitoring technology, a monitoring program needs to be installed on each edge device, and the labor cost is increased. The existing performance monitoring tool is mainly used for monitoring the use condition and performance index of hardware resources of a system, such as CPU use rate, memory occupation, network throughput and the like, can not generate an alarm when the whole system or application service is restarted abnormally, can not generate an alarm when the whole equipment is disconnected, and can not monitor whether the service function of the equipment is normal or not when the equipment runs for a long time.
Disclosure of Invention
In view of the above problems, the present invention provides a method for automatically monitoring performance of an edge device, which is used for automatically monitoring performance of an edge device through a Python program, and sending an alarm notification in time when a device system is restarted, an application service is restarted, a network connection is interrupted, and a service function is abnormal.
In order to solve the technical problems, the invention adopts the following technical scheme:
the invention provides a method for automatically monitoring the performance of edge equipment, which comprises the following steps:
s1, initializing a monitored edge equipment SSHCLIent object;
s2, regularly acquiring the process number, the system restart time, the CPU utilization rate, the memory utilization rate and the disk utilization rate of the monitored edge equipment application service, and writing the process number, the system restart time, the CPU utilization rate, the memory utilization rate and the disk utilization rate into a database;
s3, regularly acquiring an output video stream of the monitored edge equipment channel;
s4, when the system is restarted or the application service is restarted, sending alarm information to the user, and writing the alarm information into a database;
s5, when the CPU utilization rate, the memory utilization rate and the disk utilization rate exceed the threshold values, sending alarm information to a user, and writing the alarm information into a database;
s6, when the channel output video stream fails to acquire, sending alarm information to a user, and writing the alarm information into a database;
s7, when the monitoring program is disconnected with the monitored edge equipment SSH, the monitoring program reestablishes connection with the monitored edge equipment according to the execution period of the timing task, if the connection is successful, the timing task is executed, and if the connection is failed, alarm information is sent to a user and written into a database;
s8, when the configuration file of the monitored edge equipment information is changed, loading the configuration file by heat, and reinitializing the monitored edge equipment SSHCLIENT object;
s9, when the configuration file of the monitored edge equipment application service is changed, the configuration file is loaded in a hot mode.
In one possible implementation manner, S1 specifically includes: and initializing an SSHCLIent object of the monitored edge device by using an SSHCLIent class in the Python language parameter module, enabling a monitoring program to establish SSH connection with the monitored edge device, establishing SSH connection with the monitored edge device through an SSH client object, executing a command, and carrying out file transmission operation.
In a possible implementation manner, S2 specifically includes: the method comprises the steps of using a blocking schedule class in a Python language apschedule module, customizing configuration timing task time, executing at intervals, obtaining an application service process number on monitored edge equipment by executing shell commands on the monitored edge equipment which has established connection, obtaining system restarting time, CPU (Central processing Unit) utilization rate, memory utilization rate and disk utilization rate, calling a database write interface generated by the Python language flash_rest module, and writing the obtained application service process number, system restarting time, CPU utilization rate, memory utilization rate and disk utilization rate into a database.
In a possible implementation manner, S3 specifically includes: and using the blocking scheduler class in the Python language apscheduler module to self-define and configure timing task time and timing execution, acquiring the channel output video stream address of each monitored edge device by calling the monitored edge device application service interface, and acquiring the channel output video stream by using a ffmpeg tool.
In a possible implementation manner, S4 specifically includes: and comparing the system restarting time and the application service process number acquired by the current task with the value acquired by the last task when the timing task is executed each time, if the system restarting time and the application service process number are inconsistent with each other, transmitting alarm information to a user, calling a database write-in interface generated by a Python language flash_rest module, and writing the alarm information into a database.
In a possible implementation manner, S5 specifically includes: and comparing the CPU utilization rate, the memory utilization rate and the disk utilization rate acquired by the current task with set thresholds when the timing task is executed each time, if the CPU utilization rate, the memory utilization rate and the disk utilization rate are inconsistent, sending alarm information to a user, calling a database write-in interface generated by a Python language flash_retx module, and writing the alarm information into a database.
In a possible implementation manner, S6 specifically includes: and when the timing task is executed each time, using the ffmpeg tool to acquire the output video stream of the channel, if the acquisition of the output video stream of the channel fails, sending alarm information to a user, calling a database write-in interface generated by a Python language flash_retx module, and writing the alarm information into the database so as to judge whether the service function of the monitored edge equipment is abnormal.
In one possible implementation manner, S7 specifically includes: before each time of executing the timing task, judging whether the current monitoring program is disconnected with the monitored edge equipment or not, and if the current monitoring program is not disconnected with the monitored edge equipment, executing the timing task; if the connection is disconnected, a reconnection is performed. If the reconnection is successful, executing the timing task, otherwise, skipping the execution of the timing task, sending the SSH reconnection failure warning information to a user, calling a database write-in interface generated by a Python language flash_restx module, and writing the SSH reconnection failure warning information into the database so as to judge whether the monitored edge equipment network is interrupted.
In a possible implementation manner, S8 specifically includes: monitoring changes of configuration files by using an Observer and a FileSystemEventHander class of a Python language watch module, storing monitored edge device information in the configuration files, hot-loading the configuration files when the monitored edge device information in the configuration files is changed, and reinitializing the monitored edge device SSHCLIent object.
In a possible implementation manner, S9 specifically includes: monitoring changes of configuration files by using an Observer and a FileSystemEventHander class of a Python language watch module, storing the monitored application service name of the edge device in the configuration files, and loading the configuration files when the monitored application service in the configuration files is changed.
The invention has the following beneficial effects:
(1) And (3) automatic monitoring: the Python program is executed without installing an additional monitoring program on the monitored equipment. When the number of monitored equipment is extremely large, the labor cost is reduced.
(2) The universality is strong: suitable for monitoring any device with SSH services;
(3) The flexibility is high: under the condition of not starting and stopping the monitoring program, the monitored equipment information and the application service name can be increased or decreased at any time;
(4) Light load high efficiency: the SSH connection does not occupy the performance of the monitored equipment, and a plurality of simple shell commands are only executed by a Python monitoring program during the task execution, so that the performance of the monitored equipment is minimally influenced.
Drawings
FIG. 1 is a flowchart illustrating steps of a method for automatically monitoring performance of an edge device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flowchart illustrating steps of a method for automatically monitoring performance of an edge device according to an embodiment of the present invention includes the following steps:
s1, initializing a monitored edge equipment SSHCLIent object;
s2, regularly acquiring the process number, the system restart time, the CPU utilization rate, the memory utilization rate and the disk utilization rate of the monitored edge equipment application service, and writing the process number, the system restart time, the CPU utilization rate, the memory utilization rate and the disk utilization rate into a database;
s3, regularly acquiring an output video stream of the monitored edge equipment channel;
s4, when the system is restarted or the application service is restarted, sending alarm information to the user, and writing the alarm information into a database;
s5, when the CPU utilization rate, the memory utilization rate and the disk utilization rate exceed the threshold values, sending alarm information to a user, and writing the alarm information into a database;
s6, when the channel output video stream fails to acquire, sending alarm information to a user, and writing the alarm information into a database;
s7, when the monitoring program is disconnected with the monitored edge equipment SSH, the monitoring program reestablishes connection with the monitored edge equipment according to the execution period of the timing task, if the connection is successful, the timing task is executed, and if the connection is failed, alarm information is sent to a user and written into a database;
s8, when the configuration file of the monitored edge equipment information is changed, loading the configuration file by heat, and reinitializing the monitored edge equipment SSHCLIENT object;
s9, when the configuration file of the monitored edge equipment application service is changed, the configuration file is loaded in a hot mode.
In one embodiment of the present invention, S1 specifically includes: and initializing an SSHCLIent object of the monitored edge device by using an SSHCLIent class in the Python language parameter module, enabling a monitoring program to establish SSH connection with the monitored edge device, establishing SSH connection with the monitored edge device through an SSH client object, executing a command, and carrying out file transmission operation.
In an embodiment of the present invention, S2 specifically includes: the method comprises the steps of using a blocking schedule class in a Python language apschedule module, customizing and configuring timing task time, executing at intervals, for example, executing shell commands on monitored edge devices which have established connection every 10 minutes, acquiring application service process numbers on the monitored edge devices, restarting the system, CPU (Central processing Unit) utilization, memory utilization and disk utilization, calling a database write interface generated by the Python language flash_rest module, and writing the acquired application service process numbers, system restarting time, CPU utilization, memory utilization and disk utilization into a database.
In an embodiment of the present invention, S3 specifically includes: and (3) using the blocking scheduler class in the Python language apschedule module to self-define and configure timing task time, executing the timing task time, for example, executing the timing task time at 8 am every day, acquiring the channel output video stream address of each monitored edge device by calling the monitored edge device application service interface, and acquiring the channel output video stream by using a ffmpeg tool.
In an embodiment of the present invention, S4 specifically includes: and comparing the system restarting time and the application service process number acquired by the current task with the value acquired by the last task when the timing task is executed each time, if the system restarting time and the application service process number are inconsistent with each other, transmitting alarm information to a user, calling a database write-in interface generated by a Python language flash_rest module, and writing the alarm information into a database.
In an embodiment of the present invention, S5 specifically includes: and comparing the CPU utilization rate, the memory utilization rate and the disk utilization rate acquired by the current task with set thresholds when the timing task is executed each time, if the CPU utilization rate, the memory utilization rate and the disk utilization rate are inconsistent, sending alarm information to a user, calling a database write-in interface generated by a Python language flash_retx module, and writing the alarm information into a database.
In an embodiment of the present invention, S6 specifically includes: and when the timing task is executed each time, using the ffmpeg tool to acquire the output video stream of the channel, if the acquisition of the output video stream of the channel fails, sending alarm information to a user, calling a database write-in interface generated by a Python language flash_retx module, and writing the alarm information into the database so as to judge whether the service function of the monitored edge equipment is abnormal.
In an embodiment of the present invention, S7 specifically includes: before each time of executing the timing task, judging whether the current monitoring program is disconnected with the monitored edge equipment or not, and if the current monitoring program is not disconnected with the monitored edge equipment, executing the timing task; if the connection is disconnected, a reconnection is performed. If the reconnection is successful, executing the timing task, otherwise, skipping the execution of the timing task, sending the SSH reconnection failure warning information to a user, calling a database write-in interface generated by a Python language flash_restx module, and writing the SSH reconnection failure warning information into the database so as to judge whether the monitored edge equipment network is interrupted.
In one embodiment of the present invention, S8 specifically includes: monitoring changes of configuration files by using an Observer and a FileSystemEventHander class of a Python language watch module, storing monitored edge device information in the configuration files, hot-loading the configuration files when the monitored edge device information in the configuration files is changed, and reinitializing the monitored edge device SSHCLIent object.
In an embodiment of the present invention, S9 specifically includes: monitoring changes of configuration files by using an Observer and a FileSystemEventHander class of a Python language watch module, storing the monitored application service name of the edge device in the configuration files, and loading the configuration files when the monitored application service in the configuration files is changed.
By the method for automatically monitoring the performance of the edge equipment, which is set above, the performance of the equipment is automatically monitored by a Python program, and alarm notification is timely sent when the equipment system is restarted, the application service is restarted, the network connection is interrupted and the service function is abnormal. When the performance of the edge equipment with a large number is monitored, a performance monitoring program is not required to be installed on each monitored edge equipment, so that the labor cost is reduced; generating an alarm when the monitored edge equipment whole system or application service is restarted abnormally; generating an alarm when the monitored edge equipment network is interrupted; and generating an alarm when the monitored edge equipment runs for a long time and has abnormal service functions. And meanwhile, the system has the characteristics of automatic monitoring, strong universality, high flexibility and high light load efficiency.
It should be understood that the exemplary embodiments described herein are illustrative and not limiting. Although one or more embodiments of the present invention have been described with reference to the accompanying drawings, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims.

Claims (10)

1. A method for automatically monitoring the performance of an edge device, comprising the steps of:
s1, initializing a monitored edge equipment SSHCLIent object;
s2, regularly acquiring the process number, the system restart time, the CPU utilization rate, the memory utilization rate and the disk utilization rate of the monitored edge equipment application service, and writing the process number, the system restart time, the CPU utilization rate, the memory utilization rate and the disk utilization rate into a database;
s3, regularly acquiring an output video stream of the monitored edge equipment channel;
s4, when the system is restarted or the application service is restarted, sending alarm information to the user, and writing the alarm information into a database;
s5, when the CPU utilization rate, the memory utilization rate and the disk utilization rate exceed the threshold values, sending alarm information to a user, and writing the alarm information into a database;
s6, when the channel output video stream fails to acquire, sending alarm information to a user, and writing the alarm information into a database;
s7, when the monitoring program is disconnected with the monitored edge equipment SSH, the monitoring program reestablishes connection with the monitored edge equipment according to the execution period of the timing task, if the connection is successful, the timing task is executed, and if the connection is failed, alarm information is sent to a user and written into a database;
s8, when the configuration file of the monitored edge equipment information is changed, loading the configuration file by heat, and reinitializing the monitored edge equipment SSHCLIENT object;
s9, when the configuration file of the monitored edge equipment application service is changed, the configuration file is loaded in a hot mode.
2. The method for automatically monitoring the performance of an edge device according to claim 1, wherein S1 specifically comprises: and initializing an SSHCLIent object of the monitored edge device by using an SSHCLIent class in the Python language parameter module, enabling a monitoring program to establish SSH connection with the monitored edge device, establishing SSH connection with the monitored edge device through an SSH client object, executing a command, and carrying out file transmission operation.
3. The method for automatically monitoring the performance of an edge device according to claim 1, wherein S2 specifically comprises: the method comprises the steps of using a blocking schedule class in a Python language apschedule module, customizing configuration timing task time, executing at intervals, obtaining an application service process number on monitored edge equipment by executing shell commands on the monitored edge equipment which has established connection, obtaining system restarting time, CPU (Central processing Unit) utilization rate, memory utilization rate and disk utilization rate, calling a database write interface generated by the Python language flash_rest module, and writing the obtained application service process number, system restarting time, CPU utilization rate, memory utilization rate and disk utilization rate into a database.
4. The method for automatically monitoring the performance of an edge device according to claim 1, wherein S3 specifically comprises: and using the blocking scheduler class in the Python language apscheduler module to self-define and configure timing task time and timing execution, acquiring the channel output video stream address of each monitored edge device by calling the monitored edge device application service interface, and acquiring the channel output video stream by using a ffmpeg tool.
5. The method for automatically monitoring the performance of an edge device according to claim 1, wherein S4 specifically comprises: and comparing the system restarting time and the application service process number acquired by the current task with the value acquired by the last task when the timing task is executed each time, if the system restarting time and the application service process number are inconsistent with each other, transmitting alarm information to a user, calling a database write-in interface generated by a Python language flash_rest module, and writing the alarm information into a database.
6. The method for automatically monitoring the performance of an edge device according to claim 1, wherein S5 specifically comprises: and comparing the CPU utilization rate, the memory utilization rate and the disk utilization rate acquired by the current task with set thresholds when the timing task is executed each time, if the CPU utilization rate, the memory utilization rate and the disk utilization rate are inconsistent, sending alarm information to a user, calling a database write-in interface generated by a Python language flash_retx module, and writing the alarm information into a database.
7. The method for automatically monitoring the performance of an edge device according to claim 1, wherein S6 specifically comprises: and when the timing task is executed each time, using the ffmpeg tool to acquire the output video stream of the channel, if the acquisition of the output video stream of the channel fails, sending alarm information to a user, calling a database write-in interface generated by a Python language flash_retx module, and writing the alarm information into the database so as to judge whether the service function of the monitored edge equipment is abnormal.
8. The method for automatically monitoring the performance of an edge device according to claim 1, wherein S7 specifically comprises: before each time of executing the timing task, judging whether the current monitoring program is disconnected with the monitored edge equipment or not, and if the current monitoring program is not disconnected with the monitored edge equipment, executing the timing task; if the connection is disconnected, a reconnection is performed. If the reconnection is successful, executing the timing task, otherwise, skipping the execution of the timing task, sending the SSH reconnection failure warning information to a user, calling a database write-in interface generated by a Python language flash_restx module, and writing the SSH reconnection failure warning information into the database so as to judge whether the monitored edge equipment network is interrupted.
9. The method for automatically monitoring the performance of an edge device according to claim 1, wherein S8 specifically comprises: monitoring changes of configuration files by using an Observer and a FileSystemEventHander class of a Python language watch module, storing monitored edge device information in the configuration files, hot-loading the configuration files when the monitored edge device information in the configuration files is changed, and reinitializing the monitored edge device SSHCLIent object.
10. The method for automatically monitoring the performance of an edge device according to claim 1, wherein S9 specifically comprises: monitoring changes of configuration files by using an Observer and a FileSystemEventHander class of a Python language watch module, storing the monitored application service name of the edge device in the configuration files, and loading the configuration files when the monitored application service in the configuration files is changed.
CN202310782059.XA 2023-06-29 2023-06-29 Method for automatically monitoring performance of edge equipment Pending CN116881074A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310782059.XA CN116881074A (en) 2023-06-29 2023-06-29 Method for automatically monitoring performance of edge equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310782059.XA CN116881074A (en) 2023-06-29 2023-06-29 Method for automatically monitoring performance of edge equipment

Publications (1)

Publication Number Publication Date
CN116881074A true CN116881074A (en) 2023-10-13

Family

ID=88267218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310782059.XA Pending CN116881074A (en) 2023-06-29 2023-06-29 Method for automatically monitoring performance of edge equipment

Country Status (1)

Country Link
CN (1) CN116881074A (en)

Similar Documents

Publication Publication Date Title
US10235157B2 (en) Method and system for analytics-based updating of networked devices
CN111796959B (en) Self-healing method, device and system for host container
CN108268305A (en) For the system and method for virtual machine scalable appearance automatically
CN112463492A (en) Method, system, equipment and medium for processing correctable errors of memory
CN111565135A (en) Method for monitoring operation of server, monitoring server and storage medium
CN111953542B (en) System for guaranteeing stable operation of gateway
CN114258053A (en) Wireless device and method for automatic recovery from failure
CN111026581A (en) Application program repairing method, device, system, storage medium and electronic device
CN110333916B (en) Request message processing method, device, computer system and readable storage medium
US10122602B1 (en) Distributed system infrastructure testing
JP6418377B2 (en) Management target device, management device, and network management system
CN113382056A (en) Data reporting method, device, equipment, storage medium and system
CN108064054B (en) FTP file transmission monitoring method and system in LTE system
CN110555009B (en) Processing method and device for Network File System (NFS) service
CN116881074A (en) Method for automatically monitoring performance of edge equipment
CN115378841B (en) Method and device for detecting state of equipment accessing cloud platform, storage medium and terminal
CN111309442A (en) Method, device, system, medium and equipment for adjusting number of micro-service containers
US11237892B1 (en) Obtaining data for fault identification
CN112087341B (en) Communication method, system, electronic equipment and storage medium based on multichannel compensation
CN115102862A (en) Automatic synchronization method and device for SDN equipment
CN111625363A (en) Execution method, device, equipment and storage medium for resource recommendation operation
CN114691395A (en) Fault processing method and device, electronic equipment and storage medium
CN111782515A (en) Web application state detection method and device, server and storage medium
CN112069027A (en) Interface data processing method and device, electronic equipment and storage medium
CN107577546B (en) Information processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination