Nagios – new user doesn’t get enabled permissions

Check out the Nagios FAQ at No permission to view configuration, which says: Description: If you click on “View Config” and you get: “””It appears as though you do not have permission to view the configuration information you requested… If you believe this is an error, check the HTTP server authentication requirements for accessing this … Read more

Displaying Nagios on a 52″ 1080p screen

I would highly recommend nagvis from here. This is a tremendous tool to display nagios data (from multiple nagios instances, if you want to) in a meaningful way. We also have such a TV on the wall, and we have around 10 different maps (that’s like pages with diagrams and icons on it) rotating every … Read more

How to check when yum update was last run

The yum history option allows the user to view what has happened in past transactions. To make it more simple you can grep Update from yum history # yum history Loaded plugins: fastestmirror, refresh-packagekit ID | Login user | Date and time | Action(s) | Altered ——————————————————————————- 41 | root <root> | 2012-04-27 20:17 | … Read more

Defining the email address which Nagios sends emails from

In a default Nagios install, it’s also defined in the host-notify-by-mail or service-notify-by-mail commands, which you’ll find in commands.cfg. The default would be something like: /bin/echo -e “$NOTIFICATIONTYPE$ – Service notification for $SERVICEDESC$ from host $HOSTNAME$ – $HOSTALIAS$\n$SERVICEDESC$: $SERVICEOUTPUT$\n” | /bin/mail -s ‘$NOTIFICATIONTYPE$/$SERVICESTATE$ – $HOSTNAME$/$SERVICEDESC$’ $CONTACTEMAIL$ So just add a -r sender@address option to the … Read more

What is the correct pronunciation of Nagios? [closed]

From the Nagios knowledge base FAQ: I pronounce Nagios as: nah-ghee-ose At least I think that’s how I pronounce it (damn phonetic spelling)… The “Na” sounds like “Nah”, “gi” sounds like the first part of “geese”, and “os” sounds like the last part of “verbose”. You can pronounce it however the heck you’d like. Alternative … Read more

NRPE unable to read output, but why?

You have a rights problem. Change the command to: command[check_openmanage]=sudo /usr/lib/nagios/plugins/additional/check_openmanage -s -e -b ctrl_driver=0 bat_charge (add sudo) Then, add the nagios-user to the sudoers: nagios ALL=(ALL) NOPASSWD:/usr/lib/nagios/plugins/additional/check_openmanage Or you could just chmod the file… That also works. If you are using CentOS, Red Hat, Scientific or Fedora, make sure to disable Defaults requiretty in … Read more

Munin vs Nagios

Munin and Nagios are really different tools. From the official Munin website: Munin is a networked resource monitoring tool that can help analyze resource trends and “what just happened to kill our performance?” problems. It is designed to be very plug and play. A default installation provides a lot of graphs with almost no work. … Read more