Device restarted (uptime low)-radware-alteon-os
Indeni will alert when a device has restarted.
Determine why the device was restarted.
How does this work?
This script uses the REST API to retrieve the uptime of the device.
Why is this important?
Capture the uptime of the device. If the uptime is lower than the previous sample, the device must have reloaded.
Without Indeni how would you find this?
An administrator could manually get this information by issuing the command “/cfg/sys/cur”.
name: radware-api-config-sysUpTime description: Get the system uptime type: monitoring monitoring_interval: 1 minute requires: os.name: alteon-os vendor: radware comments: uptime-milliseconds: why: "Capture the uptime of the device. If the uptime is lower than the previous\ \ sample, the device must have reloaded. \n" how: | This script uses the REST API to retrieve the uptime of the device. can-with-snmp: true steps: - run: type: HTTP command: /config/sysUpTime parse: type: JSON file: sysUpTime.parser.1.json.yaml
Failed to fetch the data: https://bitbucket.org/indeni/indeni-knowledge/src/master/rules/templatebased/crossvendor/cross_vendor_uptime_low.scala