Home
RECOMMENDED FOR YOU:
SMS Gateway software
Ozeki brings you outstanding
SMS Gateway technology. Use our SMS Server products on Windows,Linux, or Android

C# SMS API
Developers can use our C# SMS API to send SMS from C#.Net. The C# SMS API comes with full source code

PHP SMS API
The ozeki PHP SMS gateway software can be used to send SMS from PHP and to receive SMS usig PHP on your website

SMPP SMS Gateway
SMS service providers use our SMPP gateway solution, that offers a high performance SMPP server and SMPP client gateway with amazing routing capabilities
Ozeki NG SMS Gateway

SNMP information query from Linux

In this section you can find information on how to query SNMP values using the Linux snmpget and snmpwalk commands. These commands come as part of the net-snmp package in most Linux distributions. To query information you need to supply an OID value to these commands.

A list of Ozeki SNMP OIDs can be found in the Ozeki SNMP Management Information Database (MIB).

To install the SNMP library for your linux distribution, please issue the following command:

yum install net-snmp net-snmp-utils

After the SNMP library has been installed you can use snmpget to query information from your Windows machine. For example to get the uptime of the Windows computer that has an IP address of 192.168.90.193 you should issue the following command:

snmpget -v 1 -c public -O v 192.168.90.193 1.3.6.1.2.1.1.3.0

In this command you can see the value "1.3.6.1.2.1.1.3.0". This is the OID of the uptime. To get information about Ozeki NG you should use an OID specified in the Ozeki MIB. For example the OID .1.3.6.1.4.1.33355.1.1.1 would give you the version number of the installed Ozeki NG SMS Gateway. To query this information, please issue the following command:

snmpget -v 1 -c public -O v 192.168.90.193 .1.3.6.1.4.1.33355.1.1.1

Of course you have to replace the IP address (192.168.90.193) to the IP address of the computer that you want to query (this computer should have Ozeki NG SMS Gateway and the Ozeki SMS SNMP extension installed).

To get all the values that are provided by Ozeki NG, you should initiate an SNMP walk request with the root OID of Ozeki. The command to achieve this goal would be:

snmpwalk -v 1 -c public 192.168.90.193 .1.3.6.1.4.1.33355

Dig deeper!
People who read this also read...

More information