User Tools

Site Tools


avaya:asm:prtg

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
avaya:asm:prtg [2026/06/10 06:32] reto.buergiavaya:asm:prtg [2026/06/10 06:51] (current) reto.buergi
Line 1: Line 1:
 ====== PRTG Check Script ====== ====== PRTG Check Script ======
  
 +  vi /sbin/monitoring.sh
 Script to execute by PRTG via ssh:\\ Script to execute by PRTG via ssh:\\
   #!/bin/sh   #!/bin/sh
Line 21: Line 21:
           if [ -z "$status" ];then           if [ -z "$status" ];then
                   echo 0:0:All SIP Entities UP                   echo 0:0:All SIP Entities UP
 +          elif [[ $status == *"PARTIALLYUP: [NovaAlert" ]];then
 +                  echo 0:0:"All SIP Entities UP | Novalert Cold Standby"
           else           else
                   down=`${smconsole} MONITOR Down`                   down=`${smconsole} MONITOR Down`
Line 44: Line 46:
   chown -R prtg /var/prtg   chown -R prtg /var/prtg
   chmod 755 /sbin/monitoring.sh   chmod 755 /sbin/monitoring.sh
 +Setup Public Key Authentication:
 +  su - prtg
 +  ssh-keygen -t rsa
 +  vi .ssh/authorized_keys   ##Copy Public Key from PRTG Server to File
 +  
 +\\
 +Testing:
 +  su - prtg
 +  /var/prtg/scripts/monitoring.sh sipentities
  

This topic does not exist yet

You've followed a link to a topic that doesn't exist yet. If permissions allow, you may create it by clicking on Create this page.

avaya/asm/prtg.1781065932.txt.gz · Last modified: by reto.buergi