Nagios Exchange
  • Home
  • Directory
  • About

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up
Plugins4387Themes and Skins11Add-ons732Documentation283Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
Other Tutorials And HOWTOs Monitoring an Outlook Web Access site with Nagios
0.0 (0)
96.7K
RSS Feed
Newest Listings Updated Listings
Top Contributors
LAMY (7)Julien DESMAREST (6)deskwork_itunes142 (4)Davide Lemma (4)Joerg Hoerter (3)
See More
Newest Contributors
Guillaume8723 (1)Salvo (1)SOHA-IT (1)Tsvetomir Tsvetanov (1)Igor Ru (1)
See More
Home > Matthew Castanien
MC

Matthew Castanien

@linux_samurai

User Stats

Favorites0

Views

Projects0

No Projects Found
check_uptime

Works as expected

This checks does what is intended. A simple bash script that awk's the uptime with output being user-friendly. We have implemented this check on Red Hat & CentOS 5 servers.

Reviewed 14 years ago

check_yum

Works as expected in CentOS 5

I reviewed this scripts code and tested on several sandbox servers. I then implemented it on multiple CentOS 5.x environments with no problems. This plugin is definitely helpful with quickly pinpointing servers that haven't been patched. Additionally, I have it only checking every 24 hours, and have alerting turned off except business hours. Here is our service definition: -=-=-=-=-=-=-=-=-=-=-=-=-= define service{ use generic-service host_name hosta,hostb,hostc max_check_attempts 3 normal_check_interval 1440 retry_check_interval 120 notification_interval 1440 notification_period workhours service_description Check_Linux_Updates check_command check_nrpe!check_yum }

Reviewed 14 years ago

check mountpoints like nfs, cifs, davfs, lustre, ocf2, etc.

minor updates to make work with CIFS

We use Windows shared folders to mount as CIFS shares on our Linux servers for backups. The below modifications where made to get it working for our CIFS mount points. Overall, the script works as advertised, and I have tested (CentOS 5) to confirm the script properly errors when mount is not attached or if folder is moved. CHANGES: 1. Since our mounts are CIFS, we changed all occurrences of "nfs" to "cifs". 2. Commented out section checking fstab. I would prefer to see this as a function in the script and have it be an optional check if the mount point is in fstab. commented out: # awk '{if ($3=="cifs"){print $2}}' /etc/fstab | grep -q ${MP} &>/dev/null # if [ $? -ne 0 ]; then # log "WARN: ${MP} don't exists in /etc/fstab" # ERR_MESG[${#ERR_MESG[*]}]="${MP} don't exists in /etc/fstab" # fi

Reviewed 14 years ago

No Favorites Found

Copyright © 2009-2025 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks