[Nagios-users] check_proc --metric=CPU - alternatives?
Hi I have the following Problem: We have some Processes which are running but are idle for some time (maybe some weeks) and the get used by a user. While a single Process is used is should have a cpu usage varying between 10 and 50%. We have the problem that sometimes a process gets stuck and then is running at 100% cpu usage. = this is what we want to check via Nagios. I tried to use check_procs like: ./check_procs -w 80 -c 90 --metric=CPU --command=qemu-system-x86 but this did noch catch the processes. After some testing and searching on the internet I found out that this is depending on how ps calculates the cpu usage: It devides the cputime by the runtime of the process, giving the average cup usage over the whole process time - which does not really help :-( Does anyone know of an alternative check which gives me the cpu usage actual of a process (or maybe the average over the last minute)? Regards Sebastian Ries -- DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: sebastian.r...@dtnet.de -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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 Graphing
I'm looking to build a Nagios server running under Solaris 10 with graphing, hopefully allowing me to view trend data in a more pleasing format. Anyone have any ideas what is the best graphing solution for Nagios. I know there are many, but just wanted to get a feel as to what people think is the best option. Obviously it would have to install/run correctly under Solaris 10 also. Regards, Rab. = Robert Jackson Phone: +44 (0) 141 332 7999 IT Manager Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus PlaceEmail: r...@walkermartyn.co.uk Glasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk = The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administra...@walkermartyn.co.uk Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios Graphing
Hi there -- I implemented pnp4nagios on our system, and it has done a great job for us. From: Robert Jackson [mailto:r...@walkermartyn.co.uk] Sent: Friday, August 06, 2010 3:29 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios Graphing I'm looking to build a Nagios server running under Solaris 10 with graphing, hopefully allowing me to view trend data in a more pleasing format. Anyone have any ideas what is the best graphing solution for Nagios. I know there are many, but just wanted to get a feel as to what people think is the best option. Obviously it would have to install/run correctly under Solaris 10 also. Regards, Rab. = Robert Jackson Phone: +44 (0) 141 332 7999 IT Manager Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus PlaceEmail: r...@walkermartyn.co.uk mailto:r...@walkermartyn.co.uk Glasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk http://www.walkermartyn.co.uk = The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administra...@walkermartyn.co.uk. Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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] Required plugins to monitor PIX
Hi There, Can you please provide me the plugins to monitor PIX (Cisco) CPU and Memory usage. Regards, Kiran -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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] Required plugins to monitor PIX
Check out the generic switch template that is in the config files. here is a set of plugins that are designed for cisco devices. http://exchange.nagios.org/directory/Plugins/Uncategorized/Software/SNMP/Cisco-SNMP-device-monitoring/details If you run show snmp-server oidlist on the asa it will give you the SNMP OID you should poll for a value. Here are the basics for CPU. [128] 1.3.6.1.4.1.9.9.109.1.1.1.1.2. cpmCPUTotalPhysicalIndex [129] 1.3.6.1.4.1.9.9.109.1.1.1.1.3. cpmCPUTotal5sec [130] 1.3.6.1.4.1.9.9.109.1.1.1.1.4. cpmCPUTotal1min [131] 1.3.6.1.4.1.9.9.109.1.1.1.1.5. cpmCPUTotal5min I personally use the values above and do a check_snmp on the oid to get the results i need. Greg Pangrazio On Fri, Aug 6, 2010 at 8:00 AM, Kiran Kumar P kiran.par...@valuelabs.net wrote: Hi There, Can you please provide me the plugins to monitor PIX (Cisco) CPU and Memory usage. Regards, Kiran -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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 Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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] Executing a script based on text from a web page
I know that nagios can monitor pages for certain text on that page to verify that its there. In our organization we have several monitors like this currently setup and they work well for us. I want to take this operability and apply it to a webpage that only appears when there is a server error and have it kick off a script to restart a service. This is for a website within the company. When there are too many mysql connections, the site itself will not be displayed but will display a friendly error for us to perform a flush of the hosts. This error doesnt occur often and when it does occur, it doesn't always happen when someone is awake to address it. Basically what I want to happen is for nagios to monitor a website and if/when this error appears (I will set the check_command to look for the right text) nagios will execute a script to restart that service. 99% of the time, the site will be up and functioning as it should be, so I am not sure how to write this one up without giving a false positive on our monitors. Any thoughts on how to implement this? Joseph Devaney | Jr. Linux Systems Administrator | Black Duck Software | v: 781-810-1334 | m: 781-974-6729 | jdeva...@blackducksoftware.commailto:jdeva...@blackducksoftware.com | 265 Winter St, Waltham, MA 02451 -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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] Executing a script based on text from a web page
On Fri, Aug 6, 2010 at 4:16 PM, Joseph Devaney jdeva...@blackducksoftware.com wrote: I know that nagios can monitor pages for certain text on that page to verify that its there. In our organization we have several monitors like this currently setup and they work well for us. I want to take this operability and apply it to a webpage that only appears when there is a server error and have it kick off a script to restart a service. This is for a website within the company. When there are too many mysql connections, the site itself will not be displayed but will display a friendly error for us to perform a flush of the hosts. This error doesnt occur often and when it does occur, it doesn't always happen when someone is awake to address it. Basically what I want to happen is for nagios to monitor a website and if/when this error appears (I will set the check_command to look for the right text) nagios will execute a script to restart that service. 99% of the time, the site will be up and functioning as it should be, so I am not sure how to write this one up without giving a false positive on our monitors. Any thoughts on how to implement this? This should be fairly simple to do with a service-specific event handler http://nagios.sourceforge.net/docs/3_0/eventhandlers.html and a check that uses check_http to look for that error message. I think check_http has options for inverting the default check behavior (i.e. return CRITICAL if a string is found) but otherwise you can use negate to accomplish the same thing. I may not be understanding your question fully though - how would you risk creating a false positive here? Do you want to restart the service every time the error message appears on the internal webpage, or do you also want to check if the site is down before restarting? Best regards Martin Melin -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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] Executing a script based on text from a web page
We've had a lot of luck with check_http with the params -u and -s -u points to the particular path on the web server and -s is the return string it expects. And then there's the hacky way of doing it; wget the page and search for presence/absence of a particular string On Fri, Aug 6, 2010 at 10:16 AM, Joseph Devaney jdeva...@blackducksoftware.com wrote: I know that nagios can monitor pages for certain text on that page to verify that its there. In our organization we have several monitors like this currently setup and they work well for us. I want to take this operability and apply it to a webpage that only appears when there is a server error and have it kick off a script to restart a service. This is for a website within the company. When there are too many mysql connections, the site itself will not be displayed but will display a friendly error for us to perform a flush of the hosts. This error doesnt occur often and when it does occur, it doesn't always happen when someone is awake to address it. Basically what I want to happen is for nagios to monitor a website and if/when this error appears (I will set the check_command to look for the right text) nagios will execute a script to restart that service. 99% of the time, the site will be up and functioning as it should be, so I am not sure how to write this one up without giving a false positive on our monitors. Any thoughts on how to implement this? Joseph Devaney | Jr. Linux Systems Administrator | Black Duck Software | v: 781-810-1334 | m: 781-974-6729 | jdeva...@blackducksoftware.com | 265 Winter St, Waltham, MA 02451 -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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 Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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] setting up nagios to monitor other systems load, mem, disk
I have nagios 3.2.1 installed on a RH5.5 box, and it is monitoring ssh on client systems (and host check/ping). I now want to be able to check disk capacity, cpu load, etc., on other systems(clients). It's not clear to me how to do this in the documentation. Do I need to use check_by_ssh or nrpe? Is there a way to package up part of the nagios install and distribute it to all systems I want to monitor? I would much appreciate it if someone could send me a link to the right document for this. Thanks, Neil smime.p7s Description: S/MIME cryptographic signature -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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] Passive freshness checks - active checks
Hi All, I'm having a bit of a problem with my nagios setup. I'm trying to move toward passive checks, with failover being a active check. For now, my failover check command is just a one liner that returns critical with a message. I'm it's looking like the active check is being run, even when I see the corresponding passive check coming in. I suspect it may be in my configs somewhere, but I'm not sure what is wrong yet. The big kicker of this, is it's not all of my checks. Only some of them. They all have different freshness thresholds, but that doesn't seem to be common. Their configs are the same, but in a different order, and that doesn't seem like the problem either as it's affecting some of one, and not of the other. Any thoughts of what I may be doing wrong? Charlie --- Nagios Version: 3.2.0 I have a service template definition that looks like this. define service{ namepassive-service check_freshness 1 active_checks_enabled 0 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 0 notifications_enabled 0 event_handler_enabled 0 flap_detection_enabled 0 failure_prediction_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information1 is_volatile 0 check_period24x7 max_check_attempts 1 contact_groups admins notification_optionsw,c,r notification_interval 60 notification_period 24x7 register0 } And then I have a services defined like so. # Free Memory Check define service{ use passive-service service_description Passive Memory Check check_command check_stale hostgroups passive freshness_threshold 3600 } My active checks are defined with. # alert on staledefine command{command_name check_stale command_line$USER1$/check_dummy 2 Check is stale, please run manually } On my host, I use cron jobs to run things like this. I use nsca_wrapper to send my check results to the central nagios server. # Check Free Memory */15 * * * * root /usr/local/nagios/libexec/nsca_wrapper.sh -H server.name -S 'Passive Memory Check' -C '/usr/local/nagios/libexec/ check_memory -w 10 -c 5' /dev/null -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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] Executing a script based on text from a web page
Or just use an event handler. Check out the examples in the below link. http://nagios.sourceforge.net/docs/3_0/eventhandlers.html - Original Message From: dave stern - e-mail.pluribus.unum dit.d...@gmail.com To: Nagios Users List nagios-users@lists.sourceforge.net Sent: Fri, August 6, 2010 11:38:47 AM Subject: Re: [Nagios-users] Executing a script based on text from a web page We've had a lot of luck with check_http with the params -u and -s -u points to the particular path on the web server and -s is the return string it expects. And then there's the hacky way of doing it; wget the page and search for presence/absence of a particular string On Fri, Aug 6, 2010 at 10:16 AM, Joseph Devaney jdeva...@blackducksoftware.com wrote: I know that nagios can monitor pages for certain text on that page to verify that its there. In our organization we have several monitors like this currently setup and they work well for us. I want to take this operability and apply it to a webpage that only appears when there is a server error and have it kick off a script to restart a service. This is for a website within the company. When there are too many mysql connections, the site itself will not be displayed but will display a friendly error for us to perform a flush of the hosts. This error doesnt occur often and when it does occur, it doesn't always happen when someone is awake to address it. Basically what I want to happen is for nagios to monitor a website and if/when this error appears (I will set the check_command to look for the right text) nagios will execute a script to restart that service. 99% of the time, the site will be up and functioning as it should be, so I am not sure how to write this one up without giving a false positive on our monitors. Any thoughts on how to implement this? Joseph Devaney | Jr. Linux Systems Administrator | Black Duck Software | v: 781-810-1334 | m: 781-974-6729 | jdeva...@blackducksoftware.com | 265 Winter St, Waltham, MA 02451 -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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 Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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 Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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] setting up nagios to monitor other systems load, mem, disk
On Fri, Aug 6, 2010 at 5:59 PM, Dombrowski, Neil neil.dombrow...@hp.com wrote: I have nagios 3.2.1 installed on a RH5.5 box, and it is monitoring ssh on client systems (and host check/ping). I now want to be able to check disk capacity, cpu load, etc., on other systems(clients). It's not clear to me how to do this in the documentation. Do I need to use check_by_ssh or nrpe? Is there a way to package up part of the nagios install and distribute it to all systems I want to monitor? I would much appreciate it if someone could send me a link to the right document for this. NRPE is what you want: http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf NRPE and the nagios-plugins package + any custom plugins you want to use is usually what you want distributed to your monitored hosts. Best regards Martin Melin Thanks, Neil -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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] setting up nagios to monitor other systems load, mem, disk
Niel, You can do this many ways. It might be a good idea for you to start with some background info and such. I have really had good luck with James Turnbull's Pro Nagios 2.0 book as well as Building a Monitoring Infrastructure with Nagios by David Josephsen. These books both help with deciding the trade offs between check by ssh, nrpe, snmp etc. Greg Pangrazio On Fri, Aug 6, 2010 at 10:59 AM, Dombrowski, Neil neil.dombrow...@hp.com wrote: I have nagios 3.2.1 installed on a RH5.5 box, and it is monitoring ssh on client systems (and host check/ping). I now want to be able to check disk capacity, cpu load, etc., on other systems(clients). It's not clear to me how to do this in the documentation. Do I need to use check_by_ssh or nrpe? Is there a way to package up part of the nagios install and distribute it to all systems I want to monitor? I would much appreciate it if someone could send me a link to the right document for this. Thanks, Neil -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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 Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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] setting up nagios to monitor other systems load, mem, disk
On Aug 6, 2010, at 10:59 AM, Dombrowski, Neil wrote: I have nagios 3.2.1 installed on a RH5.5 box, and it is monitoring ssh on client systems (and host check/ping). I now want to be able to check disk capacity, cpu load, etc., on other systems(clients). It's not clear to me how to do this in the documentation. Do I need to use check_by_ssh or nrpe? You can do either. I have been using check_by_ssh because I didn't want to open a new port on my client machines, and they are all running sshd on them. But this does not scale very well. We have a 2 core server, and about 300 hosts, and 1500 checks, and it's loaded the host down pretty bad. If I was to stay doing active checks, I would do NRPE as I have done in the past. It scales much better. Is there a way to package up part of the nagios install and distribute it to all systems I want to monitor? You'll want to get the nrpe plugin along with the plugin checks. We usually just push the files to the systems, compile, install, and then put our configs in place. A smart bash script can automate most of the install for you. I would much appreciate it if someone could send me a link to the right document for this. The basics you'll need are to define another host. Define services. Define commands for those services. Add the host to those services. On the client, install and configure nrpe. Install the plugins you want to use. And then open up firewalls for these new services. Sorry I can't find the link I used to use when I first started out with nagios. Thanks, Neil -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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 Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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] Passive Freshness checks
Hi guys... I setting up a Nagios 3 here.. I'm using Debian Lenny for that. I setting up some host to get passive checks too. On remote host I'm using NC_NET package that provide WMI communication to a Windows 2003 host. The NC_NET tool is install on same machine. I setting NC_NET to send data at each one minuto to my Nagios Server. The problem here is that I can't get freshness to work... When the NC_NET send data, the appear on Nagios Web Interface. This take about 1 minutes... But, when NC_NET don't send nothing and ncsa don't send nothing to nagios too, the check_command running whitout wait the freshness_threshold parameter!!! Why... It's not to wait the time set on freshness_threshold??? I setting the cfg for a service like this: define service { host_name HOSTNAME service_description Free-Space-C check_command no_return is_volatile 1 max_check_attempts 5 check_interval 1 retry_interval 1 passive_checks_enabled 1 check_period24x7 obsess_over_service 1 check_freshness 1 freshness_threshold 900 event_handler notify-host-by-email event_handler_enabled 1 flap_detection_enabled 0 process_perf_data 0 retain_status_information 0 retain_nonstatus_information0 notification_interval 120 notification_period 24x7 notification_optionsw,c,s notifications_enabled 1 contactsAdministrators contact_groups admins register1 } Thanks for any help! Gilberto Nunes TI Selbetti Gestão de Documentos Telefone: +55 (47) 3441-6004 Celular: +55 (47) 8861-6672 -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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] setting up nagios to monitor other systems load, mem, disk
SNMP is another options. I am a big fan of agentless monitoring! From: Dombrowski, Neil neil.dombrow...@hp.com To: nagios-users@lists.sourceforge.net nagios-users@lists.sourceforge.net Sent: Fri, August 6, 2010 11:59:21 AM Subject: [Nagios-users] setting up nagios to monitor other systems load, mem, disk setting up nagios to monitor other systems load, mem, disk I have nagios 3.2.1 installed on a RH5.5 box, and it is monitoring ssh on client systems (and host check/ping). I now want to be able to check disk capacity, cpu load, etc., on other systems(clients). It's not clear to me how to do this in the documentation. Do I need to use check_by_ssh or nrpe? Is there a way to package up part of the nagios install and distribute it to all systems I want to monitor? I would much appreciate it if someone could send me a link to the right document for this. Thanks, Neil -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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] Passive Freshness checks
Hi guys... I set up a Nagios 3 here.. I'm using Debian Lenny for that. I set up some host to get passive checks too. On remote host I'm using NC_NET package that provide WMI communication to a Windows 2003 host. The NC_NET tool is install on same machine. I setting NC_NET to send data at each one minuto to my Nagios Server. The problem here is that I can't get freshness to work... When the NC_NET send data, the appear on Nagios Web Interface. This take about 1 minutes... But, when NC_NET don't send nothing and ncsa don't send nothing to nagios too, the check_command running whitout wait the freshness_threshold parameter!!! Why... It's not to wait the time set on freshness_threshold??? I set up the cfg for a service like this: define service { host_name HOSTNAME service_description Free-Space-C check_command no_return is_volatile 1 max_check_attempts 5 check_interval 1 retry_interval 1 passive_checks_enabled 1 check_period24x7 obsess_over_service 1 check_freshness 1 freshness_threshold 900 event_handler notify-host-by-email event_handler_enabled 1 flap_detection_enabled 0 process_perf_data 0 retain_status_information 0 retain_nonstatus_information0 notification_interval 120 notification_period 24x7 notification_optionsw,c,s notifications_enabled 1 contactsAdministrators contact_groups admins register1 } Thanks for any help! P.S. - I sent the message again 'cause my English is very poor... I hope somebody can help... Gilberto Nunes TI Selbetti Gestão de Documentos Telefone: +55 (47) 3441-6004 Celular: +55 (47) 8861-6672 -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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 layout
Hi, I know that you can do a pattern match for hostnames and such, but is there a way to do that for hostgroups? IE: status.cgi?hostgroup=blah*style=overview I looked through the code and did not see anything I'd recognize. I'm not a c dev, so I could have overlooked it. Thanks Greg Sent via BlackBerry from T-Mobile -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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] Passive Freshness checks
Hi guys... I set up a Nagios 3 here.. I'm using Debian Lenny for that. I put some host to get passive checks too. On remote host I'm using NC_NET package that provide WMI communication to a Windows 2003 host. The NC_NET tool is installed in the same machine. I set up the NC_NET to send data at each one minute to my Nagios Server. The problem here is that I can't get freshness to work... When the NC_NET send data, appears on Nagios Web Interface. It is take about 1 minutes... But, when NC_NET don't sent nothing and ncsa don't send nothing to nagios too, the check_command running without wait the freshness_threshold parameter!!! Why??? It's not to wait the time set on freshness_threshold??? I set up the cfg for a service like this: define service { host_name HOSTNAME service_description Free-Space-C check_command no_return is_volatile 1 max_check_attempts 5 check_interval 1 retry_interval 1 passive_checks_enabled 1 check_period24x7 obsess_over_service 1 check_freshness 1 freshness_threshold 900 event_handler notify-host-by-email event_handler_enabled 1 flap_detection_enabled 0 process_perf_data 0 retain_status_information 0 retain_nonstatus_information0 notification_interval 120 notification_period 24x7 notification_optionsw,c,s notifications_enabled 1 contactsAdministrators contact_groups admins register1 } Thanks for any help! P.S. - I sent the message again 'cause my English is very poor... I hope somebody can help... Gilberto Nunes TI Selbetti Gestão de Documentos Telefone: +55 (47) 3441-6004 Celular: +55 (47) 8861-6672 -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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