Re: [Nagios-users] Integration of reports-module
Hello: I agree with Andreas. I believe that the Open Monitoring Distribution (OMD) is a first step in this direction. http://omdistro.org/ BR Marco Tirado On Tue, May 17, 2011 at 2:37 PM, Andreas Ericsson a...@op5.se wrote: On 05/17/2011 02:18 PM, trm asn wrote: Is there any possibility to integrate op5 reports-module in Nagios 3.2.3 . Not really. First of all because the op5-reports-module functionality has been superseded by Merlin, and secondly because it by its very nature already gets tightly coupled with Nagios as soon as it's loaded into the Nagios core. What we could do is to add a relatively simple module download, build and install tool that takes care of installing modules such as merlin, livestatus, DNX, NDOUtils and whatnot. I could add a fairly simple framework for it and then random module authors could take care of adding support for their own modules or addons. That's probably the closest we're going to get to shipping addons and modules along with Nagios core, and it's really the only sensible thing to do. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ 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 -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay___ 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] enable SNMP trap handling in Nagios
Hello: Going back to the original question of the thread, if you want to enable trap handling in Nagios you should look at nagtap and snmptt. http://www.nagtrap.org/doku.php/en:start http://www.nagtrap.org/doku.php/en:starthttp://snmptt.sourceforge.net/ http://snmptt.sourceforge.net/BR Marco Tirado On Wed, May 11, 2011 at 9:35 AM, Matthew Jurgens nagiosus...@edcint.co.nzwrote: On 11/05/2011 2:46 AM, khurram aziz wrote: Hi, i am using Nagios 3.2.3 want to enable SNMP Trap Handling so that I can check uptime of my servers ( snmp service has already been enabled on the servers). can sum1 help me with the configuration. If it is for Windows servers you can use the check_wmi_plus plugin from Nagios Exchange to check against uptime http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-WMI-Plus/details -- Smartmon System Monitoring http://www.smartmon.com.au www.smartmon.com.au -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ 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 -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay___ 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] cisco traffic monitoring
Hello: You should always check the nagios exchange webpage for plugin related questions: http://exchange.nagios.org/ http://exchange.nagios.org/I guess the plugin you are looking for is check_snmp_int.pl http://nagios.manubulon.com/snmp_int.html http://nagios.manubulon.com/snmp_int.html//Marco On Wed, May 4, 2011 at 3:54 PM, Nibin VM nibin...@piserve.com wrote: Hi guys, I would like to monitor the traffic of my cisco routers and need to get alarmed when the traffic threshold is crossed( need to avoid bandwidth over usage ) . I have snmp enabled on my routers. Can anybody help me? -- Regards, Nibin. -- 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 -- 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
Re: [Nagios-users] How to detect MSSQL cluster failover?
Hello Jon: Thank you for the information, I guess the snmp option is the quick and dirty way to go. I have never worked with WMI before, however I it is never late to start. Is it possible to access the MSCluster namespace using NSClient++? We use NSClient++ for accessing performance counters at the moment but we have not experimented with WMI yet. Regards Marco On Fri, Aug 14, 2009 at 6:51 AM, Jon Angliss j...@netdork.net wrote: On Wed, 12 Aug 2009 15:08:56 +0200, Marco Tirado marco.tir...@gmail.com wrote: Hello users: I would like to know what is the easiest way to detect when a failover occurs in an MSSQL cluster. I need a simple check that tells me when our database cluster fails from physical node X to node physical node Y Has anybody done this? Maybe with a passive check? I used to do a quick and dirty way and use the SNMP sysName, and look for a specific value. If it changed from one name to another, it had failed over... ./check_snmp -H host -v 1 -c public -o .1.3.6.1.2.1.1.5.0 -s expectedname Or, if you've had experience with WMI, you can hit the MSCluster namespace... http://technet.microsoft.com/en-us/library/cc780572(WS.10).aspxhttp://technet.microsoft.com/en-us/library/cc780572%28WS.10%29.aspx Enjoy :) -- Jonathan Angliss j...@netdork.net -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ 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 Check Timed Out) returns critical
Hello Users: I believe this question has popped out before in the forum but I still have not seen any direct answer. I have some problems with a couple of checks that return (Service Check Timed Out) with a critical state. I would ike to know if it is possible to configure these timeouts to returns status unknown instead. Regards Marco -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ 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] Event Handlers, start a java program, nohup issues.
Hello users: Thank you for all the answers. I have made some changes to my command: I added a space before the character and I explicitly piped the stdout and stderr to my log file to avoid missunderstandings. The command looks like this now: nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer.JMXServerDispatcher $PORT /dev/null $LOG_FILE 2$LOG_FILE The result however is much worst in this case, instead of seeing a timeout in the logs, the whole nagios process hangs (that is the logs freeze and no new tests are performed). I believe these issues have to do with how nagios handles the character or processes in the background in general. Any thoughts? other suggestions? //Marco By the way David: We have used the check_jmx plugin in the past with out own modifications, however we have a very large system with around 1000 JMX queries running each 5 minutes and the check_jmx solution is not very scalable. If we use check_jmx that means starting 1000 JVM (and all the resources that come with it) every five minutes, that consumes a lot of resources and generates a lot of load on the monitoring server. Our system is continuously growing and new JMX queries are added quite frequently. To solve that issue we have developed a JMX server that takes care of all the JMX queries and a light weight client that is run by nagios. This is a much more scalable solution that decouples the whole JMX processing from nagios (the JMX server can be running in any machine not only the nagios server). Cheers On Thu, Jul 2, 2009 at 4:43 PM, Marc Powell m...@ena.com wrote: On Jul 2, 2009, at 9:16 AM, Marco Tirado wrote: That is exactly what I am doing (or trying to do with) the character at the end of my command. But it does not appear to be working, the command looks like this: nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer $PORT /dev/ null 21 $LOG_FILE Do you really intend to set the output of /dev/null as the STDIN for nohup? I expect you meant to use '/dev/null'. -- 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] Event Handlers, start a java program, nohup issues.
Hello Users: I have a problem with an event handler of mine. The handler starts a java daemon-like program which loops forever waiting for connections and performs JMX queries against our java applications. The problem is that the handler times out when it is run by nagios. This is what I see in the logs: [01-07-2009 18:45:36] SERVICE EVENT HANDLER: bj-mon-01;JMX_Server_Running;(null);(null);(null);start_jmx_server [01-07-2009 18:46:07] Warning: Service event handler command '/usr/local/nagios/libexec/eventhandlers/start_jmx_server CRITICAL SOFT 1' timed out after 30 seconds The event handler should start my JMXServer both in hard and soft states. I have run the command from the console as the nagios user and it works, so the problem has nothing to do with user rights for nagios. The problem is that the handler hangs when I run nohup followed by my command for starting the server (see the red text below). My event handler looks like this: ### # PROPERTIES ### PORT= ECHO_CMD=/bin/echo JAVA_CMD=/usr/bin/java CLASSPATH=MyClasspath JVM_OPTIONS=MyOptions ### # What state is the JMXServer in? case $1 in OK) ;; WARNING) ;; UNKNOWN) ;; CRITICAL) case $2 in SOFT) `$ECHO_CMD TRYING restart /tmp/test` nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer $PORT /dev/null 21 $LOG_FILE `$ECHO_CMD TRYING restart /tmp/test` ;; HARD) `$ECHO_CMD TRYING restart /tmp/test` nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer $PORT /dev/null 21 $LOG_FILE `$ECHO_CMD FINISHED trying /tmp/test` ;; esac ;; esac exit 0 Any help, hint or recommendation is deeply appreciated. //Marco -- ___ 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] Event Handlers, start a java program, nohup issues.
That is exactly what I am doing (or trying to do with) the character at the end of my command. But it does not appear to be working, the command looks like this: nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer $PORT /dev/null 21 $LOG_FILE Any suggestions? Am I missing something else? //Marco On Thu, Jul 2, 2009 at 10:50 AM, Andreas Ericsson a...@op5.se wrote: Marco Tirado wrote: Hello Users: I have a problem with an event handler of mine. The handler starts a java daemon-like program which loops forever waiting for connections and performs JMX queries against our java applications. The problem is that the handler times out when it is run by nagios. This is what I see in the logs: [01-07-2009 18:45:36] SERVICE EVENT HANDLER: bj-mon-01;JMX_Server_Running;(null);(null);(null);start_jmx_server [01-07-2009 18:46:07] Warning: Service event handler command '/usr/local/nagios/libexec/eventhandlers/start_jmx_server CRITICAL SOFT 1' timed out after 30 seconds The event handler should start my JMXServer both in hard and soft states. I have run the command from the console as the nagios user and it works, so the problem has nothing to do with user rights for nagios. The problem is that the handler hangs when I run nohup followed by my command for starting the server (see the red text below). My event handler looks like this: ### # PROPERTIES ### PORT= ECHO_CMD=/bin/echo JAVA_CMD=/usr/bin/java CLASSPATH=MyClasspath JVM_OPTIONS=MyOptions ### # What state is the JMXServer in? case $1 in OK) ;; WARNING) ;; UNKNOWN) ;; CRITICAL) case $2 in SOFT) `$ECHO_CMD TRYING restart /tmp/test` nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer $PORT /dev/null 21 $LOG_FILE `$ECHO_CMD TRYING restart /tmp/test` ;; HARD) `$ECHO_CMD TRYING restart /tmp/test` nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer $PORT /dev/null 21 $LOG_FILE `$ECHO_CMD FINISHED trying /tmp/test` ;; esac ;; esac exit 0 Any help, hint or recommendation is deeply appreciated. You need to make the java daemon run in the background. That will make Nagios ignore it after it has moved from the foreground. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- ___ 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-nagvis animated icon sets
Hello users: We currently use nagios and nagvis for the visualization of the state of our monitoring system. Nagvis is an excellent tool and allows us to have many different customized views. However the default iconsets in nagvis for showing host/service status in nagvis are difficult to spot in large installations. It would be great if we could use animated .gif, in other words, an icon that blinks or moves whenever a server has a problem instead of a static icon. Has anybody done this ?? Any hints ?? //Marco -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf___ 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] Integrating host notes into Nagios html...
Actually it is the notes_url you are interested in, this is a variable you can set in the host definition. The action url is normally used to display extra actions for a host, this is normally a pnp graph with the host performance data from pnp4nagios, nagiosgraph or some other graphing plugin. From the nagios documentation: *notes_url: This variable is used to define an optional URL that can be used to provide more information about the host. If you specify an URL, you will see a red folder icon in the CGIs (when you are viewing host information) that links to the URL you specify here. Any valid URL can be used. If you plan on using relative paths, the base path will the the same as what is used to access the CGIs (i.e. **/cgi-bin/nagios/). This can be very useful if you want to make detailed information on the host, emergency contact methods, etc. available to other support staff. * //Marco 2009/4/13 Lei Chen clo...@gmail.com I think that action_url can do that. Such as: action_url /some_dir/some_pages?host=$HOSTNAME$some_key=some_value 2009/4/10 Andrew Davis ncc...@gmail.com: I'm thinking about using something like sysreport to generate info about our hosts. It (and other tools like it) have the ability to output to html. To me that makes it somewhat logical to add a per-host html link into Nagios (clicking the host name would take you to a page that shows the detailed info). Have any of you tried this or something similar? Care to share your experience or what you edited, etc? -- A. Davis Email: ncc...@gmail.com There is no limit to what a man can accomplish if he doesn't care who gets the credit. - Ronald Reagan -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Thanks, Chenlei 石头++ MSN Messenger: c...@163.com -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] pnp4nagios memory issues
Hello people: I have changed the configuration of the RRA files for my pnp graphs and now I seem to have some memory issues this is the error I see in the pnp4nagios graphs: *Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 40 bytes) in /usr/local/nagios/share/pnp/include/function.inc.php on line 1411* My rra.cfg configuration file looks like this: *# # PNP RRA config # # The estimated size of the files will be # # 2880 entries with 1 minute step = 48 houres # RRA:AVERAGE:0.5:1:2880 # # 210240 entries with 5 minute step = 2 years # RRA:AVERAGE:0.5:5:210240 RRA:MAX:0.5:1:2880 RRA:MIN:0.5:5:210240 RRA:MAX:0.5:1:2880 RRA:MIN:0.5:5:210240 *As you can see we need 5 minute precission for 2 years in our graphs, this results into 5M rrd files for one measuring point*. * I have tried changing the memory_limit in my php.ini file from 8M up to 256M and restarted apache every time but the problem persists. Is there a hardcoded memory limit in the */usr/local/nagios/share/pnp/include/function.inc.php *file? has anybody seen this problem before? Any help hint, recommendatoin or comment is deeply appreciated Regards Marco -- ___ 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 memory issues
Hello: I have already done that, the memory_limit=256M at the moment //Marco On Mon, Apr 6, 2009 at 3:53 PM, Network Operation Center FMC Luxemburg n...@eurofmc.com wrote: Marco, That is a PHP problem. You mus increase th memory allocation in your php.ini file, i.e : memory_limit = 64M François Marco Tirado wrote: Hello people: I have changed the configuration of the RRA files for my pnp graphs and now I seem to have some memory issues this is the error I see in the pnp4nagios graphs: *Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 40 bytes) in /usr/local/nagios/share/pnp/include/function.inc.php on line 1411* My rra.cfg configuration file looks like this: *# # PNP RRA config # # The estimated size of the files will be # # 2880 entries with 1 minute step = 48 houres # RRA:AVERAGE:0.5:1:2880 # # 210240 entries with 5 minute step = 2 years # RRA:AVERAGE:0.5:5:210240 RRA:MAX:0.5:1:2880 RRA:MIN:0.5:5:210240 RRA:MAX:0.5:1:2880 RRA:MIN:0.5:5:210240 *As you can see we need 5 minute precission for 2 years in our graphs, this results into 5M rrd files for one measuring point*. * I have tried changing the memory_limit in my php.ini file from 8M up to 256M and restarted apache every time but the problem persists. Is there a hardcoded memory limit in the */usr/local/nagios/share/pnp/include/function.inc.php *file? has anybody seen this problem before? Any help hint, recommendatoin or comment is deeply appreciated Regards Marco -- -- -- ___ Nagios-users mailing listnagios-us...@lists.sourceforge.nethttps://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 -- Network Operation Center LUXEMBURG E-mail: n...@eurofmc.com *DISCLAIMER*: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, copy, distribute, disclose, print, or rely on this e-mail. -- ___ 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] configuring plugins to return graphable data
Hello: The best tool is pnp4nagios. It takes the performance data, stores it in an rrdtool database and generates pnp graphs. http://www.pnp4nagios.org/pnp/start //Marco On Thu, Mar 19, 2009 at 3:34 PM, Sergio Ariel sergio.ar...@iris.uh.cuwrote: Sorry to bother you but I have just read you are working in order to graph plugins output. I need your help about it. What tool should I use to graph, for instance, historical hard disk partition usage? Thanks Sergio Ariel de la Campa Saiz Administrador Red UH Ayotunde Itayemi wrote: Hi All, Please I am using the default plugin sets on my Solaris/Linux systems. I would like to know the changes I need to make to these plugins (e.g., check_ram, check_load, check_cpu, check_disk, check_ping, etc) I need to graph their output's for proper reporting purposes but I can't remember the approach to making them return output in the proper format .. something about everything after | - please help. Thanks. A concrete example will be appreciated. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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 -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] snmptt and nagios, access to nagios.cmd file
They look like this: For nagios.cmd prw-rw 1 nagios nagcmd0 2009-03-11 18:53 nagios.cmd for the rw catalog: drwxrwsr-x 2 nagios nagcmd 4096 2009-03-11 18:14 rw Please let me know if something looks obviously wrong. //Marco On Wed, Mar 11, 2009 at 8:12 PM, Jim Avery j...@jimavery.me.uk wrote: 2009/3/11 Marco Tirado marco.tir...@gmail.com: My snmptt.conf file for the trap I am testing looks like: EVENT ospfOriginateLsa .1.3.6.1.2.1.14.16.2.0.12 Status Events Normal FORMAT $D. $Fn VARIABLE VALUES: $-* EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result myhost snmp_traps 1 My text message /tmp/OutputTest 21 SDESC ... EDESC And my nagios configuration is correct as I can see the passive check results in my nagios console if I run the above EXEC command from the command line as user snmptt. //Marco I'm sorry if this question sounds stupid, but what are the permissions and ownership on /usr/local/nagios/var/rw and /usr/local/nagios/var/rw/nagios.cmd ? -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] snmptt and nagios, access to nagios.cmd file
Hello Jim: Thank you very much for the help, after changing the last line in the submit_check_result script from the default of: `$echocmd $cmdline $CommandFile` to: sg nagiocmd -c echo '$cmdline' $CommandFile everything works fine. As for my setup, I run nagios 3 and Nagtrap. However I send the notifications as passive checks directly from snmptt's EXEC statement. I some special logic in my script to select the right alarm level and then send it to nagios with submit_check_result. I link to nagtrap using the action_url in all my snmptrap services. I catch all the traps in Nagtrap, however only some of them generate alarms. Whenever an alarm is generated by the selected traps, you can always check the rest of received traps in nagtrap. Regards Marco On Thu, Mar 12, 2009 at 2:11 PM, Jim Avery j...@jimavery.me.uk wrote: p.s. I'd be interested to know what instructions you followed to get your method working? I moved to using NagTrap because I found that maintaining the submit_check_result script was rather time-consuming, but if things have moved on a bit since I last set mine up I'd be interested to see if it's any easier to maintain now. I quite like NagTrap, but if you follow the standard install for it, there's a lot of polling the database which is very cpu intensive compared with writing direct to the command file as you do. Also, the alerts aren't so meaningful with NagTrap as they are in your setup. Cheers, Jim -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] snmptt and nagios, access to nagios.cmd file
Hello Users: I am having touble integrating nagios with snmptt, it seems that the snmptt daemon can not write passive check results to the /usr/local/nagios/var/rw/nagios.cmd file. I get the following error: cannot create /usr/local/nagios/var/rw/nagios.cmd: Permission denied The wierd thing is that I have added the snmptt user to the nagcmd group. I can actually run the EXEC command from the console and manually send the check results by running: /usr/local/nagios/libexec/eventhandlers/submit_check_result myhost snmp_traps 1 My text message as the snmptt user. But when the snmptt tries to run it when a trap is received I get the above error. Any suggestions or recommendations are deeply appreciated //Marco -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] snmptt and nagios, access to nagios.cmd file
My snmptt.conf file for the trap I am testing looks like: EVENT ospfOriginateLsa .1.3.6.1.2.1.14.16.2.0.12 Status Events Normal FORMAT $D. $Fn VARIABLE VALUES: $-* EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result myhost snmp_traps 1 My text message /tmp/OutputTest 21 SDESC ... EDESC And my nagios configuration is correct as I can see the passive check results in my nagios console if I run the above EXEC command from the command line as user snmptt. //Marco On Wed, Mar 11, 2009 at 6:10 PM, Marco Tirado marco.tir...@gmail.comwrote: Hello Users: I am having touble integrating nagios with snmptt, it seems that the snmptt daemon can not write passive check results to the /usr/local/nagios/var/rw/nagios.cmd file. I get the following error: cannot create /usr/local/nagios/var/rw/nagios.cmd: Permission denied The wierd thing is that I have added the snmptt user to the nagcmd group. I can actually run the EXEC command from the console and manually send the check results by running: /usr/local/nagios/libexec/eventhandlers/submit_check_result myhost snmp_traps 1 My text message as the snmptt user. But when the snmptt tries to run it when a trap is received I get the above error. Any suggestions or recommendations are deeply appreciated //Marco -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] graphing trends across hosts or services instead of a timeseries
Hello: PNP4Nagios has a feature called pages that allows you to show multiple services for the same host or multiple hosts for the same service. It should be easy to use since it supports regular expressions. Check the following link http://www.pnp4nagios.org/pnp/pages //Marco On Tue, Feb 24, 2009 at 10:34 AM, Rahul Nabar rpna...@gmail.com wrote: On Tue, Feb 24, 2009 at 3:17 AM, Jim Avery j...@jimavery.me.uk wrote: I had to install some dependencies, I forget which ones, but I'm pretty sure librrds-perl was one of them. The web interface for drraw is fairly intuitive, except it took me a few minutes to notice that in order to save a graph, you need to specify a Graph Title in the Graph Options section! hth, Jim Awesome! That will be a lot of help I am sure. Thank you again, Jim. I appreciate the help! -- Rahul -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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 -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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] Automatic Configuration Update
Hello users: I am trying to do the following: - From a script, automatically generate Nagios configuration files for host addition. - From the same script export individual files to a web based Nagios configuration tool (NagiosQL or Lilac for example). - Finally reload both Nagios and the Web Configuration tool, also from the script. I have looked at both NagiosQL and Lilac since both have nice configuration tools and import options. However none of them provide a text console interface for importing config files from a script nor periodical scheduling of file imports. Has anybody implemented this? Is there a better tool for this besides NagiosQL or Lilac? Any pointers are appreciated //Marco -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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] RRDtool Aberrant behavior detection
Hello Nagios Users: I am very interested in integrating RRDtool's features for aberrant behavior detection with my nagios implementation. I still have not found a plugin for this and I would like to know if anybody has already implemented this. I guess an option would be to adapt plugins pnp4nagios or nagiosgraph to get it to work. Any pointers or comments are deeply appreciated. Regards Marco -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ 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