diverse nagios plugins
This commit is contained in:
parent
63b9429e14
commit
739375e988
36
net-analyzer/nagios-core/Manifest
Normal file
36
net-analyzer/nagios-core/Manifest
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
AUX 2.x-series-nsca.patch 767 RMD160 69c3916842953666037dcf258906c15a9ce0047a SHA1 5f376bd65bf74eeb3cc00efde4fadf7f8962d06c SHA256 04ecb77abfe7618d036a2b598ea30df6704a82285b2210055eda4dd6414c94d3
|
||||||
|
MD5 446906907cccdbf195442373c6f17f77 files/2.x-series-nsca.patch 767
|
||||||
|
RMD160 69c3916842953666037dcf258906c15a9ce0047a files/2.x-series-nsca.patch 767
|
||||||
|
SHA256 04ecb77abfe7618d036a2b598ea30df6704a82285b2210055eda4dd6414c94d3 files/2.x-series-nsca.patch 767
|
||||||
|
AUX 99_nagios.conf 350 RMD160 d9818e29cd119b2cc185c75dcd374b3851eaa739 SHA1 fa4b438c1d06f2d00cd2bff4fefc448a59d1cdec SHA256 2e8448d5e38969f0eee4306611e9592e9cec93506ad055cd27ef8e211cfe9f71
|
||||||
|
MD5 673bda0ac6ab9230d23331e7f3846b7b files/99_nagios.conf 350
|
||||||
|
RMD160 d9818e29cd119b2cc185c75dcd374b3851eaa739 files/99_nagios.conf 350
|
||||||
|
SHA256 2e8448d5e38969f0eee4306611e9592e9cec93506ad055cd27ef8e211cfe9f71 files/99_nagios.conf 350
|
||||||
|
AUX conf.d 409 RMD160 8b08c01284fc590a2291164589da42515d1a0586 SHA1 dd7bf46facd6a3069794ad9623cddd854198520e SHA256 a5122b19248c375b7b7c80bb5568fcaf334de316c611a85795960c2b9f6a6d5a
|
||||||
|
MD5 f2947dec6b9a839da79606bcc394036b files/conf.d 409
|
||||||
|
RMD160 8b08c01284fc590a2291164589da42515d1a0586 files/conf.d 409
|
||||||
|
SHA256 a5122b19248c375b7b7c80bb5568fcaf334de316c611a85795960c2b9f6a6d5a files/conf.d 409
|
||||||
|
AUX nagios 1424 RMD160 b8dc7c6e86f8d77e31d0867a305018bc6e3cfe85 SHA1 0a23dec5ce44b5e6db1e2ed577e84595be2c620b SHA256 9c29d108e08e26bc1872fea6f92ecd7c5f539f06d01c2aff845706ceb6866841
|
||||||
|
MD5 c04218d013f1cb55ce1d7b09242b8d4c files/nagios 1424
|
||||||
|
RMD160 b8dc7c6e86f8d77e31d0867a305018bc6e3cfe85 files/nagios 1424
|
||||||
|
SHA256 9c29d108e08e26bc1872fea6f92ecd7c5f539f06d01c2aff845706ceb6866841 files/nagios 1424
|
||||||
|
AUX nagios-1.x-Makefile-asneeded.diff 5460 RMD160 589bc81bb2fe0148acb0d9e6c76d63b6ca6ae34c SHA1 ced005ab9d100af6cd84508cddc1d6d4450aa509 SHA256 679482075dfdecd58948ed479adf306ed02bff5cf661f605d01193b2a11ef503
|
||||||
|
MD5 354f5aeb0e831ee8e218962eb85d07e4 files/nagios-1.x-Makefile-asneeded.diff 5460
|
||||||
|
RMD160 589bc81bb2fe0148acb0d9e6c76d63b6ca6ae34c files/nagios-1.x-Makefile-asneeded.diff 5460
|
||||||
|
SHA256 679482075dfdecd58948ed479adf306ed02bff5cf661f605d01193b2a11ef503 files/nagios-1.x-Makefile-asneeded.diff 5460
|
||||||
|
AUX nagios.conf 362 RMD160 ea642c44b8450cfc67a1675f3dc558d36eccabcb SHA1 a06e53b6c634171c09bb36f1ef460053f7e542c3 SHA256 8d57d761efd4057e15430462e1233715c1472155ae181a2d5d364948bbcb1848
|
||||||
|
MD5 dad3fb46e8f73ac54d9239a542bc82e0 files/nagios.conf 362
|
||||||
|
RMD160 ea642c44b8450cfc67a1675f3dc558d36eccabcb files/nagios.conf 362
|
||||||
|
SHA256 8d57d761efd4057e15430462e1233715c1472155ae181a2d5d364948bbcb1848 files/nagios.conf 362
|
||||||
|
AUX submit_check_result_via_nsca.patch 585 RMD160 1dc2b0a10b0c824b3e0026c26d17f931703e7a98 SHA1 3c00221ae86402dcae93b71abb92cd88e14acb03 SHA256 2770e3988ce05a63866e4b32c029f3ef13d64d7da3791747014378391d5d8d3e
|
||||||
|
MD5 cee7d66cc61be3558af44ab177d99e1f files/submit_check_result_via_nsca.patch 585
|
||||||
|
RMD160 1dc2b0a10b0c824b3e0026c26d17f931703e7a98 files/submit_check_result_via_nsca.patch 585
|
||||||
|
SHA256 2770e3988ce05a63866e4b32c029f3ef13d64d7da3791747014378391d5d8d3e files/submit_check_result_via_nsca.patch 585
|
||||||
|
DIST nagios-2.7.tar.gz 1737308 RMD160 6412149c37cd82d731b807f3e43fd5afbe528f14 SHA1 ce723d8324f76b9a8b6cd18e04d62c1d47013b04 SHA256 defb4062f077f999d1da2bcfcb87786c5d7fbca7d1346c7e6a19084b5629b2c1
|
||||||
|
EBUILD nagios-core-2.7.ebuild 5986 RMD160 64ee365338165a9267509dc79a8fee11d9ab8feb SHA1 ccdfb26e77b350e801425a30b1db978c179a4a83 SHA256 ef8d3cbc31575c8f100e2adb577b498e63eaa55e3dc117b851d985bb7f8b15ad
|
||||||
|
MD5 d4c04ab43f5ed964558e233d57f968af nagios-core-2.7.ebuild 5986
|
||||||
|
RMD160 64ee365338165a9267509dc79a8fee11d9ab8feb nagios-core-2.7.ebuild 5986
|
||||||
|
SHA256 ef8d3cbc31575c8f100e2adb577b498e63eaa55e3dc117b851d985bb7f8b15ad nagios-core-2.7.ebuild 5986
|
||||||
|
MD5 c6423e2e82e560a177ea87f985cedbdd files/digest-nagios-core-2.7 235
|
||||||
|
RMD160 e7408073756c2201e2568b865d7c21be565601cd files/digest-nagios-core-2.7 235
|
||||||
|
SHA256 3982176a15776ad0d8dc9a517e7a86659fbcf82b6c723cc1655de8b1d8704ecd files/digest-nagios-core-2.7 235
|
18
net-analyzer/nagios-core/files/2.x-series-nsca.patch
Normal file
18
net-analyzer/nagios-core/files/2.x-series-nsca.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
--- contrib/eventhandlers/distributed-monitoring/submit_check_result_via_nsca.orig 2005-01-28 12:57:11.537852344 +0930
|
||||||
|
+++ contrib/eventhandlers/distributed-monitoring/submit_check_result_via_nsca 2005-01-28 12:57:45.877631904 +0930
|
||||||
|
@@ -28,9 +28,12 @@
|
||||||
|
|
||||||
|
printfcmd="/bin/printf"
|
||||||
|
|
||||||
|
-NscaBin="/usr/local/nagios/libexec/send_nsca"
|
||||||
|
-NscaCfg="/usr/local/nagios/etc/send_nsca.cfg"
|
||||||
|
-NagiosHost="nagioshost"
|
||||||
|
+NscaBin="/usr/nagios/libexec/send_nsca"
|
||||||
|
+NscaCfg="/etc/nagios/send_nsca.cfg"
|
||||||
|
+
|
||||||
|
+# Gentoo Linux Users: configure the hostname in /etc/conf.d/nagios
|
||||||
|
+source /etc/conf.d/nagios
|
||||||
|
+NagiosHost="${NAGIOS_NSCA_HOST}"
|
||||||
|
|
||||||
|
# Fire the data off to the NSCA daemon using the send_nsca script
|
||||||
|
$printfcmd "%s\t%s\t%s\t%s\n" "$1" "$2" "$3" "$4" | $NscaBin $NagiosHost -c $NscaCfg
|
15
net-analyzer/nagios-core/files/99_nagios.conf
Normal file
15
net-analyzer/nagios-core/files/99_nagios.conf
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<IfDefine NAGIOS>
|
||||||
|
ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/
|
||||||
|
<Directory "/usr/nagios/sbin/">
|
||||||
|
AllowOverride AuthConfig
|
||||||
|
Options ExecCGI
|
||||||
|
Order allow,deny
|
||||||
|
Allow from all
|
||||||
|
</Directory>
|
||||||
|
Alias /nagios /usr/nagios/share/
|
||||||
|
<Directory "/usr/nagios/share">
|
||||||
|
AllowOverride AuthConfig
|
||||||
|
Order allow,deny
|
||||||
|
Allow from all
|
||||||
|
</Directory>
|
||||||
|
</IfDefine>
|
10
net-analyzer/nagios-core/files/conf.d
Normal file
10
net-analyzer/nagios-core/files/conf.d
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Copyright 1999-2004 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-core/files/conf.d,v 1.1 2004/08/20 13:38:13 eldad Exp $
|
||||||
|
|
||||||
|
# Distributed monitoring users will want to configure here the ip/hostname of the central server.
|
||||||
|
# It will be used by submit_check_result_via_nsca.
|
||||||
|
NAGIOS_NSCA_HOST="localhost"
|
||||||
|
|
||||||
|
|
||||||
|
|
3
net-analyzer/nagios-core/files/digest-nagios-core-2.7
Normal file
3
net-analyzer/nagios-core/files/digest-nagios-core-2.7
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
MD5 d664d2785cdca3c5c8a3e84c033e8e6e nagios-2.7.tar.gz 1737308
|
||||||
|
RMD160 6412149c37cd82d731b807f3e43fd5afbe528f14 nagios-2.7.tar.gz 1737308
|
||||||
|
SHA256 defb4062f077f999d1da2bcfcb87786c5d7fbca7d1346c7e6a19084b5629b2c1 nagios-2.7.tar.gz 1737308
|
56
net-analyzer/nagios-core/files/nagios
Normal file
56
net-analyzer/nagios-core/files/nagios
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
# Copyright 1999-2004 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-core/files/nagios,v 1.9 2007/02/03 07:04:42 mjolnir Exp $
|
||||||
|
|
||||||
|
opts="${opts} reload checkconfig"
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need net
|
||||||
|
use dns logger firewall
|
||||||
|
after mysql postgresql
|
||||||
|
}
|
||||||
|
|
||||||
|
reload()
|
||||||
|
{
|
||||||
|
checkconfig || return 1
|
||||||
|
ebegin "Reloading configuration"
|
||||||
|
killall -HUP nagios &>/dev/null
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
checkconfig() {
|
||||||
|
# Silent Check
|
||||||
|
/usr/nagios/bin/nagios -v /etc/nagios/nagios.cfg &>/dev/null && return 0
|
||||||
|
|
||||||
|
# Now we know there's problem - run again and display errors
|
||||||
|
/usr/nagios/bin/nagios -v /etc/nagios/nagios.cfg
|
||||||
|
eend $? "Configuration Error. Please fix your configfile"
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
checkconfig || return 1
|
||||||
|
ebegin "Starting nagios"
|
||||||
|
touch /var/nagios/nagios.log /var/nagios/status.sav
|
||||||
|
chown nagios:nagios /var/nagios/nagios.log /var/nagios/status.sav
|
||||||
|
rm -f /var/nagios/rw/nagios.cmd
|
||||||
|
start-stop-daemon --quiet --start --startas /usr/nagios/bin/nagios \
|
||||||
|
--pidfile /var/nagios/nagios.lock -- -d /etc/nagios/nagios.cfg
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
ebegin "Stopping nagios"
|
||||||
|
start-stop-daemon --quiet --stop --pidfile /var/nagios/nagios.lock
|
||||||
|
rm -f /var/nagios/status.log /var/nagios/nagios.tmp /var/nagios/nagios.lock /var/nagios/rw/nagios.cmd
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
svc_restart() {
|
||||||
|
checkconfig || return 1
|
||||||
|
ebegin "Restarting nagios"
|
||||||
|
svc_stop
|
||||||
|
svc_start
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
110
net-analyzer/nagios-core/files/nagios-1.x-Makefile-asneeded.diff
Normal file
110
net-analyzer/nagios-core/files/nagios-1.x-Makefile-asneeded.diff
Normal file
@ -0,0 +1,110 @@
|
|||||||
|
--- nagios-1.3/base/Makefile.in.orig 2006-04-30 00:22:59.000000000 +0300
|
||||||
|
+++ nagios-1.3/base/Makefile.in 2006-04-30 00:23:01.000000000 +0300
|
||||||
|
@@ -12,7 +12,8 @@
|
||||||
|
CC=@CC@
|
||||||
|
CFLAGS=@CFLAGS@ @DEFS@ -DNSCORE
|
||||||
|
#CFLAGS=-O3 -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -DHAVE_CONFIG_H -DNSCORE
|
||||||
|
-LDFLAGS=@LDFLAGS@ @LIBS@
|
||||||
|
+LDFLAGS=@LDFLAGS@
|
||||||
|
+LDADD=@LIBS@
|
||||||
|
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
@@ -88,7 +89,7 @@
|
||||||
|
OBJS=checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o $(RDATALIBS) $(CDATALIBS) $(ODATALIBS) $(SDATALIBS) $(PDATALIBS) $(DDATALIBS) $(BASEEXTRALIBS) $(SNPRINTF_O)
|
||||||
|
|
||||||
|
nagios: nagios.c $(OBJS) nagios.h $(SRC_COMMON)/locations.h
|
||||||
|
- $(CC) $(CFLAGS) $(LDFLAGS) nagios.c $(OBJS) $(PERLLIBS) $(MATHLIBS) -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) nagios.c $(OBJS) $(PERLLIBS) $(MATHLIBS) $(LDADD) -o $@
|
||||||
|
|
||||||
|
#$(SRC_COMMON)/locations.h: $(SRC_COMMON)/locations.sub
|
||||||
|
# perl -pe 's|\$${prefix}|${prefix}|g;s|\$${exec_prefix}|${exec_prefix}|g;s|\$${htmurl}|$(HTMURL)|g;s|\$${cgiurl}|$(CGIURL)|g;' $(SRC_COMMON)/locations.sub > $(SRC_COMMON)/locations.h
|
||||||
|
--- nagios-1.3/cgi/Makefile.in.orig 2006-04-30 00:37:36.000000000 +0300
|
||||||
|
+++ nagios-1.3/cgi/Makefile.in 2006-04-30 00:38:56.000000000 +0300
|
||||||
|
@@ -27,7 +27,8 @@
|
||||||
|
CC=@CC@
|
||||||
|
CFLAGS=@CFLAGS@ @DEFS@ -DNSCGI
|
||||||
|
#CFLAGS=-O3 -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -DHAVE_CONFIG_H -DNSCGI
|
||||||
|
-LDFLAGS=@LDFLAGS@ @LIBS@
|
||||||
|
+LDFLAGS=@LDFLAGS@
|
||||||
|
+LDADD=@LIBS@
|
||||||
|
|
||||||
|
CGIS=avail.cgi cmd.cgi config.cgi extinfo.cgi history.cgi notifications.cgi outages.cgi showlog.cgi status.cgi statuswml.cgi summary.cgi tac.cgi $(CGIEXTRAS)
|
||||||
|
|
||||||
|
@@ -95,58 +96,58 @@
|
||||||
|
$(COMMENTLIBS): $(COMMENTHDRS)
|
||||||
|
|
||||||
|
avail.cgi: avail.c $(CGIDEPS)
|
||||||
|
- $(CC) $(CFLAGS) $(LDFLAGS) avail.c $(CGILIBS) -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) avail.c $(CGILIBS) $(LDADD) -o $@
|
||||||
|
|
||||||
|
checksanity.cgi: checksanity.c $(CGIDEPS) $(CDATADEPS) $(EDATADEPS) $(DDATADEPS)
|
||||||
|
- $(CC) $(CFLAGS) $(LDFLAGS) checksanity.c $(CGILIBS) $(CDATALIBS) $(EDATALIBS) $(DDATALIBS) -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) checksanity.c $(CGILIBS) $(CDATALIBS) $(EDATALIBS) $(DDATALIBS) $(LDADD) -o $@
|
||||||
|
|
||||||
|
cmd.cgi: cmd.c $(CGIDEPS) $(CDATADEPS)
|
||||||
|
- $(CC) $(CFLAGS) $(LDFLAGS) cmd.c $(CGILIBS) $(CDATALIBS) $(DDATALIBS) -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) cmd.c $(CGILIBS) $(CDATALIBS) $(DDATALIBS) $(LDADD) -o $@
|
||||||
|
|
||||||
|
config.cgi: config.c $(CGIDEPS)
|
||||||
|
- $(CC) $(CFLAGS) $(LDFLAGS) config.c $(CGILIBS) -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) config.c $(CGILIBS) $(LDADD) -o $@
|
||||||
|
|
||||||
|
extinfo.cgi: extinfo.c $(CGIDEPS) $(CDATADEPS) $(EDATADEPS) $(DDATADEPS)
|
||||||
|
- $(CC) $(CFLAGS) $(LDFLAGS) extinfo.c $(CGILIBS) $(CDATALIBS) $(EDATALIBS) $(DDATALIBS) -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) extinfo.c $(CGILIBS) $(CDATALIBS) $(EDATALIBS) $(DDATALIBS) $(LDADD) -o $@
|
||||||
|
|
||||||
|
history.cgi: history.c $(CGIDEPS) $(LIFODEPS)
|
||||||
|
- $(CC) $(CFLAGS) $(LDFLAGS) history.c $(CGILIBS) $(LIFOLIBS) -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) history.c $(CGILIBS) $(LIFOLIBS) $(LDADD) -o $@
|
||||||
|
|
||||||
|
ministatus.cgi: ministatus.c $(CGIDEPS)
|
||||||
|
- $(CC) $(CFLAGS) $(LDFLAGS) ministatus.c $(CGILIBS) -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) ministatus.c $(CGILIBS) $(LDADD) -o $@
|
||||||
|
|
||||||
|
notifications.cgi: notifications.c $(CGIDEPS) $(LIFODEPS)
|
||||||
|
- $(CC) $(CFLAGS) $(LDFLAGS) notifications.c $(CGILIBS) $(LIFOLIBS) -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) notifications.c $(CGILIBS) $(LIFOLIBS) $(LDADD) -o $@
|
||||||
|
|
||||||
|
outages.cgi: outages.c $(CGIDEPS) $(CDATADEPS)
|
||||||
|
- $(CC) $(CFLAGS) $(LDFLAGS) outages.c $(CGILIBS) $(CDATALIBS) -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) outages.c $(CGILIBS) $(CDATALIBS) $(LDADD) -o $@
|
||||||
|
|
||||||
|
showlog.cgi: showlog.c $(CGIDEPS) $(LIFODEPS)
|
||||||
|
- $(CC) $(CFLAGS) $(LDFLAGS) showlog.c $(CGILIBS) $(LIFOLIBS) -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) showlog.c $(CGILIBS) $(LIFOLIBS) $(LDADD) -o $@
|
||||||
|
|
||||||
|
status.cgi: status.c $(CGIDEPS) $(CDATADEPS) $(EDATADEPS)
|
||||||
|
- $(CC) $(CFLAGS) $(LDFLAGS) status.c $(CGILIBS) $(CDATALIBS) $(EDATALIBS) -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) status.c $(CGILIBS) $(CDATALIBS) $(EDATALIBS) $(LDADD) -o $@
|
||||||
|
|
||||||
|
statuswml.cgi: statuswml.c $(CGIDEPS)
|
||||||
|
- $(CC) $(CFLAGS) $(LDFLAGS) statuswml.c $(CGILIBS) -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) statuswml.c $(CGILIBS) $(LDADD) -o $@
|
||||||
|
|
||||||
|
statusmap.cgi: statusmap.c $(CGIDEPS) $(EDATADEPS)
|
||||||
|
- $(CC) $(CFLAGS) $(LDFLAGS) statusmap.c $(CGILIBS) $(GDLIBS) $(EDATALIBS) -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) statusmap.c $(CGILIBS) $(GDLIBS) $(EDATALIBS) $(LDADD) -o $@
|
||||||
|
|
||||||
|
statuswrl.cgi: statuswrl.c $(CGIDEPS) $(EDATADEPS)
|
||||||
|
- $(CC) $(CFLAGS) $(LDFLAGS) statuswrl.c $(CGILIBS) $(MATHLIBS) $(EDATALIBS) -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) statuswrl.c $(CGILIBS) $(MATHLIBS) $(EDATALIBS) $(LDADD) -o $@
|
||||||
|
|
||||||
|
summary.cgi: summary.c $(CGIDEPS)
|
||||||
|
- $(CC) $(CFLAGS) $(LDFLAGS) summary.c $(CGILIBS) -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) summary.c $(CGILIBS) $(LDADD) -o $@
|
||||||
|
|
||||||
|
tac.cgi: tac.c $(CGIDEPS) $(CDATADEPS) $(EDATADEPS)
|
||||||
|
- $(CC) $(CFLAGS) $(LDFLAGS) tac.c $(CGILIBS) $(CDATALIBS) $(EDATALIBS) -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) tac.c $(CGILIBS) $(CDATALIBS) $(EDATALIBS) $(LDADD) -o $@
|
||||||
|
|
||||||
|
trends.cgi: trends.c $(CGIDEPS)
|
||||||
|
- $(CC) $(CFLAGS) $(LDFLAGS) trends.c $(CGILIBS) $(GDLIBS) -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) trends.c $(CGILIBS) $(GDLIBS) $(LDADD) -o $@
|
||||||
|
|
||||||
|
histogram.cgi: histogram.c $(CGIDEPS)
|
||||||
|
- $(CC) $(CFLAGS) $(LDFLAGS) histogram.c $(CGILIBS) $(GDLIBS) -o $@
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) histogram.c $(CGILIBS) $(GDLIBS) $(LDADD) -o $@
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(CGIS) *.o *.cfg *.sub core
|
19
net-analyzer/nagios-core/files/nagios.conf
Normal file
19
net-analyzer/nagios-core/files/nagios.conf
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<IfDefine NAGIOS>
|
||||||
|
|
||||||
|
ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/
|
||||||
|
<Directory "/usr/nagios/sbin/">
|
||||||
|
AllowOverride AuthConfig
|
||||||
|
Options ExecCGI
|
||||||
|
Order allow,deny
|
||||||
|
Allow from all
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
|
||||||
|
Alias /nagios /usr/nagios/share/
|
||||||
|
<Directory "/usr/nagios/share">
|
||||||
|
AllowOverride AuthConfig
|
||||||
|
Order allow,deny
|
||||||
|
Allow from all
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
</IfDefine>
|
@ -0,0 +1,14 @@
|
|||||||
|
--- contrib/eventhandlers/distributed-monitoring/submit_check_result_via_nsca.orig 2004-08-20 14:57:38.462260008 +0300
|
||||||
|
+++ contrib/eventhandlers/distributed-monitoring/submit_check_result_via_nsca 2004-08-20 15:06:46.647923120 +0300
|
||||||
|
@@ -32,7 +32,10 @@
|
||||||
|
|
||||||
|
NscaBin="/usr/local/nagios/libexec/send_nsca"
|
||||||
|
NscaCfg="/usr/local/nagios/etc/send_nsca.cfg"
|
||||||
|
-NagiosHost="nagioshost"
|
||||||
|
+
|
||||||
|
+# Gentoo Linux Users: configure the hostname in /etc/conf.d/nagios
|
||||||
|
+source /etc/conf.d/nagios
|
||||||
|
+NagiosHost="${NAGIOS_NSCA_HOST}"
|
||||||
|
|
||||||
|
# create the command line to add to the command file
|
||||||
|
cmdline="$1;$2;$3;$4"
|
225
net-analyzer/nagios-core/nagios-core-2.7.ebuild
Normal file
225
net-analyzer/nagios-core/nagios-core-2.7.ebuild
Normal file
@ -0,0 +1,225 @@
|
|||||||
|
# Copyright 1999-2007 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-core/nagios-core-2.5-r1.ebuild,v 1.1 2007/02/03 07:04:42 mjolnir Exp $
|
||||||
|
|
||||||
|
inherit eutils apache-module toolchain-funcs gnuconfig
|
||||||
|
|
||||||
|
MY_P=${PN/-core}-${PV/_}
|
||||||
|
DESCRIPTION="Nagios Core - Check daemon, CGIs, docs"
|
||||||
|
HOMEPAGE="http://www.nagios.org/"
|
||||||
|
SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz"
|
||||||
|
# mirror://gentoo/nagios-2.0b.cfg-sample.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
IUSE="noweb perl debug apache2"
|
||||||
|
# mysql postgres
|
||||||
|
DEPEND="virtual/mailx
|
||||||
|
!noweb? (
|
||||||
|
>=media-libs/jpeg-6b-r3
|
||||||
|
>=media-libs/libpng-1.2.5-r4
|
||||||
|
>=media-libs/gd-1.8.3-r5
|
||||||
|
${NEED_APACHE_DEPEND}
|
||||||
|
perl? ( net-analyzer/traceroute )
|
||||||
|
)
|
||||||
|
perl? ( >=dev-lang/perl-5.6.1-r7 )"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
# If there's a gd lib on the system, it will try to build with it.
|
||||||
|
# check if gdlib-config is on, and then check its output.
|
||||||
|
if [[ -x ${ROOT}usr/bin/gdlib-config ]]; then
|
||||||
|
if [[ ! $(${ROOT}usr/bin/gdlib-config --libs | grep -- -ljpeg) ]]; then
|
||||||
|
eerror "Your gd has been compiled without jpeg support."
|
||||||
|
eerror "Please re-emerge gd:"
|
||||||
|
eerror "# USE="jpeg" emerge gd"
|
||||||
|
die "pkg_setup failed"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
enewgroup nagios
|
||||||
|
|
||||||
|
if use noweb; then
|
||||||
|
enewuser nagios -1 /bin/bash /dev/null nagios
|
||||||
|
else
|
||||||
|
enewuser nagios -1 /bin/bash /dev/null nagios,apache
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack ${A}
|
||||||
|
cd ${S}
|
||||||
|
epatch ${FILESDIR}/2.x-series-nsca.patch
|
||||||
|
# ppc64 needs this
|
||||||
|
gnuconfig_update
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local myconf
|
||||||
|
|
||||||
|
if use perl
|
||||||
|
then
|
||||||
|
myconf="${myconf} --enable-embedded-perl --with-perlcache"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use debug; then
|
||||||
|
myconf="${myconf} --enable-DEBUG0"
|
||||||
|
myconf="${myconf} --enable-DEBUG1"
|
||||||
|
myconf="${myconf} --enable-DEBUG2"
|
||||||
|
myconf="${myconf} --enable-DEBUG3"
|
||||||
|
myconf="${myconf} --enable-DEBUG4"
|
||||||
|
myconf="${myconf} --enable-DEBUG5"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use noweb; then
|
||||||
|
myconf="${myconf} --with-command-grp=nagios"
|
||||||
|
else
|
||||||
|
myconf="${myconf} --with-command-grp=apache"
|
||||||
|
fi
|
||||||
|
|
||||||
|
./configure ${myconf} \
|
||||||
|
--host=${CHOST} \
|
||||||
|
--prefix=/usr/nagios \
|
||||||
|
--localstatedir=/var/nagios \
|
||||||
|
--sysconfdir=/etc/nagios \
|
||||||
|
--infodir=/usr/share/info \
|
||||||
|
--mandir=/usr/share/man \
|
||||||
|
${myconf} || die "./configure failed"
|
||||||
|
|
||||||
|
emake CC=$(tc-getCC) nagios || die "make failed"
|
||||||
|
|
||||||
|
if use !noweb ; then
|
||||||
|
# Only compile the CGI's if "noweb" useflag is not set.
|
||||||
|
make CC=$(tc-getCC) DESTDIR=${D} cgis || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
emake -C contrib all || "contrib make filed"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodoc Changelog INSTALLING LEGAL LICENSE README UPGRADING
|
||||||
|
docinto contrib
|
||||||
|
dodoc contrib/README
|
||||||
|
|
||||||
|
if use noweb; then
|
||||||
|
sed -i -e 's/cd $(SRC_CGI) && $(MAKE) $@/# line removed due to noweb use flag/' \
|
||||||
|
-e 's/cd $(SRC_HTM) && $(MAKE) $@/# line removed due to noweb use flag/' \
|
||||||
|
Makefile
|
||||||
|
fi
|
||||||
|
|
||||||
|
sed -i -e 's/^contactgroups$//g' Makefile
|
||||||
|
|
||||||
|
make DESTDIR=${D} install
|
||||||
|
make DESTDIR=${D} install-config
|
||||||
|
make DESTDIR=${D} install-commandmode
|
||||||
|
|
||||||
|
docinto sample-configs
|
||||||
|
dodoc ${D}/etc/nagios/*
|
||||||
|
rm ${D}/etc/nagios/*
|
||||||
|
|
||||||
|
newdoc ${WORKDIR}/nagios-2.0b.cfg-sample nagios.cfg-sample
|
||||||
|
|
||||||
|
#contribs are not configured by the configure script, we'll configure them overselves...
|
||||||
|
find ${S}/contrib/ -type f | xargs sed -e 's:/usr/local/nagios/var/rw:/var/nagios/rw:;
|
||||||
|
s:/usr/local/nagios/libexec:/usr/nagios/libexec:;
|
||||||
|
s:/usr/local/nagios/etc:/etc/nagios:;
|
||||||
|
s:/usr/local/nagios/sbin:/usr/nagios/sbin:;' -i
|
||||||
|
|
||||||
|
insinto /usr/share/doc/${PF}/contrib
|
||||||
|
doins -r contrib/eventhandlers
|
||||||
|
|
||||||
|
exeinto /etc/init.d
|
||||||
|
doexe ${FILESDIR}/nagios
|
||||||
|
|
||||||
|
insinto /etc/conf.d
|
||||||
|
newins ${FILESDIR}/conf.d nagios
|
||||||
|
|
||||||
|
chmod 644 ${S}/contrib/*.cgi
|
||||||
|
into /usr/nagios
|
||||||
|
for bin in `find contrib/ -type f -perm 0755 -maxdepth 1` ; do
|
||||||
|
dobin $bin
|
||||||
|
done
|
||||||
|
|
||||||
|
# Apache Module
|
||||||
|
if use !noweb; then
|
||||||
|
if use apache2; then
|
||||||
|
insinto ${APACHE2_MODULES_CONFDIR}
|
||||||
|
doins ${FILESDIR}/99_nagios.conf
|
||||||
|
else
|
||||||
|
insinto ${APACHE1_MODULES_CONFDIR}
|
||||||
|
doins ${FILESDIR}/nagios.conf
|
||||||
|
fi
|
||||||
|
if use perl; then
|
||||||
|
into /usr/nagios ; dosbin contrib/traceroute.cgi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
for dir in etc/nagios usr/nagios var/nagios ; do
|
||||||
|
chown -R nagios:nagios ${D}/${dir} || die "Failed chown of ${D}/${dir}"
|
||||||
|
done
|
||||||
|
|
||||||
|
keepdir /etc/nagios
|
||||||
|
keepdir /var/nagios
|
||||||
|
keepdir /var/nagios/archives
|
||||||
|
keepdir /usr/nagios/share/ssi
|
||||||
|
keepdir /var/nagios/rw
|
||||||
|
|
||||||
|
if use noweb; then
|
||||||
|
chown -R nagios:nagios ${D}/var/nagios/rw || die "Failed Chown of ${D}/var/nagios/rw"
|
||||||
|
else
|
||||||
|
chown -R nagios:apache ${D}/var/nagios/rw || die "Failed Chown of ${D}/var/nagios/rw"
|
||||||
|
fi
|
||||||
|
|
||||||
|
chmod ug+s ${D}/var/nagios/rw || die "Failed Chmod of ${D}/var/nagios/rw"
|
||||||
|
chmod 0750 ${D}/etc/nagios || die "Failed chmod of ${D}/etc/nagios"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
einfo
|
||||||
|
einfo "The example config files are located at /usr/share/doc/${PF}/sample-configs/."
|
||||||
|
einfo
|
||||||
|
einfo "Also, if you want nagios to start at boot time"
|
||||||
|
einfo "remember to execute:"
|
||||||
|
einfo " rc-update add nagios default"
|
||||||
|
einfo
|
||||||
|
|
||||||
|
if use !noweb; then
|
||||||
|
einfo "This does not include cgis that are perl-dependent"
|
||||||
|
einfo "Currently traceroute.cgi is perl-dependent"
|
||||||
|
einfo "To have ministatus.cgi requires copying of ministatus.c"
|
||||||
|
einfo "to cgi directory for compiling."
|
||||||
|
|
||||||
|
if use apache2; then
|
||||||
|
einfo " Edit /etc/conf.d/apache2 and add \"-D NAGIOS\""
|
||||||
|
else
|
||||||
|
einfo " Edit /etc/conf.d/apache and add \"-D NAGIOS\""
|
||||||
|
fi
|
||||||
|
|
||||||
|
einfo
|
||||||
|
einfo "That will make nagios's web front end visable via"
|
||||||
|
einfo "http://localhost/nagios/"
|
||||||
|
einfo
|
||||||
|
|
||||||
|
else
|
||||||
|
einfo "Please note that you have installed Nagios without web interface."
|
||||||
|
einfo "Please don't file any bugs about having no web interface when you do this."
|
||||||
|
einfo "Thank you!"
|
||||||
|
fi
|
||||||
|
|
||||||
|
einfo
|
||||||
|
einfo "If your kernel has /proc protection, nagios"
|
||||||
|
einfo "will not be happy as it relies on accessing the proc"
|
||||||
|
einfo "filesystem. You can fix this by adding nagios into"
|
||||||
|
einfo "the group wheel, but this is not recomended."
|
||||||
|
einfo
|
||||||
|
|
||||||
|
einfo
|
||||||
|
ewarn "Use /usr/nagios/bin/convertcfg for configuration file conversion"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_prerm() {
|
||||||
|
/etc/init.d/nagios stop
|
||||||
|
}
|
9
net-analyzer/nagios-grapher/Manifest
Normal file
9
net-analyzer/nagios-grapher/Manifest
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
DIST nagios-grapher-1.6.1_rc3-r1.gentoo-patchset.tar.gz 3050 RMD160 050866acd97b78dc59ff31b46adff1a565f76280 SHA1 70aed61e154ab6e38b7b44d23b249911f8917031 SHA256 d7bb1fa78dc231b62fbbf25d11f270af704e8e89d70b2356f7b4ae502c81b26a
|
||||||
|
DIST nagios-grapher-1.6.1_rc3.tar.gz 70622 RMD160 496ee8b518934142ea1d01789f637715d0aa9d0b SHA1 877b25ee45ed6072ef6f048ada7a515cd644e5a8 SHA256 579a64b198f7e1454718f7d82fd89c871b919dc7cb91aff97c858716ee9f4a38
|
||||||
|
EBUILD nagios-grapher-1.6.1_rc3-r2.ebuild 3433 RMD160 81e4e0d0aa0040e2a03210698c945a2e7a6bcf43 SHA1 6f64fcd244a162f0caacd7a6fb9f74eaeca5f8f9 SHA256 9e94151151af342e3621deba91bda7408834dcd7639150e0bd7ee5c506b3308b
|
||||||
|
MD5 4ed7e3dfae68a2bd58210dac3cc4913a nagios-grapher-1.6.1_rc3-r2.ebuild 3433
|
||||||
|
RMD160 81e4e0d0aa0040e2a03210698c945a2e7a6bcf43 nagios-grapher-1.6.1_rc3-r2.ebuild 3433
|
||||||
|
SHA256 9e94151151af342e3621deba91bda7408834dcd7639150e0bd7ee5c506b3308b nagios-grapher-1.6.1_rc3-r2.ebuild 3433
|
||||||
|
MD5 3f958faa351ffd1d94d47edd480d5fb6 files/digest-nagios-grapher-1.6.1_rc3-r2 596
|
||||||
|
RMD160 7e44aadd278296ecc3099764feffe682b1f4d97e files/digest-nagios-grapher-1.6.1_rc3-r2 596
|
||||||
|
SHA256 847f539cf4779431b2493defd03bf1279f6f66bb6f22e7907eb0d7ae27a9e6d7 files/digest-nagios-grapher-1.6.1_rc3-r2 596
|
@ -0,0 +1,6 @@
|
|||||||
|
MD5 16381c5248e7634288f17fd80772be5c nagios-grapher-1.6.1_rc3-r1.gentoo-patchset.tar.gz 3050
|
||||||
|
RMD160 050866acd97b78dc59ff31b46adff1a565f76280 nagios-grapher-1.6.1_rc3-r1.gentoo-patchset.tar.gz 3050
|
||||||
|
SHA256 d7bb1fa78dc231b62fbbf25d11f270af704e8e89d70b2356f7b4ae502c81b26a nagios-grapher-1.6.1_rc3-r1.gentoo-patchset.tar.gz 3050
|
||||||
|
MD5 6ba4e097e3d8db1b8c4448aadbc28604 nagios-grapher-1.6.1_rc3.tar.gz 70622
|
||||||
|
RMD160 496ee8b518934142ea1d01789f637715d0aa9d0b nagios-grapher-1.6.1_rc3.tar.gz 70622
|
||||||
|
SHA256 579a64b198f7e1454718f7d82fd89c871b919dc7cb91aff97c858716ee9f4a38 nagios-grapher-1.6.1_rc3.tar.gz 70622
|
120
net-analyzer/nagios-grapher/nagios-grapher-1.6.1_rc3-r2.ebuild
Normal file
120
net-analyzer/nagios-grapher/nagios-grapher-1.6.1_rc3-r2.ebuild
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
# Copyright 1999-2007 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
# cvahldieck 2007-04
|
||||||
|
|
||||||
|
inherit eutils
|
||||||
|
|
||||||
|
DESCRIPTION="Nagios Grapher - Daemon and CGIs for getting quite pretty charts out of nagios"
|
||||||
|
HOMEPAGE="http://www.nagiosexchange.org/NagiosGrapher.84.0.html/"
|
||||||
|
SRC_URI="http://de.geocities.com/fencheltee84/nagios/nagios-grapher-1.6.1_rc3.tar.gz \
|
||||||
|
http://de.geocities.com/fencheltee84/nagios/nagios-grapher-1.6.1_rc3-r1.gentoo-patchset.tar.gz"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~x86 ~amd64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=">=dev-perl/GDGraph-1.43
|
||||||
|
>=dev-perl/Image-Imlib2-1.13
|
||||||
|
>=dev-perl/XML-NamespaceSupport-1.09
|
||||||
|
>=dev-perl/XML-SAX-0.14
|
||||||
|
>=dev-perl/XML-Dumper-0.81
|
||||||
|
>=dev-perl/URI-1.3.5
|
||||||
|
>=dev-lang/perl-5.8.7-r3
|
||||||
|
>=net-analyzer/rrdtool-1.2.6-r1
|
||||||
|
>=media-gfx/imagemagick-6.2.5.5
|
||||||
|
>=net-analyzer/nagios-2.5
|
||||||
|
>=dev-perl/Calendar-Simple-1.17"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup nagios
|
||||||
|
enewuser nagios -1 /bin/bash /dev/null nagios
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack ${A}
|
||||||
|
cd ${WORKDIR}
|
||||||
|
cd files
|
||||||
|
ln -s 1.6.1_rc3-r1 ${PVR}
|
||||||
|
cd ..
|
||||||
|
epatch files/${PVR}/collect2.pl.diff
|
||||||
|
epatch files/${PVR}/config.layout.diff
|
||||||
|
epatch files/${PVR}/configure.ac.diff
|
||||||
|
epatch files/${PVR}/ngraph.ncfg.in.diff
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cd ${WORKDIR}
|
||||||
|
cp files/${PVR}/nagios-grapher.in .
|
||||||
|
autoconf
|
||||||
|
./configure --with-layout=gentoo --with-ng-interface=pipe || die "./configure failed"
|
||||||
|
cd ${WORKDIR}/contrib/fifo_write/C
|
||||||
|
gcc fifo_write.c -o fifo_write
|
||||||
|
cd ${WORKDIR}/contrib/udpecho
|
||||||
|
gcc udpecho.c -o udpecho
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cd ${WORKDIR}
|
||||||
|
|
||||||
|
insinto /etc/nagios/
|
||||||
|
doins cfg/ngraph.ncfg
|
||||||
|
|
||||||
|
insinto /usr/nagios/share/images
|
||||||
|
doins dot.png graph.png
|
||||||
|
|
||||||
|
exeinto /usr/nagios/sbin
|
||||||
|
doexe sbin/graphs.cgi sbin/rrd2-graph.cgi sbin/rrd2-system.cgi
|
||||||
|
|
||||||
|
exeinto /usr/nagios/contrib
|
||||||
|
doexe bin/collect2.pl bin/fifo_write.pl contrib/fifo_write/C/fifo_write contrib/udpecho/udpecho
|
||||||
|
|
||||||
|
exeinto /etc/perl
|
||||||
|
doexe lib/NagiosGrapher.pm
|
||||||
|
|
||||||
|
exeinto /etc/perl/NagiosGrapher
|
||||||
|
doexe lib/NagiosGrapher/HTML.pm
|
||||||
|
|
||||||
|
exeinto /etc/perl/NagiosGrapher/Hooks
|
||||||
|
cd lib/NagiosGrapher/Hooks
|
||||||
|
doexe Generic.pm ImageGraphTest.pm RRDUpdateTest.pm SrvExtTest.pm SrvExtWriteHostextInfo.pm
|
||||||
|
cd ${WORKDIR}
|
||||||
|
|
||||||
|
exeinto /etc/init.d
|
||||||
|
doexe nagios-grapher
|
||||||
|
|
||||||
|
cd doc
|
||||||
|
dodoc ABOUT AUTHORS CHANGELOG CONFIG INSTALL LAYOUT VERSION
|
||||||
|
docinto examples
|
||||||
|
cd examples
|
||||||
|
dodoc README TIPS
|
||||||
|
cd advanced
|
||||||
|
dodoc linux-disk-usage.cfg linux-load.cfg net-ping.cfg openvpn-clients.cfg
|
||||||
|
cd ../basic
|
||||||
|
dodoc linux-procs.cfg linux-swap.cfg linux-users.cfg net-ldap.cfg
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
einfo
|
||||||
|
einfo "To complete the installation you have to make sure"
|
||||||
|
einfo "nagios and nagios-grapher understand each other."
|
||||||
|
einfo
|
||||||
|
einfo "So please check the following lines in '/etc/nagios/nagios.cfg':"
|
||||||
|
einfo " process_performance_data=1"
|
||||||
|
einfo " service_perfdata_command=process-service-perfdata"
|
||||||
|
einfo
|
||||||
|
einfo "You should also define the following within your nagios config:"
|
||||||
|
einfo " define command { "
|
||||||
|
einfo " command_name process-service-perfdata "
|
||||||
|
einfo " command_line echo -e '\$HOSTNAME\$\\\t\$SERVICEDESC$\\\t\$SERVICEOUTPUT$\\\t\$SERVICEPERFDATA\$' > /var/nagios/rw/ngraph.pipe"
|
||||||
|
einfo " }"
|
||||||
|
einfo
|
||||||
|
einfo "Don't forget to add nagios-grapher to your favorite runlevel."
|
||||||
|
einfo "To do this please type: 'rc-update add nagios-grapher default'"
|
||||||
|
einfo
|
||||||
|
einfo "Just in case: the docs are located in /usr/share/doc/${PF}"
|
||||||
|
einfo
|
||||||
|
}
|
||||||
|
|
45
net-analyzer/nagios-imagepack/ChangeLog
Normal file
45
net-analyzer/nagios-imagepack/ChangeLog
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# ChangeLog for net-analyzer/nagios-imagepack
|
||||||
|
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-imagepack/ChangeLog,v 1.12 2007/02/03 06:31:33 mjolnir Exp $
|
||||||
|
|
||||||
|
03 Feb 2007; Martin Jackson <mjolnir@gentoo.org> ChangeLog:
|
||||||
|
Update digests - tarball seems to have been re-rolled for
|
||||||
|
imagepak-werschler.tar.gz
|
||||||
|
|
||||||
|
21 Oct 2006; Thomas Cort <tcort@gentoo.org>
|
||||||
|
nagios-imagepack-1.0-r1.ebuild:
|
||||||
|
Added ~alpha keyword wrt Bug #110130.
|
||||||
|
|
||||||
|
*nagios-imagepack-1.0-r1 (12 May 2006)
|
||||||
|
|
||||||
|
12 May 2006; Eldad Zack <eldad@gentoo.org>
|
||||||
|
+nagios-imagepack-1.0-r1.ebuild:
|
||||||
|
Added Gentoo logos as per bug #107415.
|
||||||
|
|
||||||
|
07 May 2006; Markus Rothe <corsair@gentoo.org>
|
||||||
|
nagios-imagepack-1.0.ebuild:
|
||||||
|
Stable on ppc64
|
||||||
|
|
||||||
|
17 Dec 2005; Markus Rothe <corsair@gentoo.org>
|
||||||
|
nagios-imagepack-1.0.ebuild:
|
||||||
|
Added ~ppc64
|
||||||
|
|
||||||
|
10 Mar 2005; Aaron Walker <ka0ttic@gentoo.org>
|
||||||
|
nagios-imagepack-1.0.ebuild:
|
||||||
|
Don't install base/nagios.gd2 since it's installed by nagios-core.
|
||||||
|
|
||||||
|
24 Oct 2004; Jason Wever <weeve@gentoo.org> nagios-imagepack-1.0.ebuild:
|
||||||
|
Stable on sparc.
|
||||||
|
|
||||||
|
09 Jul 2004; Eldad Zack <eldad@gentoo.org> nagios-imagepack-1.0.ebuild:
|
||||||
|
Added metadata
|
||||||
|
|
||||||
|
09 Jul 2004; Eldad Zack <eldad@gentoo.org> nagios-imagepack-1.0.ebuild:
|
||||||
|
Tidy up.
|
||||||
|
|
||||||
|
15 Jan 2003; Dean Bailey <alron@gentoo.org> nagios-imagepack-1.0 :
|
||||||
|
Changed ~x86 to x86 and added sparc and ppc keywords
|
||||||
|
|
||||||
|
*nagios-imagepack-1.0 (1 Nov 2002)
|
||||||
|
1 Nov 2002; Dean Bailey <alron@gentoo.org> nagios-imagepack-1.0 :
|
||||||
|
Initial import. Ebuild submitted by Dean Bailey <alron@gentoo.org>.
|
30
net-analyzer/nagios-imagepack/Manifest
Normal file
30
net-analyzer/nagios-imagepack/Manifest
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
DIST imagepak-andrade.tar.gz 1242799 RMD160 94d1fb0421665d21323f29260913da7596e702c1 SHA1 73409dd56d18cbaf39fd1ea91220bb2a2ff432a4 SHA256 03d050b36ba579e18d37c50cdb48b0a70690f2cd198239f0f3486c4b4bb21849
|
||||||
|
DIST imagepak-base.tar.gz 154513 RMD160 fdc85c210530598b3663b2965dabdb08c0aadbd6 SHA1 becea37fb0d700d944439d04939d18b0488eeeaa SHA256 6c7003e730022cbee50a335b2ecc5d11411cf4af9e3fdc29b6ae94cf60fdb673
|
||||||
|
DIST imagepak-bernhard.tar.gz 100585 RMD160 3f1abcadfbb02b13168f1b1682cb43bbe1fd40ab SHA1 c09d467ff2ad189fc81c9ea95d8463eeb0699ab0 SHA256 cdda323521f3f92b81b142040d257c5571d597e72dd7061a10cd697afb90d28f
|
||||||
|
DIST imagepak-didier.tar.gz 51510 RMD160 402af2fd032e6d41d701deda80fd162bf183b391 SHA1 d1db24e721cf17750c2df8f3f31ff6e0ef26a08c SHA256 e3720638aa81ff41cc4d72d1d1eea40dd2fc76f847c1a669a2897545d2b08370
|
||||||
|
DIST imagepak-gentoo.tar.bz2 18079 RMD160 886ea2040fefe0244d5facf109dfebc3d7392571 SHA1 c3789a959840579cc37a01783afec659b9777094 SHA256 172728e86b2fefd43b0c4fcd7c4e08ccf2f516eb6bf315ff2e0e7735ba7fa17a
|
||||||
|
DIST imagepak-remus.tar.gz 32691 RMD160 80e251e4c5cc4d2ebc3550b8a9486ccc011fd1d6 SHA1 9df0887ec80b91bfc49b4ca72f901c74c3dffba2 SHA256 d909ffaa86aa91e285dcb396024af1d4bd40c37650f75164069b19fd7d8fe42a
|
||||||
|
DIST imagepak-satrapa.tar.gz 28559 RMD160 ecd45f0d89fbd9c442ef0a7946414d85a49c3b7a SHA1 da7f340131d8d7625906fd7aba29726109f39053 SHA256 4347ca3cecb944c1d8b6e640469979d9d74aa15d0e4f6f06aa5c28cb6b19de8e
|
||||||
|
DIST imagepak-werschler.tar.gz 38244 RMD160 ed2b1e9c24edd1512c36cc65b7ce0decb434d9ab SHA1 1cd73e4ccd461ae5e207048f1a756f2ef4f5b4fa SHA256 b1a37828e0a0c3733fe34e2f5d57077fbf96b3cd1f0e931e07104076c630b212
|
||||||
|
EBUILD nagios-imagepack-1.0-r1.ebuild 1075 RMD160 a8192d4b09ab79188d65c8ae22647d3074b1a3e8 SHA1 9e6befac34e86ef464682b96866e4d9d679adadc SHA256 9275b72bac49bca4602eefd80e9f3acfce03d02ce1df24e13054ffb22ae0cdbd
|
||||||
|
MD5 8aa53643b567c907a9b19c9122d7ed7d nagios-imagepack-1.0-r1.ebuild 1075
|
||||||
|
RMD160 a8192d4b09ab79188d65c8ae22647d3074b1a3e8 nagios-imagepack-1.0-r1.ebuild 1075
|
||||||
|
SHA256 9275b72bac49bca4602eefd80e9f3acfce03d02ce1df24e13054ffb22ae0cdbd nagios-imagepack-1.0-r1.ebuild 1075
|
||||||
|
EBUILD nagios-imagepack-1.0.ebuild 1028 RMD160 8696da96c385b4c698635761116caa0294763700 SHA1 3380848cb6c385db9492b388665560ababee44a5 SHA256 637a75909d333ce08af5d429dc006f4513922988ed52c818119d0bf1ee8a16bd
|
||||||
|
MD5 1ad6887f0e3624a3b4a0abf1bdd1ba5b nagios-imagepack-1.0.ebuild 1028
|
||||||
|
RMD160 8696da96c385b4c698635761116caa0294763700 nagios-imagepack-1.0.ebuild 1028
|
||||||
|
SHA256 637a75909d333ce08af5d429dc006f4513922988ed52c818119d0bf1ee8a16bd nagios-imagepack-1.0.ebuild 1028
|
||||||
|
MISC ChangeLog 1583 RMD160 733e1f1a85411ac384c4c15887a73f81e28d370a SHA1 0320cea819a348c1c9f21a825d0e12be13b7ae8c SHA256 06bfbb825689b63dbe5f208d8956a501b651895260b8318e2671394b56e48a46
|
||||||
|
MD5 464fc88e69b507e8e13128b31e2410ae ChangeLog 1583
|
||||||
|
RMD160 733e1f1a85411ac384c4c15887a73f81e28d370a ChangeLog 1583
|
||||||
|
SHA256 06bfbb825689b63dbe5f208d8956a501b651895260b8318e2671394b56e48a46 ChangeLog 1583
|
||||||
|
MISC metadata.xml 244 RMD160 69dc2a6547082ee7a4ce4847d817ec2b955327af SHA1 49c66107a974d1ecc591b4611681f4a3cbc82d57 SHA256 1c643d85b4dde50836d5cc0eb345e19e5be52bbaa496ef90023568e14ce434b3
|
||||||
|
MD5 5fca464505216a223336866fea11a426 metadata.xml 244
|
||||||
|
RMD160 69dc2a6547082ee7a4ce4847d817ec2b955327af metadata.xml 244
|
||||||
|
SHA256 1c643d85b4dde50836d5cc0eb345e19e5be52bbaa496ef90023568e14ce434b3 metadata.xml 244
|
||||||
|
MD5 2bf15a74e56b8f26911b4bdcfd9a3ff0 files/digest-nagios-imagepack-1.0 1732
|
||||||
|
RMD160 cfdc12fdf0434b424b05b38164bf4d7fb1d814a2 files/digest-nagios-imagepack-1.0 1732
|
||||||
|
SHA256 75ba42510b238fec2eae6cefe6a9106b175f59ced8899414435683ab2194a826 files/digest-nagios-imagepack-1.0 1732
|
||||||
|
MD5 7fcb45360dcb51cdf8818b03d25c2dc6 files/digest-nagios-imagepack-1.0-r1 1979
|
||||||
|
RMD160 5005f171ccb15513fda69da893fe449aeaac34f2 files/digest-nagios-imagepack-1.0-r1 1979
|
||||||
|
SHA256 0a42a4fd9110903ba1cc0fd694af8058232d53299cc5d51ad73480268ad05cf9 files/digest-nagios-imagepack-1.0-r1 1979
|
6
net-analyzer/nagios-imagepack/metadata.xml
Normal file
6
net-analyzer/nagios-imagepack/metadata.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>netmon</herd>
|
||||||
|
<longdescription>Nagios imagepacks - Icons and pictures for Nagios</longdescription>
|
||||||
|
</pkgmetadata>
|
37
net-analyzer/nagios-imagepack/nagios-imagepack-1.0-r1.ebuild
Normal file
37
net-analyzer/nagios-imagepack/nagios-imagepack-1.0-r1.ebuild
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# Copyright 1999-2006 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-imagepack/nagios-imagepack-1.0-r1.ebuild,v 1.2 2006/10/21 22:08:00 tcort Exp $
|
||||||
|
|
||||||
|
DESCRIPTION="Nagios imagepacks - Icons and pictures for Nagios"
|
||||||
|
HOMEPAGE="http://www.nagios.org"
|
||||||
|
IMAGE_URI="mirror://sourceforge/nagios/"
|
||||||
|
SRC_URI="
|
||||||
|
${IMAGE_URI}/imagepak-andrade.tar.gz
|
||||||
|
${IMAGE_URI}/imagepak-base.tar.gz
|
||||||
|
${IMAGE_URI}/imagepak-bernhard.tar.gz
|
||||||
|
${IMAGE_URI}/imagepak-didier.tar.gz
|
||||||
|
${IMAGE_URI}/imagepak-remus.tar.gz
|
||||||
|
${IMAGE_URI}/imagepak-satrapa.tar.gz
|
||||||
|
${IMAGE_URI}/imagepak-werschler.tar.gz
|
||||||
|
http://dev.gentoo.org/~eldad/distfiles/imagepak-gentoo.tar.bz2
|
||||||
|
"
|
||||||
|
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
mkdir ${S} && cd ${S}
|
||||||
|
unpack ${A}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install () {
|
||||||
|
# nagios-core installs nagios.gd2
|
||||||
|
rm base/nagios.gd2
|
||||||
|
|
||||||
|
insinto /usr/nagios/share/images/logos
|
||||||
|
doins base/* didier/* imagepak-andrade/* imagepak-bernhard/* remus/* satrapa/* werschler/* gentoo/*
|
||||||
|
}
|
38
net-analyzer/nagios-imagepack/nagios-imagepack-1.0.ebuild
Normal file
38
net-analyzer/nagios-imagepack/nagios-imagepack-1.0.ebuild
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# Copyright 1999-2006 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-imagepack/nagios-imagepack-1.0.ebuild,v 1.11 2006/05/07 20:16:32 corsair Exp $
|
||||||
|
|
||||||
|
DESCRIPTION="Nagios imagepacks - Icons and pictures for Nagios"
|
||||||
|
HOMEPAGE="http://www.nagios.org"
|
||||||
|
IMAGE_URI="mirror://sourceforge/nagios/"
|
||||||
|
SRC_URI="
|
||||||
|
${IMAGE_URI}/imagepak-andrade.tar.gz
|
||||||
|
${IMAGE_URI}/imagepak-base.tar.gz
|
||||||
|
${IMAGE_URI}/imagepak-bernhard.tar.gz
|
||||||
|
${IMAGE_URI}/imagepak-didier.tar.gz
|
||||||
|
${IMAGE_URI}/imagepak-remus.tar.gz
|
||||||
|
${IMAGE_URI}/imagepak-satrapa.tar.gz
|
||||||
|
${IMAGE_URI}/imagepak-werschler.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
KEYWORDS="~amd64 ~ppc ppc64 sparc x86"
|
||||||
|
|
||||||
|
RDEPEND="net-analyzer/nagios-core"
|
||||||
|
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
mkdir ${S} && cd ${S}
|
||||||
|
unpack ${A}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install () {
|
||||||
|
# nagios-core installs nagios.gd2
|
||||||
|
rm base/nagios.gd2
|
||||||
|
|
||||||
|
insinto /usr/nagios/share/images/logos
|
||||||
|
doins base/* didier/* imagepak-andrade/* imagepak-bernhard/* remus/* satrapa/* werschler/*
|
||||||
|
}
|
10
net-analyzer/nagios-nagvis/ChangeLog
Normal file
10
net-analyzer/nagios-nagvis/ChangeLog
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# ChangeLog for net-analyzer/nagios-sap-ccms-plugin
|
||||||
|
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-sap-ccms-plugin/ChangeLog,v 1.1 2006/10/08 21:15:11 jokey Exp $
|
||||||
|
|
||||||
|
*nagios-sap-ccms-plugin-0.7.3 (08 Oct 2006)
|
||||||
|
|
||||||
|
08 Oct 2006; Markus Ullmann <jokey@gentoo.org> +metadata.xml,
|
||||||
|
+nagios-sap-ccms-plugin-0.7.3.ebuild:
|
||||||
|
Initial commit, thanks to Elias Probst in bug #126146 for providing the ebuild
|
||||||
|
|
16
net-analyzer/nagios-nagvis/Manifest
Normal file
16
net-analyzer/nagios-nagvis/Manifest
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
DIST nagvis-1.0.1.tar.gz 261611 RMD160 af3a77293e39fc93afddac984fdd32954b61f39e SHA1 b39731f9d78bfbaaf1c15980dfc94a3b9226e7c4 SHA256 400aef1c2cf6bec3bbe74fac0cde4766473926867ca465c2af00ecac53f462ab
|
||||||
|
EBUILD nagios-nagvis-1.0.1.ebuild 588 RMD160 69210919d1d9beaa7a1cbf2f1af8fc3d9abce33f SHA1 095479c38cd2c23b5285f2a165d72d5562d6c340 SHA256 948ae2dcf7a33a8f55ace5f72e1055c8870ac0769d432151c3389624c7e8d6d3
|
||||||
|
MD5 a9a195ef862212c7e3fea67a230ac986 nagios-nagvis-1.0.1.ebuild 588
|
||||||
|
RMD160 69210919d1d9beaa7a1cbf2f1af8fc3d9abce33f nagios-nagvis-1.0.1.ebuild 588
|
||||||
|
SHA256 948ae2dcf7a33a8f55ace5f72e1055c8870ac0769d432151c3389624c7e8d6d3 nagios-nagvis-1.0.1.ebuild 588
|
||||||
|
MISC ChangeLog 473 RMD160 f15f2de7145ef64bae565addf9448630976f70c4 SHA1 6f5ef804e37b90c1857fb8d04b23379e1cf64af8 SHA256 a7f23fc011be755b7d0a143d48d34639055fe167249df47da281ba8c57cecdfa
|
||||||
|
MD5 7b53312ea9ac5924da50908b95bccc29 ChangeLog 473
|
||||||
|
RMD160 f15f2de7145ef64bae565addf9448630976f70c4 ChangeLog 473
|
||||||
|
SHA256 a7f23fc011be755b7d0a143d48d34639055fe167249df47da281ba8c57cecdfa ChangeLog 473
|
||||||
|
MISC metadata.xml 160 RMD160 2738573ec519cbef4b293bc132f7dd9d02291137 SHA1 29b8b234e0f3a475b50bd4df1ef8b4e5749823ce SHA256 39e232fc7ec88ca0b077cb3950cb39d15cd990842b88d5bfe14f02f34d72f37b
|
||||||
|
MD5 637389da071d8ee0c0292695525bc29f metadata.xml 160
|
||||||
|
RMD160 2738573ec519cbef4b293bc132f7dd9d02291137 metadata.xml 160
|
||||||
|
SHA256 39e232fc7ec88ca0b077cb3950cb39d15cd990842b88d5bfe14f02f34d72f37b metadata.xml 160
|
||||||
|
MD5 f3203f175451ea4d45a8dc536d2d4805 files/digest-nagios-nagvis-1.0.1 238
|
||||||
|
RMD160 48c7220d28720cec36b9f7268a4e54295c143411 files/digest-nagios-nagvis-1.0.1 238
|
||||||
|
SHA256 ebb809384e2c57bf917908aa2ebbbd3e933e896591bdcf8f51aebc75dfee3ed3 files/digest-nagios-nagvis-1.0.1 238
|
@ -0,0 +1,3 @@
|
|||||||
|
MD5 4628e8704252d0858f2ea5f0d28d2ce7 nagvis-1.0.1.tar.gz 261611
|
||||||
|
RMD160 af3a77293e39fc93afddac984fdd32954b61f39e nagvis-1.0.1.tar.gz 261611
|
||||||
|
SHA256 400aef1c2cf6bec3bbe74fac0cde4766473926867ca465c2af00ecac53f462ab nagvis-1.0.1.tar.gz 261611
|
5
net-analyzer/nagios-nagvis/metadata.xml
Normal file
5
net-analyzer/nagios-nagvis/metadata.xml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>netmon</herd>
|
||||||
|
</pkgmetadata>
|
23
net-analyzer/nagios-nagvis/nagios-nagvis-1.0.1.ebuild
Normal file
23
net-analyzer/nagios-nagvis/nagios-nagvis-1.0.1.ebuild
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 1999-2006 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-sap-ccms-plugin/nagios-sap-ccms-plugin-0.7.3.ebuild,v 1.1 2006/10/08 21:15:11 jokey Exp $
|
||||||
|
|
||||||
|
DESCRIPTION="Nagios plugin that provides visalization"
|
||||||
|
HOMEPAGE="http://www.nagvis.org"
|
||||||
|
SRC_URI="mirror://sourceforge/nagvis/nagvis-${PV}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~x86 ~amd64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="net-analyzer/nagios-core"
|
||||||
|
RDEPEND=${DEPEND}
|
||||||
|
|
||||||
|
#src_compile() {}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr/nagios/share
|
||||||
|
doins *
|
||||||
|
}
|
||||||
|
|
135
net-analyzer/nagios-nrpe/ChangeLog
Normal file
135
net-analyzer/nagios-nrpe/ChangeLog
Normal file
@ -0,0 +1,135 @@
|
|||||||
|
# ChangeLog for net-analyzer/nagios-nrpe
|
||||||
|
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/ChangeLog,v 1.36 2007/02/20 00:07:20 jokey Exp $
|
||||||
|
|
||||||
|
20 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
|
||||||
|
Redigest for Manifest2
|
||||||
|
|
||||||
|
21 Oct 2006; Thomas Cort <tcort@gentoo.org> nagios-nrpe-2.5.2-r1.ebuild:
|
||||||
|
Added ~alpha keyword wrt Bug #110130.
|
||||||
|
|
||||||
|
*nagios-nrpe-2.5.2-r1 (18 Sep 2006)
|
||||||
|
|
||||||
|
18 Sep 2006; Benjamin Smee <strerror@gentoo.org>
|
||||||
|
+nagios-nrpe-2.5.2-r1.ebuild:
|
||||||
|
fix for revdep-rebuild issues bug #146667
|
||||||
|
|
||||||
|
17 Aug 2006; Gustavo Zacarias <gustavoz@gentoo.org>
|
||||||
|
nagios-nrpe-2.5.1.ebuild:
|
||||||
|
Stable on sparc
|
||||||
|
|
||||||
|
06 Jul 2006; Markus Rothe <corsair@gentoo.org> nagios-nrpe-2.5.1.ebuild:
|
||||||
|
Stable on ppc64
|
||||||
|
|
||||||
|
04 Jul 2006; Lance Albertson <ramereth@gentoo.org> +files/nrpe-2.5.2:
|
||||||
|
* Add init script (forgot it before!)
|
||||||
|
|
||||||
|
*nagios-nrpe-2.5.2 (04 Jul 2006)
|
||||||
|
|
||||||
|
04 Jul 2006; Lance Albertson <ramereth@gentoo.org> -files/nrpe-2.0,
|
||||||
|
-files/nrpe-2.0.cfg, -nagios-nrpe-2.0.ebuild, -nagios-nrpe-2.0-r1.ebuild,
|
||||||
|
nagios-nrpe-2.5.1.ebuild, +nagios-nrpe-2.5.2.ebuild:
|
||||||
|
* Version bump
|
||||||
|
* Marked 2.5.1 stable on x86
|
||||||
|
* Removed old ebuilds/files
|
||||||
|
|
||||||
|
07 May 2006; Markus Rothe <corsair@gentoo.org> nagios-nrpe-2.3.ebuild:
|
||||||
|
Stable on ppc64
|
||||||
|
|
||||||
|
05 May 2006; Gustavo Zacarias <gustavoz@gentoo.org>
|
||||||
|
nagios-nrpe-2.3.ebuild:
|
||||||
|
Stable on sparc wrt security #132159
|
||||||
|
|
||||||
|
*nagios-nrpe-2.5.1 (27 Apr 2006)
|
||||||
|
|
||||||
|
27 Apr 2006; Lance Albertson <ramereth@gentoo.org> +files/nrpe-2.5.1,
|
||||||
|
nagios-nrpe-2.3.ebuild, +nagios-nrpe-2.5.1.ebuild:
|
||||||
|
* Version bump
|
||||||
|
* Added reload to init script (2.5.1 added this feature)
|
||||||
|
* Stable on x86 (2.3)
|
||||||
|
|
||||||
|
07 Feb 2006; Simon Stelling <blubb@gentoo.org> nagios-nrpe-2.0-r1.ebuild:
|
||||||
|
stable on amd64
|
||||||
|
|
||||||
|
*nagios-nrpe-2.3 (04 Feb 2006)
|
||||||
|
|
||||||
|
04 Feb 2006; Lance Albertson <ramereth@gentoo.org> +files/nrpe-2.3,
|
||||||
|
metadata.xml, +nagios-nrpe-2.3.ebuild:
|
||||||
|
* Version bump
|
||||||
|
|
||||||
|
20 Nov 2005; Lance Albertson <ramereth@gentoo.org>
|
||||||
|
nagios-nrpe-2.0-r1.ebuild:
|
||||||
|
* Clean up how the binaries are installed in the ebuild
|
||||||
|
|
||||||
|
07 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org>
|
||||||
|
nagios-nrpe-2.0-r1.ebuild:
|
||||||
|
Stable on sparc
|
||||||
|
|
||||||
|
09 Sep 2005; Lance Albertson <ramereth@gentoo.org>
|
||||||
|
nagios-nrpe-2.0-r1.ebuild:
|
||||||
|
* Marked stable on x86
|
||||||
|
|
||||||
|
*nagios-nrpe-2.0-r1 (10 Jul 2005)
|
||||||
|
|
||||||
|
10 Jul 2005; Lance Albertson <ramereth@gentoo.org>
|
||||||
|
+nagios-nrpe-2.0-r1.ebuild:
|
||||||
|
* Added configure option for command-args
|
||||||
|
* Added nrpe_check_control from contrib
|
||||||
|
|
||||||
|
03 May 2005; Eldad Zack <eldad@gentoo.org> nagios-nrpe-1.8-r1.ebuild,
|
||||||
|
nagios-nrpe-2.0.ebuild:
|
||||||
|
Changed perms for check_nrpe and nrpe to 0750.
|
||||||
|
|
||||||
|
13 Apr 2005; Eldad Zack <eldad@gentoo.org> nagios-nrpe-1.8-r1.ebuild,
|
||||||
|
nagios-nrpe-2.0.ebuild:
|
||||||
|
tighter perms for /etc/nagios/nrpe.cfg. Thanks to Romang <zataz@zataz.net>.
|
||||||
|
Bug #88937.
|
||||||
|
|
||||||
|
20 Mar 2005; Eldad Zack <eldad@gentoo.org> nagios-nrpe-2.0.ebuild:
|
||||||
|
Generate the dh.h header file for better security.
|
||||||
|
|
||||||
|
11 Dec 2004; Benjamin Schindler <config@gentoo.org>
|
||||||
|
nagios-nrpe-2.0.ebuild:
|
||||||
|
Stable on amd64
|
||||||
|
|
||||||
|
30 Nov 2004; Sven Wegener <swegener@gentoo.org> nagios-nrpe-2.0.ebuild:
|
||||||
|
Fixed invalid atoms in *DEPEND.
|
||||||
|
|
||||||
|
25 Oct 2004; Eldad Zack <eldad@gentoo.org> nagios-nrpe-2.0.ebuild:
|
||||||
|
Now featuring SSL useflag, as suggested by Christian Theune <ct@gocept.com>.
|
||||||
|
Closes #68704.
|
||||||
|
|
||||||
|
24 Oct 2004; Jason Wever <weeve@gentoo.org> nagios-nrpe-2.0.ebuild:
|
||||||
|
Stable on sparc.
|
||||||
|
|
||||||
|
18 Mar 2004; Philip Walls <malverian@gentoo.org> nagios-nrpe-2.0.ebuild
|
||||||
|
Stable on x86 and amd64
|
||||||
|
|
||||||
|
*nagios-nrpe-2.0 (10 Mar 2004)
|
||||||
|
10 Mar 2004; Philip Walls <malverian@gentoo.org> nagios-nrpe-2.0.ebuild
|
||||||
|
Version bump. Removed old nrpe init script and nrpe.cfg. Added metadata
|
||||||
|
|
||||||
|
*nagios-nrpe-1.8-r1 (17 Jun 2003)
|
||||||
|
06 Dec 2003; Heinrich Wendel <lanius@gentoo.org> nagios-nrpe-1.8-r1.ebuild:
|
||||||
|
bug 34355
|
||||||
|
|
||||||
|
17 Jun 2003; Dean Bailey <alron@gentoo.org> nagios-nrpe-1.8-r1 :
|
||||||
|
Fix for bugs #17885 and #19539, updated sample conf also.
|
||||||
|
|
||||||
|
28 Feb 2003; Dean Bailey <alron@gentoo.org> nagios-nrpe-1.8 :
|
||||||
|
Moved to x86 stable
|
||||||
|
|
||||||
|
*nagios-nrpe-1.8
|
||||||
|
09 Feb 2003; Dean Bailey <alron@gentoo.org> nagios-nrpe-1.8 :
|
||||||
|
Version bump
|
||||||
|
|
||||||
|
15 Jan 2003; Dean Bailey <alron@gentoo.org> nagios-nrpe-1.7 :
|
||||||
|
Changed ~x86 to x86 and added ~sparc and ~ppc keywords
|
||||||
|
|
||||||
|
*nagios-nrpe-1.7 (13 Jan 2003)
|
||||||
|
13 Jan 2003; Dean Bailey <alron@gentoo.org> nagios-nrpe-1.7 :
|
||||||
|
Updated to version 1.7.
|
||||||
|
|
||||||
|
*nagios-nrpe-1.5 (1 Nov 2002)
|
||||||
|
1 Nov 2002; Dean Bailey <alron@gentoo.org> nagios-nrpe-1.5 :
|
||||||
|
Initial import. Ebuild submitted by Dean Bailey <alron@gentoo.org>.
|
77
net-analyzer/nagios-nrpe/Manifest
Normal file
77
net-analyzer/nagios-nrpe/Manifest
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
-----BEGIN PGP SIGNED MESSAGE-----
|
||||||
|
Hash: SHA1
|
||||||
|
|
||||||
|
AUX nrpe-1.8 462 RMD160 00f49ef6b7c795cf9d02b8dd4e93b65fbfcb202c SHA1 b91dbfedda11eab9afb49adca3e294269bfa3ae3 SHA256 2453bf826b428777736c9a04a605c83cdc774765372e0525704e73116045fff7
|
||||||
|
MD5 1ea034ce9ade9210fa8c4ade4d51d132 files/nrpe-1.8 462
|
||||||
|
RMD160 00f49ef6b7c795cf9d02b8dd4e93b65fbfcb202c files/nrpe-1.8 462
|
||||||
|
SHA256 2453bf826b428777736c9a04a605c83cdc774765372e0525704e73116045fff7 files/nrpe-1.8 462
|
||||||
|
AUX nrpe-1.8.cfg 3501 RMD160 dd41f8c3bbd7d1891b41b5ee40540ef6f8cb270f SHA1 b4b0b7a92d16d9bde1c10a18cdb32cb191e162e5 SHA256 7149773365ef36afc4d1adef78cde5eb22aaa7aa6d9a10d2c17cc29a643c797f
|
||||||
|
MD5 3c91382446609ec78fa98d94509539dd files/nrpe-1.8.cfg 3501
|
||||||
|
RMD160 dd41f8c3bbd7d1891b41b5ee40540ef6f8cb270f files/nrpe-1.8.cfg 3501
|
||||||
|
SHA256 7149773365ef36afc4d1adef78cde5eb22aaa7aa6d9a10d2c17cc29a643c797f files/nrpe-1.8.cfg 3501
|
||||||
|
AUX nrpe-2.3 462 RMD160 00f49ef6b7c795cf9d02b8dd4e93b65fbfcb202c SHA1 b91dbfedda11eab9afb49adca3e294269bfa3ae3 SHA256 2453bf826b428777736c9a04a605c83cdc774765372e0525704e73116045fff7
|
||||||
|
MD5 1ea034ce9ade9210fa8c4ade4d51d132 files/nrpe-2.3 462
|
||||||
|
RMD160 00f49ef6b7c795cf9d02b8dd4e93b65fbfcb202c files/nrpe-2.3 462
|
||||||
|
SHA256 2453bf826b428777736c9a04a605c83cdc774765372e0525704e73116045fff7 files/nrpe-2.3 462
|
||||||
|
AUX nrpe-2.5.1 591 RMD160 27dec27f122cc022215e1c049b8749cc75746150 SHA1 08c79e7a2e0458c2e896e1470fe6de1591095881 SHA256 795470c9bce54145e54879b22ae9a1a3c288c87418bc45e4b9f5420112a27d5e
|
||||||
|
MD5 42f690b8d27db81fc5ead027cad36202 files/nrpe-2.5.1 591
|
||||||
|
RMD160 27dec27f122cc022215e1c049b8749cc75746150 files/nrpe-2.5.1 591
|
||||||
|
SHA256 795470c9bce54145e54879b22ae9a1a3c288c87418bc45e4b9f5420112a27d5e files/nrpe-2.5.1 591
|
||||||
|
AUX nrpe-2.5.2 591 RMD160 27dec27f122cc022215e1c049b8749cc75746150 SHA1 08c79e7a2e0458c2e896e1470fe6de1591095881 SHA256 795470c9bce54145e54879b22ae9a1a3c288c87418bc45e4b9f5420112a27d5e
|
||||||
|
MD5 42f690b8d27db81fc5ead027cad36202 files/nrpe-2.5.2 591
|
||||||
|
RMD160 27dec27f122cc022215e1c049b8749cc75746150 files/nrpe-2.5.2 591
|
||||||
|
SHA256 795470c9bce54145e54879b22ae9a1a3c288c87418bc45e4b9f5420112a27d5e files/nrpe-2.5.2 591
|
||||||
|
DIST nrpe-1.8.tar.gz 41347 RMD160 87f52d5618bb170d3372f6c5a5eab16acc7ccd28 SHA1 1ee720c92bb4f542485def9fea853b82743dd26b SHA256 bcf2cfc830bc9a6e3c80ffcd1369dc466b964b59940d6d181e5c35f3b98a7ad6
|
||||||
|
DIST nrpe-2.3.tar.gz 97586 RMD160 b366e1bb4209921002079c8cf75414bb9cf25cd7 SHA1 03231fecaf5dbbde1d56ba95b0ad77b30106df0c SHA256 c961a21feff2995df39ee18478bc1b1a38ab8da0e5fe62b31fafc234de58f248
|
||||||
|
DIST nrpe-2.5.1.tar.gz 100382 RMD160 757eb92cde878d8a0d3e483149d8969728ed7e03 SHA1 1beab9dc5fe77b722a12161b23b536ac5e28a6a4 SHA256 a23a0a37d81900d03884898bd0ae9b9da95348cc4a08695a4c229337c83fbe5e
|
||||||
|
DIST nrpe-2.5.2.tar.gz 100637 RMD160 79eb2486ebe81e520b4092d91f44e4c1ad0fd44e SHA1 e0fe51474d0d08fa6fc4b09ceab9adcc2585ddac SHA256 701fa133cffaaab9bce826b076d689f3216fd472585307ab1302b3e469a367b8
|
||||||
|
EBUILD nagios-nrpe-1.8-r1.ebuild 1562 RMD160 62e21be8bdc8ac1750f406a812eef141751cf3e7 SHA1 41726d2140d4b283502a8bfa1fb8ef5f23ee9541 SHA256 7c37c99999f410703a38b01173edf18229eea73f7486df0b284e0b42b5903eb9
|
||||||
|
MD5 9d91fabf9f7f1bda0b75ba5280521932 nagios-nrpe-1.8-r1.ebuild 1562
|
||||||
|
RMD160 62e21be8bdc8ac1750f406a812eef141751cf3e7 nagios-nrpe-1.8-r1.ebuild 1562
|
||||||
|
SHA256 7c37c99999f410703a38b01173edf18229eea73f7486df0b284e0b42b5903eb9 nagios-nrpe-1.8-r1.ebuild 1562
|
||||||
|
EBUILD nagios-nrpe-2.3.ebuild 2365 RMD160 bdb91218370052616e4f89d7fce0dddb38f9f206 SHA1 a420fb4bfd5121db33aab792cfff406356a8d839 SHA256 46d3c359ab38c55c53c6092753f4a1b25ec58067ba751c257bf11c4e2ce66504
|
||||||
|
MD5 8c195340e31b09e23d889daa5df292de nagios-nrpe-2.3.ebuild 2365
|
||||||
|
RMD160 bdb91218370052616e4f89d7fce0dddb38f9f206 nagios-nrpe-2.3.ebuild 2365
|
||||||
|
SHA256 46d3c359ab38c55c53c6092753f4a1b25ec58067ba751c257bf11c4e2ce66504 nagios-nrpe-2.3.ebuild 2365
|
||||||
|
EBUILD nagios-nrpe-2.5.1.ebuild 2368 RMD160 28185d6d19b9abe2642dcf27a4ab13c0b8d5f206 SHA1 892f17b7788920624d5e2d775700443bb5d8c128 SHA256 a538b92b429c26015a586399c2d48464d2bab65093315023dc6a48c213f2b4d6
|
||||||
|
MD5 bfb8abbd7f94154c3866bd3edc22b243 nagios-nrpe-2.5.1.ebuild 2368
|
||||||
|
RMD160 28185d6d19b9abe2642dcf27a4ab13c0b8d5f206 nagios-nrpe-2.5.1.ebuild 2368
|
||||||
|
SHA256 a538b92b429c26015a586399c2d48464d2bab65093315023dc6a48c213f2b4d6 nagios-nrpe-2.5.1.ebuild 2368
|
||||||
|
EBUILD nagios-nrpe-2.5.2-r1.ebuild 2529 RMD160 dfdc273f8e7e4875020787fc1a586559752401f6 SHA1 7d6923e1f1488a983c8301d2420f66adab2bf436 SHA256 aaee3cb2028cef0291019a8d1b713731410e2a5b3102fbc6c76aef081a55ea13
|
||||||
|
MD5 7e894314057bf230faac03f76dc341c6 nagios-nrpe-2.5.2-r1.ebuild 2529
|
||||||
|
RMD160 dfdc273f8e7e4875020787fc1a586559752401f6 nagios-nrpe-2.5.2-r1.ebuild 2529
|
||||||
|
SHA256 aaee3cb2028cef0291019a8d1b713731410e2a5b3102fbc6c76aef081a55ea13 nagios-nrpe-2.5.2-r1.ebuild 2529
|
||||||
|
EBUILD nagios-nrpe-2.5.2.ebuild 2371 RMD160 84037d7b1f8f5f349496ca41d900bd6421cb2a65 SHA1 2f12632e8bbcb4b76570f1168533e6f058538514 SHA256 4cd77ee1d1645c3695cdd244ce1d33dd9eb942e5a79afe951894a941c7db6d8c
|
||||||
|
MD5 30eaef707a3a90b513e6abd69f88ff9d nagios-nrpe-2.5.2.ebuild 2371
|
||||||
|
RMD160 84037d7b1f8f5f349496ca41d900bd6421cb2a65 nagios-nrpe-2.5.2.ebuild 2371
|
||||||
|
SHA256 4cd77ee1d1645c3695cdd244ce1d33dd9eb942e5a79afe951894a941c7db6d8c nagios-nrpe-2.5.2.ebuild 2371
|
||||||
|
MISC ChangeLog 4545 RMD160 4134b789263ee42e75d2cfca5a8a70f6c910f3aa SHA1 58a6aee32599c62876ded04ed762291e5d9e827e SHA256 c30e7eeab1f4dfb9f106549b945a73e66770a7894d8194652833fac52fbb3f8d
|
||||||
|
MD5 0295a22393bdfaf775b80cd4e7c2d998 ChangeLog 4545
|
||||||
|
RMD160 4134b789263ee42e75d2cfca5a8a70f6c910f3aa ChangeLog 4545
|
||||||
|
SHA256 c30e7eeab1f4dfb9f106549b945a73e66770a7894d8194652833fac52fbb3f8d ChangeLog 4545
|
||||||
|
MISC metadata.xml 483 RMD160 17cbf2c8c726024d7ab5d9856f417ecfb6c8624a SHA1 57c75f6469598a3ad0828022b36db734752a6170 SHA256 20e6427e87ba3ff8ed5a3df13c3a5c4ac9e1e36fec8e14bc63fdb3e80d0743d9
|
||||||
|
MD5 56c82d2c8a7e7500f3fec23e5bc43cf1 metadata.xml 483
|
||||||
|
RMD160 17cbf2c8c726024d7ab5d9856f417ecfb6c8624a metadata.xml 483
|
||||||
|
SHA256 20e6427e87ba3ff8ed5a3df13c3a5c4ac9e1e36fec8e14bc63fdb3e80d0743d9 metadata.xml 483
|
||||||
|
MD5 3549abf701ee6bcc96cc0f8dc0625f4b files/digest-nagios-nrpe-1.8-r1 223
|
||||||
|
RMD160 722ca4a1a2793fcb8a9a0cd1e52f780abc00d729 files/digest-nagios-nrpe-1.8-r1 223
|
||||||
|
SHA256 5fce83d7aafa1254b4dee982d897e792d63fb284c373f61175dad4cf22476c7f files/digest-nagios-nrpe-1.8-r1 223
|
||||||
|
MD5 fdd1a27a02fad4c0f569bb8482ce0208 files/digest-nagios-nrpe-2.3 223
|
||||||
|
RMD160 1a9e2b61fbbd073046c65962346ec16d92c91f15 files/digest-nagios-nrpe-2.3 223
|
||||||
|
SHA256 69e6c6029caf44d643a499d72eaf01de4b085d3846bd75af5f5c14671f08ae63 files/digest-nagios-nrpe-2.3 223
|
||||||
|
MD5 bca0c3464d4185576338950243fc75ee files/digest-nagios-nrpe-2.5.1 232
|
||||||
|
RMD160 f0ebfd3f6d4f9e798b0fa3ebfc6640fce8b0bac0 files/digest-nagios-nrpe-2.5.1 232
|
||||||
|
SHA256 f1a60ba0f4b225ada804d2d49c56f25edccfd51291c8b03ed7dba60dcf311189 files/digest-nagios-nrpe-2.5.1 232
|
||||||
|
MD5 310907b9fcd3cc8c8fdf4f61c4025c5d files/digest-nagios-nrpe-2.5.2 232
|
||||||
|
RMD160 1ffdb4206729412896ab41cd6acd0f04665e6cec files/digest-nagios-nrpe-2.5.2 232
|
||||||
|
SHA256 234b64d0371546d8665a25e680911d6fe7a482abdcae45b2daddd660dcd8574b files/digest-nagios-nrpe-2.5.2 232
|
||||||
|
MD5 310907b9fcd3cc8c8fdf4f61c4025c5d files/digest-nagios-nrpe-2.5.2-r1 232
|
||||||
|
RMD160 1ffdb4206729412896ab41cd6acd0f04665e6cec files/digest-nagios-nrpe-2.5.2-r1 232
|
||||||
|
SHA256 234b64d0371546d8665a25e680911d6fe7a482abdcae45b2daddd660dcd8574b files/digest-nagios-nrpe-2.5.2-r1 232
|
||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Version: GnuPG v2.0.1 (GNU/Linux)
|
||||||
|
|
||||||
|
iD8DBQFF2ju5z974XjDVpbkRAu4vAKCV2duoTCEDXaY1lYQHtSH17IuT5ACfZLxh
|
||||||
|
bVvfsxW6SltHlT3Z/8ZcveI=
|
||||||
|
=sudn
|
||||||
|
-----END PGP SIGNATURE-----
|
28
net-analyzer/nagios-nrpe/files/nrpe-1.8
Executable file
28
net-analyzer/nagios-nrpe/files/nrpe-1.8
Executable file
@ -0,0 +1,28 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need net
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
ebegin "Starting nrpe"
|
||||||
|
start-stop-daemon --start --quiet --name nrpe \
|
||||||
|
--startas /usr/nagios/bin/nrpe \
|
||||||
|
-c nagios:nagios \
|
||||||
|
-- -c /etc/nagios/nrpe.cfg \
|
||||||
|
--daemon
|
||||||
|
eend $? "Failed to Start nrpe"
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
ebegin "Stopping nrpe"
|
||||||
|
start-stop-daemon --stop --quiet -n nrpe
|
||||||
|
eend $? "Failed to Stop nrpe"
|
||||||
|
}
|
||||||
|
|
||||||
|
restart() {
|
||||||
|
ebegin "Restarting nrpe"
|
||||||
|
svc_stop
|
||||||
|
svc_start
|
||||||
|
eend $? "Failed to Restart nrpe"
|
||||||
|
}
|
109
net-analyzer/nagios-nrpe/files/nrpe-1.8.cfg
Normal file
109
net-analyzer/nagios-nrpe/files/nrpe-1.8.cfg
Normal file
@ -0,0 +1,109 @@
|
|||||||
|
#############################################################################
|
||||||
|
# Sample NRPE Config File
|
||||||
|
# Written by: Ethan Galstad (nagios@nagios.org)
|
||||||
|
#
|
||||||
|
# Last Modified: 12-30-2002
|
||||||
|
#
|
||||||
|
# NOTES:
|
||||||
|
# This is a sample configuration file for the NRPE daemon. It needs to be
|
||||||
|
# located on the remote host that is running the NRPE daemon, not the host
|
||||||
|
# from which the check_nrpe client is being executed.
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# PORT NUMBER
|
||||||
|
# Port number we should wait for connections on.
|
||||||
|
# NOTE: This must be a non-priviledged port (i.e. > 1024).
|
||||||
|
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
|
||||||
|
|
||||||
|
server_port=5666
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# SERVER ADDRESS
|
||||||
|
# Address that nrpe should bind to in case there are more than one interface
|
||||||
|
# and you do not want nrpe to bind on all interfaces.
|
||||||
|
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
|
||||||
|
|
||||||
|
#server_address=192.168.1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# ALLOWED HOST ADDRESSES
|
||||||
|
# This is a comma-delimited list of IP address of hosts that are allowed
|
||||||
|
# to talk to the NRPE daemon.
|
||||||
|
#
|
||||||
|
# NOTE: The daemon only does rudimentary checking of the client's IP
|
||||||
|
# address. I would highly recommend adding entries in your
|
||||||
|
# /etc/hosts.allow file to allow only the specified host to connect
|
||||||
|
# to the port you are running this daemon on.
|
||||||
|
#
|
||||||
|
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
|
||||||
|
|
||||||
|
allowed_hosts=127.0.0.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# NRPE USER
|
||||||
|
# This determines the effective user that the NRPE daemon should run as.
|
||||||
|
# You can either supply a username or a UID.
|
||||||
|
#
|
||||||
|
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
|
||||||
|
|
||||||
|
nrpe_user=nagios
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# NRPE GROUP
|
||||||
|
# This determines the effective group that the NRPE daemon should run as.
|
||||||
|
# You can either supply a group name or a GID.
|
||||||
|
#
|
||||||
|
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
|
||||||
|
|
||||||
|
nrpe_group=nagios
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# DEBUGGING OPTION
|
||||||
|
# This option determines whether or not debugging messages are logged to the
|
||||||
|
# syslog facility.
|
||||||
|
# Values: 0=debugging off, 1=debugging on
|
||||||
|
|
||||||
|
debug=0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# COMMAND TIMEOUT
|
||||||
|
# This specifies the maximum number of seconds that the NRPE daemon will
|
||||||
|
# allow plugins to finish executing before killing them off.
|
||||||
|
|
||||||
|
command_timeout=60
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# COMMAND DEFINITIONS
|
||||||
|
# Command definitions that this daemon will run. Definitions
|
||||||
|
# are in the following format:
|
||||||
|
#
|
||||||
|
# command[<command_name>]=<command_line>
|
||||||
|
#
|
||||||
|
# When the daemon receives a request to return the results of <command_name>
|
||||||
|
# it will execute the command specified by the <command_line> argument.
|
||||||
|
#
|
||||||
|
# Unlike Nagios, the command line cannot contain macros - it must be
|
||||||
|
# typed exactly as it should be executed.
|
||||||
|
#
|
||||||
|
# Note: Any plugins that are used in the command lines must reside
|
||||||
|
# on the machine that this daemon is running on! The examples below
|
||||||
|
# assume that you have plugins installed in a /usr/nagios/libexec
|
||||||
|
# directory. Also note that you will have to modify the definitions below
|
||||||
|
# to match the argument format the plugins expect. Remember, these are
|
||||||
|
# examples only!
|
||||||
|
|
||||||
|
command[check_users]=/usr/nagios/libexec/check_users -w 5 -c 10
|
||||||
|
command[check_load]=/usr/nagios/libexec/check_load -w 15,10,5 -c 30,25,20
|
||||||
|
command[check_disk1]=/usr/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hda1
|
||||||
|
command[check_disk2]=/usr/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hdb1
|
||||||
|
command[check_zombie_procs]=/usr/nagios/libexec/check_procs -w 5 -c 10 -s Z
|
||||||
|
command[check_total_procs]=/usr/nagios/libexec/check_procs -w 150 -c 200
|
28
net-analyzer/nagios-nrpe/files/nrpe-2.3
Normal file
28
net-analyzer/nagios-nrpe/files/nrpe-2.3
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need net
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
ebegin "Starting nrpe"
|
||||||
|
start-stop-daemon --start --quiet --name nrpe \
|
||||||
|
--startas /usr/nagios/bin/nrpe \
|
||||||
|
-c nagios:nagios \
|
||||||
|
-- -c /etc/nagios/nrpe.cfg \
|
||||||
|
--daemon
|
||||||
|
eend $? "Failed to Start nrpe"
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
ebegin "Stopping nrpe"
|
||||||
|
start-stop-daemon --stop --quiet -n nrpe
|
||||||
|
eend $? "Failed to Stop nrpe"
|
||||||
|
}
|
||||||
|
|
||||||
|
restart() {
|
||||||
|
ebegin "Restarting nrpe"
|
||||||
|
svc_stop
|
||||||
|
svc_start
|
||||||
|
eend $? "Failed to Restart nrpe"
|
||||||
|
}
|
36
net-analyzer/nagios-nrpe/files/nrpe-2.5.1
Normal file
36
net-analyzer/nagios-nrpe/files/nrpe-2.5.1
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
|
||||||
|
opts="${opts} reload"
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need net
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
ebegin "Starting nrpe"
|
||||||
|
start-stop-daemon --start --quiet --name nrpe \
|
||||||
|
--startas /usr/nagios/bin/nrpe \
|
||||||
|
-c nagios:nagios \
|
||||||
|
-- -c /etc/nagios/nrpe.cfg \
|
||||||
|
--daemon
|
||||||
|
eend $? "Failed to Start nrpe"
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
ebegin "Stopping nrpe"
|
||||||
|
start-stop-daemon --stop --quiet -n nrpe
|
||||||
|
eend $? "Failed to Stop nrpe"
|
||||||
|
}
|
||||||
|
|
||||||
|
reload() {
|
||||||
|
ebegin "Reloading nrpe"
|
||||||
|
kill -HUP `pgrep nrpe | head -1`
|
||||||
|
eend $? "Failed to reload nrpe"
|
||||||
|
}
|
||||||
|
|
||||||
|
restart() {
|
||||||
|
ebegin "Restarting nrpe"
|
||||||
|
svc_stop
|
||||||
|
svc_start
|
||||||
|
eend $? "Failed to Restart nrpe"
|
||||||
|
}
|
36
net-analyzer/nagios-nrpe/files/nrpe-2.5.2
Normal file
36
net-analyzer/nagios-nrpe/files/nrpe-2.5.2
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
|
||||||
|
opts="${opts} reload"
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need net
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
ebegin "Starting nrpe"
|
||||||
|
start-stop-daemon --start --quiet --name nrpe \
|
||||||
|
--startas /usr/nagios/bin/nrpe \
|
||||||
|
-c nagios:nagios \
|
||||||
|
-- -c /etc/nagios/nrpe.cfg \
|
||||||
|
--daemon
|
||||||
|
eend $? "Failed to Start nrpe"
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
ebegin "Stopping nrpe"
|
||||||
|
start-stop-daemon --stop --quiet -n nrpe
|
||||||
|
eend $? "Failed to Stop nrpe"
|
||||||
|
}
|
||||||
|
|
||||||
|
reload() {
|
||||||
|
ebegin "Reloading nrpe"
|
||||||
|
kill -HUP `pgrep nrpe | head -1`
|
||||||
|
eend $? "Failed to reload nrpe"
|
||||||
|
}
|
||||||
|
|
||||||
|
restart() {
|
||||||
|
ebegin "Restarting nrpe"
|
||||||
|
svc_stop
|
||||||
|
svc_start
|
||||||
|
eend $? "Failed to Restart nrpe"
|
||||||
|
}
|
16
net-analyzer/nagios-nrpe/metadata.xml
Normal file
16
net-analyzer/nagios-nrpe/metadata.xml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>netmon</herd>
|
||||||
|
<maintainer>
|
||||||
|
<email>malverian@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer>
|
||||||
|
<email>ramereth@gentoo.org</email>
|
||||||
|
<name>Lance Albertson</name>
|
||||||
|
</maintainer>
|
||||||
|
<longdescription>
|
||||||
|
A daemon for allowing Nagios to connect directly to servers and
|
||||||
|
execute commands defined in a centralized configuration file.
|
||||||
|
</longdescription>
|
||||||
|
</pkgmetadata>
|
58
net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild
Normal file
58
net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
# Copyright 1999-2005 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild,v 1.10 2005/12/19 08:36:15 corsair Exp $
|
||||||
|
inherit eutils
|
||||||
|
|
||||||
|
DESCRIPTION="Nagios $PV NRPE - Nagios Remote Plugin Executor"
|
||||||
|
HOMEPAGE="http://www.nagios.org/"
|
||||||
|
SRC_URI="mirror://sourceforge/nagios/nrpe-1.8.tar.gz"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc x86"
|
||||||
|
IUSE=""
|
||||||
|
DEPEND=">=net-analyzer/nagios-plugins-1.3.0"
|
||||||
|
S="${WORKDIR}/nrpe-1.8"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup nagios
|
||||||
|
enewuser nagios -1 /bin/bash /dev/null nagios
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
./configure \
|
||||||
|
--host=${CHOST} \
|
||||||
|
--prefix=/usr/nagios \
|
||||||
|
--localstatedir=/var/nagios \
|
||||||
|
--sysconfdir=/etc/nagios \
|
||||||
|
--with-nrpe-user=nagios \
|
||||||
|
--with-nrpe-grp=nagios \
|
||||||
|
--infodir=/usr/share/info \
|
||||||
|
--mandir=/usr/share/man || die "./configure failed"
|
||||||
|
emake all || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodoc LEGAL Changelog README
|
||||||
|
|
||||||
|
insinto /etc/nagios
|
||||||
|
newins ${FILESDIR}/nrpe-1.8.cfg nrpe.cfg
|
||||||
|
fowners root:nagios /etc/nagios/nrpe.cfg
|
||||||
|
fperms 0640 /etc/nagios/nrpe.cfg
|
||||||
|
|
||||||
|
exeinto /usr/nagios/bin
|
||||||
|
doexe src/nrpe
|
||||||
|
fowners nagios:nagios /usr/nagios/bin/nrpe
|
||||||
|
exeinto /usr/nagios/libexec
|
||||||
|
doexe src/check_nrpe
|
||||||
|
fowners nagios:nagios /usr/nagios/libexec/check_nrpe
|
||||||
|
exeinto /etc/init.d
|
||||||
|
newexe ${FILESDIR}/nrpe-1.8 nrpe
|
||||||
|
|
||||||
|
fperms 0750 /usr/nagios/libexec/check_nrpe /usr/nagios/bin/nrpe
|
||||||
|
}
|
||||||
|
pkg_postinst() {
|
||||||
|
einfo
|
||||||
|
einfo "If you are using the nrpe daemon, remember to edit"
|
||||||
|
einfo "the config file /etc/nagios/nrpe.cfg"
|
||||||
|
einfo
|
||||||
|
}
|
86
net-analyzer/nagios-nrpe/nagios-nrpe-2.3.ebuild
Normal file
86
net-analyzer/nagios-nrpe/nagios-nrpe-2.3.ebuild
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
# Copyright 1999-2006 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-2.3.ebuild,v 1.4 2006/05/07 20:15:57 corsair Exp $
|
||||||
|
|
||||||
|
inherit eutils toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Nagios $PV NRPE - Nagios Remote Plugin Executor"
|
||||||
|
HOMEPAGE="http://www.nagios.org/"
|
||||||
|
SRC_URI="mirror://sourceforge/nagios/nrpe-${PV}.tar.gz"
|
||||||
|
|
||||||
|
RESTRICT="nomirror"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~ppc ppc64 sparc x86"
|
||||||
|
|
||||||
|
IUSE="ssl command-args"
|
||||||
|
DEPEND=">=net-analyzer/nagios-plugins-1.3.0
|
||||||
|
ssl? ( dev-libs/openssl )"
|
||||||
|
S="${WORKDIR}/nrpe-${PV}"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup nagios
|
||||||
|
enewuser nagios -1 /bin/bash /dev/null nagios
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local myconf
|
||||||
|
|
||||||
|
myconf="${myconf} `use_enable ssl` \
|
||||||
|
`use_enable command-args`"
|
||||||
|
|
||||||
|
# Generate the dh.h header file for better security (2005 Mar 20 eldad)
|
||||||
|
if useq ssl ; then
|
||||||
|
openssl dhparam -C 512 | sed -n '1,/BEGIN DH PARAMETERS/p' | grep -v "BEGIN DH PARAMETERS" > ${S}/src/dh.h
|
||||||
|
fi
|
||||||
|
|
||||||
|
./configure ${myconf} \
|
||||||
|
--host=${CHOST} \
|
||||||
|
--prefix=/usr/nagios \
|
||||||
|
--localstatedir=/var/nagios \
|
||||||
|
--sysconfdir=/etc/nagios \
|
||||||
|
--with-nrpe-user=nagios \
|
||||||
|
--with-nrpe-grp=nagios \
|
||||||
|
--infodir=/usr/share/info \
|
||||||
|
--mandir=/usr/share/man || die "./configure failed"
|
||||||
|
emake all || die
|
||||||
|
# Add nifty nrpe check tool
|
||||||
|
cd contrib
|
||||||
|
$(tc-getCC) ${CFLAGS} -o nrpe_check_control nrpe_check_control.c
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodoc LEGAL Changelog README SECURITY README.SSL \
|
||||||
|
contrib/README.nrpe_check_control
|
||||||
|
|
||||||
|
insinto /etc/nagios
|
||||||
|
newins ${S}/sample-config/nrpe.cfg nrpe.cfg
|
||||||
|
fowners root:nagios /etc/nagios/nrpe.cfg
|
||||||
|
fperms 0640 /etc/nagios/nrpe.cfg
|
||||||
|
|
||||||
|
exeopts -m0750 -o nagios -g nagios
|
||||||
|
exeinto /usr/nagios/bin
|
||||||
|
doexe src/nrpe
|
||||||
|
|
||||||
|
exeopts -m0750 -o nagios -g nagios
|
||||||
|
exeinto /usr/nagios/libexec
|
||||||
|
doexe src/check_nrpe contrib/nrpe_check_control
|
||||||
|
|
||||||
|
exeinto /etc/init.d
|
||||||
|
newexe ${FILESDIR}/nrpe-${PV} nrpe
|
||||||
|
}
|
||||||
|
pkg_postinst() {
|
||||||
|
einfo
|
||||||
|
einfo "If you are using the nrpe daemon, remember to edit"
|
||||||
|
einfo "the config file /etc/nagios/nrpe.cfg"
|
||||||
|
einfo
|
||||||
|
|
||||||
|
if useq command-args ; then
|
||||||
|
ewarn "You have enabled command-args for NRPE. This enables"
|
||||||
|
ewarn "the ability for clients to supply arguments to commands"
|
||||||
|
ewarn "which should be run. "
|
||||||
|
ewarn "THIS IS CONSIDERED A SECURITY RISK!"
|
||||||
|
ewarn "Please read /usr/share/doc/${PF}/SECURITY.gz for more info"
|
||||||
|
fi
|
||||||
|
}
|
86
net-analyzer/nagios-nrpe/nagios-nrpe-2.5.1.ebuild
Normal file
86
net-analyzer/nagios-nrpe/nagios-nrpe-2.5.1.ebuild
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
# Copyright 1999-2006 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-2.5.1.ebuild,v 1.4 2006/08/17 20:59:44 gustavoz Exp $
|
||||||
|
|
||||||
|
inherit eutils toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Nagios $PV NRPE - Nagios Remote Plugin Executor"
|
||||||
|
HOMEPAGE="http://www.nagios.org/"
|
||||||
|
SRC_URI="mirror://sourceforge/nagios/nrpe-${PV}.tar.gz"
|
||||||
|
|
||||||
|
RESTRICT="nomirror"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~ppc ppc64 sparc x86"
|
||||||
|
|
||||||
|
IUSE="ssl command-args"
|
||||||
|
DEPEND=">=net-analyzer/nagios-plugins-1.3.0
|
||||||
|
ssl? ( dev-libs/openssl )"
|
||||||
|
S="${WORKDIR}/nrpe-${PV}"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup nagios
|
||||||
|
enewuser nagios -1 /bin/bash /dev/null nagios
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local myconf
|
||||||
|
|
||||||
|
myconf="${myconf} `use_enable ssl` \
|
||||||
|
`use_enable command-args`"
|
||||||
|
|
||||||
|
# Generate the dh.h header file for better security (2005 Mar 20 eldad)
|
||||||
|
if useq ssl ; then
|
||||||
|
openssl dhparam -C 512 | sed -n '1,/BEGIN DH PARAMETERS/p' | grep -v "BEGIN DH PARAMETERS" > ${S}/src/dh.h
|
||||||
|
fi
|
||||||
|
|
||||||
|
./configure ${myconf} \
|
||||||
|
--host=${CHOST} \
|
||||||
|
--prefix=/usr/nagios \
|
||||||
|
--localstatedir=/var/nagios \
|
||||||
|
--sysconfdir=/etc/nagios \
|
||||||
|
--with-nrpe-user=nagios \
|
||||||
|
--with-nrpe-grp=nagios \
|
||||||
|
--infodir=/usr/share/info \
|
||||||
|
--mandir=/usr/share/man || die "./configure failed"
|
||||||
|
emake all || die
|
||||||
|
# Add nifty nrpe check tool
|
||||||
|
cd contrib
|
||||||
|
$(tc-getCC) ${CFLAGS} -o nrpe_check_control nrpe_check_control.c
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodoc LEGAL Changelog README SECURITY README.SSL \
|
||||||
|
contrib/README.nrpe_check_control
|
||||||
|
|
||||||
|
insinto /etc/nagios
|
||||||
|
newins ${S}/sample-config/nrpe.cfg nrpe.cfg
|
||||||
|
fowners root:nagios /etc/nagios/nrpe.cfg
|
||||||
|
fperms 0640 /etc/nagios/nrpe.cfg
|
||||||
|
|
||||||
|
exeopts -m0750 -o nagios -g nagios
|
||||||
|
exeinto /usr/nagios/bin
|
||||||
|
doexe src/nrpe
|
||||||
|
|
||||||
|
exeopts -m0750 -o nagios -g nagios
|
||||||
|
exeinto /usr/nagios/libexec
|
||||||
|
doexe src/check_nrpe contrib/nrpe_check_control
|
||||||
|
|
||||||
|
exeinto /etc/init.d
|
||||||
|
newexe ${FILESDIR}/nrpe-${PV} nrpe
|
||||||
|
}
|
||||||
|
pkg_postinst() {
|
||||||
|
einfo
|
||||||
|
einfo "If you are using the nrpe daemon, remember to edit"
|
||||||
|
einfo "the config file /etc/nagios/nrpe.cfg"
|
||||||
|
einfo
|
||||||
|
|
||||||
|
if useq command-args ; then
|
||||||
|
ewarn "You have enabled command-args for NRPE. This enables"
|
||||||
|
ewarn "the ability for clients to supply arguments to commands"
|
||||||
|
ewarn "which should be run. "
|
||||||
|
ewarn "THIS IS CONSIDERED A SECURITY RISK!"
|
||||||
|
ewarn "Please read /usr/share/doc/${PF}/SECURITY.gz for more info"
|
||||||
|
fi
|
||||||
|
}
|
94
net-analyzer/nagios-nrpe/nagios-nrpe-2.5.2-r1.ebuild
Normal file
94
net-analyzer/nagios-nrpe/nagios-nrpe-2.5.2-r1.ebuild
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
# Copyright 1999-2006 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-2.5.2-r1.ebuild,v 1.2 2006/10/21 22:13:35 tcort Exp $
|
||||||
|
|
||||||
|
inherit eutils toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Nagios $PV NRPE - Nagios Remote Plugin Executor"
|
||||||
|
HOMEPAGE="http://www.nagios.org/"
|
||||||
|
SRC_URI="mirror://sourceforge/nagios/nrpe-${PV}.tar.gz"
|
||||||
|
|
||||||
|
RESTRICT="nomirror"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
|
||||||
|
IUSE="ssl command-args"
|
||||||
|
DEPEND=">=net-analyzer/nagios-plugins-1.3.0
|
||||||
|
ssl? ( dev-libs/openssl )"
|
||||||
|
S="${WORKDIR}/nrpe-${PV}"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup nagios
|
||||||
|
enewuser nagios -1 /bin/bash /dev/null nagios
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local myconf
|
||||||
|
|
||||||
|
myconf="${myconf} `use_enable ssl` \
|
||||||
|
`use_enable command-args`"
|
||||||
|
|
||||||
|
# Generate the dh.h header file for better security (2005 Mar 20 eldad)
|
||||||
|
if useq ssl ; then
|
||||||
|
openssl dhparam -C 512 | sed -n '1,/BEGIN DH PARAMETERS/p' | grep -v "BEGIN DH PARAMETERS" > ${S}/src/dh.h
|
||||||
|
fi
|
||||||
|
|
||||||
|
./configure ${myconf} \
|
||||||
|
--host=${CHOST} \
|
||||||
|
--prefix=/usr/nagios \
|
||||||
|
--localstatedir=/var/nagios \
|
||||||
|
--sysconfdir=/etc/nagios \
|
||||||
|
--with-nrpe-user=nagios \
|
||||||
|
--with-nrpe-grp=nagios \
|
||||||
|
--infodir=/usr/share/info \
|
||||||
|
--mandir=/usr/share/man || die "./configure failed"
|
||||||
|
emake all || die
|
||||||
|
# Add nifty nrpe check tool
|
||||||
|
cd contrib
|
||||||
|
$(tc-getCC) ${CFLAGS} -o nrpe_check_control nrpe_check_control.c
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodoc LEGAL Changelog README SECURITY README.SSL \
|
||||||
|
contrib/README.nrpe_check_control
|
||||||
|
|
||||||
|
insinto /etc/nagios
|
||||||
|
newins ${S}/sample-config/nrpe.cfg nrpe.cfg
|
||||||
|
fowners root:nagios /etc/nagios/nrpe.cfg
|
||||||
|
fperms 0640 /etc/nagios/nrpe.cfg
|
||||||
|
|
||||||
|
exeopts -m0750 -o nagios -g nagios
|
||||||
|
exeinto /usr/nagios/bin
|
||||||
|
doexe src/nrpe
|
||||||
|
|
||||||
|
exeopts -m0750 -o nagios -g nagios
|
||||||
|
exeinto /usr/nagios/libexec
|
||||||
|
doexe src/check_nrpe contrib/nrpe_check_control
|
||||||
|
|
||||||
|
exeinto /etc/init.d
|
||||||
|
newexe ${FILESDIR}/nrpe-${PV} nrpe
|
||||||
|
|
||||||
|
cat << EOF > ${T}/55-nagios-revdep
|
||||||
|
SEARCH_DIRS="/usr/nagios/bin /usr/nagios/libexec"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
insinto /etc/revdep-rebuild
|
||||||
|
doins ${T}/55-nagios-revdep
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
einfo
|
||||||
|
einfo "If you are using the nrpe daemon, remember to edit"
|
||||||
|
einfo "the config file /etc/nagios/nrpe.cfg"
|
||||||
|
einfo
|
||||||
|
|
||||||
|
if useq command-args ; then
|
||||||
|
ewarn "You have enabled command-args for NRPE. This enables"
|
||||||
|
ewarn "the ability for clients to supply arguments to commands"
|
||||||
|
ewarn "which should be run. "
|
||||||
|
ewarn "THIS IS CONSIDERED A SECURITY RISK!"
|
||||||
|
ewarn "Please read /usr/share/doc/${PF}/SECURITY.gz for more info"
|
||||||
|
fi
|
||||||
|
}
|
86
net-analyzer/nagios-nrpe/nagios-nrpe-2.5.2.ebuild
Normal file
86
net-analyzer/nagios-nrpe/nagios-nrpe-2.5.2.ebuild
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
# Copyright 1999-2006 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-2.5.2.ebuild,v 1.1 2006/07/04 20:01:23 ramereth Exp $
|
||||||
|
|
||||||
|
inherit eutils toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Nagios $PV NRPE - Nagios Remote Plugin Executor"
|
||||||
|
HOMEPAGE="http://www.nagios.org/"
|
||||||
|
SRC_URI="mirror://sourceforge/nagios/nrpe-${PV}.tar.gz"
|
||||||
|
|
||||||
|
RESTRICT="nomirror"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
|
||||||
|
IUSE="ssl command-args"
|
||||||
|
DEPEND=">=net-analyzer/nagios-plugins-1.3.0
|
||||||
|
ssl? ( dev-libs/openssl )"
|
||||||
|
S="${WORKDIR}/nrpe-${PV}"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup nagios
|
||||||
|
enewuser nagios -1 /bin/bash /dev/null nagios
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local myconf
|
||||||
|
|
||||||
|
myconf="${myconf} `use_enable ssl` \
|
||||||
|
`use_enable command-args`"
|
||||||
|
|
||||||
|
# Generate the dh.h header file for better security (2005 Mar 20 eldad)
|
||||||
|
if useq ssl ; then
|
||||||
|
openssl dhparam -C 512 | sed -n '1,/BEGIN DH PARAMETERS/p' | grep -v "BEGIN DH PARAMETERS" > ${S}/src/dh.h
|
||||||
|
fi
|
||||||
|
|
||||||
|
./configure ${myconf} \
|
||||||
|
--host=${CHOST} \
|
||||||
|
--prefix=/usr/nagios \
|
||||||
|
--localstatedir=/var/nagios \
|
||||||
|
--sysconfdir=/etc/nagios \
|
||||||
|
--with-nrpe-user=nagios \
|
||||||
|
--with-nrpe-grp=nagios \
|
||||||
|
--infodir=/usr/share/info \
|
||||||
|
--mandir=/usr/share/man || die "./configure failed"
|
||||||
|
emake all || die
|
||||||
|
# Add nifty nrpe check tool
|
||||||
|
cd contrib
|
||||||
|
$(tc-getCC) ${CFLAGS} -o nrpe_check_control nrpe_check_control.c
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodoc LEGAL Changelog README SECURITY README.SSL \
|
||||||
|
contrib/README.nrpe_check_control
|
||||||
|
|
||||||
|
insinto /etc/nagios
|
||||||
|
newins ${S}/sample-config/nrpe.cfg nrpe.cfg
|
||||||
|
fowners root:nagios /etc/nagios/nrpe.cfg
|
||||||
|
fperms 0640 /etc/nagios/nrpe.cfg
|
||||||
|
|
||||||
|
exeopts -m0750 -o nagios -g nagios
|
||||||
|
exeinto /usr/nagios/bin
|
||||||
|
doexe src/nrpe
|
||||||
|
|
||||||
|
exeopts -m0750 -o nagios -g nagios
|
||||||
|
exeinto /usr/nagios/libexec
|
||||||
|
doexe src/check_nrpe contrib/nrpe_check_control
|
||||||
|
|
||||||
|
exeinto /etc/init.d
|
||||||
|
newexe ${FILESDIR}/nrpe-${PV} nrpe
|
||||||
|
}
|
||||||
|
pkg_postinst() {
|
||||||
|
einfo
|
||||||
|
einfo "If you are using the nrpe daemon, remember to edit"
|
||||||
|
einfo "the config file /etc/nagios/nrpe.cfg"
|
||||||
|
einfo
|
||||||
|
|
||||||
|
if useq command-args ; then
|
||||||
|
ewarn "You have enabled command-args for NRPE. This enables"
|
||||||
|
ewarn "the ability for clients to supply arguments to commands"
|
||||||
|
ewarn "which should be run. "
|
||||||
|
ewarn "THIS IS CONSIDERED A SECURITY RISK!"
|
||||||
|
ewarn "Please read /usr/share/doc/${PF}/SECURITY.gz for more info"
|
||||||
|
fi
|
||||||
|
}
|
28
net-analyzer/nagios-nsca/Manifest
Normal file
28
net-analyzer/nagios-nsca/Manifest
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
AUX nsca 449 RMD160 354925fc12039215b4d32315fc57b548401d9b14 SHA1 85f27c4b4a8cd03a03622685ed275b82ee73e98f SHA256 e1e0d2c945cc7f3757849ac554cf79da5a214cc3659ed32008fa676ecc9334f2
|
||||||
|
MD5 218223213e92b553a8b48303099e8074 files/nsca 449
|
||||||
|
RMD160 354925fc12039215b4d32315fc57b548401d9b14 files/nsca 449
|
||||||
|
SHA256 e1e0d2c945cc7f3757849ac554cf79da5a214cc3659ed32008fa676ecc9334f2 files/nsca 449
|
||||||
|
AUX nsca-2.3 462 RMD160 7117f616fccce5d29037b9c289f977ce39de71ae SHA1 0f142fcfd411d4572b2c18bd5f2be05dd87ba9a8 SHA256 bcc5c40899b5524b9c14149c1253a1ff8e41ec31ad5b019bcc5e728542a3e255
|
||||||
|
MD5 529c269b478256730d697c47a66c084e files/nsca-2.3 462
|
||||||
|
RMD160 7117f616fccce5d29037b9c289f977ce39de71ae files/nsca-2.3 462
|
||||||
|
SHA256 bcc5c40899b5524b9c14149c1253a1ff8e41ec31ad5b019bcc5e728542a3e255 files/nsca-2.3 462
|
||||||
|
AUX nsca-2.6 602 RMD160 4fba5e20992238beff1db5899ba9a65ab9f659c5 SHA1 3d400bd1e0307f8125d7095f221c1e788a2a240b SHA256 414029258ebcf70d66bde6890e3e5c17e018f61c52702e5ad6f74b1282be8598
|
||||||
|
MD5 60ed8374582c8dfbca1d45b58e8ee195 files/nsca-2.6 602
|
||||||
|
RMD160 4fba5e20992238beff1db5899ba9a65ab9f659c5 files/nsca-2.6 602
|
||||||
|
SHA256 414029258ebcf70d66bde6890e3e5c17e018f61c52702e5ad6f74b1282be8598 files/nsca-2.6 602
|
||||||
|
AUX nsca.cfg 4960 RMD160 0bcf00e89199c507c92c2104918fcfe6af016bc0 SHA1 16fed5874443e629a68e80e4e85c202626fd4ef7 SHA256 b121a6d18d608fc8b45cf70015cf7bd9ab738877cee44078e3997f59eac38c07
|
||||||
|
MD5 8b86cb8a22eb4b17001fbabccdcb815b files/nsca.cfg 4960
|
||||||
|
RMD160 0bcf00e89199c507c92c2104918fcfe6af016bc0 files/nsca.cfg 4960
|
||||||
|
SHA256 b121a6d18d608fc8b45cf70015cf7bd9ab738877cee44078e3997f59eac38c07 files/nsca.cfg 4960
|
||||||
|
AUX send_nsca.cfg 1628 RMD160 8895a57e593df3403526a6f19dc79c942e3942da SHA1 a5c976ce39a29bbb544a1b76a58dadef10f16b09 SHA256 515e14db40782e655ab748cb5ed8ea357c1346f36e028b73fbe96f2d15aaa781
|
||||||
|
MD5 76939517175739a4759384705421d632 files/send_nsca.cfg 1628
|
||||||
|
RMD160 8895a57e593df3403526a6f19dc79c942e3942da files/send_nsca.cfg 1628
|
||||||
|
SHA256 515e14db40782e655ab748cb5ed8ea357c1346f36e028b73fbe96f2d15aaa781 files/send_nsca.cfg 1628
|
||||||
|
DIST nsca-2.6.tar.gz 101341 RMD160 a1305b0ea0ceff2725a30ad70b7283125e96e9b6 SHA1 7fea1336a44e8d7ff59a73494494bb8386cd4512 SHA256 6b12781537e5301bf2c902e9fa9961cb95f624856f3d89d72416d3cca734e05a
|
||||||
|
EBUILD nagios-nsca-2.6.ebuild 1411 RMD160 7de7ee612be18f36ebff64a35380a1740fa7feb5 SHA1 495b636db07973fc3fca991ab937960bcd6bc8b4 SHA256 412b923325e802a67808e683fd5410971e90c3e0850a081ccf18a41fa91ca397
|
||||||
|
MD5 7b89112c4778b5398d635fdf90ca21c2 nagios-nsca-2.6.ebuild 1411
|
||||||
|
RMD160 7de7ee612be18f36ebff64a35380a1740fa7feb5 nagios-nsca-2.6.ebuild 1411
|
||||||
|
SHA256 412b923325e802a67808e683fd5410971e90c3e0850a081ccf18a41fa91ca397 nagios-nsca-2.6.ebuild 1411
|
||||||
|
MD5 bcdb8406e3113f2d7e42302fef8719f5 files/digest-nagios-nsca-2.6 226
|
||||||
|
RMD160 d8f6d9e21fa4af2d63fe947bceb3481c042e35ee files/digest-nagios-nsca-2.6 226
|
||||||
|
SHA256 533ba6d51573b822e5e8012efbca229c64868da659551ff62afbcbde839cbf85 files/digest-nagios-nsca-2.6 226
|
3
net-analyzer/nagios-nsca/files/digest-nagios-nsca-2.6
Normal file
3
net-analyzer/nagios-nsca/files/digest-nagios-nsca-2.6
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
MD5 d526a3ac3c29648c729c5fb4fb332488 nsca-2.6.tar.gz 101341
|
||||||
|
RMD160 a1305b0ea0ceff2725a30ad70b7283125e96e9b6 nsca-2.6.tar.gz 101341
|
||||||
|
SHA256 6b12781537e5301bf2c902e9fa9961cb95f624856f3d89d72416d3cca734e05a nsca-2.6.tar.gz 101341
|
27
net-analyzer/nagios-nsca/files/nsca
Executable file
27
net-analyzer/nagios-nsca/files/nsca
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need net
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
ebegin "Starting nsca"
|
||||||
|
start-stop-daemon --start --quiet --name nsca \
|
||||||
|
--startas /usr/nagios/bin/nsca \
|
||||||
|
-c nagios:nagios \
|
||||||
|
-- -d /etc/nagios/nsca.cfg
|
||||||
|
eend $? "Failed to Start nsca"
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
ebegin "Stopping nsca"
|
||||||
|
start-stop-daemon --stop --quiet -n nsca
|
||||||
|
eend $? "Failed to Stop nsca"
|
||||||
|
}
|
||||||
|
|
||||||
|
restart() {
|
||||||
|
ebegin "Restarting nsca"
|
||||||
|
svc_stop
|
||||||
|
svc_start
|
||||||
|
eend $? "Failed to Restart nsca"
|
||||||
|
}
|
28
net-analyzer/nagios-nsca/files/nsca-2.3
Executable file
28
net-analyzer/nagios-nsca/files/nsca-2.3
Executable file
@ -0,0 +1,28 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need net
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
ebegin "Starting nsca"
|
||||||
|
start-stop-daemon --start --quiet --name nsca \
|
||||||
|
--startas /usr/nagios/bin/nsca \
|
||||||
|
-c nagios:nagios \
|
||||||
|
-- -c /etc/nagios/nsca.cfg \
|
||||||
|
--daemon
|
||||||
|
eend $? "Failed to Start nsca"
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
ebegin "Stopping nsca"
|
||||||
|
start-stop-daemon --stop --quiet -n nsca
|
||||||
|
eend $? "Failed to Stop nsca"
|
||||||
|
}
|
||||||
|
|
||||||
|
restart() {
|
||||||
|
ebegin "Restarting nsca"
|
||||||
|
svc_stop
|
||||||
|
svc_start
|
||||||
|
eend $? "Failed to Restart nsca"
|
||||||
|
}
|
36
net-analyzer/nagios-nsca/files/nsca-2.6
Executable file
36
net-analyzer/nagios-nsca/files/nsca-2.6
Executable file
@ -0,0 +1,36 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
|
||||||
|
opts="${opts} reload"
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need net
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
ebegin "Starting nsca"
|
||||||
|
start-stop-daemon --start --quiet --name nsca \
|
||||||
|
--startas /usr/nagios/bin/nsca \
|
||||||
|
-c nagios:nagios \
|
||||||
|
-- -c /etc/nagios/nsca.cfg \
|
||||||
|
--daemon
|
||||||
|
eend $? "Failed to Start nsca"
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
ebegin "Stopping nsca"
|
||||||
|
start-stop-daemon --stop --quiet -n nsca
|
||||||
|
eend $? "Failed to Stop nsca"
|
||||||
|
}
|
||||||
|
|
||||||
|
reload() {
|
||||||
|
ebegin "Reloading nsca"
|
||||||
|
kill -HUP `pgrep nsca`
|
||||||
|
eend $? "Failed to reload nsca"
|
||||||
|
}
|
||||||
|
|
||||||
|
restart() {
|
||||||
|
ebegin "Restarting nsca"
|
||||||
|
svc_stop
|
||||||
|
svc_start
|
||||||
|
eend $? "Failed to Restart nsca"
|
||||||
|
}
|
182
net-analyzer/nagios-nsca/files/nsca.cfg
Normal file
182
net-analyzer/nagios-nsca/files/nsca.cfg
Normal file
@ -0,0 +1,182 @@
|
|||||||
|
####################################################
|
||||||
|
# Sample NSCA Daemon Config File
|
||||||
|
# Written by: Ethan Galstad (nagios@nagios.org)
|
||||||
|
#
|
||||||
|
# Last Modified: 06-10-2002
|
||||||
|
####################################################
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# PORT NUMBER
|
||||||
|
# Port number we should wait for connections on.
|
||||||
|
# This must be a non-priveledged port (i.e. > 1024).
|
||||||
|
|
||||||
|
server_port=5667
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# SERVER ADDRESS
|
||||||
|
# Address that nrpe has to bind to in case there are
|
||||||
|
# more as one interface and we do not want nrpe to bind
|
||||||
|
# (thus listen) on all interfaces.
|
||||||
|
|
||||||
|
#server_address=192.168.1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# ALLOWED HOST ADDRESSES
|
||||||
|
# This is a comma-delimited list of IP address of hosts that are allowed
|
||||||
|
# to talk to the NSCA daemon.
|
||||||
|
#
|
||||||
|
# Note: The daemon only does rudimentary checking of the client's IP
|
||||||
|
# address. I would highly recommend running as a service under
|
||||||
|
# inetd instead of as a standalone daemon and using TCP wrappers to
|
||||||
|
# limit access.
|
||||||
|
|
||||||
|
allowed_hosts=127.0.0.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# NSCA USER
|
||||||
|
# This determines the effective user that the NSCA daemon should run as.
|
||||||
|
# You can either supply a username or a UID.
|
||||||
|
#
|
||||||
|
# NOTE: This option is ignored if NSCA is running under either inetd or xinetd
|
||||||
|
|
||||||
|
nsca_user=nagios
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# NSCA GROUP
|
||||||
|
# This determines the effective group that the NSCA daemon should run as.
|
||||||
|
# You can either supply a group name or a GID.
|
||||||
|
#
|
||||||
|
# NOTE: This option is ignored if NSCA is running under either inetd or xinetd
|
||||||
|
|
||||||
|
nsca_group=nagios
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# DEBUGGING OPTION
|
||||||
|
# This option determines whether or not debugging
|
||||||
|
# messages are logged to the syslog facility.
|
||||||
|
# Values: 0 = debugging off, 1 = debugging on
|
||||||
|
|
||||||
|
debug=0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# COMMAND FILE
|
||||||
|
# This is the location of the Nagios command file that the daemon
|
||||||
|
# should write all service check results that it receives.
|
||||||
|
|
||||||
|
command_file=/var/nagios/rw/nagios.cmd
|
||||||
|
|
||||||
|
|
||||||
|
# ALTERNATE DUMP FILE
|
||||||
|
# This is used to specify an alternate file the daemon should
|
||||||
|
# write service check results to in the event the command file
|
||||||
|
# does not exist. It is important to note that the command file
|
||||||
|
# is implemented as a named pipe and only exists when Nagios is
|
||||||
|
# running. You may want to modify the startup script for Nagios
|
||||||
|
# to dump the contents of this file into the command file after
|
||||||
|
# it starts Nagios. Or you may simply choose to ignore any
|
||||||
|
# check results received while Nagios was not running...
|
||||||
|
|
||||||
|
alternate_dump_file=/var/nagios/rw/nsca.dump
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# AGGREGATED WRITES OPTION
|
||||||
|
# This option determines whether or not the nsca daemon will
|
||||||
|
# aggregate writes to the external command file for client
|
||||||
|
# connections that contain multiple check results. If you
|
||||||
|
# are queueing service check results on remote hosts and
|
||||||
|
# sending them to the nsca daemon in bulk, you will probably
|
||||||
|
# want to enable bulk writes, as this will be a bit more
|
||||||
|
# efficient.
|
||||||
|
# Values: 0 = do not aggregate writes, 1 = aggregate writes
|
||||||
|
|
||||||
|
aggregate_writes=0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# APPEND TO FILE OPTION
|
||||||
|
# This option determines whether or not the nsca daemon will
|
||||||
|
# will open the external command file for writing or appending.
|
||||||
|
# This option should almost *always* be set to 0!
|
||||||
|
# Values: 0 = open file for writing, 1 = open file for appending
|
||||||
|
|
||||||
|
append_to_file=0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# MAX PACKET AGE OPTION
|
||||||
|
# This option is used by the nsca daemon to determine when client
|
||||||
|
# data is too old to be valid. Keeping this value as small as
|
||||||
|
# possible is recommended, as it helps prevent the possibility of
|
||||||
|
# "replay" attacks. This value needs to be at least as long as
|
||||||
|
# the time it takes your clients to send their data to the server.
|
||||||
|
# Values are in seconds. The max packet age cannot exceed 15
|
||||||
|
# minutes (900 seconds).
|
||||||
|
|
||||||
|
max_packet_age=30
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# DECRYPTION PASSWORD
|
||||||
|
# This is the password/passphrase that should be used to descrypt the
|
||||||
|
# incoming packets. Note that all clients must encrypt the packets
|
||||||
|
# they send using the same password!
|
||||||
|
# IMPORTANT: You don't want all the users on this system to be able
|
||||||
|
# to read the password you specify here, so make sure to set
|
||||||
|
# restrictive permissions on this config file!
|
||||||
|
|
||||||
|
#password=
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# DECRYPTION METHOD
|
||||||
|
# This option determines the method by which the nsca daemon will
|
||||||
|
# decrypt the packets it receives from the clients. The decryption
|
||||||
|
# method you choose will be a balance between security and performance,
|
||||||
|
# as strong encryption methods consume more processor resources.
|
||||||
|
# You should evaluate your security needs when choosing a decryption
|
||||||
|
# method.
|
||||||
|
#
|
||||||
|
# Note: The decryption method you specify here must match the
|
||||||
|
# encryption method the nsca clients use (as specified in
|
||||||
|
# the send_nsca.cfg file)!!
|
||||||
|
# Values:
|
||||||
|
#
|
||||||
|
# 0 = None (Do NOT use this option)
|
||||||
|
# 1 = Simple XOR (No security, just obfuscation, but very fast)
|
||||||
|
#
|
||||||
|
# 2 = DES
|
||||||
|
# 3 = 3DES (Triple DES)
|
||||||
|
# 4 = CAST-128
|
||||||
|
# 5 = CAST-256
|
||||||
|
# 6 = xTEA
|
||||||
|
# 7 = 3WAY
|
||||||
|
# 8 = BLOWFISH
|
||||||
|
# 9 = TWOFISH
|
||||||
|
# 10 = LOKI97
|
||||||
|
# 11 = RC2
|
||||||
|
# 12 = ARCFOUR
|
||||||
|
#
|
||||||
|
# 14 = RIJNDAEL-128
|
||||||
|
# 15 = RIJNDAEL-192
|
||||||
|
# 16 = RIJNDAEL-256
|
||||||
|
#
|
||||||
|
# 19 = WAKE
|
||||||
|
# 20 = SERPENT
|
||||||
|
#
|
||||||
|
# 22 = ENIGMA (Unix crypt)
|
||||||
|
# 23 = GOST
|
||||||
|
# 24 = SAFER64
|
||||||
|
# 25 = SAFER128
|
||||||
|
# 26 = SAFER+
|
||||||
|
#
|
||||||
|
|
||||||
|
decryption_method=1
|
||||||
|
|
63
net-analyzer/nagios-nsca/files/send_nsca.cfg
Normal file
63
net-analyzer/nagios-nsca/files/send_nsca.cfg
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
####################################################
|
||||||
|
# Sample NSCA Client Config File
|
||||||
|
# Written by: Ethan Galstad (nagios@nagios.org)
|
||||||
|
#
|
||||||
|
# Last Modified: 02-21-2002
|
||||||
|
####################################################
|
||||||
|
|
||||||
|
|
||||||
|
# ENCRYPTION PASSWORD
|
||||||
|
# This is the password/passphrase that should be used to encrypt the
|
||||||
|
# outgoing packets. Note that the nsca daemon must use the same
|
||||||
|
# password when decrypting the packet!
|
||||||
|
# IMPORTANT: You don't want all the users on this system to be able
|
||||||
|
# to read the password you specify here, so make sure to set
|
||||||
|
# restrictive permissions on this config file!
|
||||||
|
|
||||||
|
#password=
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# ENCRYPTION METHOD
|
||||||
|
# This option determines the method by which the send_nsca client will
|
||||||
|
# encrypt the packets it sends to the nsca daemon. The encryption
|
||||||
|
# method you choose will be a balance between security and performance,
|
||||||
|
# as strong encryption methods consume more processor resources.
|
||||||
|
# You should evaluate your security needs when choosing an encryption
|
||||||
|
# method.
|
||||||
|
#
|
||||||
|
# Note: The encryption method you specify here must match the
|
||||||
|
# decryption method the nsca daemon uses (as specified in
|
||||||
|
# the nsca.cfg file)!!
|
||||||
|
# Values:
|
||||||
|
# 0 = None (Do NOT use this option)
|
||||||
|
# 1 = Simple XOR (No security, just obfuscation, but very fast)
|
||||||
|
#
|
||||||
|
# 2 = DES
|
||||||
|
# 3 = 3DES (Triple DES)
|
||||||
|
# 4 = CAST-128
|
||||||
|
# 5 = CAST-256
|
||||||
|
# 6 = xTEA
|
||||||
|
# 7 = 3WAY
|
||||||
|
# 8 = BLOWFISH
|
||||||
|
# 9 = TWOFISH
|
||||||
|
# 10 = LOKI97
|
||||||
|
# 11 = RC2
|
||||||
|
# 12 = ARCFOUR
|
||||||
|
#
|
||||||
|
# 14 = RIJNDAEL-128
|
||||||
|
# 15 = RIJNDAEL-192
|
||||||
|
# 16 = RIJNDAEL-256
|
||||||
|
#
|
||||||
|
# 19 = WAKE
|
||||||
|
# 20 = SERPENT
|
||||||
|
#
|
||||||
|
# 22 = ENIGMA (Unix crypt)
|
||||||
|
# 23 = GOST
|
||||||
|
# 24 = SAFER64
|
||||||
|
# 25 = SAFER128
|
||||||
|
# 26 = SAFER+
|
||||||
|
#
|
||||||
|
|
||||||
|
encryption_method=1
|
||||||
|
|
50
net-analyzer/nagios-nsca/nagios-nsca-2.6.ebuild
Normal file
50
net-analyzer/nagios-nsca/nagios-nsca-2.6.ebuild
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
# Copyright 1999-2006 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nsca/nagios-nsca-2.6.ebuild,v 1.5 2006/10/21 22:12:38 tcort Exp $
|
||||||
|
|
||||||
|
DESCRIPTION="Nagios NSCA - Nagios Service Check Acceptor"
|
||||||
|
HOMEPAGE="http://www.nagios.org/"
|
||||||
|
SRC_URI="mirror://sourceforge/nagios/nsca-${PV}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~ppc ppc64 sparc x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=">=net-analyzer/nagios-plugins-1.3.1
|
||||||
|
>=dev-libs/libmcrypt-2.5.1-r4"
|
||||||
|
S="${WORKDIR}/nsca-${PV}"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
./configure \
|
||||||
|
--host=${CHOST} \
|
||||||
|
--prefix=/usr/nagios \
|
||||||
|
--localstatedir=/var/nagios \
|
||||||
|
--sysconfdir=/etc/nagios \
|
||||||
|
--with-nsca-user=nagios \
|
||||||
|
--with-nsca-grp=nagios \
|
||||||
|
--infodir=/usr/share/info \
|
||||||
|
--mandir=/usr/share/man || die "./configure failed"
|
||||||
|
emake all || die "emake failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodoc LEGAL Changelog README SECURITY
|
||||||
|
insinto /etc/nagios
|
||||||
|
doins ${S}/sample-config/nsca.cfg
|
||||||
|
doins ${S}/sample-config/send_nsca.cfg
|
||||||
|
exeinto /usr/nagios/bin
|
||||||
|
doexe src/nsca
|
||||||
|
fowners nagios:nagios /usr/nagios/bin/nsca
|
||||||
|
exeinto /usr/nagios/libexec
|
||||||
|
doexe src/send_nsca
|
||||||
|
fowners nagios:nagios /usr/nagios/libexec/send_nsca
|
||||||
|
exeinto /etc/init.d
|
||||||
|
newexe ${FILESDIR}/nsca-${PV} nsca
|
||||||
|
}
|
||||||
|
pkg_postinst() {
|
||||||
|
einfo
|
||||||
|
einfo "If you are using the nsca daemon, remember to edit"
|
||||||
|
einfo "the config file /etc/nagios/nsca.cfg"
|
||||||
|
einfo
|
||||||
|
}
|
10
net-analyzer/nagios-sap-ccms-plugin/ChangeLog
Normal file
10
net-analyzer/nagios-sap-ccms-plugin/ChangeLog
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# ChangeLog for net-analyzer/nagios-sap-ccms-plugin
|
||||||
|
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-sap-ccms-plugin/ChangeLog,v 1.1 2006/10/08 21:15:11 jokey Exp $
|
||||||
|
|
||||||
|
*nagios-sap-ccms-plugin-0.7.3 (08 Oct 2006)
|
||||||
|
|
||||||
|
08 Oct 2006; Markus Ullmann <jokey@gentoo.org> +metadata.xml,
|
||||||
|
+nagios-sap-ccms-plugin-0.7.3.ebuild:
|
||||||
|
Initial commit, thanks to Elias Probst in bug #126146 for providing the ebuild
|
||||||
|
|
26
net-analyzer/nagios-sap-ccms-plugin/Manifest
Normal file
26
net-analyzer/nagios-sap-ccms-plugin/Manifest
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
-----BEGIN PGP SIGNED MESSAGE-----
|
||||||
|
Hash: SHA1
|
||||||
|
|
||||||
|
DIST sap-ccms-plugin-0.7.3.tar.gz 2948020 RMD160 49f432c25a00ceb34acd62aceb8cdcf3daba63c6 SHA1 56a8a6c941f2e132e474e7ffdbd4455e623548cf SHA256 ce3831bc8156f5fafe8fb4366bd9d4b2df4c85d55c92d4b38c41f10f701206eb
|
||||||
|
EBUILD nagios-sap-ccms-plugin-0.7.3.ebuild 1168 RMD160 7d7f0d2dbaa37e9cc3fae8894f5386809cedfdce SHA1 90d586e0e934d0e1d0dc970b9f4e8293a401155c SHA256 4ca633868bf5115d06f86c17b519f7816daa4d7ed0e4794e421318fc7aba32a4
|
||||||
|
MD5 506da911b2270a5d1c6a4e40173a060e nagios-sap-ccms-plugin-0.7.3.ebuild 1168
|
||||||
|
RMD160 7d7f0d2dbaa37e9cc3fae8894f5386809cedfdce nagios-sap-ccms-plugin-0.7.3.ebuild 1168
|
||||||
|
SHA256 4ca633868bf5115d06f86c17b519f7816daa4d7ed0e4794e421318fc7aba32a4 nagios-sap-ccms-plugin-0.7.3.ebuild 1168
|
||||||
|
MISC ChangeLog 473 RMD160 f15f2de7145ef64bae565addf9448630976f70c4 SHA1 6f5ef804e37b90c1857fb8d04b23379e1cf64af8 SHA256 a7f23fc011be755b7d0a143d48d34639055fe167249df47da281ba8c57cecdfa
|
||||||
|
MD5 7b53312ea9ac5924da50908b95bccc29 ChangeLog 473
|
||||||
|
RMD160 f15f2de7145ef64bae565addf9448630976f70c4 ChangeLog 473
|
||||||
|
SHA256 a7f23fc011be755b7d0a143d48d34639055fe167249df47da281ba8c57cecdfa ChangeLog 473
|
||||||
|
MISC metadata.xml 160 RMD160 2738573ec519cbef4b293bc132f7dd9d02291137 SHA1 29b8b234e0f3a475b50bd4df1ef8b4e5749823ce SHA256 39e232fc7ec88ca0b077cb3950cb39d15cd990842b88d5bfe14f02f34d72f37b
|
||||||
|
MD5 637389da071d8ee0c0292695525bc29f metadata.xml 160
|
||||||
|
RMD160 2738573ec519cbef4b293bc132f7dd9d02291137 metadata.xml 160
|
||||||
|
SHA256 39e232fc7ec88ca0b077cb3950cb39d15cd990842b88d5bfe14f02f34d72f37b metadata.xml 160
|
||||||
|
MD5 a23b79528353b43ff4f2c709765e6150 files/digest-nagios-sap-ccms-plugin-0.7.3 268
|
||||||
|
RMD160 1dd5b3f030ecd4b819f6abd2bc96b4151bb30c23 files/digest-nagios-sap-ccms-plugin-0.7.3 268
|
||||||
|
SHA256 3f313ecdb66091a7c11594d94a0cd8c5de63c36476de7c8221ed54c11437ffb8 files/digest-nagios-sap-ccms-plugin-0.7.3 268
|
||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Version: GnuPG v1.4.5 (GNU/Linux)
|
||||||
|
|
||||||
|
iD8DBQFFKWpuz974XjDVpbkRAlVcAJ4oiDAN1XvOmXYBcPJwI73yWUg++QCfRbOF
|
||||||
|
uGRzJZeg/8FsS6NRVGmXBvg=
|
||||||
|
=bSGj
|
||||||
|
-----END PGP SIGNATURE-----
|
5
net-analyzer/nagios-sap-ccms-plugin/metadata.xml
Normal file
5
net-analyzer/nagios-sap-ccms-plugin/metadata.xml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>netmon</herd>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,49 @@
|
|||||||
|
# Copyright 1999-2006 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-sap-ccms-plugin/nagios-sap-ccms-plugin-0.7.3.ebuild,v 1.1 2006/10/08 21:15:11 jokey Exp $
|
||||||
|
|
||||||
|
MY_P="sap-ccms-plugin-${PV}"
|
||||||
|
|
||||||
|
DESCRIPTION="Nagios plugin that provides an interface to SAP CCMS
|
||||||
|
Infrastructure"
|
||||||
|
HOMEPAGE="http://sourceforge.net/projects/nagios-sap-ccms/"
|
||||||
|
SRC_URI="mirror://sourceforge/nagios-sap-ccms/${MY_P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="net-analyzer/nagios-core"
|
||||||
|
RDEPEND=${DEPEND}
|
||||||
|
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cd "${S}/src"
|
||||||
|
emake || die "emake failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cd "${S}/src"
|
||||||
|
exeinto /usr/nagios/libexec/
|
||||||
|
|
||||||
|
for file in {check_sap{,_cons,_instance,_instance_cons,_mult_no_thr,_multiple,_system,_system_cons},create_cfg,sap_change_thr}
|
||||||
|
do
|
||||||
|
doexe ${file}
|
||||||
|
done
|
||||||
|
|
||||||
|
dolib.so sap_moni.so
|
||||||
|
cd ${S}/config
|
||||||
|
|
||||||
|
dodir /etc/sapmon
|
||||||
|
insinto /etc/sapmon
|
||||||
|
doins ${S}/config/*
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
einfo "Have a look at /etc/sapmon for configuring ${PN}"
|
||||||
|
einfo "Further information can be found at"
|
||||||
|
einfo "http://nagios-sap-ccms.sourceforge.net/"
|
||||||
|
}
|
7
net-analyzer/nagios/Manifest
Normal file
7
net-analyzer/nagios/Manifest
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
EBUILD nagios-2.7.ebuild 863 RMD160 6e3427a74dd9f94363db210c0c5afeed8a4de871 SHA1 1eb6568318bc81860e433c028d2face7349222b3 SHA256 6d23b730bb8bd46880d3eaaf86bd555b8dd2ea18e4bcde2bd985269b1faad381
|
||||||
|
MD5 e7b994be0b0c60a1c7b2dc943a0fa45e nagios-2.7.ebuild 863
|
||||||
|
RMD160 6e3427a74dd9f94363db210c0c5afeed8a4de871 nagios-2.7.ebuild 863
|
||||||
|
SHA256 6d23b730bb8bd46880d3eaaf86bd555b8dd2ea18e4bcde2bd985269b1faad381 nagios-2.7.ebuild 863
|
||||||
|
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-nagios-2.7 0
|
||||||
|
RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-nagios-2.7 0
|
||||||
|
SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-nagios-2.7 0
|
0
net-analyzer/nagios/files/digest-nagios-2.7
Normal file
0
net-analyzer/nagios/files/digest-nagios-2.7
Normal file
30
net-analyzer/nagios/nagios-2.7.ebuild
Normal file
30
net-analyzer/nagios/nagios-2.7.ebuild
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# Copyright 1999-2006 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/nagios-2.5.ebuild,v 1.2 2006/10/21 22:14:32 tcort Exp $
|
||||||
|
|
||||||
|
DESCRIPTION="The Nagios metapackage - merge this to pull install all of the
|
||||||
|
nagios packages"
|
||||||
|
HOMEPAGE="http://www.nagios.org"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="~net-analyzer/nagios-core-${PV}
|
||||||
|
>=net-analyzer/nagios-plugins-1.4
|
||||||
|
>=net-analyzer/nagios-nrpe-1.8
|
||||||
|
>=net-analyzer/nagios-nsca-2.3
|
||||||
|
>=net-analyzer/nagios-imagepack-1.0"
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
einfo "Note: this is a META ebuild for ${P}."
|
||||||
|
einfo "to remove it completely or before re-emerging"
|
||||||
|
einfo "either use 'depclean', or remove/re-emerge these packages:"
|
||||||
|
echo
|
||||||
|
for dep in ${RDEPEND}; do
|
||||||
|
einfo " ${dep}"
|
||||||
|
done
|
||||||
|
echo
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user