Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Jesper Knudsen on August 12, 2002, 01:24:38 PM
-
I have installed UCD-SNMP and need to alter the hosts-allow file in order to provide access.
snmpd: ALL
Then works fine but as soon as I use the server-manager the entry has been removed. I is also written in the top that I should use the change the /etc/e-smith/templates-custom directory. This directory is emty though.
Does anyone know how to keep this entry ?
Thanks,
Jesper
-
http://www.e-smith.org/custom/
-
Thanks for the reply.
I have read through this last week but I have to admit I wouldn't know how and what to change to or add. I assume that I would have to look in the Example 2 but what are the new parameters ?
I guess I am to new in the game to do this. Are there no other ways of adding SMNP and allow the client applications (such as Cacti or MRTG) to access?
-
Issue the following commands at console:
[From Console]
mkdir -p /etc/e-smith/templates-custom/etc/hosts.allow
echo "snmpd: ALL" > /etc/e-smith/templates-custom/etc/hosts.allow/snmpd
/sbin/e-smith/expand-template /etc/hosts.allow
[End Commands]
You should now have smtpd:ALL in your /etc/hosts.allow. The template should not overwrite these changes since they were templated.
Hope this helped,
Nathan
-
Great it worked. Thanks.
Jesper
-
My MRTG and Cacti has now worked flawlessly for quite some time now. I then had to reboot and noticed that the SNMP deamon did autostart during boot.
I would like the command:
"service snmpd start"
to be issued upon boot.
How do I ensure that ?
(I know stupid question if you know Linux but I am not an expert)
I hope anyone can help here.
Thanks,
Jesper