Difference between revisions of "Monitoring"

From neil.tappsville.com
Jump to navigationJump to search
m
 
Line 25: Line 25:
  
  
==LibreNMA==
+
==LibreNMS==
  
 
Generate an Alarm (aka re-raise it)
 
Generate an Alarm (aka re-raise it)

Latest revision as of 21:42, 2 June 2020

Check Firewall

  • UDP
[ ~]$ nc -v -u -z -w 3 targethost 25826
Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Connected to 192.168.1.2:25826.
Ncat: UDP packet sent successfully
Ncat: 1 bytes sent, 0 bytes received in 2.03 seconds.
[ ~]$ nc -v -u -z -w 3 targethost 25828
Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Connected to 192.168.1.2:25828.
Ncat: Connection refused.


WAN monitoring - Ethernet OAM - Y.1731

Essentially a formalised version of Cisco SAA probes You really want to use the two way delay probes but this requires hardware at both ends with accurate clocks and support for it.


LibreNMS

Generate an Alarm (aka re-raise it)

./test-alert.php -r 8 -d -h host

Validate Transport logic but doesnt send anything

./test-template.php -t 0 -h host -r 8 -d