Prerequisites

  • A running opExport system
  • A new version downloaded to /tmp/

Upgrade

Stop Daemon

MySQL Server

service omkd stop

NMIS Server

lsof | grep /usr/local/omk/script/opmantek.exe
# find PID of opmantek.exe in /usr/local/omk/script/opmantek.exe, it’s in the 2nd column
kill PID

Upgrade

# upgrade
cd /usr/local
tar zxvf /tmp/opExport-Linux-x86_64-1.6.5.tar.gz

Start Daemon

# start opExport service (both MySQL and NMIS)
service omkd start # restart daemon

Important Next Steps

  • Now load GUI and accept EULA
  • Modify conf/schema_sets.json on the MySQL server to add "include_ping_only" : 1 to the schemas/tables that you want ping-only nodes included (the default install/schema_sets.json has them added in the places where it makes sense and can be used as an example)
  • Push new schema to server (from opExport on MySQL server)
  • Verify schema is properly pushed on NMIS server (http://NMIS_SERVER_IP:3000/omk/opExport/schemas)

Test

If you have included ping-only nodes on your node table you should now see rows in

SELECT *
FROM nodes
WHERE collect = 'false';

* if your NMIS server has nodes like this.

  • No labels