Come monitorare lo stato di Sophos RED via SSH in PRTG | GOLINE
Goline Logo



  • Route RPKI validation April 1st, 2022
    RPKI is a security framework by which network owners can validate and secure the critical route updates or Border Gateway Protocol (BGP) announcements between public Internet networks. BGP is essentially the central nervous system of the Internet and one of its fundamental building blocks. The main function of BGP is to facilitate efficient routing between Autonomous Systems (AS), by building and maintaining the Internet routing table. The Internet routing table is effectively the navigation system of the Internet and without it, traffic would be unable to flow between its constituent networks. Unfortunately, routing equipment alone cannot distinguish between legitimate and malicious routing announcements,...
  • RIPE – Atlas Anchor February 17th, 2022
    We have become an even more integral part of the RIPE Atlas project by hosting an anchor, a device that allows for latency analysis of traffic between autonomous systems. Atlas anchors play an integral role in the RIPE Atlas network by acting both as enhanced RIPE Atlas probes with more measurement capacity, as well as regional measurement targets within the greater RIPE Atlas network. Anchors are able to perform many more measurements than a regular RIPE Atlas probe, and the large amount of data they collect is made available to everyone. In addition, anchors act as powerful targets that can...
  • MANRS June 20th, 2020
    GOLINE firmly believes in initiatives to protect networks, improve security and resilience of the global routing system. Therefore we decided to support the MANRS project and join as participants.Mutually Agreed Norms for Routing Security (MANRS) is a global initiative, supported by the Internet Society, that provides crucial fixes to reduce the most common routing threats. MANRS offers specific actions via four programs for Network Operators, Internet Exchange Points, CDN and Cloud Providers, and Equipment Vendors. Requirements for Participation Please read the full MANRS Actions document before applying. You can become a participant if you meet these requirements: You (or your company) support...

Come monitorare lo stato di Sophos RED via SSH in PRTG

Paolo Caparrelli Sophos 22 June 2022

All'interno della directory /var/sec/chroot-httpd/tmp/red/server ci sono alcuni file con l'ID dei dispositivi RED.

-rw-r–r– 1 root root 4705 Sep 16 16:25 red_config_A320086FD64F0F4
-rw-r–r– 1 root root 4701 Sep 16 16:25 red_config_A32009F3A854FF7
-rw-r–r– 1 root root 5671 Sep 16 16:25 red_config_A3200F4751D00F8
-rw-r–r– 1 root root 5704 Sep 16 16:25 red_config_A3200FA107E50D6
-rw-r–r– 1 root root 185 Sep 16 16:30 red_state_A320086FD64F0F4
-rw-r–r– 1 root root 181 Sep 16 16:30 red_state_A32009F3A854FF7
-rw-r–r– 1 root root 182 Sep 16 16:30 red_state_A3200F4751D00F8
-rw-r–r– 1 root root 182 Sep 16 16:30 red_state_A3200FA107E50D6

Questi file contengono informazioni in real-time sullo stato dei vari RED:


Con PRTG eseguiamo uno script SSH con l'utente loginuser che identifica la stringa online e riportiamo il result code di PRTG:

"0:100:RED is online"
"0:200:RED is offline"

Gli script sono contenuti in questa directory:

astaro:/var/prtg/scripts #

Esempio di script per monitorare la connessione di Pompei:

if grep -q online "$file"; then
echo "0:100:RED is online"
echo "2:200:RED is offline"


0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x