Projects
jsj
jsj-installtools
PrepareNagiosTests
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PrepareNagiosTests of Package jsj-installtools
#!/bin/bash VAR=$1 if [ $VAR"_" = _ ]; then VAR=jsj fi case $VAR in jsj) ;; hsbhv) ;; hsb) ;; *) echo Variante $VAR nicht vorgesehen, bitte prüfen!; exit;; esac . /usr/share/jsjinstalltools/GetVersion zypper sl -u | egrep "botter.cc/+jsj" 2>&1 > /dev/null if [ $? != 0 ]; then case ${VERSION_ID/./} in 10*,11*,12*,13*) REPOVERSION="openSUSE_$VERSION";; 42*,150,151,152,153) REPOVERSION="openSUSE_Leap_$VERSION";; *) REPOVERSION="$VERSION";; esac zypper ar -f https://repo.botter.cc/jsj/$REPOVERSION/jsj.repo fi if [ ${VERSION_ID/./} -lt 153 ]; then INSTALLPACKAGES="nrpe monitoring-plugins-zypper monitoring-plugins-running_kernel check_mk-agent rdiff-backup nrpe-$VAR" else INSTALLPACKAGES="check_mk-agent check_mk-agent-plugins-opensuse_kernel check_mk-agent-plugins-opensuse_zypper" fi zypper -n in -l $INSTALLPACKAGES if [ ${VERSION_ID/./} -ge 120 ]; then if [ ${VERSION_ID/./} -lt 153 ]; then systemctl enable nrpe.service systemctl start nrpe.service fi if [ ${VERSION_ID/./} -ge 130 ]; then systemctl enable check_mk-agent.socket systemctl start check_mk-agent.socket else systemctl enable xinetd.service systemctl start xinetd.service fi else insserv nrpe rcnrpe start insserv xinetd rcxinetd start fi
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.