2008-09-08 Raul Mateos <raulofpandora@gmail.com>
* pandora_*: Updated headers with build and new URL, better style git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1088 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
f66de3bce0
commit
663170fb5b
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
* util/pandora_dbstress.pl: Updated year and build.
|
* util/pandora_dbstress.pl: Updated year and build.
|
||||||
|
|
||||||
|
* pandora_*: Updated headers with build and new URL, better style
|
||||||
|
|
||||||
2008-09-03 Sancho Lerena <slerena@gmail.com>
|
2008-09-03 Sancho Lerena <slerena@gmail.com>
|
||||||
|
|
||||||
* pandora_server_installer: Added more info about some dependencies.
|
* pandora_server_installer: Added more info about some dependencies.
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Pandora FMS Network Server, startup script
|
# Pandora FMS Network Server, startup script
|
||||||
# Sancho Lerena, <slerena@gmail.com>
|
# Copyright (c) 2006-2008 Sancho Lerena, <slerena@gmail.com>
|
||||||
# Linux Version (generic)
|
# Linux Version (generic)
|
||||||
# v1.3 Build 070731
|
# v2.0 Build 080903
|
||||||
|
# http://www.pandorafms.com
|
||||||
|
|
||||||
# Configurable path and filenames
|
# Configurable path and filenames
|
||||||
PANDORA_HOME="/etc/pandora/pandora_server.conf"
|
PANDORA_HOME="/etc/pandora/pandora_server.conf"
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Pandora FMS Plugin Server, startup script
|
# Pandora FMS Plugin Server, startup script
|
||||||
# Sancho Lerena, <slerena@gmail.com>
|
# Copyright (c) 2006-2008 Sancho Lerena, <slerena@gmail.com>
|
||||||
# Linux Version (generic)
|
# Linux Version (generic)
|
||||||
# 2.0 Build 080620
|
# v2.0 Build 080903
|
||||||
|
# http://www.pandorafms.com
|
||||||
|
|
||||||
# Configurable path and filenames
|
# Configurable path and filenames
|
||||||
PANDORA_HOME="/etc/pandora/pandora_server.conf"
|
PANDORA_HOME="/etc/pandora/pandora_server.conf"
|
||||||
PANDORA_PID_PATH="/var/run"
|
PANDORA_PID_PATH="/var/run"
|
||||||
PANDORA_PID=$PANDORA_PID_PATH/pandora_plugin.pid
|
PANDORA_PID=$PANDORA_PID_PATH/pandora_plugin.pid
|
||||||
PANDORA_DAEMON=/usr/bin/pandora_plugin
|
PANDORA_DAEMON=/usr/local/bin/pandora_plugin
|
||||||
|
|
||||||
# Main script
|
# Main script
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Pandora FMS Prediction, startup script
|
# Pandora FMS Prediction Server, startup script
|
||||||
# Sancho Lerena, <slerena@gmail.com>
|
# Copyright (c) 2006-2008 Sancho Lerena, <slerena@gmail.com>
|
||||||
# Linux Version (generic)
|
# Linux Version (generic)
|
||||||
# v2.0 Build 0080513
|
# v2.0 Build 080903
|
||||||
|
# http://www.pandorafms.com
|
||||||
|
|
||||||
# Configurable path and filenames
|
# Configurable path and filenames
|
||||||
PANDORA_HOME="/etc/pandora/pandora_server.conf"
|
PANDORA_HOME="/etc/pandora/pandora_server.conf"
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Pandora FMS Recon Server, startup script
|
# Pandora FMS Recon Server, startup script
|
||||||
# Sancho Lerena, <slerena@gmail.com>
|
# Copyright (c) 2006-2008 Sancho Lerena, <slerena@gmail.com>
|
||||||
# Linux Version (generic)
|
# Linux Version (generic)
|
||||||
# v1.3 Build 070731
|
# v2.0 Build 080903
|
||||||
|
# http://www.pandorafms.com
|
||||||
|
|
||||||
# Configurable path and filenames
|
# Configurable path and filenames
|
||||||
PANDORA_HOME="/etc/pandora/pandora_server.conf"
|
PANDORA_HOME="/etc/pandora/pandora_server.conf"
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Pandora Data Server, startup script
|
# Pandora FMS Data Server, startup script
|
||||||
# Sancho Lerena, <slerena@gmail.com>
|
# Copyright (c) 2006-2008 Sancho Lerena, <slerena@gmail.com>
|
||||||
# Linux Version (generico)
|
# Linux Version (generic)
|
||||||
# v1.3 Build 070802
|
# v2.0 Build 080903
|
||||||
|
# http://www.pandorafms.com
|
||||||
|
|
||||||
# Configurable path and filenames
|
# Configurable path and filenames
|
||||||
PANDORA_HOME="/etc/pandora/pandora_server.conf"
|
PANDORA_HOME="/etc/pandora/pandora_server.conf"
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
#
|
#
|
||||||
# Pandora Server
|
# Pandora FMS Server
|
||||||
#
|
#
|
||||||
%define name pandora_server
|
%define name pandora_server
|
||||||
%define version 1.3.1
|
%define version 2.0.0
|
||||||
Summary: Pandora Server
|
Summary: Pandora FMS Server
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: 1
|
Release: 1
|
||||||
License: GPL
|
License: GPL
|
||||||
Vendor: Sancho Lerena <sancho.lerena@artica.es>
|
Vendor: Sancho Lerena <sancho.lerena@artica.es>
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
URL: http://pandora.sf.net
|
URL: http://www.pandorafms.com
|
||||||
Group: System/Monitoring
|
Group: System/Monitoring
|
||||||
Packager: Manuel Arostegui <marostegui@artica.es>
|
Packager: Manuel Arostegui <marostegui@artica.es>
|
||||||
Prefix: /usr/share
|
Prefix: /usr/share
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# (c) 2008 Manuel Arostegui <marostegui@artica.es>
|
# Pandora FMS 2.0 Server Installer (c) 2008 Manuel Arostegui <marostegui@artica.es>
|
||||||
# Please see http://pandora.sourceforge.net
|
# Please see http://pandora.sourceforge.net
|
||||||
# This code is licensed under GPL 2.0 license.
|
# This code is licensed under GPL 2.0 license.
|
||||||
# **********************************************************************
|
# **********************************************************************
|
||||||
|
@ -19,7 +19,7 @@ then
|
||||||
echo "You are missing the following dependencies"
|
echo "You are missing the following dependencies"
|
||||||
echo " "
|
echo " "
|
||||||
cat output | awk -F ": prerequisite" '{print $2}' | awk -F " " '{print $1}'
|
cat output | awk -F ": prerequisite" '{print $2}' | awk -F " " '{print $1}'
|
||||||
echo "The complete installation guide is at: "http://www.openideas.info/wiki/index.php?title=Pandora_1.3:Server:QIG#Installing_from_sources" "
|
echo "The complete installation guide is at: "http://www.openideas.info/wiki/index.php?title=Pandora_2.0:Documentation_en:Install_Server#Pandora_FMS_Server_installation" "
|
||||||
echo " "
|
echo " "
|
||||||
echo "Debian-based distribution do:"
|
echo "Debian-based distribution do:"
|
||||||
echo " $ apt-get install libdate-manip-perl snmp snmpd libsnmp-perl libtime-format-perl libxml-simple-perl libnetaddr-ip-perl libdbi-perl libxml-simple-perl libnetaddr-ip-perl libhtml-parser-perl wmi-client xprobe2"
|
echo " $ apt-get install libdate-manip-perl snmp snmpd libsnmp-perl libtime-format-perl libxml-simple-perl libnetaddr-ip-perl libdbi-perl libxml-simple-perl libnetaddr-ip-perl libhtml-parser-perl wmi-client xprobe2"
|
||||||
|
@ -125,7 +125,6 @@ uninstall () {
|
||||||
|
|
||||||
rm -Rf /var/log/pandora/ 2> /dev/null
|
rm -Rf /var/log/pandora/ 2> /dev/null
|
||||||
rm -Rf /etc/pandora/pandora_server.conf 2> /dev/null
|
rm -Rf /etc/pandora/pandora_server.conf 2> /dev/null
|
||||||
|
|
||||||
rm -Rf /etc/init.d/pandora_server 2> /dev/null
|
rm -Rf /etc/init.d/pandora_server 2> /dev/null
|
||||||
rm -Rf /etc/init.d/pandora_network 2> /dev/null
|
rm -Rf /etc/init.d/pandora_network 2> /dev/null
|
||||||
rm -Rf /etc/init.d/pandora_recon 2> /dev/null
|
rm -Rf /etc/init.d/pandora_recon 2> /dev/null
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Startup script for Pandora SNMP Console
|
# Pandora FMS SNMP Console, startup script
|
||||||
# Sancho Lerena, <slerena@gmail.com>
|
# Copyright (c) 2006-2008 Sancho Lerena, <slerena@gmail.com>
|
||||||
# Linux Version (generic)
|
# Linux Version (generic)
|
||||||
# v1.3 BUILD 070802
|
# v2.0 Build 080903
|
||||||
|
# http://www.pandorafms.com
|
||||||
|
|
||||||
# Compatible with NetSNMP 5.1 or higher
|
# Compatible with NetSNMP 5.1 or higher
|
||||||
|
|
||||||
|
@ -17,7 +18,8 @@ DAEMON_LOG="/var/log/pandora/pandora_snmptrap.log"
|
||||||
DAEMON_PID="$PANDORA_PID_PATH/pandora_snmptrapd.pid"
|
DAEMON_PID="$PANDORA_PID_PATH/pandora_snmptrapd.pid"
|
||||||
DAEMON_PATH=/usr/sbin/snmptrapd
|
DAEMON_PATH=/usr/sbin/snmptrapd
|
||||||
|
|
||||||
# Dont touch this call unless you know are doing. For different versions of NetSNMP Trap daemon, it's possible you need to change some options
|
# Dont touch this call unless you know are doing.
|
||||||
|
# For different versions of NetSNMP Trap daemon, it's possible you need to change some options
|
||||||
# Please refer NetSNMP documentation in that case.
|
# Please refer NetSNMP documentation in that case.
|
||||||
DAEMON_OPTIONS="-t -On -n -a -Lf $DAEMON_LOG -p $DAEMON_PID -F %4y-%02.2m-%l[**]%02.2h:%02.2j:%02.2k[**]%a[**]%N[**]%w[**]%W[**]%q[**]%v\n"
|
DAEMON_OPTIONS="-t -On -n -a -Lf $DAEMON_LOG -p $DAEMON_PID -F %4y-%02.2m-%l[**]%02.2h:%02.2j:%02.2k[**]%a[**]%N[**]%w[**]%W[**]%q[**]%v\n"
|
||||||
DAEMON="$DAEMON_PATH $DAEMON_OPTIONS"
|
DAEMON="$DAEMON_PATH $DAEMON_OPTIONS"
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Pandora FMS WMI Server, startup script
|
# Pandora FMS WMI Server, startup script
|
||||||
# Sancho Lerena, <slerena@gmail.com>
|
# Copyright (c) 2006-2008 Sancho Lerena, <slerena@gmail.com>
|
||||||
# Linux Version (generic)
|
# Linux Version (generic)
|
||||||
# 2.0 Build 080620
|
# v2.0 Build 080903
|
||||||
|
# http://www.pandorafms.com
|
||||||
|
|
||||||
# Configurable path and filenames
|
# Configurable path and filenames
|
||||||
PANDORA_HOME="/etc/pandora/pandora_server.conf"
|
PANDORA_HOME="/etc/pandora/pandora_server.conf"
|
||||||
PANDORA_PID_PATH="/var/run"
|
PANDORA_PID_PATH="/var/run"
|
||||||
PANDORA_PID=$PANDORA_PID_PATH/pandora_wmi.pid
|
PANDORA_PID=$PANDORA_PID_PATH/pandora_wmi.pid
|
||||||
PANDORA_DAEMON=/usr/bin/pandora_wmi
|
PANDORA_DAEMON=/usr/local/bin/pandora_wmi
|
||||||
|
|
||||||
# Main script
|
# Main script
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue