1. Installation - AlexanderStock/cloudviewer GitHub Wiki

Installation (a dependencie here is a working nagios installation)

The VMware SDK:

Official Howto for Linux

Cloudviewer:

  • Download the Zip File from Github
  • Unpack the Zip on you nagios Host with: "unzip cloudviewer-master.zip"
  • Go to the source directory: "cd cloudviewer-master/cloudviewer-master"
  • Copy Directories: "cp -R cloudviewer /usr/lib/ && cp -R cloudviewer-data /var/lib/"
  • Give Nagios user write access: "chown nagios /var/lib/cloudviewer-data/cloudviewer-automated && chown nagios /var/lib/cloudviewer-data/sessions"
  • Add the cronjob:

*/30 * * * * /usr/lib/cloudviewer/cloudviewer-reloader.pl --dir /var/lib/cloudviewer-data/cloudviewer-automated/ --confdir /var/lib/cloudviewer-data/config/ && chown -R cloudviewer1 /var/lib/cloudviewer-data/ && (YOUR NAGIOS RELOAD COMMAND HERE)

  • Add the cloudviewer folder to your nagios.cfg file:

cfg_dir=/var/lib/cloudviewer-data

  • Create your JSON configurations under /var/lib/cloudviewer-data/config (you can use the given files as template)
  • Add your vCenter to /var/lib/cloudviewer-data/cloudviewer-vcenter (you can use the given files as template)