User Tools

Site Tools


tools:ipdr_watchdog

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
tools:ipdr_watchdog [2024/05/21 12:00] vigneshtools:ipdr_watchdog [2024/05/24 13:06] (current) vignesh
Line 1: Line 1:
 ====== IPDR Watchdog ====== ====== IPDR Watchdog ======
  
 +{{ :tools:ipdr_watchdog_1_.png?200 |}}\\
 **What is the use of this tool ?** **What is the use of this tool ?**
   Real time IPDR monitoring system that alerts when IPDR is down by sending email and syslog.   Real time IPDR monitoring system that alerts when IPDR is down by sending email and syslog.
Line 13: Line 13:
   * You can run this script for netflow as well as tap mode. You have to provide this in argument   * You can run this script for netflow as well as tap mode. You have to provide this in argument
   * It checks each engine is flushing or not by fetching each engine log entries and checks the flush is not empty    * It checks each engine is flushing or not by fetching each engine log entries and checks the flush is not empty 
-  * If the sytem is down you receive an alert , likewise if the system is up from down status you will receive an alert +  * If the system is down you receive an alert , likewise if the system is up from down status you will receive an alert 
   * The script deliver the alert log to the syslog . You have to configure the email to receive mail.   * The script deliver the alert log to the syslog . You have to configure the email to receive mail.
  
Line 24: Line 24:
   * Go to profile0 -> All groups alert -> and click edit option -> change Send to Syslog/Email to Alert    * Go to profile0 -> All groups alert -> and click edit option -> change Send to Syslog/Email to Alert 
   * Log into trisul server and assign a cronjob to run ipdr_watchdog script or you can run manually.   * Log into trisul server and assign a cronjob to run ipdr_watchdog script or you can run manually.
 +<note important>Run cronjob as root user</note>
  
 **Options** **Options**
Line 34: Line 34:
 | -t                   70                Fixed seconds | | -t                   70                Fixed seconds |
 | -r                                  |  Router        | | -r                                  |  Router        |
-| -f                                   Flow          |+| -f                                   Flow          |
 If the trisul is running in netflow mode then run the script with -f option or -r option if it is running with tap mode  If the trisul is running in netflow mode then run the script with -f option or -r option if it is running with tap mode 
  
tools/ipdr_watchdog.1716273015.txt.gz · Last modified: 2024/05/21 12:00 by vignesh