chengd-ossim
http://lymrg.blog.51cto.com/1551327/385386
log文件
/var/log/localmessage
plugin文件
/etc/ossim/agent/plugins/zabbix.cfg
/etc/ossim/agent/config.cfg
[zabbix]
zabbix=/etc/ossim/agent/plugins/zabbix.cfg
www
/usr/share/www/ossim/
数据库 ossim 的plugin表 创建
zabbix
INSERT INTO `ossim`.`plugin` (
`id` ,
`type` ,
`name` ,
`description` ,
`source_type` ,
`vendor`
`type` ,
`name` ,
`description` ,
`source_type` ,
`vendor`
)
VALUES (
‘4500’, ‘1’, ‘zabbix’, ‘zabbix server message’, NULL , NULL
);
在plugin-sid里面添加
INSERT INTO `ossim`.`plugin_sid` (`plugin_id`, `sid`, `category_id`, `class_id`, `reliability`, `priority`, `name`, `aro`, `subcategory_id`) VALUES (‘4500’, ‘1’, NULL, NULL, ‘5’, ‘5’, ‘zabbix warm’, ‘0.0000’, NULL);
发表回复