Commit Graph

64 Commits

Author SHA1 Message Date
Daniel Barbero Martin 22734a4ea2 WIP failover 2019-07-03 17:51:47 +02:00
Rafael Ameijeiras c91893c948 spec console open and build_rpm for rhel7
Former-commit-id: 324d90d95ea5757285e64ba3e28346ef007a815f
2019-04-11 13:45:57 +02:00
Ramon Novoa 25db947d20 Change the interface naming convention. 2017-02-28 17:41:10 +01:00
Ramon Novoa 121c3a1af8 Prevent two agents from being each other's parents. 2016-10-06 15:21:00 +02:00
fermin831 68b76aeb9b Fixed some differences between snmp recon and normal recon TICKETS #3296 2016-02-09 15:34:33 +01:00
Akihiro Uchida 0ad577941a handle NAT corner case for snmp-recon.pl 2015-12-11 15:27:39 +09:00
Ramon Novoa 8b5e103d57 Use NetAddr::IP and pandora_ping for network scans. 2015-09-10 09:08:52 +02:00
Ramon Novoa 7d40ea754f Completely removed nmap network scans. 2015-09-09 11:40:42 +02:00
Ramon Novoa 7f21572ac2 Allow multiple connections between two hosts. 2015-09-07 11:49:20 +02:00
Ramon Novoa a54e99feba Brute force all known connection methods. A lot slower, but seems to
work better.
2015-06-30 16:34:07 +02:00
Alejandro Gallardo Escobar 3b037caf32 Merge remote-tracking branch 'origin/develop' into features/oracle 2015-06-18 20:02:01 +02:00
Ramon Novoa 8a34944d76 Several improvements to the SNMP layer 2 recon script.
(cherry picked from commit cfd7590efc)
2015-06-03 17:17:26 +02:00
Alejandro Gallardo Escobar 8fbe1175b5 Merge remote-tracking branch 'origin/develop' into features/oracle
Conflicts resolved:
	pandora_console/DEBIAN/control
	pandora_console/DEBIAN/make_deb_package.sh
	pandora_console/include/config_process.php
	pandora_console/pandoradb.data.oracle.sql
2015-06-02 18:08:46 +02:00
Robert Nelson aeb66d4e27 Fix missing first and last module
This fixes a bug from the old code ignoring the headers.

It also tweaks the module name and sets the units field.
2015-05-26 18:35:17 -07:00
Robert Nelson 664fa1cdfe Add warning and critical thresholds 2015-05-26 16:28:00 -07:00
Robert Nelson 63a580fcfb Fix bug that causes bogus agents to be created if freeipmi isn't installed
If freeipmi isn't installed or problems occur running ipmiping then an agent
is created for every address tested.
2015-05-26 12:12:39 -07:00
Robert Nelson e943bf0ada Fix IPMI recon script so that it works with new style custom fields
Updates the IPMI recon script to pass parameters to the IPMI plugin using the
new style custom fields.

Add a field for specifying additonal options to ipmi-sensors.  This is required
for IPMI v2.0 devices and when using accounts with restricted privileges.

Fix some types in the description for the recon script.

Fix a bug where the recon script never completed and kept processing the subnet
over and over due to an incorrect exit condition in the loop.

