[Nagios-users] scheduled downtime nagios.cmd
I'm attempting to integrate a downtime schedule script I downloaded from nagios.org into my installation (http://exchange.nagios.org/directory/Addons/Scheduled-Downtime/Downtime-Scheduler/details) The script is supposed to write downtime information to the nagios.cmd file and disable the referenced host. However, when I tail nagios.cmd I am unable to view any processed commands. Interestingly enough the command DOES show in my nagios.log file so it appears that it is processing the command. [1325186243] EXTERNAL COMMAND: SCHEDULE_HOST_DOWNTIME;monk;1325186100;1325187540;1;7200;Nagios;Test The problem is that I don't believe the host (monk) is being disabled despite having the start time already occurring in the past. I've validated this test by disabling nrpe on the client. [1325186247] SERVICE ALERT: monk;MEMORY STATUS;CRITICAL;SOFT;1;Connection refused by host Any input would be appreciated! JJ Jeremiah Jester Informatics Specialist Microbiology - Katze Lab 206-732-6185 -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___ 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] monitor download rate
David, Not sure if this is what you're after but I've written a python script that monitors RX and TX bytes received on all active adapters. It's a more of a per adapter usage summary report than anything. Tested and working on RHEL and Ubuntu. JJ [root@jackson ~]# /usr/local/nrpe/libexec/check_bandwidth eth0 - Receive: 412546MB Transmit: 394065MB, Jeremiah Jester Informatics Specialist Microbiology - Katze Lab 206-732-6185 From: David Barszcz [mailto:dbars...@gmail.com] Sent: Sunday, April 24, 2011 10:38 AM To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] monitor download rate hi, New to nagios here. I would like to monitor download rate and and bandwidth available? any suggestions would be great thanks. dave check_bandwidth Description: check_bandwidth -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ 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] pnp4nagios?
Anyone here using pnp4nagios for graphing? I'm having some configuration issues and wanted to see if there was someone who could assist? Thanks, JJ Jeremiah Jester Informatics Specialist Microbiology - Katze Lab 206-732-6185 -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___ 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] pnp4nagios?
Thanks Benny. I've configured pnp and it has been successfully graphing data since the actual installation. However, I have nagios perfdata logs from the past year (host_perfdata.log, service_perfdata.log) that are not being parsed that I want to be included. Currently my nagios.cfg is using the following commands: define command{ command_nameprocess-service-perfdata command_line /usr/bin/perl /usr/local/pnp4nagios/libexec/process_perfdata.pl -d /usr/local/pnp4nagios/var/perfdata/service-perfdata.log } define command{ command_nameprocess-host-perfdata command_line /usr/bin/perl /usr/local/pnp4nagios/libexec/process_perfdata.pl -d /usr/local/pnp4nagios/var/perfdata/host-perfdata.log } Is there a certain method, configuration I need to follow if I want to include this historical data? Thanks, JJ Jeremiah Jester Informatics Specialist Microbiology - Katze Lab 206-732-6185 -Original Message- From: C. Bensend [mailto:be...@bennyvision.com] Sent: Thursday, April 14, 2011 12:18 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] pnp4nagios? Anyone here using pnp4nagios for graphing? I'm having some configuration issues and wanted to see if there was someone who could assist? Sure, I know several of us use it. What issues are you having? Benny -- Hairy ape nads.-- Colleen, playing Neverwinter Nights -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ 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 -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ 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] pnp4nagios?
I should have been more specific. I just want to include all historical data from nagios into pnp. It’s only showing data from the install date forward. Thanks,JJ Jeremiah Jester Informatics Specialist Microbiology – Katze Lab 206-732-6185 From: Phil K. [mailto:phillip.kenn...@yankeeairmuseum.org] Sent: Thursday, April 14, 2011 12:17 PM To: Nagios Users List Subject: Re: [Nagios-users] pnp4nagios? What 'issues' are you seeing? I've noticed ubuntu and apt can mark some dependancies as unused and safe for removal depending on how you installed nagios in the first place. That led to a bit of hair pulling on my end ~Phil -- Sent from my Android phone with K-9. Jeremiah D. Jester jj...@u.washington.edumailto:jj...@u.washington.edu wrote: Anyone here using pnp4nagios for graphing? I’m having some configuration issues and wanted to see if there was someone who could assist? Thanks, JJ Jeremiah Jester Informatics Specialist Microbiology – Katze Lab 206-732-6185 -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___ 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] How to surpess notifications if ping fails.
For some reason notifications are not being sent from nagios when i unplug the network cable from one of the hosts being monitored. Nagios recognizes that the hose is down but no notification... [1246567497] HOST ALERT: psefilesrv;DOWN;SOFT;1;(No Information Returned From Host Check) [1246567528] Warning: Host check command '/usr/lib/nagios/plugins/check_ping -H 10.139.68.39 -w 3000.0,80% -c 5000.0,100% -p 5' for host 'psefilesrv' timed out after 30 seconds [1246567528] HOST ALERT: psefilesrv;DOWN;SOFT;2;(No Information Returned From Host Check) [1246567559] Warning: Host check command '/usr/lib/nagios/plugins/check_ping -H 10.139.68.39 -w 3000.0,80% -c 5000.0,100% -p 5' for host 'psefilesrv' timed out after 30 seconds [1246567559] HOST ALERT: psefilesrv;DOWN;HARD;3;(No Information Returned From Host Check) [1246567559] HOST NOTIFICATION: root;psefilesrv;DOWN;host-notify-by-email;(No Information Returned From Host Check) Here is the host config... define host{ host_name psefilesrv alias misc address10.139.68.39 usegeneric-host check_command check_alive notification_optionsd,r max_check_attempts 3 check_interval 1 notification_interval 1 notification_period 24x7 notifications_enabled 1 parentsswitch-office } And the command... define command { command_namecheck_alive command_line/usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 } Any thoughts to why this isn't working? Email notifications for other services is working fine. Maybe i need to add check_alive as a service? Thanks, JJ On Wed, Jul 1, 2009 at 3:17 PM, Jeremiah Jester jeremiahjes...@gmail.comwrote: I removed it and notifications are still being sent for all services associated with this host. Thoughts? JJ On Wed, Jul 1, 2009 at 3:15 PM, Jon Angliss j...@netdork.net wrote: Jeremiah Jester wrote: Hmmm, tryied this...but not working. Also, i get an error when i specify 'retry_interval'. maybe n agios3 only? define host{ host_name psedev2 alias dev check_command check-host-alive notification_optionsd,r max_check_attempts 3 check_interval 1 retry_interval 1 address 10.139.10.42 use generic-host parents switch-office } Error log: [1246481763] Error: Invalid host object directive 'retry_interval'. [1246481763] Error: Could not add object property in file '/etc/nagios2/conf.d/generic-host_nagios2.cfg' on line 143. [1246481763] Bailing out due to one or more errors encountered in the configuration files. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=27490) Yep, that'd be a nagios 3 option. I'd not realized (or maybe missed) you were using v2. Just remove that option. -- Jon Angliss j...@netdork.net Thanks, JJ On Tue, Jun 30, 2009 at 9:08 PM, Jon Angliss j...@netdork.net mailto:j...@netdork.net wrote: Jeremiah Jester wrote: Jon, Thanks for the reply. I've been struggling with this for some days. Can you give me an example of what how to define this and in what file? I would appreciate your help. Files don't really matter. Nagios loads them all, and processes. Its up to you how you want to format. Sometimes it's easier to group by type (hosts, services, commands, etc), and others by location (server room, etc). How you format is up to you. If you want, you can even bundle it all in a single file. Lines ending in \ are wrapped and should appear on a single line in your config. define command { command_namecheck-host-alive command_line$USER1$/check_ping -H $HOSTADDRESS$ \ -w 3000.0,80% -c 5000.0,100% \ -p 5 } define command { command_namecheck_http command_line$USER1$/check_http -H $HOSTNAME$ } define host { host_name myhost address 1.1.1.1 check_command check-host-alive notification_optionsd,r check_periodAll max_check_attempts 3 check_interval 1 retry_interval 1 contact_groups mycontacts } define service { host_name myhost check_command check_http {.. other stuff here .. } } This will execute check_http against the myhost. check-host-alive will be executed every 1 minute. If check-host-alive fails 3 times, host is considered down, and alerts
Re: [Nagios-users] How to surpess notifications if ping fails.
Hmmm, tryied this...but not working. Also, i get an error when i specify 'retry_interval'. maybe n agios3 only? define host{ host_name psedev2 alias dev check_command check-host-alive notification_optionsd,r max_check_attempts 3 check_interval 1 retry_interval 1 address 10.139.10.42 use generic-host parents switch-office } Error log: [1246481763] Error: Invalid host object directive 'retry_interval'. [1246481763] Error: Could not add object property in file '/etc/nagios2/conf.d/generic-host_nagios2.cfg' on line 143. [1246481763] Bailing out due to one or more errors encountered in the configuration files. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=27490) Thanks, JJ On Tue, Jun 30, 2009 at 9:08 PM, Jon Angliss j...@netdork.net wrote: Jeremiah Jester wrote: Jon, Thanks for the reply. I've been struggling with this for some days. Can you give me an example of what how to define this and in what file? I would appreciate your help. Files don't really matter. Nagios loads them all, and processes. Its up to you how you want to format. Sometimes it's easier to group by type (hosts, services, commands, etc), and others by location (server room, etc). How you format is up to you. If you want, you can even bundle it all in a single file. Lines ending in \ are wrapped and should appear on a single line in your config. define command { command_namecheck-host-alive command_line$USER1$/check_ping -H $HOSTADDRESS$ \ -w 3000.0,80% -c 5000.0,100% \ -p 5 } define command { command_namecheck_http command_line$USER1$/check_http -H $HOSTNAME$ } define host { host_name myhost address 1.1.1.1 check_command check-host-alive notification_optionsd,r check_periodAll max_check_attempts 3 check_interval 1 retry_interval 1 contact_groups mycontacts } define service { host_name myhost check_command check_http {.. other stuff here .. } } This will execute check_http against the myhost. check-host-alive will be executed every 1 minute. If check-host-alive fails 3 times, host is considered down, and alerts for check_http will be suppressed. You should read up on host checks [1], service checks [2], and notifications [3]. Also, I've not seen v3 in the repsository but maybe i need to change my sources? You didn't mention which version of ubuntu you were using, but jaunty has nagios3... http://packages.ubuntu.com/jaunty/nagios3 [1]: http://nagios.sourceforge.net/docs/3_0/hostchecks.html [2]: http://nagios.sourceforge.net/docs/3_0/servicechecks.html [3]: http://nagios.sourceforge.net/docs/3_0/notifications.html -- Jon Angliss j...@netdork.net -- ___ 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] can't shift that many error
While attempting to restart the nagios daemon i get the following error. Any thoughts? $ sudo /etc/init.d/nagios2 restart * Restarting nagios2 monitoring daemon nagios2 shift: 225: can't shift that many shift: 1: can't shift that many Thanks, JJ -- ___ 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] can't shift that many error
Marc, Thanks for your reply. I am using that nagios 2 package apart of Ubuntu. It appears to still work but the errors are worrisome. $:/etc/nagios2/scripts$ sudo /etc/init.d/nagios2 stop * Stopping nagios2 monitoring daemon nagios2 shift: 225: can't shift that many [ OK ] $:/etc/nagios2/scripts$ sudo /etc/init.d/nagios2 start * Starting nagios2 monitoring daemon nagios2 shift: 1: can't shift that many I have not modified the init script. Thanks, JJ On Mon, Jun 29, 2009 at 2:09 PM, Marc Powell m...@ena.com wrote: On Jun 29, 2009, at 3:44 PM, Jeremiah Jester wrote: While attempting to restart the nagios daemon i get the following error. Any thoughts? $ sudo /etc/init.d/nagios2 restart * Restarting nagios2 monitoring daemon nagios2 shift: 225: can't shift that many shift: 1: can't shift that many shift doesn't appear to be used in the init script in the tarball. Are you using some OS or package version of nagios? If so, which? Have you modified the init script from it's default? Is nagios running? Does a stop and then start work correctly? -- Marc -- ___ 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 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] Fwd: can't shift that many error
I keep getting these error messages when i post to the list.. any ideas why? -- Forwarded message -- From: Date: 2009/6/29 Subject: [Nagios-users] can't shift that many error To: jeremiahjes...@gmail.com Erro ao enviar o email para nagios-users@lists.sourceforge.net A caixa postal do destinatario esta cheia. O email foi recusado The mailbox is full. The email was rejected. -- ___ 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] How to surpess notifications if ping fails.
Hello, I have a working nagios2 installation under Ubuntu. I would like to configure nagios so that when a host cannot be ping'd by nagios all other services related to this server/s are stopped so I don't get a slew of notifications for that host. I'm thinking i want servicedepency directive in my dependecies.cfg file? Does this sound about right? define servicedependency{ hostgroup_name servers service_description ping dependent_hostgroup_nameservers dependent_service_description * execution_failure_criteria w,c notification_failure_criteria w,u,c } Thanks, JJ -- ___ 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] ping dependency
For some reason I'm having a hard time understanding exactly how dependencies work. What I'm trying to do is create a service dependcy that will halt notifications of any number of servers file if that host cannot be pinged. Can anyone assist? Here is the required basic syntax of a basic servicedependency definition in nagios2. code define servicedependency{ host_name service_description dependent_host_name dependent_service_description } /code Much appreciated, Jeremiah -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org___ 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] need help with check_sensors
Hello, I'm trying to get check_sensors working for nagios. I already have lm_sensors installed and ran 'sensors' to configure it for my machine. Next, I setup and defined the commands and services in nagios. However, when i run the following command i get the following error. $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.44 -c check_temp SENSOR CRITICAL - Sensor alarm detected! $tail /var/log/nagios2/nagios.log [1245270237] SERVICE ALERT: pse06-back;CHECK TEMP;UNKNOWN;HARD;3;(No output returned from plugin) [1245270237] SERVICE NOTIFICATION: root;pse06-back;CHECK TEMP;UNKNOWN;notify-by-email;(No output returned from plugin) There doesn't seem to be much information on the web or in my Pro Nagios 2.0 book about this plugin. Any help would be appreciated! JJ -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ 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] nagios2: failover
Hello Nagios Users, I'm attempting to setup a second nagios server up to do failover monitoring in case my primary nagios server goes down. Running into a odd problem in talking to the nrpe daemon on the master server. When I run the following cmd prompt, nrpe does not allow me to connect from the new host even though it is specified in the master nagios server nrpe.cfg file. SLAVE$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_load Connection refused by host However, when i run the same cmd for another host, it returns successfully. SLAVE:~$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.43 -c check_load OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0; **Note thta the IP for the nagios failover server IS listed in the nrpe.cfg allowed_hosts directive and the nrpe daemon has been restarted. Any insight on this issue? I am running Nagios 2.11. Thanks, JJ -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ 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] nagios2: failover
Oops, Looks like i had an error in my configuration file. Next question: Any idea why check_nagios can't find the running process? $/usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_nagios NAGIOS CRITICAL: Could not locate a running Nagios process! Nothing in /var/log/nagios2/nagios.log about this message. I can verify the nrpe and nagios are working as the following command returns succesfully. $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_load OK - load average: 1.00, 1.04, 1.05|load1=1.000;15.000;30.000;0; load5=1.040;10.000;25.000;0; load15=1.050;5.000;20.000;0; Thanks, JJ On Mon, Jun 15, 2009 at 1:10 PM, Jeremiah Jester jeremiahjes...@gmail.comwrote: Hello Nagios Users, I'm attempting to setup a second nagios server up to do failover monitoring in case my primary nagios server goes down. Running into a odd problem in talking to the nrpe daemon on the master server. When I run the following cmd prompt, nrpe does not allow me to connect from the new host even though it is specified in the master nagios server nrpe.cfg file. SLAVE$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_load Connection refused by host However, when i run the same cmd for another host, it returns successfully. SLAVE:~$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.43 -c check_load OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0; **Note thta the IP for the nagios failover server IS listed in the nrpe.cfg allowed_hosts directive and the nrpe daemon has been restarted. Any insight on this issue? I am running Nagios 2.11. Thanks, JJ -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ 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] nagios2: failover
Scratch that. Process was stuck. Killed and restart nagios server. Thanks! JJ On Mon, Jun 15, 2009 at 3:22 PM, Jeremiah Jester jeremiahjes...@gmail.comwrote: Oops, Looks like i had an error in my configuration file. Next question: Any idea why check_nagios can't find the running process? $/usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_nagios NAGIOS CRITICAL: Could not locate a running Nagios process! Nothing in /var/log/nagios2/nagios.log about this message. I can verify the nrpe and nagios are working as the following command returns succesfully. $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_load OK - load average: 1.00, 1.04, 1.05|load1=1.000;15.000;30.000;0; load5=1.040;10.000;25.000;0; load15=1.050;5.000;20.000;0; Thanks, JJ On Mon, Jun 15, 2009 at 1:10 PM, Jeremiah Jester jeremiahjes...@gmail.com wrote: Hello Nagios Users, I'm attempting to setup a second nagios server up to do failover monitoring in case my primary nagios server goes down. Running into a odd problem in talking to the nrpe daemon on the master server. When I run the following cmd prompt, nrpe does not allow me to connect from the new host even though it is specified in the master nagios server nrpe.cfg file. SLAVE$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_load Connection refused by host However, when i run the same cmd for another host, it returns successfully. SLAVE:~$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.43 -c check_load OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0; **Note thta the IP for the nagios failover server IS listed in the nrpe.cfg allowed_hosts directive and the nrpe daemon has been restarted. Any insight on this issue? I am running Nagios 2.11. Thanks, JJ -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ 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] disk warning messages
Hello, I'm trying to configure nagios to include the disk full percentage in the subject line of the email notification. For example. Subject: [Nagios] CRITICAL 99% Full on Server1 My commands currently look something like this for checking disk space. Anyone have any suggestions for me? -JJ = Check Disk Commands: define command{ command_namecheck_local_disk command_line$USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ } define command{ command_namecheck_remote_disk command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -c check_remote_disk } Email Commands: # 'host-notify-by-email' command definition define command{ command_namehost-notify-by-email command_line/usr/bin/printf Subject: [Nagios] $SERVICESTATE$: $SERVICEDESC$ $HOSTNAME$\nFrom: nag...@$hostname$.mascorp.com\n\n * Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n | /usr/sbin/exim Host $HOSTSTATE$ alert for $HOSTNAME$! $CONTACTEMAIL$ } Service: define service{ use local-service ; Name of service template to use use generic-service ; Name of service template hostgroup_name servers service_description DISK SPACE is_volatile 0 check_period24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval1 contact_groups admins notification_interval 1440 notification_period 24x7 notification_optionsw,u,c,r check_command check_nrpe!check_remote_disk!4%!2%! } -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get___ 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] truncated nagios email?
When receiving an email notification of disk space full the 'Additional info' line seems to be truncated near (32 0node=99 Any ideas why this is happening? Thanks, JJ email snip Nagios * Notification Type: PROBLEM Service: DISK SPACE Host: prod Address: 10.10.10.47 State: CRITICAL Date/Time: Wed Jun 3 22:26:34 UTC 2009 Additional Info: DISK CRITICAL - free space: / 23155 MB (32 0node=99 /email snip -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get___ 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 script
Hi Andy, Thanks for the email. I wish this would have worked! Here's what i did... -I added the sudo command in my nrpe.cfg file and ran it like you said. command[loadscript_check_error_log]=/usr/bin/sudo /usr/local/bin/python /home/jesterj/report_loadscript_error_log.py -Restarted the nrpe service. $ /etc/init.d/nagios-nrpe-server restart * Stopping nagios-nrpe nagios-nrpe [ OK ] * Starting nagios-nrpe nagios-nrpe - Reran the check_nrpe command on the server: /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log NRPE: Unable to read output - I then tried adding nagios to the /etc/group (admin group) on the client and running it again. Still failed. What a tedious problem. JJ On Fri, 2008-10-31 at 15:50 -0700, Andy Shellam wrote: Have you got sudo configured on your NRPE host? I get this error on new servers when I forget to add the Nagios/NRPE user to /etc/sudoers and allow them access to run the plugins without needing a password. Try running your command as the Nagios/NRPE user on your NRPE host like so (alter path to sudo as appropriate): # /usr/bin/sudo /usr/local/bin/python /home/jesterj/report_loadscript_error_log.py If this works, make sure that the path to your sudo executable is the absolute path in nrpe.cfg. Andy. jeremiah wrote: I just pulled this error up in the manual and it sasy the following about the error: NRPE: Unable to read output = This error indicates that the command that was run by the NRPE daemon did not return any character output. This could be an indication of the following problems: -An incorrectly defined command line in the command definition. Verify that the command definition in your NRPE configuration file is correct. -The plugin that is specified in the command line is malfunctioning. Run the command line manually to make sure the plugin returns some kind of text output. = I ran the command via the command prompt and works fine w/ returning output. Hmmm. On Fri, 2008-10-31 at 15:10 -0700, jeremiah wrote: I just chown'd the file for nagios. $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py $ ls -la *.py -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55 report_loadscript_error_log.py I'm now getting a different error after i fixed the path issue. $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log NRPE: Unable to read output Thoughts? thanks, JJ On Fri, 2008-10-31 at 15:01 -0700, Mathieu Gagné wrote: Hi, jeremiah wrote: When I typed python on the command line it drops my into the python interpreter. Regardless, I went ahead and specified it in the command: command[loadscript_check_error_log]=/usr/local/bin/python /home/jesterj/report_loadscript_error_log.py now when i run the check_nrpe command from the server I get could not run command. $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log Could not run command Thoughts? Can the user under which the NRPE daemon runs access and execute /home/jesterj/report_loadscript_error_log.py ? -- Mathieu Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http
Re: [Nagios-users] nrpe script
Mathieu, I did what you said and still have the same error. *I put the script into /etc/nagios and change owner permissions to nagios %/etc/nagios$ sudo chown nagios:nagios report_loadscript_error_log.py *verified permissions %/etc/nagios$ ls -la report_loadscript_error_log.py -rwxr-xr-x 1 nagios nagios 3156 2008-11-03 18:25 report_loadscript_error_log.py *changed the path in the command. command[loadscript_check_error_log]=/usr/bin/sudo /usr/local/bin/python /etc/nagios/report_loadscript_error_log.py *restarted sudo /etc/init.d/nagios-nrpe-server restart *ran the check_nrpe command from the server %/usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log NRPE: Unable to read output Thoughts? JJ On Fri, 2008-10-31 at 15:17 -0800, Mathieu Gagné wrote: Hi, jeremiah wrote: I check the log file and this is all i'm seeing pertaining to this command on the server. Oct 31 22:33:23 serv1 nagios2: SERVICE ALERT: serv2;LOADSCRIPT CHECK ERRORS;WARNING;HARD;3;NRPE: Unable to read output Oct 31 22:33:23 serv1 nagios2: SERVICE NOTIFICATION: root;serv2;LOADSCRIPT CHECK ERRORS;WARNING;notify-by-email;NRPE: Unable to read output I successfully reproduced your issue by trying to execute a plugin located inside /root through NRPE, location which is obviously chmod to 700: nagios3:~# stat --format=%a %U:%G /root 700 root:root nagios3:~# stat --format=%a %U:%G /root/check_users 755 root:root command[check_root]=/root/check_users -w 5 -c 10 /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c check_root NRPE: Unable to read output You have to move your plugin outside your home directory like I explained previously otherwise NRPE won't be able to access/execute it due to chmod restriction. -- Mathieu Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 script
Problem resolved! Even though i removed the sudo command from my commands file it was uncommented and active in nrpg.cfg file. Does this make sense to you? Seems like it could output a better error message than NRPE: Unable to read output?! #command_prefix=/usr/bin/sudo Thanks for all yiour help! JJ On Fri, 2008-10-31 at 15:17 -0800, Mathieu Gagné wrote: Hi, jeremiah wrote: I check the log file and this is all i'm seeing pertaining to this command on the server. Oct 31 22:33:23 serv1 nagios2: SERVICE ALERT: serv2;LOADSCRIPT CHECK ERRORS;WARNING;HARD;3;NRPE: Unable to read output Oct 31 22:33:23 serv1 nagios2: SERVICE NOTIFICATION: root;serv2;LOADSCRIPT CHECK ERRORS;WARNING;notify-by-email;NRPE: Unable to read output I successfully reproduced your issue by trying to execute a plugin located inside /root through NRPE, location which is obviously chmod to 700: nagios3:~# stat --format=%a %U:%G /root 700 root:root nagios3:~# stat --format=%a %U:%G /root/check_users 755 root:root command[check_root]=/root/check_users -w 5 -c 10 /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c check_root NRPE: Unable to read output You have to move your plugin outside your home directory like I explained previously otherwise NRPE won't be able to access/execute it due to chmod restriction. -- Mathieu Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] does nagios need apache?
Does nagios need apache to run or is it possible to run as a daemon? thanks, JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] does nagios need apache?
But can i view the historical data without running apache by a nagios command line interface without parsing log files? On Fri, 2008-10-31 at 13:23 -0700, Novin Jaiswal wrote: Using apache you can view the different historical data of Nagios as html out put. Using http protocol. For eg. http://servername/nagios Thanks Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -Original Message- From: Valdinger, Stephen (DOV, MSX) [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2008 4:20 PM To: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] does nagios need apache? Nagios itself is just a daemon. The only reason for apache is for the cgi's and web interface. --Original Message-- From: jeremiah To: Nagios-Users ReplyTo: [EMAIL PROTECTED] Sent: Oct 31, 2008 4:14 PM Subject: [Nagios-users] does nagios need apache? Does nagios need apache to run or is it possible to run as a daemon? thanks, JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 Stephen Valdinger MIS Helpdesk Coordinator P: 330.365.3622 C: 740.491.0958 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] does nagios need apache?
Great. thanks to all. On Fri, 2008-10-31 at 14:03 -0700, Valdinger, Stephen (DOV, MSX) wrote: There are utilities do that yes. In the /usr/local/bin/Nagios (at least in my install, your path may be different) there is a nagiosstats binary you can run. There are options for mrtg (-m) or csv (-c) output. Note that this only gives you performance data, and not data on individual checks of hosts and services. As Marc stated you will have to look on nagiosexchange.org for utilities that do those sorts of functions. Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C [EMAIL PROTECTED] Never agrue with an idiot. They drag you down to their level and then beat you with their experience. -Original Message- From: jeremiah [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2008 4:25 PM To: Novin Jaiswal Cc: Valdinger, Stephen (DOV, MSX); nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] does nagios need apache? But can i view the historical data without running apache by a nagios command line interface without parsing log files? On Fri, 2008-10-31 at 13:23 -0700, Novin Jaiswal wrote: Using apache you can view the different historical data of Nagios as html out put. Using http protocol. For eg. http://servername/nagios Thanks Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -Original Message- From: Valdinger, Stephen (DOV, MSX) [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2008 4:20 PM To: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] does nagios need apache? Nagios itself is just a daemon. The only reason for apache is for the cgi's and web interface. --Original Message-- From: jeremiah To: Nagios-Users ReplyTo: [EMAIL PROTECTED] Sent: Oct 31, 2008 4:14 PM Subject: [Nagios-users] does nagios need apache? Does nagios need apache to run or is it possible to run as a daemon? thanks, JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 Stephen Valdinger MIS Helpdesk Coordinator P: 330.365.3622 C: 740.491.0958 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] nrpe script
Hi folks, I have another question for you all that i haven't been able to resolve. I want to run a python script on my monitored hosts using the nrpe command. On my server I am running the following command: # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log Every time i run the command above then i get the following error: NRPE: Command 'loadscript_check_error_log' not defined On my monitored hosts, I've specified the corellary command in /etc/nagios/nrpe.cfg, then restarted the service. # command[loadscript_check_error_log]=python /home/username/script.py Am I missing something? Does the command[loadscript_check_error_log] actually have to be a valid plugin in the plugins directory or am I defining the action of running the script in this file? Note: This is the only command in my config that is not working for me so unlikely a service issue but rather something wrong with my config. Thanks! JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 script
No, I was trying to simulate a command prompt. JJ On Fri, 2008-10-31 at 14:31 -0700, Patrick Morris wrote: On Fri, 31 Oct 2008, jeremiah wrote: Hi folks, I have another question for you all that i haven't been able to resolve. I want to run a python script on my monitored hosts using the nrpe command. On my server I am running the following command: # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log Every time i run the command above then i get the following error: NRPE: Command 'loadscript_check_error_log' not defined On my monitored hosts, I've specified the corellary command in /etc/nagios/nrpe.cfg, then restarted the service. # command[loadscript_check_error_log]=python /home/username/script.py Am I missing something? Does the command[loadscript_check_error_log] actually have to be a valid plugin in the plugins directory or am I defining the action of running the script in this file? Note: This is the only command in my config that is not working for me so unlikely a service issue but rather something wrong with my config. Is it in the config file commented out with a # like that? Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 script
When I typed python on the command line it drops my into the python interpreter. Regardless, I went ahead and specified it in the command: command[loadscript_check_error_log]=/usr/local/bin/python /home/jesterj/report_loadscript_error_log.py now when i run the check_nrpe command from the server I get could not run command. $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log Could not run command Thoughts? Thanks, JJ On Fri, 2008-10-31 at 14:25 -0700, Valdinger, Stephen (DOV, MSX) wrote: Is python in the path on the particular server? Try using /path/to/python and see if you have success. Stephen Valdinger MIS Helpdesk Coordinator P: 330.365.3622 C: 740.491.0958 -Original Message- From: jeremiah To: Nagios Sent: Fri Oct 31 17:21:07 2008 Subject: [Nagios-users] nrpe script Hi folks, I have another question for you all that i haven't been able to resolve. I want to run a python script on my monitored hosts using the nrpe command. On my server I am running the following command: # /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log Every time i run the command above then i get the following error: NRPE: Command 'loadscript_check_error_log' not defined On my monitored hosts, I've specified the corellary command in /etc/nagios/nrpe.cfg, then restarted the service. # command[loadscript_check_error_log]=python /home/username/script.py Am I missing something? Does the command[loadscript_check_error_log] actually have to be a valid plugin in the plugins directory or am I defining the action of running the script in this file? Note: This is the only command in my config that is not working for me so unlikely a service issue but rather something wrong with my config. Thanks! JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 script
I just chown'd the file for nagios. $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py $ ls -la *.py -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55 report_loadscript_error_log.py I'm now getting a different error after i fixed the path issue. $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log NRPE: Unable to read output Thoughts? thanks, JJ On Fri, 2008-10-31 at 15:01 -0700, Mathieu Gagné wrote: Hi, jeremiah wrote: When I typed python on the command line it drops my into the python interpreter. Regardless, I went ahead and specified it in the command: command[loadscript_check_error_log]=/usr/local/bin/python /home/jesterj/report_loadscript_error_log.py now when i run the check_nrpe command from the server I get could not run command. $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log Could not run command Thoughts? Can the user under which the NRPE daemon runs access and execute /home/jesterj/report_loadscript_error_log.py ? -- Mathieu Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 script
i check the manual and this is what it says about this particular error: On Fri, 2008-10-31 at 15:10 -0700, jeremiah wrote: I just chown'd the file for nagios. $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py $ ls -la *.py -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55 report_loadscript_error_log.py I'm now getting a different error after i fixed the path issue. $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log NRPE: Unable to read output Thoughts? thanks, JJ On Fri, 2008-10-31 at 15:01 -0700, Mathieu Gagné wrote: Hi, jeremiah wrote: When I typed python on the command line it drops my into the python interpreter. Regardless, I went ahead and specified it in the command: command[loadscript_check_error_log]=/usr/local/bin/python /home/jesterj/report_loadscript_error_log.py now when i run the check_nrpe command from the server I get could not run command. $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log Could not run command Thoughts? Can the user under which the NRPE daemon runs access and execute /home/jesterj/report_loadscript_error_log.py ? -- Mathieu Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 script
I just pulled this error up in the manual and it sasy the following about the error: NRPE: Unable to read output = This error indicates that the command that was run by the NRPE daemon did not return any character output. This could be an indication of the following problems: -An incorrectly defined command line in the command definition. Verify that the command definition in your NRPE configuration file is correct. -The plugin that is specified in the command line is malfunctioning. Run the command line manually to make sure the plugin returns some kind of text output. = I ran the command via the command prompt and works fine w/ returning output. Hmmm. On Fri, 2008-10-31 at 15:10 -0700, jeremiah wrote: I just chown'd the file for nagios. $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py $ ls -la *.py -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55 report_loadscript_error_log.py I'm now getting a different error after i fixed the path issue. $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log NRPE: Unable to read output Thoughts? thanks, JJ On Fri, 2008-10-31 at 15:01 -0700, Mathieu Gagné wrote: Hi, jeremiah wrote: When I typed python on the command line it drops my into the python interpreter. Regardless, I went ahead and specified it in the command: command[loadscript_check_error_log]=/usr/local/bin/python /home/jesterj/report_loadscript_error_log.py now when i run the check_nrpe command from the server I get could not run command. $ sudo /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log Could not run command Thoughts? Can the user under which the NRPE daemon runs access and execute /home/jesterj/report_loadscript_error_log.py ? -- Mathieu Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 script
Mathieu, Thanks for your ongoing help. I check the log file and this is all i'm seeing pertaining to this command on the server. Oct 31 22:33:23 serv1 nagios2: SERVICE ALERT: serv2;LOADSCRIPT CHECK ERRORS;WARNING;HARD;3;NRPE: Unable to read output Oct 31 22:33:23 serv1 nagios2: SERVICE NOTIFICATION: root;serv2;LOADSCRIPT CHECK ERRORS;WARNING;notify-by-email;NRPE: Unable to read output Also, the command runs successfully when ran on the cmd line from my home directory or the plugins location. Changed debug=1 on the client and restarted in nrpe, reran the command and don't see anything related to nagios in /var/log/messages? Thanks, JJ On Fri, 2008-10-31 at 15:41 -0700, Mathieu Gagné wrote: Hi, jeremiah wrote: i check the manual and this is what it says about this particular error: On Fri, 2008-10-31 at 15:10 -0700, jeremiah wrote: I just chown'd the file for nagios. $ sudo chown nagios /home/jesterj/report_loadscript_error_log.py $ ls -la *.py -rwxr-xr-x 1 nagios jesterj 3156 2008-10-31 21:55 report_loadscript_error_log.py I'm now getting a different error after i fixed the path issue. $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.45 -c loadscript_check_error_log NRPE: Unable to read output Thoughts? /home/jesterj/ is probably chowned to 700 anyway so the NRPE daemon won't be able to access and execute it anyway. Try running it manually with sudo to see the actual result: sudo -u nagios /usr/local/bin/python /home/jesterj/report_loadscript_error_log.py Also, you should copy your script in a more appropriate location such as /usr/local/bin or even /usr/lib/nagios/plugins if you have installed Nagios on a Debian or Ubuntu server. You can also try to start NRPE with debug=1: How to go about debugging other problems... When debugging problems it may be useful to edit the NRPE configuration file and change the debug=0 entry to debug=1. Once you do that, restart the NRPE daemon if it is running as a standalone daemon. After you try using the check_nrpe plugin again, you should be able to see some debugging information in the log files of the remote host. Check your logs carefully – they should be able to help provide clues as to where the problem lies... Ref.: http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf -- Mathieu Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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_load issue
My check_load service keeps on giving me the following error. Warning threshold must be float or float triplet! However, when i run the command from the system it works just fine. ./check_load -w 10.0,8.0,5.0 -c 15.0,10.0,8.0 OK - load average: 0.01, 0.02, 0.00|load1=0.010;10.000;15.000;0; load5=0.020;8.000;10.000;0; load15=0.000;5.000;8.000;0; My services.cfg file looks as such..same values. check_command check_load!10.0,8.0,5.0!15.0,10.0,8.0 Any thoughts? Thanks, JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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_load issue
I checked my commands.cfg file and noticed the command wasn't defined so I went and put this in there... define command { command_namecheck_load command_linelibexec/check_load -w $ARG1$ $ARG2$ $ARG3 -c $ARG4$ $ARG5$ $ARG6$ } However, when i restarted nagios it told me the command was already defined. So, i then commented it out and restarted..it started but still the same error/problem: Warning threshold must be float or float triplet! Thoughts? JJ ./check_load -w 10.0,8.0,5.0 -c 15.0,10.0,8.0 OK - load average: 0.01, 0.02, 0.00|load1=0.010;10.000;15.000;0; load5=0.020;8.000;10.000;0; load15=0.000;5.000;8.000;0; [EMAIL PROTECTED]:/usr/lib/nagios/plugins$ sudo pico /etc/nagios2/conf.d/services_nagios2.cfg On Thu, 2008-10-16 at 13:37 -0700, Patrick Morris wrote: On Thu, 16 Oct 2008, jeremiah wrote: My check_load service keeps on giving me the following error. Warning threshold must be float or float triplet! However, when i run the command from the system it works just fine. ./check_load -w 10.0,8.0,5.0 -c 15.0,10.0,8.0 OK - load average: 0.01, 0.02, 0.00|load1=0.010;10.000;15.000;0; load5=0.020;8.000;10.000;0; load15=0.000;5.000;8.000;0; My services.cfg file looks as such..same values. check_command check_load!10.0,8.0,5.0!15.0,10.0,8.0 How is your check_load check command defined? Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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_load issue
I found this.. File: /etc/nagios-plugins/config/load.cfg # 'check_load' command definition define command{ command_namecheck_load command_line/usr/lib/nagios/plugins/check_load --warning= $ARG1$,$ARG2$,$ARG3$ --critical=$ARG4$,$ARG5$,$ARG6$ } I've been using an older nagios book but just ordered up the apress nagios 2 version. Thanks, JJ On Thu, 2008-10-16 at 14:03 -0700, Aaron Segura wrote: Please, always reply on-list. If the check is running via nagios, the command is defined somewhere. Find it and send it. We can't help without that information. Also, you would benefit from reading the documentation pertaining to service/command definitions. -Original Message- From: jeremiah [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2008 2:57 PM To: Aaron Segura Subject: RE: [Nagios-users] check_load issue Aaron, Thanks for your response. Here's the message I sent to the list. Date: Thu, 16 Oct 2008 13:49:17 -0700 I checked my commands.cfg file and noticed the command wasn't defined so I went and put this in there... define command { command_namecheck_load command_linelibexec/check_load -w $ARG1$ $ARG2$ $ARG3 -c $ARG4$ $ARG5$ $ARG6$ } However, when i restarted nagios it told me the command was already defined. So, i then commented it out and restarted..it started but still the same error/problem: Warning threshold must be float or float triplet! Thoughts? JJ On Thu, 2008-10-16 at 13:40 -0700, Aaron Segura wrote: Going to at least need to see the command definition. -Original Message- From: jeremiah [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2008 2:33 PM To: Nagios Subject: [Nagios-users] check_load issue My check_load service keeps on giving me the following error. Warning threshold must be float or float triplet! However, when i run the command from the system it works just fine. ./check_load -w 10.0,8.0,5.0 -c 15.0,10.0,8.0 OK - load average: 0.01, 0.02, 0.00|load1=0.010;10.000;15.000;0; load5=0.020;8.000;10.000;0; load15=0.000;5.000;8.000;0; My services.cfg file looks as such..same values. check_command check_load!10.0,8.0,5.0!15.0,10.0,8.0 Any thoughts? Thanks, JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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_load issue
Awesome. I will read it. Thanks! JJ On Thu, 2008-10-16 at 14:14 -0700, Aaron Segura wrote: There's the problem. You should either modify your check_load command_line to: /usr/lib/nagios/plugins/check_load --warning=$ARG1$ --critical=$ARG2$ Or change your service check_command to: check_load!10.0!8.0!5.0!15.0!10.0!8.0 but not both. Also, read the docs regarding service/command definitions and macro usage. -Original Message- From: jeremiah [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2008 3:09 PM To: Aaron Segura Cc: Nagios Subject: RE: [Nagios-users] check_load issue I found this.. File: /etc/nagios-plugins/config/load.cfg # 'check_load' command definition define command{ command_namecheck_load command_line/usr/lib/nagios/plugins/check_load --warning= $ARG1$,$ARG2$,$ARG3$ --critical=$ARG4$,$ARG5$,$ARG6$ } I've been using an older nagios book but just ordered up the apress nagios 2 version. Thanks, JJ On Thu, 2008-10-16 at 14:03 -0700, Aaron Segura wrote: Please, always reply on-list. If the check is running via nagios, the command is defined somewhere. Find it and send it. We can't help without that information. Also, you would benefit from reading the documentation pertaining to service/command definitions. -Original Message- From: jeremiah [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2008 2:57 PM To: Aaron Segura Subject: RE: [Nagios-users] check_load issue Aaron, Thanks for your response. Here's the message I sent to the list. Date: Thu, 16 Oct 2008 13:49:17 -0700 I checked my commands.cfg file and noticed the command wasn't defined so I went and put this in there... define command { command_namecheck_load command_linelibexec/check_load -w $ARG1$ $ARG2$ $ARG3 -c $ARG4$ $ARG5$ $ARG6$ } However, when i restarted nagios it told me the command was already defined. So, i then commented it out and restarted..it started but still the same error/problem: Warning threshold must be float or float triplet! Thoughts? JJ On Thu, 2008-10-16 at 13:40 -0700, Aaron Segura wrote: Going to at least need to see the command definition. -Original Message- From: jeremiah [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2008 2:33 PM To: Nagios Subject: [Nagios-users] check_load issue My check_load sect: [Nagios-users] check_load issue My check_load service keeps on giving me the following error. Warning threshold must be float or float triplet! However, when i run the command from the system it works just fine. ./check_load -w 10.0,8.0,5.0 -c 15.0,10.0,8.0 OK - load average: 0.01, 0.02, 0.00|load1=0.010;10.000;15.000;0; load5=0.020;8.000;10.000;0; load15=0.000;5.000;8.000;0; My services.cfg file looks as such..same values. check_command check_load!10.0,8.0,5.0!15.0,10.0,8.0 Any thoughts? Thanks, JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users
[Nagios-users] email notifications not working
It doesn't appear that nagios v2 is sending email notifications to upon error. Here is what i've checked to troubleshoot the problem and verified config files. Am I missing something?? Thanks, JJ == !Errors do exists in the log file. ++ LOAD-SCRIPT;CRITICAL;HARD;3;Connection refused ++ !I've enabled notifications in each of my services in services.cfg ++ notifications_enabled 1 ++ !I've set the admin email in nagios.cfg. I've also enabled_notifications=1. ++ admin_email = (email hidden) ++ !Verified Contacts.cfg is set... ++ define contact{ contact_name root alias (my name) service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email (my email) } define contactgroup{ contactgroup_name admins alias Nagios Administrators members root } ++ !Mail agent on localhost is also running. ++ # telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 pse02.mascorp.com ESMTP Exim 4.69 Fri, 17 Oct 2008 00:13:58 + ++ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] service error?
Any thoughts on these errors? I'm stumped. Checking services... Error: Service check command 'check_ssh' specified in service 'SSH' for host 'server1' not defined anywhere! Error: Service check command 'check_ssh' specified in service 'SSH' for host 'server2' not defined anywhere! Services page looks like this.. define service{ use generic-service hostgroup_name ssh_servers service_description SSH is_volatile 0 check_period24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval1 contact_groups admins notification_interval 30 notification_period 24x7 notification_optionsw,u,c,r check_command check_ssh } Thanks! Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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_mysql
I want nagios to automatically check mysql services on my servers. However when i view the web interface i see that staus is UNKNOWN and it displays the usage for check_mysql. In what file am i supposed to put the arguments for this command? Here is what i have so far in commands.cfg define command{ command_namecheck_mysql command_line$USER1$/check_mysql -H $HOSTADDRESS$ -P $ARG1$ -u $ARG2$ -p $ARG3$ } and my services.cf file... define service{ use generic-service ; Name of service template hostgroup_name mysql_servers service_description MYSQL is_volatile 0 check_period24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval1 contact_groups admins notification_interval 30 notification_period 24x7 notification_optionsw,u,c,r check_command check_mysql } Thanks! Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 not starting
Any ideas? ~$ sudo /etc/init.d/nagios2 start [sudo] password for user: * Starting nagios2 monitoring daemon nagios2 kill: 1: No such process [ OK ] Thanks! Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] mysql connect error
I'm getting the following check_mysql error through the web interface. +++ Access denied for user 'nagios'@'ipadddress' (using password: NO) Is this trying to logon to the host with a nagios system account? Can someone help me with this in understanding what I'm supposed to do to resolve this? thanks, JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] contacts.cfg error.
Any thoughts on how to fix this one? Checking contacts... Error: Service notification command 'notify-by-email' specified for contact 'root' is not defined anywhere! Error: Host notification command 'host-notify-by-email' specified for contact 'root' is not defined anywhere! = Here is my contacts.cfg file... define contact{ contact_name root alias Jeremiah service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email [EMAIL PROTECTED] } define contactgroup{ contactgroup_name admins alias Nagios Administrators members root } Thanks! JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] contacts.cfg error.
Thanks for your response. I'm seeing this line in nagios.cfg. # Command definitions cfg_file=/etc/nagios2/commands.cfg What do you tihnk? JJ On Wed, 2008-10-15 at 16:25 -0700, Sean McAfee wrote: jeremiah wrote: Any thoughts on how to fix this one? Checking contacts... Error: Service notification command 'notify-by-email' specified for contact 'root' is not defined anywhere! Error: Host notification command 'host-notify-by-email' specified for contact 'root' is not defined anywhere! = Here is my contacts.cfg file... The problem isn't actually with your contacts.cfg, it's just that you're missing the commands that are referenced (I know, it can get confusing). Is commands.cfg anywhere in your nagios.cfg? In a default install, that's where these would be defined. -- Sean McAfee Collaborative Fusion, Inc. [EMAIL PROTECTED] 412-422-3463 x 4025 1710 Murray Avenue, Suite 320 Pittsburgh, PA 15217 IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] contacts.cfg error.
It appears to be defined to me. Is this not correct? define contact{ contact_name root alias Jeremiah service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email email } On Wed, 2008-10-15 at 16:26 -0700, Hugo van der Kooij wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jeremiah wrote: Error: Service notification command 'notify-by-email' specified for contact 'root' is not defined anywhere! Error: Host notification command 'host-notify-by-email' specified for contact 'root' is not defined anywhere! The answer is right in front of you. You need to define these commands. In fact they should be listed in one of your sample configuration files. Which sections of the manuals did you use to find an answer to this question? Hugo. - -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFI9nwcBvzDRVjxmYERAvpJAJ9FY7Yx5NgoYsU7gtVhSvA65+mDUACfV6Gi SLilbuXS+MczNxNoWsdDooU= =GihX -END PGP SIGNATURE- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] max_check_attempts error
Also, here are the first 20 or so lines of my generic-host_nagios2.cfg. # Generic host definition template define host{ name generic-host; The name of this host template - referenced in other host definitions, used for template recursion/resolution notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host{ host_name pse01 alias dev address(ip hidden) usegeneric-host } On Tue, 2008-10-14 at 15:06 -0700, jeremiah wrote: Hello, I am relatively new to nagios. Am using version 2. Can anyone shed any light on this error? Error: Invalid max_check_attempts value for host 'pse01' Error: Could not register host (config file '/etc/nagios2/conf.d/generic-host_nagios2.cfg', starting on line 13) Thanks, JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] max_check_attempts error
Hello, I am relatively new to nagios. Am using version 2. Can anyone shed any light on this error? Error: Invalid max_check_attempts value for host 'pse01' Error: Could not register host (config file '/etc/nagios2/conf.d/generic-host_nagios2.cfg', starting on line 13) Thanks, JJ Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] Status.cgi Question
Does anyone know the variables I would need to pass to status.cgi to be able to view all problems in one page (host and service combined)? Right now all service problems can be viewed by sending this to status.cgi: status.cgi?host=allservicestatustypes=28 All host problems can be viewed with this: status.cgi?hostgroup=allstyle=hostdetailhoststatustypes=12 I'm basically just trying to create a link for All Problems and All Unhandled Problems in the nagios menu. That way someone who is watching nagios doesn't have to click between two pages. If anyone has done this with their setup or knows how to do this the help would be greatly appreciated. Thanks in advance, Jeremiah - 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] please help with ignored service checks problem...
I've been having a problem with some service checks not being run and not being rescheduled. For example, at 11:06:37, the scheduling queue will shoe these services with N/A for the last check, and the next check in the past. I get no messages in the log whatsoever regarding these checks. I can run the commands as nagios in shell with no problems. If someone could tell me what I'm doing wrong or give me an idea what to look for, I'd much appreciate it. Thank you for your time. The checks are listed in objects.cache and status.dat: objects.cache: command_namecheck_disk_smb objects.cache: command_line$USER1$/check_disk_smb -H $HOSTADDRESS$ -s $ARG1$ -W -u -p -w 2G -c 1G objects.cache: check_command check_disk_smb!Temp objects.cache: check_command check_disk_smb!users objects.cache: check_command check_disk_smb!data objects.cache: check_command check_disk_smb!data1 objects.cache: check_command check_disk_smb!data2 status.dat: check_command=check_disk_smb!Temp status.dat: check_command=check_disk_smb!users status.dat: check_command=check_disk_smb!data status.dat: check_command=check_disk_smb!data1 status.dat: check_command=check_disk_smb!data2 objects.cache: command_namecheck_rpc objects.cache: command_line$USER1$/check_rpc -H $HOSTADDRESS$ -C nfs -p 2049 -t objects.cache: check_command check_rpc objects.cache: check_command check_rpc objects.cache: check_command check_rpc status.dat: check_command=check_rpc status.dat: check_command=check_rpc status.dat: check_command=check_rpc The relevant configuration bits: define command{ command_namecheck_disk_smb command_line$USER1$/check_disk_smb -H $HOSTADDRESS$ -s $ARG1 $ -W cct echnol -u nagios -p nagios1 -w 2G -c 1G } define command{ command_namecheck_rpc command_line$USER1$/check_rpc -H $HOSTADDRESS$ -C nfs -p 2049 -t } define service{ use generic-service ; Name of servic e template to use host_name kraken,luna,zeus service_description NFS is_volatile 0 check_period24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval1 contact_groups admins notification_optionsw,u,c,r notification_interval 960 notification_period 24x7 check_command check_rpc } define service{ use generic-service ; Name of servic e template to use host_name zeus service_description /data is_volatile 0 check_period24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval1 contact_groups admins notification_optionsw,u,c,r notification_interval 960 notification_period 24x7 check_command check_disk_smb!data } -- Jeremiah Coleman Systems Administrator C C Technologies 337-261-0660 x3421 [EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ 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] Problem with nagios skipping check_rpc checks
I have a nagios system I recently set up, and everything is working fine, except for check_rpc checks. For some reason, the schedular seems to be skipping the checks, and not rescheduling them. I get no error messages that I can find in the logs. All other checks run as they should. The relevant portions of the configs: define command{ command_namecheck_nfs command_line$USER1$/check_rpc -H $HOSTADDRESS$ -C nfs -p 2049 -t } check_rpc is in the directory pointed to by $USER1$. All the other checks have the same directory. I can run this check command line no problem at all. define service{ use generic-service ; Name of servic e template to use host_name kraken,luna,zeus service_description NFS is_volatile 0 check_period24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval1 contact_groups admins notification_optionsw,u,c,r notification_interval 960 notification_period 24x7 check_command check_nfs } Can anyone help me with this? Thanks, Jay -- Jeremiah Coleman Systems Administrator C C Technologies 337-261-0660 x3421 [EMAIL PROTECTED] - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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