org.opennms.netmgt.vmmgr.Manager是主程序,读service-configuration.xml文件系统不同的service
每一个service是一个managerbean,是用了JMX的方法
-
Eventd
Eventd listens for events from the discovery, capsd, trapd processes and sends events to the Master Station when queried for.
-
Trapd
The Trapd listens for SNMP traps on the standard port(162). Creates a SnmpTrapSession and implements the SnmpTrapHandler to get callbacks when traps are received
-
Dhcpd
做dhcpd的转发器,可能是用来测试dhcpd的服务是否可以用
-
Actiond
This class is used to represent the auto action execution service. When an event is received by this service that has one of either a notification, trouble ticket, or auto action then a process is launched to execute the appropriate commands.
-
Capsd
it is notified by the discovery process when a new node is discovered - it then polls for all the capabilities for this node and is responsible for loading the data collecte1d into the database.
Once a node is added to the database, its sends an indication back to the discovery which then flags this node as 'known'.
-
Notifd
This class is used to represent the notification execution service. When an event is received by this service that has one of either a notification, trouble ticket, or auto action then a process is launched to execute the appropriate commands.
-
Scriptd
This class implements a script execution service. This service subscribes to all events, and passes received events to the set of configured scripts. This services uses the Bean Scripting Framework (BSF) in order to allow scripts to be written in a variety of registered languages.
-
Rtcd
Maintains calculations for categories.
-
Pollerd
用tcp连接等去搜集信息
-
Collectd
用snmp去搜集信息
-
Threshd
如果超过一定的条件,就告警等
-
Discovery
用来发现新的机器,如果发现,生成NEW_SUSPECT_INTERFACE_EVENT_UEI
有2个thread,PingManager和SuspectEventGenerator,PingManager把发现的机器发送给SuspectEventGenerator,有SuspectEventGenerator来处理
-
Vacuumd
Implements a daemon whose job it is to run periodic(周期的) updates against the database for database maintenance work,就是定时的做一下东西,如删除一下没有用的东西
配置文件 Vacuumd-configuration.xml
-
HttpAdaptor和HttpAdaptorMgmt
???jmx的管理service
-
OpenNMS:Name=FastExit
可以直接退出的
-
OpenNMS:Name=TestLoadLibraries
测试一下jni是否可以用(jicmp和RrdUtils)
1353




被折叠的 条评论
为什么被折叠?



