Skip to content

Commit

Permalink
Integrating nagiosgraph
Browse files Browse the repository at this point in the history
  • Loading branch information
NEMS Linux committed Nov 3, 2018
1 parent 4710e5f commit 7c868ef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nems-upgrade/1.4.1-1.5
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ if [[ "$ver" == "1.4.1" ]]; then
if [[ -d /tmp/libexec ]]; then rm -rf /tmp/libexec; fi
mv /usr/local/nagios/libexec /tmp/ && rm -rf /usr/local/nagios/ && /root/nems/nems-admin/build/050-nagios && systemctl stop nagios && rm -rf /usr/local/nagios/libexec && mv /tmp/libexec /usr/local/nagios/ && systemctl start nagios

# Point Nagios to the NEMS Nagios Theme in nems-www and import the config
if [[ -d /usr/local/nagios/share ]]; then
rm -rf /usr/local/nagios/share
fi
ln -s /var/www/html/share/nagios/ /usr/local/nagios/share

# Install nagiosgraph
/root/nems/nems-admin/build/051-nagiosgraph

Expand Down

0 comments on commit 7c868ef

Please sign in to comment.