Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory

scheppa

Reviews(2)
byscheppa, March 20, 2018
Replaced:
$warningPercent = 95
$criticalPercent = 99

with:
param(
[parameter(Mandatory=$true)]
[alias("w")]
$warningPercent,
[parameter(Mandatory=$true)]
[alias("c")]
$criticalPercent
)
byscheppa, September 26, 2017
1 of 1 people found this review helpful
I've added Perfdata to the check:
section "Calcul des taux de Broadcast des Switch" Line 205 insert:
PERF="$PERF Interface$((num + 1))=$nb_NUnicastPackets;$NB_WARNING;$NB_CRITICAL;;"
and in section "Envoi des codes retour et du message"
change following lines:
306: echo "Etat broadcast : $STATE|&PERF"
310: echo "Etat broadcast : $STATE|&PERF"
314: echo "Etat broadcast : $STATE|&PERF"
320: echo "Etat broadcast OK: Pas de communication ou broadcast sur la ou les interfaces surveillée(s)|$PERF"
322: echo "Etat broadcast : toutes interfaces OK|$PERF"
Owner's reply

Yes cool, thanks