5:30 PM
HOWTO Use SnmpTranslate command
1.- Use of SNMPTANSLATE: In a general way
2.- Use of SNMPTANSLATE: Focus in specific Object
1.- Use of SNMPTANSLATE: In a general way
wmunguiam@server:~$ snmptranslate -On -IR sysDescr
.1.3.6.1.2.1.1.1
wmunguiam@server:~$ snmptranslate -Onf -IR sysDescr
.iso.org.dod.internet.mgmt.mib-2.system.sysDescr
wmunguiam@server:~$ snmptranslate -Tl | head
.iso(1).org(3)
.iso(1).org(3).dod(6)
.iso(1).org(3).dod(6).internet(1)
.iso(1).org(3).dod(6).internet(1).directory(1)
.iso(1).org(3).dod(6).internet(1).mgmt(2)
.iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1)
.iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).system(1)
.iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).system(1).sysDescr(1)
.iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).system(1).sysObjectID(2)
.iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).system(1).sysUpTime(3)
wmunguiam@server:~$ snmptranslate -To | head
.1.3
.1.3.6
.1.3.6.1
.1.3.6.1.1
.1.3.6.1.2
.1.3.6.1.2.1
.1.3.6.1.2.1.1
.1.3.6.1.2.1.1.1
.1.3.6.1.2.1.1.2
.1.3.6.1.2.1.1.3
wmunguiam@server:~$ snmptranslate -Ts | head
.iso.org
.iso.org.dod
.iso.org.dod.internet
.iso.org.dod.internet.directory
.iso.org.dod.internet.mgmt
.iso.org.dod.internet.mgmt.mib-2
.iso.org.dod.internet.mgmt.mib-2.system
.iso.org.dod.internet.mgmt.mib-2.system.sysDescr
.iso.org.dod.internet.mgmt.mib-2.system.sysObjectID
.iso.org.dod.internet.mgmt.mib-2.system.sysUpTime
2.- Use of SNMPTANSLATE: Focus in specific Object
wmunguiam@server:~$ locate NET-SNMP
...
/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
/usr/share/snmp/mibs/NET-SNMP-EXAMPLES-MIB.txt
/usr/share/snmp/mibs/NET-SNMP-EXTEND-MIB.txt
/usr/share/snmp/mibs/NET-SNMP-MIB.txt
/usr/share/snmp/mibs/NET-SNMP-TC.txt
/usr/share/snmp/mibs/NET-SNMP-VACM-MIB.txt
wmunguiam@server:~$ cd /usr/share/snmp/mibs/
wmunguiam@server:/usr/share/snmp/mibs$ snmptranslate -M+. -mNET-SNMP-MIB -Tp -IR netSnmp
+--netSnmp(8072)
|
+--netSnmpObjects(1)
|
+--netSnmpEnumerations(3)
| |
| +--netSnmpModuleIDs(1)
| |
| +--netSnmpAgentOIDs(2)
| |
| +--netSnmpDomains(3)
|
+--netSnmpNotificationPrefix(4)
| |
| +--netSnmpNotifications(0)
| |
| +--netSnmpNotificationObjects(1)
|
+--netSnmpConformance(5)
| |
| +--netSnmpCompliances(1)
| |
| +--netSnmpGroups(2)
|
+--netSnmpExperimental(9999)
|
+--netSnmpPlaypen(9999)
4:36 PM
HOWTO Install ISABEL on Ubuntu 9.04
1.- System
2.- Edit APT Sources File
Add the lines:
Save & Quit (:wq)
3.- Download GPG Key:
4.- Add KeyRing with:
5.- Update APT Sources:
6.- Install ISABEL:
1.- System
wmunguiam@server:$ uname -a
Linux server 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686 GNU/Linux
2.- Edit APT Sources File
wmunguiam@server:$ sudo vim /etc/apt/sources.list
Add the lines:
#ISABEL
deb http://www.agora-2000.com/ubuntu/ intrepid extras
Save & Quit (:wq)
3.- Download GPG Key:
wmunguiam@server:$ sudo wget http://www.agora-2000.com/products/isabel/isabel.gpg
4.- Add KeyRing with:
wmunguiam@server:$ sudo apt-key add isabel.gpg
OK
5.- Update APT Sources:
wmunguiam@server:$ sudo apt-get update
6.- Install ISABEL:
wmunguiam@server:$ sudo apt-get install isabel
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Se instalaron de forma automática los siguientes paquetes y ya no son necesarios.
linux-headers-2.6.28-11 linux-headers-2.6.28-11-generic
Utilice «apt-get autoremove» para eliminarlos.
Se instalarán los siguientes paquetes extras:
isabel411 isabelextras411 liblzo2-2 libpkcs11-helper1 libstdc++5 m4
openssl-blacklist openvpn openvpn-blacklist tightvncserver twm xbase-clients
Paquetes sugeridos:
isabeldoc411 resolvconf tightvnc-java
Se instalarán los siguientes paquetes NUEVOS:
isabel isabel411 isabelextras411 liblzo2-2 libpkcs11-helper1 libstdc++5 m4
openssl-blacklist openvpn openvpn-blacklist tightvncserver twm xbase-clients
0 actualizados, 13 se instalarán, 0 para eliminar y 0 no actualizados.
Necesito descargar 26.4MB de archivos.
Se utilizarán 19.8MB de espacio de disco adicional después de esta operación.
¿Desea continuar [S/n]? S
12:36 PM
11:30 AM
HOWTO: Use wget,lynx and apt-get trough Proxy UBUNTU
OPTION 1: Set up and environment variable, type:
Where:
OPTION 2: Edit environment file:
c.- Apply changes:
OPTION 1: Set up and environment variable, type:
export http_proxy="http://myproxy.mydomain.com:8080"Or (with user/pass)
export http_proxy="http://username:pasword@myproxy.mydomain.com:8080"
Where:
myproxy.mydomain.com : IP or name of the Proxy server
8080 : Proxy Port
username : User name
pasword : Password
OPTION 2: Edit environment file:
a.- add this lines to your /etc/environment
wmunguiam@server:~$ vim /etc/environmentLines:
http_proxy="http://myproxy.mydomain.com:8080"Or: (with user/pass)
ftp_proxy="http://myproxy.mydomain.com:8080"
http_proxy="http://username:pasword@myproxy.mydomain.com:8080"
ftp_proxy="http://username:pasword@myproxy.mydomain.com:8080"
c.- Apply changes:
wmunguiam@server:~$ sudo source /etc/environment




