INSERTINTOtalert_commandsVALUES(1,'eMail','Internal type','This alert send an email using internal Pandora FMS Server SMTP capabilities (defined in each server, using:\r\n_field1_ as destination email address, and\r\n_field2_ as subject for message. \r\n_field3_ as text of message.',1);
INSERTINTOtalert_commandsVALUES(2,'Internal Audit','Internal type','This alert save alert in Pandora interal audit system. Fields are static and only _field1_ is used.',1);
INSERTINTOtalert_commandsVALUES(3,'Pandora FMS Event','Internal type','This alert create an special event into Pandora FMS event manager.',1);
INSERTINTOtalert_commandsVALUES(4,'Pandora FMS Alertlog','echo _timestamp_ pandora _agent_ _data_ _field1_ _field2_ >> /var/log/pandora/pandora_alert.log','This is a default alert to write alerts in a standard ASCII plaintext log file in /var/log/pandora/pandora_alert.log\r\n',0);
INSERTINTOtalert_commandsVALUES(5,'SNMP Trap','/usr/bin/snmptrap -v 1 -c trap_public 192.168.0.4 1.1.1.1.1.1.1.1 _agent_ _field1_','Send a SNMPTRAP to 192.168.0.4. Please review config and adapt to your needs, this is only a sample, not functional itself.',0);
INSERTINTOtalert_commandsVALUES(6,'Syslog','logger -p daemon.alert Pandora Alert _agent_ _data_ _field1_ _field2_','Uses field1 and field2 to generate Syslog alert in facility daemon with "alert" level.',0);
INSERTINTOtalert_commandsVALUES(8,'Jabber Alert','echo _field3_ | sendxmpp -r _field1_ --chatroom _field2_','Send jabber alert to chat room in a predefined server (configure first .sendxmpprc file). Uses field3 as text message, field1 as useralias for source message, and field2 for chatroom name',0);
INSERTINTOtalert_commandsVALUES(9,'SMS','sendsms _field1_ _field2_','Send SMS using the Pandora FMS standard SMS device, using smstools. Uses field2 as text message, field1 as destination phone (include international prefix!)',0);
INSERTINTOtnews(id_news,author,subject,text,timestamp)VALUES(1,'admin','Welcome to Pandora FMS 3.2!','This is the new Pandora FMS Console. A lot of new features have been added since last version. Please read the documentation about it, and feel free to test any option.<br><br>The Pandora FMS Team.',current_timestamp);
INSERTINTOtnews(id_news,author,subject,text,timestamp)VALUES(2,'admin','New GIS Feature','Try our new GIS representation, activate GIS in Setup to see new available options.',current_timestamp);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(1,'OS Total process','Total process in Operating System (UNIX MIB)',13,15,0,0,180,0,'','','public','HOST-RESOURCES-MIB::hrSystemProcesses.0 ',4,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(2,'OS CPU Load (1 min)','CPU Load in Operating System (UNIX MIB)',13,15,0,0,180,0,'','','public','UCD-SNMP-MIB::laLoad.1',4,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(3,'Sysname','Get name of system using SNMP standard MIB',1,17,0,0,900,0,'','','public','.1.3.6.1.2.1.1.1.0',1,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(4,'OS Users','Active users in Operating System (UNIX MIB)',13,15,0,0,180,0,'','','public','HOST-RESOURCES-MIB::hrSystemNumUsers.0',4,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(11,'Catalyst CPU Usage (5min)','Cisco Catalyst Switches CPU Usage. Taken from ftp://ftp.cisco.com/pub/mibs/oid/OLD-CISCO-CPU-MIB.oid',2,15,0,0,180,0,'','','public','1.3.6.1.4.1.9.2.1.58',4,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(22,'HSRP Status','Get status of HSRP',2,18,0,0,180,0,'','','public','1.3.6.1.4.1.9.9.106.1.2.1.1.15.12.106',2,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(24,'NIC #1 status','Status of NIC#1',10,18,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.8.1',2,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(25,'NIC #2 status','Status of NIC #2',10,18,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.8.2',2,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(26,'NIC #3 status','Status of NIC #3',10,18,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.8.3',2,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(27,'NIC #1 outOctects','Output throughtput on Interface #1',10,16,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.16.1',2,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(28,'NIC #2 outOctects','Output troughtput on interface #2',10,16,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.16.2',1,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(29,'NIC #3 outOctects','Output troughtput on Interface #3',10,16,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.16.3',2,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(30,'NIC #1 inOctects','Input troughtput on Interface #1',10,16,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.10.1',2,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(31,'NIC #2 inOctects','Input throughtput for interface #2',10,16,0,0,180,0,'','NULL','public','.1.3.6.1.2.1.2.2.1.10.2',2,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(32,'NIC #3 inOctects','Input throught on interface #3',10,16,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.10.3',2,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(34,'Host Alive','Check if host is alive using ICMP ping check.',10,6,0,0,120,0,'','','','',2,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(36,'Host Latency','Get host network latency in miliseconds, using ICMP.',10,7,0,0,180,0,'','','','',2,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(37,'Check HTTP Server','Test APACHE2 HTTP service remotely (Protocol response, not only openport)',10,9,0,0,300,80,'GET / HTTP/1.0^M^M','HTTP/1.1 200 OK','','',3,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(38,'Check FTP Server','Check FTP protocol, not only check port.',10,9,0,0,300,21,'QUIT','220','','',3,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(39,'Check SSH Server','Checks port 22 is opened',10,9,0,0,300,22,'','','','',2,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(41,'Check SMTP server','Check if SMTP port it's open',10,9,0,0,300,25,'','','','',2,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(43,'NIC #7 outOctects','Get outcoming octects from NIC #7',10,16,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.16.7',2,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(44,'NIC #7 inOctects','Get incoming octects from NIC #7',10,16,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.10.7',2,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(45,'NIC #4 Status','Get status of NIC #4',10,18,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.8.4',2,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(46,'NIC #5 Status','Get status of NIC #5',10,18,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.8.5',2,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(47,'NIC #6 Status','Get status of NIC #6',10,18,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.8.6',2,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(48,'NIC #7 Status','Get status of NIC #7',10,18,0,0,180,0,'','','public','.1.3.6.1.2.1.2.2.1.8.7',2,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(49,'OS CPU Load (5 min)','CPU load on a 5 min average interval. UCD-SNMP Mib (Usually for all Linux and some UNIX)',13,15,0,0,180,0,'','','public','UCD-SNMP-MIB::laLoad.2',4,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(50,'System Description','Get system description (all mibs).',1,17,0,0,9000,0,'','','public','SNMPv2-MIB::sysDescr.0',4,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(51,'OS Raw Interrupts','Get system raw interrupts from SO',13,16,0,0,180,0,'','','public','UCD-SNMP-MIB::ssRawInterrupts.0',4,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(52,'OS IO Signals sent','IO Signals sent by Kernel',13,16,0,0,180,0,'','','public','UCD-SNMP-MIB::ssIOSent.0',4,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(53,'System Uptime','Sistem uptime in timeticks',1,15,0,0,180,0,'','','public','HOST-RESOURCES-MIB::hrSystemUptime.0',4,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo)VALUES(176,'Catalyst Free Mem','Taken from ftp://ftp.cisco.com/pub/mibs/oid/OLD-CISCO-MEMORY-MIB.oid',2,15,0,0,180,0,'','','public','1.3.6.1.4.1.9.2.1.8',4,2);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo,plugin_user,max_timeout)VALUES(201,'Free RAM','Available RAM memory in bytes',14,1,0,0,300,0,'','','','SELECT AvailableBytes from Win32_PerfRawData_PerfOS_Memory',1,6,'Administrator',10);
INSERTINTOtnetwork_component(id_nc,name,description,id_group,type,max,min,module_interval,tcp_port,tcp_send,tcp_rcv,snmp_community,snmp_oid,id_module_group,id_modulo,plugin_user,max_timeout)VALUES(202,'Windows version','Operating system version',14,3,0,0,300,1,'','','','SELECT Caption FROM Win32_OperatingSystem',1,6,'Administrator',10);
INSERTINTOtnetwork_profile(id_np,name,description)VALUES(3,'Basic DMZ Server monitoring','This group of network checks, checks for default services located on DMZ servers...');
INSERTINTOtalert_commandsVALUES(10,'Remote agent control','/usr/share/pandora_server/udp_client.pl _address_ 41122 "_field1_"','This command is used to send commands to the Pandora FMS agents with the UDP server enabled. The UDP server is used to order agents (Windows and UNIX) to "refresh" the agent execution: that means, to force the agent to execute and send data to s',0);
INSERTINTOtalert_templatesVALUES(1,'Critical condition','This is a generic alert template to fire on condition CRITICAL',1,'','','Hello, this is an automated email coming from Pandora FMS\r\n\r\nThis alert has been fired because a CRITICAL condition in one of your monitored items:\r\n\r\nAgent : _agent_\r\nModule: _module_\r\nModule description: _moduledescription_\r\nTimestamp _timestamp_\r\nCurrent value: _data_\r\n\r\nThanks for your time.\r\n\r\nBest regards\r\nPandora FMS\r\n','critical','',1,0.00,0.00,86400,1,0,to_date('12:00:00','hh24:mi:ss'),to_date('12:00:00','hh24:mi:ss'),1,1,1,1,1,1,1,1,'[PANDORA] Alert RECOVERED for CRITICAL status on _agent_ / _module_','Hello, this is an automated email coming from Pandora FMS\r\n\r\nThis alert has been RECOVERED from a CRITICAL condition in one of your monitored items:\r\n\r\nAgent : _agent_\r\nModule: _module_\r\nModule description: _moduledescription_\r\nTimestamp _timestamp_\r\nCurrent value: _data_\r\n\r\nThanks for your time.\r\n\r\nBest regards\r\nPandora FMS\r\n',4,0);
INSERTINTOtalert_templatesVALUES(2,'Manual alert','This is a template used to fire manual alerts, condition defined here never will be executed. Use this template to assign to your actions/commands used to do remote management (Agent restart, execute commands on server, etc).',NULL,'','','','max_min','',1,0.00,1.00,86400,1,0,to_date('12:00:00','hh24:mi:ss'),to_date('12:00:00','hh24:mi:ss'),1,1,1,1,1,1,1,0,'','',1,0);