Build precise queries to find exactly what you need
Press ESC to close
@bostonsean
Favorites0
Views
Projects0
We have 2 different Nagios installs, one is 3.4.4 and one is 3.5.0. On 3.4.4 Check_F5_Platform.pl shows the entire return in the nagios UI, ex: CPU-1 39?C, CPU-2 38?C, FAN-1 ok, FAN-2 ok, FAN-3 ok, POWER-SUPPLY-1 ok, POWER-SUPPLY-2 ok, Chassis-Temperature-1 28?C, Chassis-Temperature-2 32?C, Chassis-Temperature-3 33?C, Chassis-Temperature-4 30?C On 3.5.0 it's cut off after "CPU-1 39". I removed those special chars from the script and Nagios now displays the output properly.
Reviewed 12 years ago
We run tons of nfs mounts across many machines and those mounts sometimes change based on needs so I made a slight modification to avoid the need to keep track of the mountpoints to provide as args. Especially since it's likely no one will tell me beforehand. Before the while case loop I did: MPS=`grep nfs /etc/fstab | grep -v '^#' | awk '{print $2}' | tr 'n' ' '` then commented out the /*MPS line in the case block.
Reviewed 13 years ago