Re: [Nagios-users] NSCA and Windows
Hi Gareth i remove the semi-colon on the last lines for example, i think the format is lost in the e-mail. [External Scripts] check_cpu=scripts\check_cpu.exe and [NSCA Commands] C:\NSCLIENT++\scripts\check_cpu.exe greetz Olly Von: Gareth Fletcher [gareth.fletc...@onenet.co.nz] Gesendet: Montag, 29. Maerz 2010 03:08 An: Klein, Oliver Betreff: RE: NSCA and Windows Hi Olly, Did you manage to find a solution for this? All the commands you pated below from your NSC.ini are commented out, you need to remove the semi-colon beforehand. Cheers Gareth Mit freundlichen Gruessen Oliver Klein System Engineer Tel:02506 / 93 20 214 Mobil: 0163-5932004 E-Mail: okl...@nccms.de NCC Noethen Computer Center GmbH Wolbecker Windmuehle 55 48167 Muenster Tel: 02506 93 20 0 FAX: 02506 93 20 20 E-Mail: i...@nccms.de Homepage: www.nccms.de Amtsgericht Muenster HRB 5036Geschaeftsfuehrer: Ralf Bakenecker Uwe-Christian Surma _ Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhaenge auf Viren zu pruefen. Anhaenge: _ Versand am 29.03.2010 09:21 von Klein Oliver Validation-Code: 4163033227071 -Original Message- From: Klein, Oliver [mailto:okl...@nccms.de] Sent: Monday, 29 March 2010 3:40 a.m. To: Nagios Users List Subject: Re: [Nagios-users] NSCA and Windows Hi plz help, nobody use the tnt_plugins with nsclient++? regards olly Mit freundlichen Gruessen Oliver Klein System Engineer Tel:02506 / 93 20 214 Mobil: 0163-5932004 E-Mail: okl...@nccms.de NCC Noethen Computer Center GmbH Wolbecker Windmuehle 55 48167 Muenster Tel: 02506 93 20 0 FAX: 02506 93 20 20 E-Mail: i...@nccms.de Homepage: www.nccms.de Amtsgericht Muenster HRB 5036Geschaeftsfuehrer: Ralf Bakenecker Uwe-Christian Surma _ Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhaenge auf Viren zu pruefen. Anhaenge: _ Versand am 28.03.2010 16:40 von Klein Oliver Validation-Code: 4050430246410 Von: Klein, Oliver [okl...@nccms.de] Gesendet: Freitag, 26. Maerz 2010 15:13 An: Nagios Users List Betreff: Re: [Nagios-users] NSCA and Windows [cid:ncc-logo.jpg] Hi Kevin, thx i think that is what we need. But I have some problems to get this plugins work with nsclient. Any idea about this? This is the error massage in syslog on the nagios server Mar 26 15:04:41 nagios nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;sonicwall2;C:\NSCLIENT++\scripts\check_cpu.exe;3;Command was not found: Mar 26 15:04:41 nagios nagios: Warning: Passive check result was received for service 'C:\NSCLIENT++\scripts\check_cpu.exe' on host 'sonicwall2', but the service could not be found! So I define the following option in the nsc.ini [External Scripts] ;check_es_long=scripts\long.bat ;check_es_ok=scripts\ok.bat ;check_es_nok=scripts\nok.bat ;check_vbs_sample=cscript.exe //T:30 //NoLogo scripts\check_vb.vbs ;check_powershell_warn=cmd /c echo scripts\powershell.ps1 | powershell.exe -command - check_cpu=scripts\check_cpu.exe [NSCA Commands] ;my_cpu_check=checkCPU warn=80 crit=90 time=20m time=10s time=4 ;my_mem_check=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=page ;my_svc_check=checkServiceState CheckAll exclude=wampmysqld exclude=MpfService ;host_check=check_ok C:\NSCLIENT++\scripts\check_cpu.exe I tested
Re: [Nagios-users] Checking Windows Backup (ntbackup)
On Fri, 26 Mar 2010 20:06:13 +, Joseph L. Casale jcas...@activenetwerx.com wrote: I've had a look around and I can't see a plugin for checking if a standard windows backup (using ntbackup) has been successful or not. A requirement has come up for me to monitor this on a Win XP based host. Am I missing something, or does someone have a plugin that will do this? I just finished revamping this very process. I used to use nsca but I wanted to use a better approach that was easier to maintain and didn't have unneeded deps on my Nagios server. At the start of my script, I bring a passive check into a warning state with an snmp trap, at the end of my script, I check exit codes and now send an snmp trap based on this code as to whether or not it failed or passed. How are you checking the exit code? Thanks, Glynne -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Nagios NRPE: Unable to read output
Hi Alen, Hi list, Your issue is related to the knowledge about configuring and using sudo commands, not with Nagios. Although, this knowledge is required for every Nagios plugins containing commands that need root permissions to be allowed to get executed. I know the “check_mem.pl” plugin requires the same kind of configuration. Setting up a sudo command means editing a user alias, a command alias, and then allow your user alias to run your command alias with some other user permission, ie the root user. The file you want to edit is /etc/sudoers, edit it with your vi editor by typing as root :visudo (should be located in /usr/sbin/ ) On AIX, you need the “rpm.rte” AIX package, and the sudo rpm coming from your “AIX toolbox for Linux Applications” CD or ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/ Edit this file as follow : Be carefull about the syntax, it has to be strictly respected : Add a user alias such as : User_Alias SU_TO_NAGIOS_PLUGINS_USER = nagios Make sure you are using a tabulation between User_Alias and the alias name, also make sure the U and A of User_Alias are uppercase. Add a command alias such as : Cmnd_AliasSU_TO_NAGIOS_PLUGINS = /usr/local/nagios/current/libexec/tsmonitor db (seems your path uses nagios instead of “nagios-plugins”) Again, make sure you are using a tabulation between Cmnd_Alias and the alias name, and that the C and A of Cmnd_Alias are uppercase. Then add the authorization such as : SU_TO_NAGIOS_PLUGINS_USER ALL = NOPASSWD: SU_TO_NAGIOS_PLUGINS This line will let the command “/usr/local/nagios/current/libexec/tsmonitor db “ run with root permissions. Save and exit, AIX will let you know if you have a syntax issue in your /etc/sudoers file, if this is the case, edit the file again to fix it. Now you can check user Nagios gained this permission by entering : su – nagios –c sudo –l - sudo –l(Lower L option to list your configured sudo commands) - su – nagios –c (to run the following command using nagios identity) you should see something like : User nagios may run the following commands on this host: (root) NOPASSWD: /usr/local/nagios/current/libexec/tsmonitor db Which means user nagios may run : sudo /usr/local/nagios/current/libexec/tsmonitor db Now you have to use this sudo command in your nrpe.cfg such as : command[tsmonitor_db]=sudo /usr/local/nagios/libexec/tsmonitor db Hope this helps!! Cheers, Quentin Marquez Unix / linux admin Global Technology Services Experian - Monaco Tel : (377) 97 98 54 27 From: Grizonic Alen [mailto:alen.grizo...@comparex.si] Sent: 29 March 2010 09:48 To: Marquez, Quentin Subject: RE: [Nagios-users] Nagios NRPE: Unable to read output Thank you very much! I changed the command in my nrpe.cfg file, but now looks like there is something else blocking the response. Even with a log timeout I get ... CHECK_NRPE: Socket timeout after XY seconds. I would think of a firewall blocking, but the other commands work and run very fast ... and apparently there is no firewall on that AIX machine. p.s. Maybe I missed something out ... what did you mean with »you would need to setup a sudo command«? Just change the command to ... command[tsmonitor_db]=sudo /usr/local/nagios/libexec/tsmonitor db ... or something else? If you have any idea I wuold be more than thankful! But really J Best regards, Alen From: Marquez, Quentin [mailto:quentin.marq...@experian.com] Sent: Friday, March 26, 2010 3:57 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios NRPE: Unable to read output Hi Alen, I don’t know much about this plugin, but it looks like your command requires root permission. Thus you would need to setup a sudo command to run /usr/local/nagios/libexec/tsmonitor db Then use your new sudo command in your nrpe.cfg : command[tsmonitor_db]=sudo /usr/local/nagios/libexec/tsmonitor db Cheers, Quentin From: Grizonic Alen [mailto:alen.grizo...@comparex.si] Sent: 26 March 2010 15:17 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios NRPE: Unable to read output Hello! I know that this post is nothing new, but I still didn't find any solution for it. I am working on a AIX 5.3 machine with NRPE running under inetd. On the local AIX machine the command for TSM works fine ... # ./tsmonitor db db - database utilization 0%, OK But when I start if from the Nagios server ... # ./check_nrpe -n -t 60 -H 172.21.100.121 -c tsmonitor_db NRPE: Unable to read output or from the AIX machine with the NRPE I get ... # ./check_nrpe -n -t 60 -H localhost -c tsmonitor_db NRPE: Unable to read output The nrpe.cfg file is properly configured with the commands command[tsmonitor_db]=/usr/local/nagios/libexec/tsmonitor db
Re: [Nagios-users] Checking Windows Backup (ntbackup)
How are you checking the exit code? With the %errorlevel% if in a batch file, or as my scripts are all powershell, $LASTEXITCODE as an example. With a conditional if it's not 0, I pass the specific trap back. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Checking Windows Backup (ntbackup)
On Mon, 29 Mar 2010 10:47:32 +, Joseph L. Casale jcas...@activenetwerx.com wrote: How are you checking the exit code? With the %errorlevel% if in a batch file, or as my scripts are all powershell, $LASTEXITCODE as an example. With a conditional if it's not 0, I pass the specific trap back. Care to share your scripts? Thanks, Glynne -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Checking Windows Backup (ntbackup)
Care to share your scripts? Most of the scripts are rather site specific, but here are some relevant parts (In this script, I let the passive check deduce the failure, others I send a CRITICAL update, just test for $LastExitCode -ne 0): $NTBackupDest = 'C:\Temp\Remote_SystemState.bkf' $NTBackupList = 'C:\Scripts\Backup\rsyncd\SystemState.bks' $NTBackupParam = 'backup' + ' ' + '@' + $NTBackupList + '' + ' /n DC - SystemState /d DC - SytemState /v:yes /r:no /rs:no /hc:off /m normal /j DC - SystemState /l:f /f ' + '' + $NTBackupDest + '' $NagiosSrv = '10.0.0.21' $TrapGenDef = 'Daily Backup - System State' Write-Host *** Informing Nagios a backup has begun *** -foregroundcolor Yellow -backgroundcolor Black $TrapParam = '-d' + ' ' + $NagiosSrv + ':162' + ' ' + '-c public -g 5 -s 23 -v 1.3.6.1.4.1.1824.1.0.0.1 STRING' + ' ' + '' + $TrapGenDef + '' + ' ' + '-v 1.3.6.1.4.1.1824.1.0.0.2 STRING WARNING -v 1.3.6.1.4.1.1824.1.0.0.3 STRING' + ' ' + '' + Running Backup - $(Get-Date) + '' cmd /c TrapGen.exe $TrapParam cmd /c ntbackup.exe $NTBackupParam If ($LASTEXITCODE -ne 0) { Write-Host NTBackup Failed, LastExitCode: $LastExitCode -foregroundcolor Red -backgroundcolor Black; Exit $LASTEXITCODE } My trap parsing script is a super hacked up version of this script: http://www.frank4dd.com/howto/nagios/windows-reboot-monitoring-nagios.htm Hth, jlc -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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_snmp does not provide performance data ??
Am Montag, 29. März 2010 13:17:35 schrieb Jatin Davey: Hi I use the HOST-RESOURCES-MIB to get the status of the system and its various parameters. There is one such MIB parameter that provides memory used by a specific process on a linux box. It is : hrSWRunPerfMem , When i execute this command using the check_snmp plugin it does not provide any performance data after the '|' symbol. The output is as below : [r...@pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o hrSWRunPerfMem.x SNMP OK - 1652 KBytes | Is it a bug on the check_snmp plugin ? Please let me know if i am missing something. Thanks Jatin --- --- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 Well, it does. Perhaps it is not quite compliant to the plugin writing guide. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: mi...@multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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_snmp does not provide performance data ??
Am Montag, 29. März 2010 13:17:35 schrieb Jatin Davey: Hi I use the HOST-RESOURCES-MIB to get the status of the system and its various parameters. There is one such MIB parameter that provides memory used by a specific process on a linux box. It is : hrSWRunPerfMem , When i execute this command using the check_snmp plugin it does not provide any performance data after the '|' symbol. The output is as below : [r...@pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o hrSWRunPerfMem.x SNMP OK - 1652 KBytes | Is it a bug on the check_snmp plugin ? Please let me know if i am missing something. Thanks Jatin --- --- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 I don't know which version you are using. My output is: ./check_snmp -H 192.168.xxx.4 -C xxx -o hrSWRunPerfMem.2 SNMP OK - 0 KBytes | HOST-RESOURCES-MIB::hrSWRunPerfMem.2=0 KBytes -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: mi...@multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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_cluster configuration.
hello folks, I'm trying to configure cluster configuration. we have 100 servers for www service and i don't wanna get notification from all of my www servers. so i decided to configure check_cluster, and it works very well. but my question is Nagios doc said that i have to configure it as service .. then what should be the host_name for service definition ? my server hostname start from www1 ~ www100 and at this time I just added one more service under www1 definition. but this doesn't look good. Can i make it like a standalone ? I mean, i don't want put cluster service under one of my www server. it looks like a service that belongs to just one host. any idea about this~? -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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_snmp does not provide performance data ??
Then it should be a bug right ? Please let me know if i can file it. Thanks Jatin On 3/29/2010 4:49 PM, Michael Schwartzkopff wrote: Am Montag, 29. März 2010 13:17:35 schrieb Jatin Davey: Hi I use the HOST-RESOURCES-MIB to get the status of the system and its various parameters. There is one such MIB parameter that provides memory used by a specific process on a linux box. It is : hrSWRunPerfMem , When i execute this command using the check_snmp plugin it does not provide any performance data after the '|' symbol. The output is as below : [r...@pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o hrSWRunPerfMem.x SNMP OK - 1652 KBytes | Is it a bug on the check_snmp plugin ? Please let me know if i am missing something. Thanks Jatin --- --- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 Well, it does. Perhaps it is not quite compliant to the plugin writing guide. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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_cluster configuration.
Am Montag, 29. März 2010 13:23:38 schrieb HyunSung Jang: hello folks, I'm trying to configure cluster configuration. we have 100 servers for www service and i don't wanna get notification from all of my www servers. so i decided to configure check_cluster, and it works very well. but my question is Nagios doc said that i have to configure it as service .. then what should be the host_name for service definition ? my server hostname start from www1 ~ www100 and at this time I just added one more service under www1 definition. but this doesn't look good. Can i make it like a standalone ? I mean, i don't want put cluster service under one of my www server. it looks like a service that belongs to just one host. any idea about this~? Use the check_multi plugin. It makes your life much easier. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: mi...@multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Unable to Open Nagios WebConsole-'PageCannotbeDisplayed'
Hi, Someone please provide the solution…. Thanks Regards, Ravi G From: Ravishankar Gundlapali (WT01 - ENERGY UTILITIES) Sent: Monday, March 29, 2010 10:58 AM To: Nagios Users List Cc: 'zarre...@linux.it' Subject: RE: [Nagios-users] Unable to Open Nagios WebConsole-'PageCannotbeDisplayed' Hi, Please see the output mentioned in the attachment. Request someone to please help me on this as I am not able to understand what is the error. Thanks a lot in advance. Thanks Regards, Ravi G From: Giorgio Zarrelli [mailto:zarre...@linux.it] Sent: Monday, March 29, 2010 10:37 AM To: Nagios Users List Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Unable to Open Nagios WebConsole-'PageCannotbeDisplayed' Try netstat -tap And let's see what's binding. Ciao, Giorgio Il giorno 29/mar/2010, alle ore 03.05, ravishankar.gundlap...@wipro.com ha scritto: Hi, I have got the following output when I entered the command ps ax | grep httpd. Still I am getting as Page Cannot be displayed. Please suggest. [r...@host ~]# ps ax | grep httpd 12563 ?Ss 0:03 /usr/sbin/httpd 14312 ?S 0:00 /usr/sbin/httpd 14316 ?S 0:00 /usr/sbin/httpd 14318 ?S 0:00 /usr/sbin/httpd 14321 ?S 0:00 /usr/sbin/httpd 14323 ?S 0:00 /usr/sbin/httpd 14326 ?S 0:00 /usr/sbin/httpd 14328 ?S 0:00 /usr/sbin/httpd 14330 ?S 0:00 /usr/sbin/httpd 24995 pts/0S+ 0:00 grep httpd Thanks Regards, Ravi G From: Michael Gargiullo [mailto:mgargiu...@pivotpointsecurity.com] Sent: Sunday, March 28, 2010 6:59 PM To: Nagios Users List Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'PageCannotbeDisplayed' For Fedora… tryps ax | grep httpd From: Giorgio Zarrelli [mailto:zarre...@linux.it] Sent: Sunday, March 28, 2010 6:23 AM To: Nagios Users List Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'Page CannotbeDisplayed' Check wether the apache2 process is running or not ps ax | grep apache Ciao, Giorgio Il giorno 28/mar/2010, alle ore 01.20, ravishankar.gundlap...@wipro.com ha scritto: Hi, When I type http://localhost ,I am getting as ‘ Page Cannot be Displayed’ Any idea how to resolve this… Thanks Regards, Ravi G From: Jorge Gil [mailto:georgy...@gmail.com] Sent: Sunday, March 28, 2010 4:54 AM To: Nagios Users List Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'Page Cannotbe Displayed' Hi Ravi, just a quick check: when you type just localhost or http://localhost on the browser of your server, do you get anything? (i.e., is Apache up?) Jorge On 3/27/10, ravishankar.gundlap...@wipro.com ravishankar.gundlap...@wipro.com wrote: Hi, I have successfully configured and installed Nagios, according to: http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html. No problems at all throughout the process. My problem occurred at step 9. 9) Login to the Web Interface You should now be able to access the Nagios web interface at the URL below. You'll be prompted for the username (nagiosadmin) and password you specified earlier. http://localhost/nagios/ I installed everything on my server. I tried accessing my http://serveripaddress/nagios, and no luck – I am getting Page Cannot be Displayed error. Anyone know what I should do at this point? Thanks. Regards, Ravi G -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
Re: [Nagios-users] check_cluster configuration.
On Mon, Mar 29, 2010 at 7:23 AM, HyunSung Jang hsj...@gmail.com wrote: then what should be the host_name for service definition ? my server hostname start from www1 ~ www100 and at this time I just added one more service under www1 definition. but this doesn't look good. Can i make it like a standalone ? I mean, i don't want put cluster service under one of my www server. it looks like a service that belongs to just one host. any idea about this~? One common pattern for this is to give the clustered host the name of the URL it represents, e.g. if the cluster represented the web service http://www.example.com I would use example.com as the name. If the cluster is behind a VIP, even better, you can then use the VIP IP as the 'virtual host' object IP. - Max -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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_snmp does not provide performance data ??
Ok , here go the version of the plugin used taken from the help page of the plugin: [r...@pc-fedora-1 libexec]# ./check_snmp --help check_snmp v1.4.14 (nagios-plugins 1.4.14) Copyright (c) 1999-2007 Nagios Plugin Development Team nagiosplug-de...@lists.sourceforge.net Check status of remote machines and obtain system information via SNMP Thanks Jatin On 3/29/2010 4:53 PM, Michael Schwartzkopff wrote: Am Montag, 29. März 2010 13:17:35 schrieb Jatin Davey: Hi I use the HOST-RESOURCES-MIB to get the status of the system and its various parameters. There is one such MIB parameter that provides memory used by a specific process on a linux box. It is : hrSWRunPerfMem , When i execute this command using the check_snmp plugin it does not provide any performance data after the '|' symbol. The output is as below : [r...@pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o hrSWRunPerfMem.x SNMP OK - 1652 KBytes | Is it a bug on the check_snmp plugin ? Please let me know if i am missing something. Thanks Jatin --- --- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 I don't know which version you are using. My output is: ./check_snmp -H 192.168.xxx.4 -C xxx -o hrSWRunPerfMem.2 SNMP OK - 0 KBytes | HOST-RESOURCES-MIB::hrSWRunPerfMem.2=0 KBytes -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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_cluster configuration.
what a nice solution it is!! why I didn't think about that.. we have VIP and represented domain name so this is very clear to me.. thank you~ On Mon, Mar 29, 2010 at 8:33 PM, Max perld...@webwizarddesign.com wrote: On Mon, Mar 29, 2010 at 7:23 AM, HyunSung Jang hsj...@gmail.com wrote: then what should be the host_name for service definition ? my server hostname start from www1 ~ www100 and at this time I just added one more service under www1 definition. but this doesn't look good. Can i make it like a standalone ? I mean, i don't want put cluster service under one of my www server. it looks like a service that belongs to just one host. any idea about this~? One common pattern for this is to give the clustered host the name of the URL it represents, e.g. if the cluster represented the web service http://www.example.com I would use example.com as the name. If the cluster is behind a VIP, even better, you can then use the VIP IP as the 'virtual host' object IP. - Max -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] automated response
I am on leave now until 1st April, If your query is urgent, then either contact another member of the team or link2ict who can assist. * This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmas...@bgfl.org The views expressed within this email are those of the individual, and not necessarily those of the organisation * -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Nagios Appender
Hi folks Finally trying to get to the bottom of the nagios appender plugin which allows jboss connections using the nsca. After get through all the stress and strain of a lot of issues we are finally starting to see logs come through for nagios. However this is the information which I am receiving; Mar 29 07:16:09 centos-64bit nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;NOT_SET;HelloWorldApplication;0;server: : remoteUser=null Mar 29 07:16:09 centos-64bit nagios: Warning: Passive check result was received for service 'HelloWorldApplication' on host 'NOT_SET', but the host could not be found! Mar 29 07:16:09 centos-64bit nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;NOT_SET;HelloWorldApplication;0;server: : header=accept=*/* Mar 29 07:16:09 centos-64bit nagios: Warning: Passive check result was received for service 'HelloWorldApplication' on host 'NOT_SET', but the host could not be found! Mar 29 07:16:09 centos-64bit nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;NOT_SET;HelloWorldApplication;0;server: : header=if-modified-since=Mon, 04 Aug 2008 23:02:56 GMT Mar 29 07:16:09 centos-64bit nagios: Warning: Passive check result was received for service 'HelloWorldApplication' on host 'NOT_SET', but the host could not be found! Mar 29 07:16:09 centos-64bit nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;NOT_SET;HelloWorldApplication;0;server: : header=host=ec2-79-125-38-135.eu-west-1.compute.amazonaws.com:8080 Mar 29 07:16:09 centos-64bit nagios: Warning: Passive check result was received for service 'HelloWorldApplication' on host 'NOT_SET', but the host could not be found! Mar 29 07:16:09 centos-64bit nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;NOT_SET;HelloWorldApplication;0;server: : pathInfo=null Mar 29 07:16:09 centos-64bit nagios: Warning: Passive check result was received for service 'HelloWorldApplication' on host 'NOT_SET', but the host could not be found! Mar 29 07:16:09 centos-64bit nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;NOT_SET;HelloWorldApplication;0;server: : queryString=null Mar 29 07:16:09 centos-64bit nagios: Warning: Passive check result was received for service 'HelloWorldApplication' on host 'NOT_SET', but the host could not be found! Mar 29 07:18:36 centos-64bit xinetd[10931]: START: nsca pid=14735 from=10.228.239.15 Mar 29 07:18:36 centos-64bit nsca[14735]: Handling the connection... Mar 29 07:18:37 centos-64bit nsca[14735]: SERVICE CHECK - Host Name: 'centos-64bit', Service Description: 'HelloWorldApplication', Return Code: '0', Output: 'server: centos-64bit: Application Errors Cleared ' Mar 29 07:18:37 centos-64bit nsca[14735]: End of connection... Mar 29 07:18:37 centos-64bit xinetd[10931]: EXIT: nsca status=0 pid=14735 duration=1(sec) Mar 29 07:18:37 centos-64bit nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;centos-64bit;HelloWorldApplication;0;server: centos-64bit: Application Errors Cleared Mar 29 07:18:37 centos-64bit nagios: Warning: Passive check result was received for service 'HelloWorldApplication' on host 'centos-64bit', but the host could not be found! Mar 29 07:22:08 centos-64bit syslog-ng[946]: STATS: dropped 0 Mar 29 07:31:49 centos-64bit nagios: Auto-save of retention data completed successfully. My question is the host not set issue. Is jboss complaining or nagios? Should I be looking at jboss or nagios for the miss-configuration issue? Many thanks Raymond -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] Nagios Appender
On Mar 29, 2010, at 7:17 AM, Raymond Setchfield wrote: Mar 29 07:18:37 centos-64bit nsca[14735]: SERVICE CHECK - Host Name: 'centos-64bit', Service Description: 'HelloWorldApplication', Return Code: '0', Output: 'server: centos-64bit: Application Errors Cleared ' Mar 29 07:18:37 centos-64bit nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;centos-64bit;HelloWorldApplication;0;server: centos-64bit: Application Errors Cleared Mar 29 07:18:37 centos-64bit nagios: Warning: Passive check result was received for service 'HelloWorldApplication' on host 'centos-64bit', but the host could not be found! My question is the host not set issue. Is jboss complaining or nagios? Should I be looking at jboss or nagios for the miss-configuration issue? It's nagios complaining. For every passive result host/service combination you're going to be using, you must have a matching host and service definition within nagios. You need a host{} definition for host_name 'centos-64-bit' and a service{} definition for service_description 'HelloWorldApplicatin' for host_name 'centos-64bit' for this check result to be handled. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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_snmp does not provide performance data ??
Well , when i use the complete OID path i get the performance data , Say instead of using hrSWRunPerfMem if use 1.3.6.1.2.1.25.5.1.1.2 Then it works fine and the performance data is collected for the specific process of interest. I dont know why it does not do so if the OID name is not resolved ? Anyone knows please let me know. Thanks Jatin On 3/29/2010 5:15 PM, Jatin Davey wrote: Ok , here go the version of the plugin used taken from the help page of the plugin: [r...@pc-fedora-1 libexec]# ./check_snmp --help check_snmp v1.4.14 (nagios-plugins 1.4.14) Copyright (c) 1999-2007 Nagios Plugin Development Team nagiosplug-de...@lists.sourceforge.net Check status of remote machines and obtain system information via SNMP Thanks Jatin On 3/29/2010 4:53 PM, Michael Schwartzkopff wrote: Am Montag, 29. März 2010 13:17:35 schrieb Jatin Davey: Hi I use the HOST-RESOURCES-MIB to get the status of the system and its various parameters. There is one such MIB parameter that provides memory used by a specific process on a linux box. It is : hrSWRunPerfMem , When i execute this command using the check_snmp plugin it does not provide any performance data after the '|' symbol. The output is as below : [r...@pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o hrSWRunPerfMem.x SNMP OK - 1652 KBytes | Is it a bug on the check_snmp plugin ? Please let me know if i am missing something. Thanks Jatin --- --- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 I don't know which version you are using. My output is: ./check_snmp -H 192.168.xxx.4 -C xxx -o hrSWRunPerfMem.2 SNMP OK - 0 KBytes | HOST-RESOURCES-MIB::hrSWRunPerfMem.2=0 KBytes -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Unable to Open Nagios WebConsole-'PageCannotbeDisplayed'
So, you have both http and https up and binding correctly. Can you please attaché you apache error log? Ciao, Giorgio Il giorno 29/mar/2010, alle ore 13.32, ravishankar.gundlap...@wipro.com ha scritto: Hi, Someone please provide the solution…. Thanks Regards, Ravi G From: Ravishankar Gundlapali (WT01 - ENERGY UTILITIES) Sent: Monday, March 29, 2010 10:58 AM To: Nagios Users List Cc: 'zarre...@linux.it' Subject: RE: [Nagios-users] Unable to Open Nagios WebConsole-'PageCannotbeDisplayed' Hi, Please see the output mentioned in the attachment. Request someone to please help me on this as I am not able to understand what is the error. Thanks a lot in advance. Thanks Regards, Ravi G From: Giorgio Zarrelli [mailto:zarre...@linux.it] Sent: Monday, March 29, 2010 10:37 AM To: Nagios Users List Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Unable to Open Nagios WebConsole-'PageCannotbeDisplayed' Try netstat -tap And let's see what's binding. Ciao, Giorgio Il giorno 29/mar/2010, alle ore 03.05, ravishankar.gundlap...@wipro.com ha scritto: Hi, I have got the following output when I entered the command ps ax | grep httpd. Still I am getting as Page Cannot be displayed. Please suggest. [r...@host ~]# ps ax | grep httpd 12563 ?Ss 0:03 /usr/sbin/httpd 14312 ?S 0:00 /usr/sbin/httpd 14316 ?S 0:00 /usr/sbin/httpd 14318 ?S 0:00 /usr/sbin/httpd 14321 ?S 0:00 /usr/sbin/httpd 14323 ?S 0:00 /usr/sbin/httpd 14326 ?S 0:00 /usr/sbin/httpd 14328 ?S 0:00 /usr/sbin/httpd 14330 ?S 0:00 /usr/sbin/httpd 24995 pts/0S+ 0:00 grep httpd Thanks Regards, Ravi G From: Michael Gargiullo [mailto:mgargiu...@pivotpointsecurity.com] Sent: Sunday, March 28, 2010 6:59 PM To: Nagios Users List Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'PageCannotbeDisplayed' For Fedora… tryps ax | grep httpd From: Giorgio Zarrelli [mailto:zarre...@linux.it] Sent: Sunday, March 28, 2010 6:23 AM To: Nagios Users List Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'Page CannotbeDisplayed' Check wether the apache2 process is running or not ps ax | grep apache Ciao, Giorgio Il giorno 28/mar/2010, alle ore 01.20, ravishankar.gundlap...@wipro.com ha scritto: Hi, When I type http://localhost ,I am getting as ‘ Page Cannot be Displ ayed’ Any idea how to resolve this… Thanks Regards, Ravi G From: Jorge Gil [mailto:georgy...@gmail.com] Sent: Sunday, March 28, 2010 4:54 AM To: Nagios Users List Subject: Re: [Nagios-users] Unable to Open Nagios Web Console-'Page Cannotbe Displayed' Hi Ravi, just a quick check: when you type just localhost or http://localhost on the browser of your server, do you get anything? (i.e., is Apache up?) Jorge On 3/27/10, ravishankar.gundlap...@wipro.com ravishankar.gundlap...@wipro.com wrote: Hi, I have successfully configured and installed Nagios, according to: http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html . No problems at all throughout the process. My problem occurred at step 9. 9) Login to the Web Interface You should now be able to access the Nagios web interface at the URL below. You'll be prompted for the username (nagiosadmin) and password you specified earlier. http://localhost/nagios/ I installed everything on my server. I tried accessing my http://serveripaddress/nagios , and no luck – I am getting Page Cannot be Displayed error. Anyone know what I should do at this point? Thanks. Regards, Ravi G --- --- --- - Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 --- --- --- - Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version,
[Nagios-users] Recommended nice level for NRPE?
Hi list, I have a bunch of processing hosts, which consume all their cpu resources when working. This is normal, by design. As a result I often get timeouts for certain checks. I have set my global nrpe timeout on 30 seconds, which is already quite high. Do you have any experience with setting/resetting the nicelevel for the nrpe daemon? Is there a recommended setting? Thanks, -- Jelle Smet http://www.smetj.net -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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_snmp does not provide performance data ??
Am Montag, 29. März 2010 15:01:50 schrieb Jatin Davey: Well , when i use the complete OID path i get the performance data , Say instead of using hrSWRunPerfMem if use 1.3.6.1.2.1.25.5.1.1.2 Then it works fine and the performance data is collected for the specific process of interest. I dont know why it does not do so if the OID name is not resolved ? Anyone knows please let me know. Thanks Jatin On 3/29/2010 5:15 PM, Jatin Davey wrote: Ok , here go the version of the plugin used taken from the help page of the plugin: [r...@pc-fedora-1 libexec]# ./check_snmp --help check_snmp v1.4.14 (nagios-plugins 1.4.14) Copyright (c) 1999-2007 Nagios Plugin Development Team nagiosplug-de...@lists.sourceforge.net Check status of remote machines and obtain system information via SNMP Thanks Jatin On 3/29/2010 4:53 PM, Michael Schwartzkopff wrote: Am Montag, 29. März 2010 13:17:35 schrieb Jatin Davey: Hi I use the HOST-RESOURCES-MIB to get the status of the system and its various parameters. There is one such MIB parameter that provides memory used by a specific process on a linux box. It is : hrSWRunPerfMem , When i execute this command using the check_snmp plugin it does not provide any performance data after the '|' symbol. The output is as below : [r...@pc-fedora-1 libexec]# ./check_snmp -H x.x.x.x -o hrSWRunPerfMem.x SNMP OK - 1652 KBytes | Is it a bug on the check_snmp plugin ? Please let me know if i am missing something. Thanks Jatin --- --- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 I don't know which version you are using. My output is: ./check_snmp -H 192.168.xxx.4 -C xxx -o hrSWRunPerfMem.2 SNMP OK - 0 KBytes | HOST-RESOURCES-MIB::hrSWRunPerfMem.2=0 KBytes - - Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 --- --- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 Perhaps your snmp command does not read in that MIB. try the -m ALL option. Greetings, -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: mi...@multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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
Re: [Nagios-users] Recommended nice level for NRPE?
We rolled out nrpe with a `nice` of '+5', but noticed that we would have a number of service check timeouts. We have increased the service check timeout to 45 and even 60 seconds on our older systems. We expect to remove the `nice` though. Monitoring is too important :) On Mon, 29 Mar 2010 15:06:03 +0200, Jelle Smet nag...@smetj.net wrote: Hi list, I have a bunch of processing hosts, which consume all their cpu resources when working. This is normal, by design. As a result I often get timeouts for certain checks. I have set my global nrpe timeout on 30 seconds, which is already quite high. Do you have any experience with setting/resetting the nicelevel for the nrpe daemon? Is there a recommended setting? Thanks, -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Nagios NRPE: Unable to read output
Hmmm ... the problem still persists. I have edited everything like you said, but ... I still get CHECK_NRPE: Socket timeout in x seconds ... Two days ago I also added the line nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/libexec (with visudo) ... but nothing to do. If I write the command without the sudo prefix ... I (again) get NRPE: Unable to read output Now really don't know what to do ... Anyway ... thanks for you help! I hope you have any other idea or someone else to help me :-/ Best regards, Alen From: Marquez, Quentin [mailto:quentin.marq...@experian.com] Sent: Monday, March 29, 2010 12:11 PM To: Grizonic Alen Cc: Nagios Users List Subject: RE: [Nagios-users] Nagios NRPE: Unable to read output Hi Alen, Hi list, Your issue is related to the knowledge about configuring and using sudo commands, not with Nagios. Although, this knowledge is required for every Nagios plugins containing commands that need root permissions to be allowed to get executed. I know the “check_mem.pl” plugin requires the same kind of configuration. Setting up a sudo command means editing a user alias, a command alias, and then allow your user alias to run your command alias with some other user permission, ie the root user. The file you want to edit is /etc/sudoers, edit it with your vi editor by typing as root :visudo (should be located in /usr/sbin/ ) On AIX, you need the “rpm.rte” AIX package, and the sudo rpm coming from your “AIX toolbox for Linux Applications” CD or ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/ Edit this file as follow : Be carefull about the syntax, it has to be strictly respected : Add a user alias such as : User_Alias SU_TO_NAGIOS_PLUGINS_USER = nagios Make sure you are using a tabulation between User_Alias and the alias name, also make sure the U and A of User_Alias are uppercase. Add a command alias such as : Cmnd_AliasSU_TO_NAGIOS_PLUGINS = /usr/local/nagios/current/libexec/tsmonitor db (seems your path uses nagios instead of “nagios-plugins”) Again, make sure you are using a tabulation between Cmnd_Alias and the alias name, and that the C and A of Cmnd_Alias are uppercase. Then add the authorization such as : SU_TO_NAGIOS_PLUGINS_USER ALL = NOPASSWD: SU_TO_NAGIOS_PLUGINS This line will let the command “/usr/local/nagios/current/libexec/tsmonitor db “ run with root permissions. Save and exit, AIX will let you know if you have a syntax issue in your /etc/sudoers file, if this is the case, edit the file again to fix it. Now you can check user Nagios gained this permission by entering : su – nagios –c sudo –l - sudo –l(Lower L option to list your configured sudo commands) - su – nagios –c (to run the following command using nagios identity) you should see something like : User nagios may run the following commands on this host: (root) NOPASSWD: /usr/local/nagios/current/libexec/tsmonitor db Which means user nagios may run : sudo /usr/local/nagios/current/libexec/tsmonitor db Now you have to use this sudo command in your nrpe.cfg such as : command[tsmonitor_db]=sudo /usr/local/nagios/libexec/tsmonitor db Hope this helps!! Cheers, Quentin Marquez Unix / linux admin Global Technology Services Experian - Monaco Tel : (377) 97 98 54 27 From: Grizonic Alen [mailto:alen.grizo...@comparex.si] Sent: 29 March 2010 09:48 To: Marquez, Quentin Subject: RE: [Nagios-users] Nagios NRPE: Unable to read output Thank you very much! I changed the command in my nrpe.cfg file, but now looks like there is something else blocking the response. Even with a log timeout I get ... CHECK_NRPE: Socket timeout after XY seconds. I would think of a firewall blocking, but the other commands work and run very fast ... and apparently there is no firewall on that AIX machine. p.s. Maybe I missed something out ... what did you mean with »you would need to setup a sudo command«? Just change the command to ... command[tsmonitor_db]=sudo /usr/local/nagios/libexec/tsmonitor db ... or something else? If you have any idea I wuold be more than thankful! But really ☺ Best regards, Alen From: Marquez, Quentin [mailto:quentin.marq...@experian.com] Sent: Friday, March 26, 2010 3:57 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios NRPE: Unable to read output Hi Alen, I don’t know much about this plugin, but it looks like your command requires root permission. Thus you would need to setup a sudo command to run /usr/local/nagios/libexec/tsmonitor db Then use your new sudo command in your nrpe.cfg : command[tsmonitor_db]=sudo /usr/local/nagios/libexec/tsmonitor db Cheers, Quentin From: Grizonic Alen [mailto:alen.grizo...@comparex.si] Sent: 26 March 2010 15:17 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios NRPE: Unable to read output Hello! I know that this post is nothing new, but I still didn't find any solution for it. I am working on a AIX 5.3 machine with NRPE running
Re: [Nagios-users] Drop in replacement for check_ping wit hout performance output when device down
Use check_icmp instead. It does something like that, iirc. Just for clarification, check_icmp of nagios-plugins 1.4.13 suits my needs (it has exactly the same performance output layout) check_icmp of nagios-plugins 1.4.14 does not as it has the 2 extra performance data entries which breaks pnp4nagios not updating the graphs anymore. I must add that pnp4nagios has a way to migrate split multipe rrd's over the different performance data entries, but I'm not going to take that road. Cheers, Jelle Smet. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Checking Windows Backup (ntbackup)
HI List, Other option for monitoring backups: 1) if the backup lists in a director use a FIleAge check 2) if the backup lists to Event Logs, do an eventlog Check 3) custom scripts as specified before. There are several ways to do Fileage and Eventlogs, NC_Net and NSCLient++ should be able to provide both of these Tony Author of NC_Net On Mon, Mar 29, 2010 at 7:12 AM, Joseph L. Casale jcas...@activenetwerx.com wrote: Care to share your scripts? Most of the scripts are rather site specific, but here are some relevant parts (In this script, I let the passive check deduce the failure, others I send a CRITICAL update, just test for $LastExitCode -ne 0): $NTBackupDest = 'C:\Temp\Remote_SystemState.bkf' $NTBackupList = 'C:\Scripts\Backup\rsyncd\SystemState.bks' $NTBackupParam = 'backup' + ' ' + '@' + $NTBackupList + '' + ' /n DC - SystemState /d DC - SytemState /v:yes /r:no /rs:no /hc:off /m normal /j DC - SystemState /l:f /f ' + '' + $NTBackupDest + '' $NagiosSrv = '10.0.0.21' $TrapGenDef = 'Daily Backup - System State' Write-Host *** Informing Nagios a backup has begun *** -foregroundcolor Yellow -backgroundcolor Black $TrapParam = '-d' + ' ' + $NagiosSrv + ':162' + ' ' + '-c public -g 5 -s 23 -v 1.3.6.1.4.1.1824.1.0.0.1 STRING' + ' ' + '' + $TrapGenDef + '' + ' ' + '-v 1.3.6.1.4.1.1824.1.0.0.2 STRING WARNING -v 1.3.6.1.4.1.1824.1.0.0.3 STRING' + ' ' + '' + Running Backup - $(Get-Date) + '' cmd /c TrapGen.exe $TrapParam cmd /c ntbackup.exe $NTBackupParam If ($LASTEXITCODE -ne 0) { Write-Host NTBackup Failed, LastExitCode: $LastExitCode -foregroundcolor Red -backgroundcolor Black; Exit $LASTEXITCODE } My trap parsing script is a super hacked up version of this script: http://www.frank4dd.com/howto/nagios/windows-reboot-monitoring-nagios.htm Hth, jlc -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] Unable to Open Nagios WebConsole-'PageCannotbeDisplayed'
On Mon, 29 Mar 2010, ravishankar.gundlap...@wipro.com wrote: Hi, Please see the output mentioned in the attachment. Request someone to please help me on this as I am not able to understand what is the error. Thanks Regards, To quickly summarize: You mentioned you are entering http://localhost and getting a Page Cannot Be Displayed error. This may be a dumb question, byt where are you entering http://localhost;? I would assume it's a web browser, but is it a web browser being run from the same machine you've installed Apache on? Also, it would help to know *specifically* what the error is. Is it a timeout? A DNS lookup error? Something else? there should be more details, and it would help if you could pass those on. Off the top of my head, given that you have Apache running and bound to port 80, the following seem the most likely: Either a) Your browser and your webserver are on two different machines, so using http://localhost; is not going to work, since it points to the machine your browser is on, b) localhost is somehow not defined on the machine you're using, or c) your Apache configuration is incorrect. Let me throw in a little tip on asking questions on mailing lists while I'm here. Details are good. Knowing what your Apache configuration looks like, what's showing up in the logs, *exactly* what you're doing to test and what the *complete* results are of those tests, and any other information you have that we don't would really help someone else troubleshoot your issue. You've given us very little, and as a result what you now have is a bunch of people throwing out wild guesses since we've got no real data from you to work with. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Unable to Open Nagios WebConsole-'PageCannotbeDisplayed'
Hi, Please see the output mentioned in the attachment. Request someone to please help me on this as I am not able to understand what is the error. Thanks Regards, To quickly summarize: You mentioned you are entering http://localhost and getting a Page Cannot Be Displayed error. This may be a dumb question, byt where are you entering http://localhost;? I would assume it's a web browser, but is it a web browser being run from the same machine you've installed Apache on? Yes I am running the web browser from the same machine where I have installed Apche. Also, it would help to know *specifically* what the error is. Is it a timeout? A DNS lookup error? Something else? there should be more details, and it would help if you could pass those on. I am getting as Page Cannot be displayed. Off the top of my head, given that you have Apache running and bound to port 80, the following seem the most likely: Either a) Your browser and your webserver are on two different machines, so using http://localhost; is not going to work, since it points to the machine your browser is on, b) localhost is somehow not defined on the machine you're using, or c) your Apache configuration is incorrect. Let me throw in a little tip on asking questions on mailing lists while I'm here. Details are good. Knowing what your Apache configuration looks like, what's showing up in the logs, *exactly* what you're doing to test and what the *complete* results are of those tests, and any other information you have that we don't would really help someone else troubleshoot your issue. You've given us very little, and as a result what you now have is a bunch of people throwing out wild guesses since we've got no real data from you to work with. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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