Change the packet count and timeout passed to ipmiping.  The previous values
required 9 seconds per address polled.  This meant it took almost 40 minutes
to scan one 256 address subnet.
2015-05-26 11:01:17 -07:00
Alejandro Gallardo Escobar 55d1b04f74 Removed some conflictive characters 2015-05-14 12:16:54 +02:00
Ramon Novoa 2322b07c77 Read dbengine from pandora_server.conf before connecting to the DB. 2015-05-12 16:30:05 +02:00
Ramon Novoa 8596b1365c Fixed a typo in a module name. 2014-10-27 13:21:34 +01:00
Ramon Novoa 179b2b5d98 Added a last check for host interface names. 2014-10-10 16:44:21 +02:00
Ramon Novoa 2b68fdc23b Fixed interface names. 2014-10-02 20:18:54 +02:00
Ramon Novoa 237c7539ce Make sure other parameters are properly read from pandora_server.conf. 2014-10-02 16:27:54 +02:00
Ramon Novoa 54d12783a2 Use snmp_timeout instead of a fixed value for the SNMP recon script. 2014-10-02 13:44:17 +02:00
Ramon Novoa e10b5e2522 Renamed interface modules to match those created by the SNMP Wizard. 2014-09-19 12:27:18 +02:00
Ramon Novoa e7dfd18759 Added modules for ifce incoming and outgoing traffic and small fixes. 2014-09-18 18:27:41 +02:00
Ramon Novoa f14dd07148 2014-08-07 Ramon Novoa <rnovoa@artica.es>
* util/recon_scripts/snmp-recon.pl,
	  util/recon_scripts/wmi-recon.pl: Set a default value
	  for nmap_timing_template.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10392 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-07 11:50:26 +00:00
Ramon Novoa b7183f4daf 2014-08-07 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf.new,
	  lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/ReconServer.pm,
	  util/recon_scripts/snmp-recon.pl,
	  util/recon_scripts/wmi-recon.pl: Added a new parameter to control how
	  aggressive nmap should be.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10391 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-07 10:43:25 +00:00
Ramon Novoa a595a55b1b 2014-06-24 Ramon Novoa <rnovoa@artica.es>
* util/recon_scripts/snmp-recon.pl: Improved host connection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10278 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-24 13:20:19 +00:00
vgilc 8c9eeb7a4c 2014-06-24 Vanessa Gil <vanessa.gil@artica.es>
* util/recon_scripts/snmpdevices.pl: Deleted file.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10272 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-24 10:24:59 +00:00
Ramon Novoa 281ca5ab92 2014-06-17 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Removed an unused module.

	* util/recon_scripts/snmp-recon.pl: Always perform a brute-force network scan.
	  Connect hosts via traceroute if no L2 information is available.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-17 11:21:51 +00:00
Ramon Novoa 7185640c79 2014-06-03 Ramon Novoa <rnovoa@artica.es>
* util/recon_scripts/snmp-recon.pl: Create a ping module for agents that do
	  not respond to SNMP.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10093 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-03 13:46:38 +00:00
Ramon Novoa 73494d9f82 2014-05-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm
	  lib/PandoraFMS/DataServer.pm: Ignore the agent group coming from the XML
	  if autocreate_group is set.

	* util/recon_scripts/snmp-recon.pl: Changed the default value for a
	  router-less scan.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10045 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-30 10:01:23 +00:00
jsatoh 72a2e2e1cf 2014-05-10 Junichi Satoh <junichi@rworks.jp>
* util/recon_script/ipmi-recon.pl, util/recon_script/snmpdevices.pl,
	util/recon_script/wmi-recon.pl: Added support for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9907 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-10 02:09:44 +00:00
Ramon Novoa a46b0ad2ad 2014-05-05 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/ReconServer.pm: Added debug messages.

	* util/recon_scripts/wmi-recon.pl: Added to repository. WMI Recon script.

	* lib/PandoraFMS/WMIServer.pm,
	  util/recon_scripts/snmp-recon.pl: Small fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9865 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-05 14:57:10 +00:00
jsatoh 277f76c0ac 2014-04-27 Junichi Satoh <junichi@rworks.jp>
* util/recon_scripts/snmp-recon.pl: Added support for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9823 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-27 04:16:31 +00:00
Ramon Novoa 37d98118a9 2014-04-04 Ramon Novoa <rnovoa@artica.es>
* util/recon_scripts/snmp-recon.pl: Do not load MIB files (DISPLAY-HINTS may
	  cause MAC addresses to be displayed in a different format).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9722 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-04 09:31:44 +00:00
