2014-04-03 Ramon Novoa <rnovoa@artica.es>
* images/networkmap/so_router.png, images/networkmap/so_switch.png, images/os_icons/so_router.png, images/os_icons/so_switch.png: Added to repository. Icons for L2 network maps. * pandoradb.sql, ppandoradb_data.sql: Added the Recon SNMP L2 network discovery script. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9710 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
069eec8e35
commit
7887159ba4
|
@ -1,3 +1,14 @@
|
|||
2014-04-03 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* images/networkmap/so_router.png,
|
||||
images/networkmap/so_switch.png,
|
||||
images/os_icons/so_router.png,
|
||||
images/os_icons/so_switch.png: Added to repository. Icons for L2 network
|
||||
maps.
|
||||
|
||||
* pandoradb.sql,
|
||||
ppandoradb_data.sql: Added the Recon SNMP L2 network discovery script.
|
||||
|
||||
2014-04-03 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* operation/agentes/estado_generalagente.php: fixed the $id_agente
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
Binary file not shown.
After Width: | Height: | Size: 528 B |
Binary file not shown.
After Width: | Height: | Size: 528 B |
|
@ -655,6 +655,7 @@ CREATE TABLE IF NOT EXISTS `tmodule_relationship` (
|
|||
`module_a` int(10) unsigned NOT NULL,
|
||||
`module_b` int(10) unsigned NOT NULL,
|
||||
`disable_update` tinyint(1) unsigned NOT NULL default '0',
|
||||
`id_rt` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`id`),
|
||||
FOREIGN KEY (`module_a`) REFERENCES tagente_modulo(`id_agente_modulo`)
|
||||
ON DELETE CASCADE,
|
||||
|
|
|
@ -125,7 +125,9 @@ INSERT INTO `tconfig_os` VALUES
|
|||
(13,'Sensor',' Pandora FMS Hardware Agent (Sensor)','network.png'),
|
||||
(14,'Embedded','Embedded device running a Pandora FMS agent','embedded.png'),
|
||||
(15,'Android','Android agent','android.png'),
|
||||
(16, 'VMware', 'VMware Architecture', 'so_vmware.png');
|
||||
(16, 'VMware', 'VMware Architecture', 'so_vmware.png'),
|
||||
(17, 'Router', 'Generic router', 'so_router.png'),
|
||||
(18, 'Switch', 'Generic switch', 'so_switch.png');
|
||||
UNLOCK TABLES;
|
||||
|
||||
|
||||
|
@ -999,6 +1001,8 @@ INSERT INTO `trecon_script` VALUES (1,'SNMP Recon Script','This s
|
|||
INSERT INTO `trecon_script` VALUES
|
||||
(2,'IMPI Recon', 'Specific Pandora FMS Intel DCM Discovery (c) Artica ST 2011 <info@artica.es> Usage: ./ipmi-recon.pl <task_id> <group_id> <create_incident_flag> <custom_field1> <custom_field2> <custom_field3> * custom_field1 = network. i.e.: 192.168.100.0/24 * custom_field2 = username * custom_fiedl3 = password ', '/usr/share/pandora_server/util/recon_scripts/ipmi-recon.pl');
|
||||
|
||||
INSERT INTO `trecon_script` VALUES (4,'SNMP L2 Recon','Pandora FMS SNMP Recon Plugin for level 2 network topology discovery.
(c) Artica ST 2014 <info@artica.es>

Usage:

   ./snmp-recon.pl <task_id> <group_id> <create_incident> <custom_field1> <custom_field2> [custom_field3] [custom_field4]

 * custom_field1 = comma separated list of networks (i.e.: 192.168.1.0/24,192.168.2.0/24)
 * custom_field2 = comma separated list of snmp communities to try.
 * custom_field3 = a router in the network. Optional but recommended.

 * custom_field4 = set to -a to add all network interfaces (by default only interfaces that are up are added).

 Additional information:
When the script is called from a recon task the task_id, group_id and create_incident parameters are automatically filled by the Pandora FMS Server.','/usr/share/pandora_server/util/recon_scripts/snmp-recon.pl');
|
||||
|
||||
INSERT INTO `tplugin` (`id`, `name`, `description`, `max_timeout`, `execute`, `plugin_type`, `macros`, `parameters`) VALUES (1,'IPMI Plugin','Plugin to get IPMI monitors from a IPMI Device.',0,'/usr/share/pandora_server/util/plugin/ipmi-plugin.pl',0,'{"1":{"macro":"_field1_","desc":"Target IP","help":"","value":""},"2":{"macro":"_field2_","desc":"Username","help":"","value":""},"3":{"macro":"_field3_","desc":"Password","help":"","value":""}}','-h _field1_-u _field2_-p _field3_');
|
||||
|
||||
INSERT INTO `tplugin` (`id`, `name`, `description`, `max_timeout`, `execute`, `plugin_type`, `macros`, `parameters`) VALUES (2,'DNS Plugin','This plugin is used to check if a specific domain return a specific IP address, and to check how time (milisecs) takes the DNS to answer. Use IP address parameter to specify the IP of your domain. Use these custom parameters for the other parameters:

-d domain to check (for example pandorafms.com)
-s DNS Server to check  (for example 8.8.8.8)

Optional parameters:

-t Do a DNS time response check instead DNS resolve test

',15,'/usr/share/pandora_server/util/plugin/dns_plugin.sh',0,'{"1":{"macro":"_field1_","desc":"Target IP","help":"","value":""},"2":{"macro":"_field2_","desc":"Domain to check","help":"For example pandorafms.com","value":""},"3":{"macro":"_field3_","desc":"DNS Server to check","help":"For example 8.8.8.8","value":""},"4":{"macro":"_field4_","desc":"Optional parameters","help":"","value":""}}','-i _field1_ -d _field2_ -s _field3_ _field4_');
|
||||
|
|
Loading…
Reference in New Issue