15.10.2018, 20:31
If, as I said, the devices are connected to the network and have communication, but as the hours pass, the updates of the variables are no longer received and the message of:
Resident script: 16: netsnmp: Unknown host (192.168.0.111) stack traceback: [C]: in function 'assert'
The message told me that the communication was lost, but I could access the UPS and verify that it was working normally.
As I was saying, I had to disable and enable the script so that the reading of variables works again.
This is a ping that I made to the UPS
PING 192.168.0.111 (192.168.0.111): 56 data bytes
64 bytes from 192.168.0.111: seq = 0 ttl = 64 time = 1.401 ms
64 bytes from 192.168.0.111: seq = 1 ttl = 64 time = 0.623 ms
64 bytes from 192.168.0.111: seq = 2 ttl = 64 time = 0.721 ms
64 bytes from 192.168.0.111: seq = 3 ttl = 64 time = 0.638 ms
--- 192.168.0.111 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min / avg / max = 0.623 / 0.845 / 1.401 ms
On the other hand, even though I have a MIB file loaded, I get this error:
* string: Failed to load mib: mib: can not add mib
But even so, the variables are updated, only after several hours, the information is no longer updated.
Resident script: 16: netsnmp: Unknown host (192.168.0.111) stack traceback: [C]: in function 'assert'
The message told me that the communication was lost, but I could access the UPS and verify that it was working normally.
As I was saying, I had to disable and enable the script so that the reading of variables works again.
This is a ping that I made to the UPS
PING 192.168.0.111 (192.168.0.111): 56 data bytes
64 bytes from 192.168.0.111: seq = 0 ttl = 64 time = 1.401 ms
64 bytes from 192.168.0.111: seq = 1 ttl = 64 time = 0.623 ms
64 bytes from 192.168.0.111: seq = 2 ttl = 64 time = 0.721 ms
64 bytes from 192.168.0.111: seq = 3 ttl = 64 time = 0.638 ms
--- 192.168.0.111 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min / avg / max = 0.623 / 0.845 / 1.401 ms
On the other hand, even though I have a MIB file loaded, I get this error:
* string: Failed to load mib: mib: can not add mib
But even so, the variables are updated, only after several hours, the information is no longer updated.