Permalink
Browse files

Integrating nagiosgraph

  • Loading branch information...
NEMS Linux
NEMS Linux committed Nov 3, 2018
1 parent 4710e5f commit 7c868ef49a76074ee2da91025d73ba59e066c74b
Showing with 6 additions and 0 deletions.
  1. +6 −0 nems-upgrade/1.4.1-1.5
@@ -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

0 comments on commit 7c868ef

Please sign in to comment.