kevalson
asked on
How install net-snmp on Solaris 8 from scratch
I have just installed a fresh copy of Solaris 8 sun4u sparc SUNW,Sun-Fire-V240.
I want to be able to monitor the memory and disk usage and cpu load.
I installed off of the 2 CD's that came with it the entire OEM (top option).
There are so many releases of net-snmp, GCC, SSL, etc.
Which ones do I download and where do I install them in what order.
Basically looking for some instructions, although I have been through the readme.solaris file from the net-snmp download.
I think I may have just got the wrong downloads.
I remember some of the errors was that it could not fin the libintl.so.3 file, etc....
Which option do I use with the ./configure command? (-with-mib-modules......?? ?)
Any particular directory that I need to download and untar or unzip the files from?
Maybe there is someting better than net-snmp even, and possibloy even easier to install?
I want to be able to monitor the memory and disk usage and cpu load.
I installed off of the 2 CD's that came with it the entire OEM (top option).
There are so many releases of net-snmp, GCC, SSL, etc.
Which ones do I download and where do I install them in what order.
Basically looking for some instructions, although I have been through the readme.solaris file from the net-snmp download.
I think I may have just got the wrong downloads.
I remember some of the errors was that it could not fin the libintl.so.3 file, etc....
Which option do I use with the ./configure command? (-with-mib-modules......??
Any particular directory that I need to download and untar or unzip the files from?
Maybe there is someting better than net-snmp even, and possibloy even easier to install?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks guys.
I see there is 5.4.1.1 and 5.4.2...which one for sure do I need?
Also, do I need GCC and SSL and CC?
I see there is 5.4.1.1 and 5.4.2...which one for sure do I need?
Also, do I need GCC and SSL and CC?
Yes, you should get at least gcc (it includes cc) in the event you'll need to compile an application.
You should get ssl, ssh (openssl,openssh).
What are you setting up the server to do?
When getting an application package, I usually get the newest version after I check what the changes between the versions are as well as what the known issues there are.
You should get ssl, ssh (openssl,openssh).
What are you setting up the server to do?
When getting an application package, I usually get the newest version after I check what the changes between the versions are as well as what the known issues there are.
usually it is better for the latest version unless you have a requirement for a specific version. for other s/w packages, if you don't have them installed (at least the required versions) then you can down load them from the same site and install.
ASKER
I still did not get it to work.
Is there any step by step instructions out there with examples?
It messed up my Solaris 8 server, so I just got through reinstalling it.
Now I am using a different server with that is not in production. I had no idea this would be this hard.
This other server is not in production, and it is the following with Solaris 10.
SunOS rchovnnm 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Fire-V240
Are there packages I can just install for GCC, Openssl, and Netsnmp?
Is there any step by step instructions out there with examples?
It messed up my Solaris 8 server, so I just got through reinstalling it.
Now I am using a different server with that is not in production. I had no idea this would be this hard.
This other server is not in production, and it is the following with Solaris 10.
SunOS rchovnnm 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Fire-V240
Are there packages I can just install for GCC, Openssl, and Netsnmp?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.
I am using Solaris 10 now and not Solaris 8. I did download the 10 version and I did these very things.
gunzipped them all then:
pkgadd -d gcc-3.4.6-sol10-sparc-loca l
pkgadd -d openssl-0.9.8h-sol10-sparc -local
pkgadd -d netsnmp-5.4.1.1-sol10-spar c-local
Now that they are installed, whatg do I do?
I have an SNMP manager (SolarWinds Orion) that I want to add it to.
Don't I have to start net-snmp?
I need to change the community read-only strings as well. How do I do that?
I am using Solaris 10 now and not Solaris 8. I did download the 10 version and I did these very things.
gunzipped them all then:
pkgadd -d gcc-3.4.6-sol10-sparc-loca
pkgadd -d openssl-0.9.8h-sol10-sparc
pkgadd -d netsnmp-5.4.1.1-sol10-spar
Now that they are installed, whatg do I do?
I have an SNMP manager (SolarWinds Orion) that I want to add it to.
Don't I have to start net-snmp?
I need to change the community read-only strings as well. How do I do that?
I am not familiar with this product, but this what I got from google:
http://www.net-snmp.org/wiki/index.php/Tutorials
http://www.net-snmp.org/docs/readmefiles.html
http://www.juniper.net/techpubs/software/management/sdx/sdx63x/sw-sdx-sw-basics/html/snmp-config-start5.html
http://www.net-snmp.org/wiki/index.php/Tutorials
http://www.net-snmp.org/docs/readmefiles.html
http://www.juniper.net/techpubs/software/management/sdx/sdx63x/sw-sdx-sw-basics/html/snmp-config-start5.html
ASKER
Do you monitor servers like Disk usage CPU load and such? If so, what do you use?
Well I can not talk about my servers here, but you can use free S/W like MRTG or nagios OR commercial one like HP OpenView / OVO.
ASKER
Thanks.
Now, when I try to run ./snmpconf on step 10 of this site, I get
# ./snmpconf
./snmpconf: not found
The file is there. I wonder if it has something to do with Pearl. I don't know.
Any thoughts?
Now, when I try to run ./snmpconf on step 10 of this site, I get
# ./snmpconf
./snmpconf: not found
The file is there. I wonder if it has something to do with Pearl. I don't know.
Any thoughts?
Check the permissions on the file. Check the top line in the file in the event it is trying to call a shell you do not have.
ASKER
Heh.
I went ahead and installed the Perl pkg from sun freeware, and that did it.
Evidently it did not like the perl that came with my Solaris 10.
I went ahead and installed the Perl pkg from sun freeware, and that did it.
Evidently it did not like the perl that came with my Solaris 10.
What the new perl is doing and not as before?
ASKER
I do not know.
I just went and instaleld the perl package from sunfreeware.com.
Looks like it is working now.
Thanks
I just went and instaleld the perl package from sunfreeware.com.
Looks like it is working now.
Thanks
http://sunfreeware.com/indexsparc8.html
You may choose the product from the lower right frame, then see what other products and S/W packages are needed. Here a link to the pre compiled package :
ftp://ftp.sunfreeware.com/pub/freeware/sparc/8/netsnmp-5.4.1.1-sol8-sparc-local.gz
after downloading it,
gunzip netsnmp-5.4.1.1-sol8-sparc
pkgadd -d netsnmp-5.4.1.1-sol8-sparc