From OpenNMS
(These examples are from configuration files used with OpenNMS version 1.5.9 on Solaris 10 x64)
The following sections must be added to capsd-configuration.xml.
In the protocol-plugin section:
<protocol-plugin protocol="SMB" class-name="org.opennms.netmgt.capsd.plugins.SmbPlugin" scan="on" user-defined="false" />
At the end of the file, just before the closing tag:
<smb-config>
<smb-auth user="username" password="password" type="domain">DOMAIN</smb-auth>
</smb-config>
The following sections must be added to poller-configuration.xml.
In the services section:
<service name="SMB" interval="300000" user-defined="false" status="on">
<parameter key="retry" value="1"/>
<parameter key="timeout" value="3000"/>
<parameter key="port" value="445"/>
</service>
In the monitor service section:
<monitor service="SMB" class-name="org.opennms.netmgt.poller.monitors.SmbMonitor"/>
Obviously, some variables should be changed to suit your environment.






