Hello please help me with the best alert rule for new fast-ping checks.
I did this steps.
Set ping_rrd_step
$config[‘ping_rrd_step’] = 30;
Update the rrd files
./scripts/rrdstep.php -h all
Update cron (removing any other ping.php or alert.php entries)
-
-
-
-
- librenms /opt/librenms/ping.php >> /dev/null 2>&1
-
-
-
-
-
-
-
- librenms sleep 30 && /opt/librenms/ping.php >> /dev/null 2>&1
-
-
-
-
-
-
-
- librenms sleep 15 && /opt/librenms/alerts.php >> /dev/null 2>&1
-
-
-
-
-
-
-
- librenms sleep 45 && /opt/librenms/alerts.php >> /dev/null 2>&1
-
-
-
$config[‘fping_options’][‘retries’] = 2;
$config[‘fping_options’][‘timeout’] = 500;
$config[‘fping_options’][‘interval’] = 500;
So I am done with this.
For now I am using this alert rule
What you think will be this alert rule OK for new fast-ping check or I will be need to edit my alert rule. When yes please help me with setting up correct alert rule. Thank you.