* pandora_server_installer: A few bunch of upgrades for SUSE, added
logrotate.d and some minor fixes.
* pandora_server_upgrade: Some minor fixes.
* PandoraFMS/Tools.pm: Fixes to internal SMTP Auth mechanism.
* util/pandora_logrotate: Much better configuration for pandora
logrotate config, this also rotate pandora_server.error and delete
files after 5 days.
* util/pandora_server: more fixes and small improvements to daemon
script: Removed Mysql dependency on LSB, added variable for let user
to choose timeout before KILL, and now checks for especific .conf file
on detecting PID, this should work with several servers running in the
same server.
* util/plugin/ssh_pandoraplugin.sh: rewritten to use real parameters
and be more verbose and easy to integrate in Pandora FMS Plugin server.
* util/plugin/udp_nmap_plugin.sh: Same as above.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Config.pm: Changed string from RC1 to RC2.
Use tabs instead spaces. Updated build due to last changes.
* pandora_server_installer: Added text to help the user to change the
default password. Added TO DO.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2091 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/make_deb_package.sh: move the script to make the deb package into
the DEBIAN and change some things into the sourcecode for the directory
change.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/control, DEBIAN/md5sums, DEBIAN/postinst, DEBIAN/prerm,
DEBIAN/conffiles: debian base files for to make a .deb package.
* make_deb_package.sh: shell script for make automatically the deb package
for standard installation in a Debian Lenny, this script make a package
"pandorafms.server_3.0.0.rc1.deb" and the other necesary packages (perl).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2072 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
First bug detected & fixed after RC1, whoah :/
* lib/PandoraFMS/Core.pm: Max/Min alert logic is inverted on match check
box/switch option in interface. Fixed in server code. This is applicable
only on max & min alert (when used both).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2043 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/SNMPServer.pm: Save as much information as possible if
the trap could not be properly parsed.
* lib/PandoraFMS/Core.pm: Changed the name of the alert name macro to
avoid conflicts with other macros.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2037 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* tools.pm, core.pm: Float data with "," will be replace this
character with "." and manage it properly as float.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2035 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_server: Updated error string when service cannot startup
(show both pandora_server.log and pandora_server.error)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2028 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DataServer.pm: Do not process disabled modules.
* bin/pandora_server: Start logging before trying to connect to the DB.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2026 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Keepalive was not working properly. Keepalive
moduletype is now managed like a proc (0 = BAD) in get_status function.
* util/pandora_server: Start/Stop daemon now works and problem has been
fixed, and I'm very happy after so many days trying to figure what the
hell was happening here :-)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2025 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/SNMPServer.pm: Fixed small problem in snmp2agent
forwarding and better implementation of server error control.
Also solved problem with duplicated traps in SNMP console.
* lib/PandoraFMS/Server.pm: better implementation of server error control.
* lib/PandoraFMS/Core.pm: SNMP alerts now show the IP in _agent_ macro
* lib/PandoraFMS/Tools.pm: Better management of enterprise_hook on
opensource version.
* util/alert_multicast.pl: Added sample of alert script for render
alerts as multicast XML.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2023 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_server: Incremented shutting down grace time to 60 secs
because in some systems could take a lot of time to close all threads.
* conf/pandora_server.conf: Better defaults for Pandora FMS server default
install.
* Config.pm: Hey, this is officially RC1....
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2018 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server_installer: Fixed usage of old pathnames /usr/share/pandora
Fixed name of pandora_db cron.daily entry.
* bin/pandora_server: Multicast status report now report each 30 x
server_threshold.
* lib/Core.pm: Alert event now show more information (module name). Alert
messages like XXX going down to / going up from are replaced by more
simple "going to CRITICAL/NORMAL/WARNING", I hope this will be more clear.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2016 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DataServer.pm: Reduced timeout for sleep
on BADXML from 60 to 10 sec. This could result in bottleneck
when several BADXML found at the same time. Default code
retries 3 times x 10 secs, time enough to discard and retry.
* util/pandora_db.pl: Disabled non-init modules are not deleted.
This is needed for disabled modules coming from a remote conf
(manual or by policy) who cannot execute in agent. If are
deleted each day after purge, will appear as "unknown" and
admin will need to disable it again, and the same next day.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1994 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server.spec: A complete uninstall for RPM. Database
is not killed because user could be just uninstalling one of
multiple servers and drop it will not be funny :-)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1993 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Config.pm: Updatged build.
* lib/PandoraFMS/Core.pm: Added new macro fields for alerts:
id_agent, alert_priority, alert name and module name. Also
fixed a problem in macro substitution when recursive fields
was used.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1986 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server_installer: Fixes some problems detecting Linux
(was skipping tentacle installation).
* util/tentacle_serverd: Fixed some problems starting tentacle
because short timeout after starting and because the unquoted grep.
* util/pandora_server: Incresed sleep time on start.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1965 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server_installer: Fixed a few bugs on non-Linux platforms
* util/pandora_server, util/tentacle_serverd: Didn't work on Linux
(Ubuntu). Fixed she-bang.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1964 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server.spec: Fixed a few details.
* bin/pandora_server: Error handler needs to be reviewed, Enterprise
errors are too nasty :(
* util/tentacle_serverd: Fixed LSB tags problems for RPM install
* util/pandora_server: Fixed LSB tags problems and fix a bug who make
script inusable :(
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1960 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_db.pl: Minor improvements in script. Added
a switch for mode without compact.
* util/pandora_server: Added higher sleep in restart mode to
wait some busy threads to stop before start.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1956 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_exec -> bin/pandora_exec: Moved.
* pandora_server -> util/pandora_server: Moved.
* plugins/pandora_loadgen.pl
plugins/pandora_server_status.pl: New plugins for generate data
and get Pandora FMS server status and load.
* Config.pm, pandora_db.pl: Version update.
* pandora_server.spec,
Makefile.PL,
pandora_server_installer: Updated paths and dependencies
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* bin/pandora_server: Now uses $Config{"enterprise"} to know if
enterprise is loaded, and don't try to call enterprise_hook if is not.
I experience a high rate of inventory-enterprise hook errors in log.
* SNMPServer.pm: Dont call snmp_get_trap2agent enterprise_hook if
not enterprise loaded.
* DataServer.pm: Dont call process_inventory_data if not
enterprise loaded.
* util/pandora_backup.sh: New command line backup and restore tool.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server.spec: Updated dependency for sudo.
* util/tentacle_serverd: su cannot work as expected in SLES11, so
we fallback to sudo again.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1916 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/PredictionServer.pm: Fixed some warning on non init
variables.
* lib/PandoraFMS/Core.pm: Now uses alert name instead alert description
in event description.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1911 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: HTML entities in alert fields are properly
decoded. Alert emails can be sent to multiple comma separated
addresses.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1907 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* conf/pandora_server.conf,
lib/PandoraFMS/Config.pm,
lib/PandoraFMS/Core.pm: Removed the inhibit_alerts configuration
token. Alert inhibition is configured on a per-agent basis.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1903 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* conf/pandora_server.conf: Added sample configurations for
inhibit_alerts and use_xml_timestamp.
* lib/PandoraFMS/Config.pm: Added the inhibit_alerts configuration
token.
* lib/PandoraFMS/Core.pm: Added the option to inhibit agent alerts if
the parent has fired a critical alert.
* lib/PandoraFMS/DataServer.pm: Use the XML file last modification time
if no timestamp is specified.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server.spec: Using chkconfig for service install. Using the new
logrotate config for automatic logfile management.
* pandora_server_installer: Using new logrotate config file.
* bin/pandora_server: Enterprise load notice are shown after main banner.
* lib/PandoraFMS/Config.pm: Updated version (again).
* util/pandora_logrotate: New conf file for /etc/logrotate.d/
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1900 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/tentacle_serverd: Remote config .conf and
.md5 files are now stored in different subdirectories.
* bin/tentacle_server: Updated to latest version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1887 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f