[Nagios-users] nrpe issue with solaris 9?
Hi folks, I am seeing an odd issue with nrpe check on solaris 9. from the solaris host: (nrpe 2.0) bash-2.05# grep check_fs /etc/nagios/nrpe.cfg command[check_fs]=/usr/lib/nagios/plugins/check_fs_space -w 85% -c 95% bash-2.05# /usr/lib/nagios/plugins/check_fs_space -w 85% -c 95% WARNING: /users is at 85%. bash-2.05# >From the nagios host: [EMAIL PROTECTED] ~]# /usr/lib/nagios/plugins/check_nrpe -H sanman -c check_fs File system utilization is OK Has anyone seen this? -- Luis E. Cerezo PGS Global Shared Services - IT *** This email and any files contained therein is confidential and may contain privileged information. If you are not the named addressee(s) or you have otherwise received this in error, you should not distribute or copy this e-mail or use any of its content for any purpose. Please notify the sender immediately by e-mail if you have received this e-mail in error and delete it from your system - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ 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] nrpe issue with solaris 9?
HI Andreas, We came to the same conclusion, except for who wrote the plugin. I think I got it nagios exchange. header info: # # Author: Todd Barbera # Date: 10/26/05 # Purpose: Report back to nagios file system usage What have you done to get around it? -luis On Fri, 2007-11-02 at 17:50 +0100, Andreas Ericsson wrote: > Luis Cerezo wrote: > > Hi folks, > > > > I am seeing an odd issue with nrpe check on solaris 9. > > > > from the solaris host: (nrpe 2.0) > > > > bash-2.05# grep check_fs /etc/nagios/nrpe.cfg > > command[check_fs]=/usr/lib/nagios/plugins/check_fs_space -w 85% -c 95% > > bash-2.05# /usr/lib/nagios/plugins/check_fs_space -w 85% -c 95% > > WARNING: /users is at 85%. > > bash-2.05# > > > >>From the nagios host: > > > > [EMAIL PROTECTED] ~]# /usr/lib/nagios/plugins/check_nrpe -H sanman -c > > check_fs > > File system utilization is OK > > > > > > Has anyone seen this? > > > About a billion times. You're running the check on the nrpe side as root, > but nrpe runs it as someone else, and the plugin is crap so it prints > "ok" when it fails to get the proper numbers. I'm guessing you wrote the > plugin check_fs_space yourself, and only tested it as root, right? > -- Luis E. Cerezo PGS Global Shared Services - IT 281.509.8397 *** This email and any files contained therein is confidential and may contain privileged information. If you are not the named addressee(s) or you have otherwise received this in error, you should not distribute or copy this e-mail or use any of its content for any purpose. Please notify the sender immediately by e-mail if you have received this e-mail in error and delete it from your system - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ 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] Problems Starting Nagios
are you sure your nagios process is run by nagios? why the setgid on rw? -luis Marc Powell wrote: > >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:nagios-users- >> [EMAIL PROTECTED] On Behalf Of Danilo Perdomo >> Sent: Wednesday, June 13, 2007 3:59 PM >> To: nagios-users@lists.sourceforge.net >> Subject: Re: [Nagios-users] Problems Starting Nagios >> >> I'm still getting an error, even though i have the permissions: >> >> drwxrwxrwx 4 nagios nagios 4096 2007-06-13 16:17 . >> drwxr-xr-x 11 nagios nagios 4096 2007-05-10 11:26 .. >> drwxrwxr-x 2 nagios nagios 4096 2007-05-10 11:24 archives >> -rw-rw-r-- 1 nagios nagios238 2007-06-12 17:40 comments.dat >> -rw-rw-r-- 1 nagios nagios239 2007-06-12 17:40 downtime.dat >> -rw-r--r-- 1 nagios nagios 0 2007-06-13 16:17 nagios.lock >> -rwxrwxrwx 1 nagios nagios 14268 2007-06-13 16:56 nagios.log >> -rwxrwxrwx 1 nagios nagios 118664 2007-06-13 16:56 objects.cache >> -rw--- 1 nagios nagios 162982 2007-06-13 16:17 retention.dat >> drwxrwsr-x 2 nagios nagios 4096 2007-06-13 12:08 rw >> >> [EMAIL PROTECTED]:/var/log# /usr/local/nagios/bin/nagios >> /usr/local/nagios/etc/nagios.cfg >> >> Nagios 2.7 >> Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) >> Last Modified: 01-19-2007 >> License: GPL >> >> Warning: Could not get passwd entry for 'nagiosadmin' >> > > Where is this coming from? Did you change 'nagios_user' in nagios.cfg > from the default of 'nagios'? That might explain why you don't have > permissions. What are the contents of the 'rw' directory? > > -- > Marc > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > 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 > -- Luis E. Cerezo PGS Global Shared Services - IT 281.509.8397 *** - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] check_ldap! not working right in services.cfg
is that an open parens or open curly bracket? -luis * Luis E. Cerezo 281.509.8397 GSS GlobalIT On Jun 19, 2007, at 9:42 AM, RR wrote: -- --- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] solaris check_disk util does not see mounts/disks...
which version of df is it expecting? ... sunfreeware? Solaris 9... bash-2.05$ df -h | grep users /dev/dsk/c3t1d1s3 340G 230G 107G69%/users bash-2.05$ mount | grep users /users on /dev/dsk/c3t1d1s3 read/write/setuid/intr/largefiles/logging/quota/xattr/onerror=panic/dev=1d8000b on Tue Nov 29 21:00:27 2005 bash-2.05$ ./check_disk -w 10% -c 2% -p /users Disk "/users" not mounted or nonexistant bash-2.05$ ./check_disk -w 10% -c 2% -p /users/ Disk "/users/" not mounted or nonexistant bash-2.05$ ./check_disk -w 10% -c 2% -p "/users" Disk "/users" not mounted or nonexistant bash-2.05$ ./check_disk -w 10% -c 2% -p"/users" Disk "/users" not mounted or nonexistant bash-2.05$ ./check_disk -w 10% -c 2% -p/users Disk "/users" not mounted or nonexistant bash-2.05$ ./check_disk Could not parse arguments Usage: check_disk -w limit -c limit [-p path | -x device] [-t timeout] [-m] [-e] [--verbose] check_disk (-h|--help) check_disk (-V|--version) bash-2.05$ ./check_disk -w 10% -c 2% -p /users --verbose */usr/local/bin/df -Pk /users ==> Disk "/users" not mounted or nonexistant* bash-2.05$ /usr/local/bin/df *bash: /usr/local/bin/df: No such file or directory* bash-2.05$ which df WARNING *** No CM login file - CM is not setup *** /usr/bin/df bash-2.05$ df -Pk *df: unknown option: P* Usage: df [-F FSType] [-abeghklntVv] [-o FSType-specific_options] [directory | block_device | resource] bash-2.05$ -- Luis E. Cerezo 281.509.8397 --- 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