NEMS 1.2.1 Technical Information

The following is the technical information outline of NEMS (Nagios Enterprise Monitoring Server).

NEMS 1.2.1

Download Latest Version: baldnerd.com/nems

General Application Versions

  • Debian: 9 (Stretch)
  • Linux Kernel: 4.9.28
  • Nagios: 3.5.1
  • PHP: 7.0.19
  • Apache: 2.4.25
  • MariaDB: 10.1.22
  • NEMS nConf: 1.4
  • Webmin:
  • Check_MK Multisite:
  • pnp4nagios:
  • nagios-api: 1.2.2
  • WMIC: 1.3.14
  • WMI Plus: 1.62

Additional Included Software Commands

  • Web Browser: w3m

Nagios Live Data Socket

  • Located at /var/lib/nagios3/rw/live.sock

nagios-api

  • The JSON API is active by default.
  • Port: 8090
  • If desired, you can disable nagios-api by editing the root cronjob which enables the API at NEMS boot.

Default Passwords (And How To Change Them)

  • NEMS web access password: This password is created during NEMS initialization. To initialize NEMS 1.2+, use the command: sudo nems-init
    This password applies to the following:
    – NEMS nConf
    – Nagios Core
    – Check_MK Multisite
    – NEMS Migrator Backup
    If you ever need to change this password in future, backup your NEMS server with NEMS Migrator, then re-create the htpasswd entry in /var/www/htpasswd and then change the username in both /etc/nagios3/global/contactgroups.cfg and /etc/nagios3/global/contacts.cfg to give the new user access to Nagios Core, and make sure you also change it in NEMS nConf so when you generate config, you don’t lose that change.
  • Linux User / SSH: pi/raspberry
    This password is changed during nems-init. Make sure you set it to something strong while running the initialization. Do not leave this as “raspberry” as there are botnets that look for connected Pi’s that can be compromized with this default password.
    This password applies to the following:
    – SSH/Linux login to the Pi
    – Webmin Login
  • NagVis: admin/admin
    Login using the default password, and immediately choose User menu→Change Password
  • MySQL: root/nagiosadmin
    Best leave this as is since changing it would break a lot of stuff. Just never open up your MySQL port to the world, that’s all.
    Also important to note that if you manually add any databases or tables, you will lose them if you run a nems-init or a NEMS-Migrator restore. Best leave MySQL alone, and put in a feature request in the comments if you need to add something.

WMIC

  • Quick way to test if WMIC is working from within a NEMS SSH seession:

    Where WINDOWSIP, WINDOWSUSER and WINDOWSPASS are the actual IP of the Windows computer, and the administrator user/password for that computer.
    Run it twice, and then if it’s successful you should see something like this:
  • WMIC takes up a fair bit of space on the Pi’s SD card, which resulted in NEMS 1.2 minimum system requirement being 8 GB.

Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz