Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hardware:majak [2016/02/23 21:39]
admin
hardware:majak [2016/02/28 01:45] (current)
admin
Line 9: Line 9:
  
  
-Overit funkcnost majaku na strane serveru muzete na dvou kontrolnich mistech+====== ​Overit funkcnost majaku ​====== 
 + na strane serveru muzete na dvou kontrolnich mistech
 1. zapsat primo na /​dev/​ttyUSB0 1. zapsat primo na /​dev/​ttyUSB0
    echo start_blink > /​dev/​ttyUSB0    echo start_blink > /​dev/​ttyUSB0
Line 36: Line 37:
 Connection closed. Connection closed.
 root@cerna-ng:/​etc/​init.d# ​ root@cerna-ng:/​etc/​init.d# ​
 +</​code>​
 +
 +====== Konfigurace nagiosu ======
 +<​code>​
 +define command {
 +        command_name ​   notify-by-majak
 +        command_line ​   /​usr/​bin/​printf "​%b"​ "Neco je $SERVICESTATE$"​ | nc 10.0.5.5 6555
 +        }
 </​code>​ </​code>​
  
 
hardware/majak.1456259996.txt.gz · Last modified: 2016/02/23 21:39 by admin