Amar S. Bhatti
2001-02-15 19:02:36 UTC
Hello folks
I have just downloaded ucd-snmp 4.2-3 rpms from sourceforge site
this is what I have in my system right now
ucd-snmp-4.2-3
ucd-snmp-utils-4.2-3
ucd-snmp-devel-4.2-3
now that I try to run the daemon snmpd by
$/etc/rc.d/init.d/snmpd start
I get
/etc/rc.d/init.d/snmpd: /etc/init.d/functions: No such file or directory
Starting snmpd: /etc/rc.d/init.d/snmpd: daemon: command not found
I am not sure what is causing this problem....
In addition I have been reading the man page about snmpd.conf
according to the man page this has to be located in /usr/local/share/snmp/
and the only file I have is in
/etc/snmp/snmpd.conf
These are the things I have added in the file
## sec.name source community
com2sec local localhost public
com2sec ourhost_1 default ourcommunity
com2sec ourhost_2 NETWORK/24 ourcommunity
## group.name sec.model sec.name
group linuxboxes any local
group linuxboxes v1 ourhost_1
group linuxboxes v1 ourhost_2
## incl/excl subtree mask
#view all included .1 80
## -or just the mib2 tree-
view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc
## context sec.model sec.level prefix read write notif
#access MyROGroup "" any noauth 0 all none none
#access MyRWGroup "" any noauth 0 all all all
access linuxboxes "" any noauth exact all none none
these are the additions made to the file after reading the commented examples
in this file. After reading snmpd.conf man page. It is described that this file
should be found in /usr/share/snmp/ however I could not find this file there.
I manually created a snmpd.conf file in /usr/share/snmp/
However when I try to access my machine using
$snmpwalk myhost_1 ourcommunity | more
I get timeout : no response from myhost_1
any help will be greatly appreciated, since I am frustrated at what is causing
this failure.
Regards,
Amar
I have just downloaded ucd-snmp 4.2-3 rpms from sourceforge site
this is what I have in my system right now
ucd-snmp-4.2-3
ucd-snmp-utils-4.2-3
ucd-snmp-devel-4.2-3
now that I try to run the daemon snmpd by
$/etc/rc.d/init.d/snmpd start
I get
/etc/rc.d/init.d/snmpd: /etc/init.d/functions: No such file or directory
Starting snmpd: /etc/rc.d/init.d/snmpd: daemon: command not found
I am not sure what is causing this problem....
In addition I have been reading the man page about snmpd.conf
according to the man page this has to be located in /usr/local/share/snmp/
and the only file I have is in
/etc/snmp/snmpd.conf
These are the things I have added in the file
## sec.name source community
com2sec local localhost public
com2sec ourhost_1 default ourcommunity
com2sec ourhost_2 NETWORK/24 ourcommunity
## group.name sec.model sec.name
group linuxboxes any local
group linuxboxes v1 ourhost_1
group linuxboxes v1 ourhost_2
## incl/excl subtree mask
#view all included .1 80
## -or just the mib2 tree-
view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc
## context sec.model sec.level prefix read write notif
#access MyROGroup "" any noauth 0 all none none
#access MyRWGroup "" any noauth 0 all all all
access linuxboxes "" any noauth exact all none none
these are the additions made to the file after reading the commented examples
in this file. After reading snmpd.conf man page. It is described that this file
should be found in /usr/share/snmp/ however I could not find this file there.
I manually created a snmpd.conf file in /usr/share/snmp/
However when I try to access my machine using
$snmpwalk myhost_1 ourcommunity | more
I get timeout : no response from myhost_1
any help will be greatly appreciated, since I am frustrated at what is causing
this failure.
Regards,
Amar