[Nagios-users] check_nt/PNP questions...
New installation of the latest PNP on 2.X Nagios. My question has to do with the behavior of check_nt. I have a check defined for Trans/sec on SQL. I can run it like so: ./check_nt -H sql -p 5667 -v COUNTER -l \\SQLServer:Databases(_Total)\ \Transactions/sec,Transactions/sec %f And the output is: Transactions/sec 3 | 'Transactions/sec %f'=3.013140%;0.00;0.00; Is there a way to make check_nt NOT turn the number into a percentage? My second question has to do with the output I've gotten into PNP. Some of my counters that do use percentages, CPU for example, are showing weird averages or maxs like 272% CPU as a max load. Why would this happen and how would I fix the data in the rrd? Thanks! -- Mike Neuharth mjn[AT]umn[DOT]edu Server Operations Manager phn: 612.625.1957 cal: http://tinyurl.com/3jc2v = College of Food, Agricultural, and Natural Resource Sciences University of Minnesota http://www.cfans.umn.edu/ smime.p7s Description: S/MIME cryptographic signature - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ 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] Trouble-shooting nagiosgrapher
Thanks for the response, Lars. This, unfortunately, has not resolved the issue. My directory structure looks like this: [EMAIL PROTECTED] nagios]# ls -lahR rrd/: total 24K drwxrwxr-x 3 nagios apache 4.0K 2008-04-24 15:02 . drwxrwxr-x 3 nagios apache 4.0K 2008-04-24 12:20 .. drwxrwxr-x 2 nagios apache 4.0K 2008-04-24 15:02 linux_narsil rrd/linux_narsil: total 16K drwxrwxr-x 2 nagios apache 4.0K 2008-04-24 15:02 . drwxrwxr-x 3 nagios apache 4.0K 2008-04-24 15:02 .. But the error message is exactly the same. Other thoughts? One other question that strikes me: where should I be seeing the perf logging? in ngraph.log? All I see is the startup text from yesterday...is there a debugging setting/approach that will tell me whether collect2.pl is working at all? I see that even though I've restarted this AM, there is no logging whatever happening to ngraph.log Thanks! -- Mike Neuharth mjn[AT]umn[DOT]edu Server Operations Manager phn: 612.625.1957 cal: http://tinyurl.com/3jc2v = College of Food, Agricultural, and Natural Resource Sciences University of Minnesota http://www.cfans.umn.edu/ On Apr 24, 2008, at 2:56 PM, Lars Stavholm wrote: mjn wrote: Is there any decent documentation for nagiosgrapher or boards that I can search that are not in german? I've got it setup and configured but the one graph that I've configured give me an image with this error: RRD Error: opening /var/lib/nagios/rrd/linux_narsil/': Permission denied That dir is: [EMAIL PROTECTED] nagios]# ls -lahR .: total 24K drwxr-xr-x 3 root root 4.0K 2008-04-24 12:20 . drwxr-xr-x 42 root root 4.0K 2008-04-24 12:20 .. drwxr-xr-x 3 nagios apache 4.0K 2008-04-24 13:22 rrd Group writable maybe. ./rrd: total 24K drwxr-xr-x 3 nagios apache 4.0K 2008-04-24 13:22 . drwxr-xr-x 3 root root 4.0K 2008-04-24 12:20 .. drwxr-xr-x 2 nagios nagios 4.0K 2008-04-24 13:22 linux_narsil Group apache and group writable maybe. ./rrd/linux_narsil: total 16K drwxr-xr-x 2 nagios nagios 4.0K 2008-04-24 13:22 . drwxr-xr-x 3 nagios apache 4.0K 2008-04-24 13:22 .. I'd appreciate a kick in the right direction or some a decent howto... Hope the above helps. I do believe your web instance of nagios is run by the apache user, so you have to make sure that the directory permissions allows the apache process to write and create files. /L - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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 smime.p7s Description: S/MIME cryptographic signature - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ 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] Trouble-shooting nagiosgrapher
Is there any decent documentation for nagiosgrapher or boards that I can search that are not in german? I've got it setup and configured but the one graph that I've configured give me an image with this error: RRD Error: opening /var/lib/nagios/rrd/linux_narsil/': Permission denied That dir is: [EMAIL PROTECTED] nagios]# ls -lahR .: total 24K drwxr-xr-x 3 root root 4.0K 2008-04-24 12:20 . drwxr-xr-x 42 root root 4.0K 2008-04-24 12:20 .. drwxr-xr-x 3 nagios apache 4.0K 2008-04-24 13:22 rrd ./rrd: total 24K drwxr-xr-x 3 nagios apache 4.0K 2008-04-24 13:22 . drwxr-xr-x 3 root root 4.0K 2008-04-24 12:20 .. drwxr-xr-x 2 nagios nagios 4.0K 2008-04-24 13:22 linux_narsil ./rrd/linux_narsil: total 16K drwxr-xr-x 2 nagios nagios 4.0K 2008-04-24 13:22 . drwxr-xr-x 3 nagios apache 4.0K 2008-04-24 13:22 .. I'd appreciate a kick in the right direction or some a decent howto... Thanks! -- Mike Neuharth mjn[AT]umn[DOT]edu Server Operations Manager phn: 612.625.1957 cal: http://tinyurl.com/3jc2v = College of Food, Agricultural, and Natural Resource Sciences University of Minnesota http://www.cfans.umn.edu/ smime.p7s Description: S/MIME cryptographic signature - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ 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] Issues getting check_nt -v COUNTERS to work...
All- For whatever reason, I cannot get a check_nt -v COUNTER check to work through nagios itself. I can run this: [EMAIL PROTECTED] plugins]# sudo -u nagios ./check_nt -H 192.168.110.84 -p 5667 -v COUNTER -l \\SQLServer:General Statistics\\User Connections And it responds with: 53 But with the check defined (details below) and run through nagios, the GUI shows critical and Name or service not known Any idea what the issue might be? I am sure I've missed something simple... Here's the grit: nagios-plugins-nt-1.4.11-2.fc8 check_nt v1590 (nagios-plugins 1.4.11) nagios-2.11-3.fc8 opmon 2.7.1.0 SQL Connections Check: define command { command_name check_nt_mssql_conns command_line $USER1$/check_nt -H %HOSTADDRESS% -p $ARG1$ -v COUNTER -l \\SQLServer:General Statistics\\User Connections } Service Definition: define service { use informational-service host_name sql service_description MS_SQL_User_Connections contact_groups windows-admins check_command check_nt_mssql_conns!5667 } -- Mike Neuharth mjn[AT]umn[DOT]edu Server Operations Manager phn: 612.625.1957 cal: http://tinyurl.com/3jc2v = College of Food, Agricultural, and Natural Resource Sciences University of Minnesota http://www.cfans.umn.edu/ smime.p7s Description: S/MIME cryptographic signature - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ 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_sql and --show
Anyone know whether it is possible to get multi-line output from the the --show option of check_sql? Commandline output is: ./check_sql -H sqldev -d Sybase -p 1433 -U user -P pass -q 'select @@version' --show -l Version CHECK_SQL OK - SQL Server Version: Microsoft SQL Server 2005 - 9.00.3054.00 (Intel X86) Mar 23 2007 16:28:52 Copyright (c) 1988-2005 Microsoft Corporation Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 2) (0.037617 seconds) | time=0.037617s;; However, the service detail screen only shows this: P1.PL OK - SQL Server Version: Microsoft SQL Server 2005 - 9.00.3054.00 (Intel X86) I would really like to still see the response time and would very much like the service pack information to display through the web as well. Anyone know of a way to do this or another plugin that would do it? -- Mike Neuharth [EMAIL PROTECTED] Server Operations Manager phn: 612.625.1957 cal: http://tinyurl.com/3jc2v = College of Food, Agricultural, and Natural Resource Sciences University of Minnesota http://www.cfans.umn.edu/ smime.p7s Description: S/MIME cryptographic signature - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ 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] Bloody selinux on Fedora 8
Nagios folks- Has anyone resolved all of the selinux issues when installing nagios on Fedora 8? Specifically, I am getting these: type=AVC msg=audit(1200663995.088:64): avc: denied { read } for pid=3488 comm=ping name=nagios.cmd dev=dm-0 ino=16652317 scontext=system_u:system_r:ping_t:s0 tcontext=system_u:object_r:nagios_log_t:s0 tclass=fifo_file type=AVC msg=audit(1200657768.283:14207): avc: denied { read } for pid=7676 comm=sendmail name=nagios.cmd dev=dm-0 ino=16652317 scontext=system_u:system_r:sendmail_t:s0 tcontext=system_u:object_r:nagios_log_t:s0 tclass=fifo_file I don't know what effect the ping denies are having but all of my e- mail and page alerts are coming across with no content (I know they are from nagios because of the from-address but there is no subject or body text). I followed this handy guide: http://www.rickwargo.com/2006/10/29/fc6-selinux-and-nagios/ But my problem persists. I've searched around and haven't found much that is helpful on the SELinux front as far as taking audit data and correcting your policies to allow things. Has anyone else either had experience with SELinux and can help me correct these problems or is there a set of instructions geared more toward newer versions of Fedora that would provide the information? Some system information: Fedora 8 2.6.21-2952.fc8xen SMP nagios-2.10-5.fc8 nagios-plugins-*-1.4.8-9.fc8 checkpolicy-2.0.4-1.fc8 policycoreutils-2.0.33-3.fc8 selinux-policy-devel-3.0.8-73.fc8 selinux-policy-targeted-3.0.8-73.fc8 selinux-policy-3.0.8-73.fc8 policycoreutils-gui-2.0.33-3.fc8 Thanks! -- Mike Neuharth [EMAIL PROTECTED] Server Operations Manager phn: 612.625.1957 cal: http://tinyurl.com/3jc2v = College of Food, Agricultural, and Natural Resource Sciences University of Minnesota http://www.cfans.umn.edu/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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