weeklyTimeRange
MX-EMS-MIB ·
.0.4700.1.150.300
Object
scalar r/w
OctetString
Weekly Time Range
Expression defining the specific time or a time range into
which a weekly timer will be triggered. If a range is
specified, the timer will trigger randomly within that range.
The syntax is: dd hh[:mm[:ss]][ - dd hh[:mm[:ss]]]
* dd specifies the day. Possible values are the full names
in English: Sunday, Monday, Tuesday, Wednesday, Thursday,
Friday, Saturday.
* hh specifies the hour within the day in local time.
Possible values are 0 to 23.
* mm specifies the minute within the hour. Possible values
are 0 to 59.
* ss specifies the second within the minute. Possible values
are 0 to 59.
* The square braces indicate the optional parts of the
expression.
* The spaces around the hyphen are optional.
* The second part, i.e. [ - hh[:mm[:ss]]] is optional. If
omited, the expression specifies a specific time instead
of a range.
Examples:
* Sunday 10:00 - Sunday 11:00: The timer will trigger at a
random time between Sunday 10:00 and Sunday 11:00.
* Monday 9 - Friday 17: The timer will trigger at a random
time between Monday 9:00 and Friday 17:00.
* Friday 17 - Monday 9: The timer will trigger at a random
time between Friday 17:00 and Monday 9:00.
* Wednesday 4: The timer will trigger at 4:00 every
Wednesday.
Context
- MIB
- MX-EMS-MIB
- OID
.0.4700.1.150.300- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- timersGroup
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MX-EMS-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-EMS-MIB::weeklyTimeRange.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-EMS-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-EMS-MIB::weeklyTimeRange'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-50