Nagios and OP5 - writing a nrpe check script

In Ubuntu 16 the network interface naming is changed, so you won’t have your usual “ethX” naming.

Featured image

If you, for any reason, would like to revert back to the old behavior, do the following:

  • Add the following line to /etc/default/grub
GRUB_CMDLINE_LINUX="biosdevname=0 net.ifnames=0 biosdevname=0"
  • Run “sudo update-grub”
  •  Reboot

That’s all.