Table of Contents
Configure your first device
Using the auto-discover feature
In CLI mode
curl -o host1.xml 'http://localhost:8080/discover?host=host1&community=public' curl -o host2.xml 'http://localhost:8080/discover?host=host2&community=public'
Via the web UI
One should go to the admin tab, and use the “Discover an host” pane.
By hand
Once you have JRDS running, you need to configure the devices to poll. First all, go to the directory pointed by configdir properties (defined in jrds.properties). Create a sub directory called hosts, and then edit a file with the name of the device you want.
<?xml version="1.0" encoding="UTF-8"?> <host name="lisa" dnsName="172.16.248.74"> <snmp community="secret" version="2"/> <probe type="DiskIo"> <arg type="String" value="sd0"/> <arg type="OID" value="1"/> </probe> <probe type="DiskIo"> <arg type="String" value="sd1"/> <arg type="OID" value="1"/> </probe> <probe type="DiskIo"> <arg type="String" value="sd2"/> <arg type="OID" value="1"/> </probe> <probe type="PartitionSpace"> <arg type="String" value="/hazpool" /> </probe> <probe type="IfSnmp"> <arg type="String" value="e1000g244001" /> </probe> </host>
Reloading
When you change something in the configuration directory, you need to reload JRDS by hitting http://localhost:8080/jrds/reload or hitting the button “reload” in the Administration tab.
