[Nagios-users] check_disk output
Hi all! I am observing the following output on one of my virtual machines: atlantis:~# /usr/local/nagios/libexec/check_disk -w 20% -c 10% -p / -p /drbd/ DISK OK - free space: / 796 MB (23% inode=69%); /drbd 9094 MB (94% inode=96%);| /=2575MB;2840;3195;0;3551 /drbd=482MB;8071;9080;0;10089 This is the configuration that I have in /usr/local/nagios/etc/nrpe.cfg: command[check_disk]=/usr/local/nagios/libexec/check_disk -w 15% -c 10% -p / - /drbd According to the output of the plugin, there is a 23% free, but still it is returning a WARNING state, which would not be consistent. This is the output of df, which is also 23% free for /: atlantis:~# df -h S.ficheros TamaƱo Usados Disp Uso% Montado en rootfs 3,5G 2,6G 797M 77% / udev 10M 0 10M 0% /dev tmpfs 50M 240K 50M 1% /run /dev/disk/by-uuid/cbe1a04f-fd01-4ea9-aeb0-3844ad04ccc3 3,5G 2,6G 797M 77% / tmpfs5,0M 4,0K 5,0M 1% /run/lock tmpfs197M 197M 4,0K 100% /run/shm /dev/drbd0 9,9G 483M 8,9G 6% /drbd Inconsistency may have to do with the existence of symbolic links to directories in /drbd? Thanks in advance for your reply. Regards, Daniel -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Squeeze - Linux user #188.598 signature.asc Description: Digital signature -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk___ 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
[Nagios-users] check_openmanage and pdisk_cert blacklist question
I have been using the check_openmanage Nagios plugin for several years and am very happy with the way it works. However, I do have a question about one of the blacklist items, specifically the pdisk_cert item. This question arose because I noticed a difference between the way check_openmanage reports a non-Dell certified disk in the "Failure Predicted" condition, depending on whether the disk is connected via an older PERC card (e.g., PERC 6/E) vs. a new PERC card (e.g., H810). I would like to get Trond's and the community's opinion on how the pdisk_cert blacklist item should be interpreted. I am running check_openmanage version 3.7.11/Nagios 3.2.3/Dell OMSA 7.1.0/Ubuntu 12.04. I have two PowerEdge 2950 servers each with their own MD1000. Each MD1000 has a mix of Dell-certified and non-certified disks. One server uses a PERC 6/E card to connect to its MD1000, while the other server uses a PERC H810 card to connect to its MD1000. I am using the same check_openmanage command to check both servers: $USER1$/check_openmanage -H $HOSTADDRESS$ -b pdisk_cert=all On the server with the PERC 6/E card, I got the expected status when a disk was in the "Failure Predicted" state: Physical Disk 0:0:2 [Dell ST31000640SS, 1.0TB] on ctrl 1 is Online, Failure Predicted However, my other server, with the H810 card, also has a disk that Dell OMSA is reporting as "Failure Predicted". Despite that problem I get an "OK" message, using the same check_openmanage command: OK - System: 'PowerEdge 2950 III', SN: 'XXX', 8 GB ram (4 dimms), 2 logical drives, 17 physical drives If I run check_openmanage without the blacklist, I see the problem disk as: Physical Disk 0:0:13 [Seagate ST31000640SS, 1.0TB] on ctrl 1 is Online, Failure Predicted, Not Certified So, it appears that the "pdisk_cert=all" blacklist is suppressing both warnings about the disk, i.e., the fact that it is "Not Certified" as well as the fact that it is also "Failure Predicted". To get an idea of what I should expect the pdisk_cert blacklist to do, I consulted both the check_openmanage web page( http://folk.uio.no/trondham/software/check_openmanage.html) and the check_openmanage man page. The check_openmanage web page says that the pdisk_cert blacklist will "Ignore warnings for non-certified physical drives". I guess one could interpret that as saying "Ignore *all* warnings related to non-certified physical drives", which would include "Failure Predicted", because that is a "Warning" condition. On the other hand, the check_openmanage man page says that pdisk_cert blacklist will "Suppress warning message about non-certified physical disk." I would interpret the meaning of that a little bit differently, i.e., it will suppress *only* the warning about being non-certified, but report other warnings, e.g., "Failure Predicted". So, here is my question to the people in the Nagios community using check_openmanage with pdisk_cert: Are you expecting that check_openmanage will suppress *all* warnings about non-certified disks or that it will suppress *only* the non-certified warning, but report other warnings, such as "Failure Predicted"? I welcome comments or corrections to my interpretation of the pdisk_cert documentation/behavior. Thank you. -- Russell Kackley Subaru Telescope Hilo, Hawaii -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk___ 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
Re: [Nagios-users] Odd Problem with check_yum on one server...
It would appear to be an selinux problem. On Mon, Sep 16, 2013 at 4:43 AM, Andreas Ericsson wrote: > On 2013-09-13 19:46, Sean Alderman wrote: > >> I apologize... I should have pasted that, but I thought the fact that I >> could execute the check_yum script as the nrpe user on the host with the >> problem would have implied that it functions as expected. Yum is located >> where we would expect it to be on a standard CentOS machine. >> >> > Then it seems like you're running nrpe in a chroot jail or a limited > container, where /usr/bin/yum doesn't exist. > > -- > Andreas Ericsson andreas.erics...@op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > Considering the successes of the wars on alcohol, poverty, drugs and > terror, I think we should give some serious thought to declaring war > on peace. > -- Sean M. Alderman Senior Engineer, UDit Systems Integration and Engineering University of Dayton 300 College Park Dayton, Ohio 45469-1530 (937) 229-5088 salderm...@udayton.edu *"We are not some casual and meaningless product of evolution. Each of us is the result of a thought of God. Each of us is willed. Each of us is loved. Each of us is necessary."* - BXVI -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk___ 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
Re: [Nagios-users] Odd Problem with check_yum on one server...
On 2013-09-13 19:46, Sean Alderman wrote: > I apologize... I should have pasted that, but I thought the fact that I > could execute the check_yum script as the nrpe user on the host with the > problem would have implied that it functions as expected. Yum is located > where we would expect it to be on a standard CentOS machine. > Then it seems like you're running nrpe in a chroot jail or a limited container, where /usr/bin/yum doesn't exist. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk ___ 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