Skip to end of banner
Go to start of banner

NMIS RPC

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

These are testing docs for our new RPC to get around issues with net-snmp

Installing the daemon



Download the latest version from FirstWave Opmantek and place into /usr/local/nmis9/bin

wget https://dl-nmis.opmantek.com/spacelift/latest/nmis-rpc-linux

now give it a bit of execute

chmod +x nmis-rpc-linux



Then check the version

./nmis-rpc-linux -version
nmis-rpc version v0.0.2 (built 2024-07-24 06:54:50)



Then you will need the service file and install into /etc/systemd/system/nmis-rpc.service

[Unit]
Description=NMIS RPC Service
After=network.target

[Service]
ExecStart=/usr/local/nmis9/bin/nmis-rpc-linux
WorkingDirectory=/usr/local/bin
Restart=always
RestartSec=10
Environment=PATH=/usr/local/bin:/usr/bin:/bin

[Install]
WantedBy=multi-user.target


reload systemd or whatever and start the service

Install nmis9.5.1 or greater

http://dl-nmis.opmantek.com.s3.amazonaws.com/nmis9-9.5.1a.run


Edit Config.nmis in /usr/local/nmis9/conf, find nmis_rpc_url and add this....

 'nmis_rpc_url' => "http://localhost:9000",


Restart nmis9d

 find a node and change its engine

on its next poll it should use rpc over classic

RPC being the new daemon classic being net::snmp


Happy NMISing!!!





  • No labels