Difference between revisions of "Monitoring"

From neil.tappsville.com
Jump to navigationJump to search
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
 +
==Check Firewall==
 +
 +
* UDP
 +
<pre>
 +
[ ~]$ 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.
 +
</pre>
 +
  
 
===WAN monitoring - Ethernet OAM - Y.1731===  
 
===WAN monitoring - Ethernet OAM - Y.1731===  
Line 7: Line 23:
 
Essentially a formalised version of Cisco SAA probes
 
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.
 
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

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