Ramon Novoa 5e6e04ee1b 2014-04-04 Ramon Novoa <rnovoa@artica.es>
* util/recon_scripts/snmp-recon.pl: Lowered the number of retries.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9721 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-04 08:30:53 +00:00
Ramon Novoa 6038891ac5 2014-04-03 Ramon Novoa <rnovoa@artica.es>
* util/recon_scripts/snmp-recon.pl: Remove the symbolic labels from
	  enumeration values.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9716 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-03 15:40:44 +00:00
Ramon Novoa 42f65e8678 2014-04-03 Ramon Novoa <rnovoa@artica.es>
* util/recon_scripts/snmp-recon.pl: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9715 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-03 15:11:03 +00:00
Ramon Novoa fe0190316c 2014-04-03 Ramon Novoa <rnovoa@artica.es>
* util/recon_scripts/snmp-recon.pl: Added to the repository. Recon SNMP L2
	  network scan script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9709 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-03 10:40:35 +00:00
zarzuelo 09a6c172db 2014-01-14 Sergio Martin <sergio.martin@artica.es>
* util/recon_scripts/snmpdevices.pl: Added address check
	to avoid create empty agents when exist agents with a secondary
	IP into the range for incident #459



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9318 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-14 15:31:16 +00:00
slerena 38cd6399c0 2013-02-28 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/PluginServer.pm: Removed several "Use of
        uninitialized value in string" errors.

        * lib/PandoraFMS/Core.pm: Fixed more ugly notices due
        uninitialized vars.

        * util/recon_scripts/snmpdevices.pl: Fixed due new interface.
 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7755 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 15:52:46 +00:00
darode 7a6752e3bc 2012-10-23 Dario Rodriguez <dario.rodriguez@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed an error in snmpdevices.pl
        which has a double safe_input.

        MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7081 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-23 07:19:40 +00:00
vgilc be135f8cdb 2012-08-16 Vanessa Gil <vanessa.gil@artica.es>
* util/recon_scripts/snmpdevices.pl: Added several networks and ips
	to recon scripts.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6870 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-16 15:49:18 +00:00
vgilc ca71a9ebb1 2012-08-16 Vanessa Gil <vanessa.gil@artica.es>
* util/recon_scripts/snmpdevices.pl: Added several communities
	to recon scripts.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6865 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-16 11:55:18 +00:00
darode 500528937d 2012-05-09 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/ipmi-plugin.pl,
	util/recon_scripts/ipmi-recon.pl: Fixed some bugs of plugin and
	recon

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6275 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-09 07:40:24 +00:00
koichirok 151024c1c3 2012-04-19 Koichiro Kikuchi <koichiro@rworks.jp>
* conf/pandora_server.conf.windows,
	  conf/pandora_server.conf,
	  lib/PandoraFMS/DB.pm
	  lib/PandoraFMS/Core.pm
	  lib/PandoraFMS/SNMPServer.pm
	  lib/PandoraFMS/Config.pm
	  lib/PandoraFMS/ProducerConsumerServer.pm
	  bin/pandora_server
	  FreeBSD/pandora_server.conf
	  util/pandora_db.pl
	  util/recon_scripts/snmpdevices.pl
	  util/recon_scripts/ipmi-recon.pl
	  util/plugin/pandora_inventory_change.pl
	  util/plugin/pandora_server_status.pl
	  util/pandora_manage.pl
	  util/pandora_recode_db.pl
	  util/pandora_dbstress.pl: Now pandora_server supports MySQL
	 server running on non-standard port.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6054 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-20 03:56:09 +00:00
darode eb1258cbcf 2011-10-28 Dario Rodriguez <dario.rodriguez@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed a bug related to main loop
	and broadcast address. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5098 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-28 12:45:31 +00:00
darode 955d8185ba 2011-10-10 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/ipmi-plugin.pl: Added first version of ipmi plugin.
	* util/recon_scripts/ipmi-recon.pl: Added first version of ipmi recon task



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-10 14:21:00 +00:00