Hi Thomas, Thanks for your reply.
I don't believe the -X option will work, because the CD partitions are UFS, as are the disk partitions we want to monitor. The -x option is only a workaround if we want to specify the most frequently used CDs in ourcheck command.
Thanks - Ivan. On Fri, 30 Dec 2005 [EMAIL PROTECTED] wrote:
With "check_disk" from plugins version 1.4 beta1 (propably other versions too), you may exclude ONE filesystem with the option "-x", or complete filsystem TYPES, with the option "-X". "-X" should work for your problem. As the plugin help says, the option "-X" is repeatable, so that you may exclude more than ONE filesystem type (e.g. floppy, cdroms,...). Interestingly, you may exclude a LIST of filesystem types, but only one filesystem. I think sooner or later, I?ll modify the plugin for my use, to exclude a list of filesystems or to exclude filesystems by pattern. Please let me know if someone did so, or has a better idea :) Greetz Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de E-Mail: [EMAIL PROTECTED] -----Urspr?ngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Ivan Fetch Gesendet: Freitag, 30. Dezember 2005 18:40 An: nagios-users@lists.sourceforge.net Betreff: [Nagios-users] check disk and UFS cdroms Hello, I've discovered this post from 2004, but have yet to find a solution. Does anyone else have a way of dealing with this?: http://article.gmane.org/gmane.network.nagios.plugins.devel/2984 Basically, CDs mounted under solaris contain the name of the CD in the mount point and device name, so there is no way to use the -x or -X options to check_disk to exclude all potentual CD mounts. For example: /vol/dev/dsk/c0t6d0/sol_8_204_sparc/s2 114 4 100 4% /cdrom/sol_8_204_sparc/s2 Is anyone else dealing with the same issue? Thanks - Ivan Fetch. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null