![Black Box LS1016A User Manual Download Page 186](http://html.mh-extra.com/html/black-box/ls1016a/ls1016a_user-manual_2763435186.webp)
Generating Alarms
186
BLACK BOX
®
Advanced Console Server
COPYRIGHT: SMSLink is (c) Les Ateliers du Heron, 1998 by Philippe Andersson.
Example to send a pager message to phone number 123 (Pager server at 10.0.0.1) with mes-
sage:
sendsms -d 123 -m "Hi. This is a test message send from BLACK BOX ®
Advanced Console Server using sendsms" 10.0.0.1
Snmptrap
Snmptrap is an SNMP application that uses the TRAP-PDU Request to send information to a
network manager. One or more fully qualified object identifiers can be given as arguments on
the command line. A type and a value must accompany each object identifier. Each variable
name is given in the format specified. If any of the required version 1 parameters—enterprise-
oid, agent and uptime—are specified as empty, it defaults to “.1.3.6.1.4.1.3.1.1”, hostname,
and host-uptime respectively.
Synopsis
snmptrap -v 1 [-Ci] [common arguments] enterprise-oid agent
generic-trap specific-trap uptime [objectID type value]...
snmptrap -v [2c|3] [-Ci] [common arguments] uptime trap-oid
[objectID type value]...
server
Required. The host name or IP address of the computer where
the SMS gateway server process is running. By default, this
server will be listening on TCP port 6701.
Upon success (when the server module reports that the message
was successfully sent), sendsms returns 0. When a problem
occurs, a non zero value is returned. Different return values
indicate different problems. A return value of 1 indicates a
general failure of the client program.