These are testing docs for our new RPC to get around issues with net-snmp
Download the latest version form 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
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!!!