[Nagios-users] check_snmp_process plugin -- Need total memory used by all process
Hi The plug-in check_snmp_process gives the performance data for the processes running on a system. I have a system which runs 6 java processes and i want to know the total memory used by all the 6 java processes put together. But the plugin does not give this data , It either gives the max memory used by a process or average of all the process. How do i get the total memory used by all the processes running with a name java ? Can some one please help me in this regard. Thanks Jatin -- ___ 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] Sending SNMP traps from Nagios to a management host
Folks, Just want to give you a tip on a great tutorial I found for sending SNMP traps from Nagios to a management host. I'd never used event handlers until now and this tutorial really helped. http://askaralikhan.blogspot.com/2010/02/sending-snmp-traps-from-nagios.html Friendly Ian -- ___ 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] Repeated spawning of nrpe (10.5.8 - Mac OS X server)
Hello all, I'm having a bit of difficulty with an install of nrpe on a Mac. Everything was working fine and suddenly the timeouts began to show up, causing everything to go critical. Here's the story, I've made the nrpe.plist per instructions on this link; http://arfore.com/2008/10/12/starting-nrpe-via-launchd/?replytocom=1108#comment-1119 When I do a ps -A | grep nrpe there are over 450 sessions still running, and a telnet to the server from my Nagios install to the server "Chiserv02" on port 5666 opens and waits for its next instruction. The 'check_nrpe -H chiserv02 -c check_ping -t 30' will ultimately fail after 30 seconds despite the telnet session opening immediately. The plist file I ultimately came up with (and is working fine on other 10.5.8 servers) is this; http://www.apple.com/DTDs/PropertyList-1.0.dtd.> KeepAlive NetworkState UserName nagios GroupName nagios ProgramArguments /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i Sockets Listeners SockServiceName 5666 SockType stream SockFamily IPv4 inetdCompatibility Wait Label org.nagios.nrpe Thanks in advance, John -- ___ 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 development moving forward
Recommendation: Check_swap should be refactored to a get_swap function, OS-dependent, and then a comparison process, OS-independent. :-) I'm contemplating writing a Mac OS X check_swap, as there does not seem to be one, and not looking forward to parsing "top -n 1 -S ..." output... But I'd be a whole lot more comfy with it if I just had to return a BIGINT instead of duplicating the logic of the test. 'Course, I don't really know what I'm talking about; I'm a nagios "victim" for a month of a setup that blasts the whole IT department for every notification, and haven't actually done anything useful to fix that yet... On 4/29/10 1:46 PM, "Andreas Ericsson" wrote: > Hey all. Sorry for cross-posting, but I suppose this announce > interests quite a lot of the users too, and not just developers. > > I'm just writing to inform you all that Nagios (core and cgi's) > development is once again moving forward. We've previously been > stalled by technical issues on how we should work with the code > now that we're a distributed team. > > As most of you know, talk has been going on for quite some time > to move the official Nagios repository to git. While this hasn't > happened yet, everything that has so far been coded for Nagios > has been done that way, in my own and Ton's public repositories > which are cross-pollinated with changes from both of us. > > So for those of you who wish to try out a revamped Nagios with a > bunch of bugfixes and code improvements, clone your repo from me > or Ton today and build Nagios from source. > > To clone a repository with git, use > git clone > > This will get you all latest sources. For further info about git, > see http://www.git-scm.org > > My repo: > clone url: > git://git.op5.org/nagios.git > gitweb url's: > http://git.op5.org/git/?p=nagios.git > http://git.op5.org/git/?p=nagios.git;a=shortlog;h=refs/heads/dev > branches: > masterSame as the still-official Nagios CVS repo > dev My changes on top of CVS import > ae-tonThe merged state between me and Ton > > Ton's repo: > clone url: > git://github.com/tonvoon/opsview-nagios.git > gitweb url: > http://github.com/tonvoon/opsview-nagios.git > branches: > masterTon's and my changes on top of CVS import > > > Those of you who have reported bugs to tracker.nagios.org should > log into the tracker again and see if your bug has been closed or > resolved, and if so try out my dev branch, which should contain > the proper fix. > > Those of you who are git-savvy since before can try > > git log -p --grep="fix.*#$bug_id_without_leading_zeroes" dev > > in a repo cloned from mine and it'll show you the commits that > are responsible for fixing your problem. -- ___ 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-devel] Nagios development moving forward
Hi, Original Message Subject: [Nagios-devel] Nagios development moving forward From: Andreas Ericsson To: nagios-devel , Nagios-users@lists.sourceforge.net Date: 2010-04-29 20:46 > Hey all. Sorry for cross-posting, but I suppose this announce > interests quite a lot of the users too, and not just developers. > > I'm just writing to inform you all that Nagios (core and cgi's) > development is once again moving forward. We've previously been > stalled by technical issues on how we should work with the code > now that we're a distributed team. > > As most of you know, talk has been going on for quite some time > to move the official Nagios repository to git. While this hasn't > happened yet, everything that has so far been coded for Nagios > has been done that way, in my own and Ton's public repositories > which are cross-pollinated with changes from both of us. > > So for those of you who wish to try out a revamped Nagios with a > bunch of bugfixes and code improvements, clone your repo from me > or Ton today and build Nagios from source. Thanks for the update. Although it would be nice to get the official repositories onto GIT - where exactly is the problem? And regarding the revamped Nagios - is this meant to be an invitation for testing, or for using those versions? When will all those fixes be merged back in to the CVS HEAD > branches: > masterSame as the still-official Nagios CVS repo > dev My changes on top of CVS import > ae-tonThe merged state between me and Ton Sounds good, will give it a try. A bunch of nice improvements, and bugfixes next to those where I've already applied the patches and tested them over here :) > gitweb url: > http://github.com/tonvoon/opsview-nagios.git Minor note - remove the .git then it works http://github.com/tonvoon/opsview-nagios > Those of you who have reported bugs to tracker.nagios.org should > log into the tracker again and see if your bug has been closed or > resolved, and if so try out my dev branch, which should contain > the proper fix. Any news on NDOUtils and other Core addons? Next to the Core it would be nice to know what's going on with them. Kind regards, Michael -- DI (FH) Michael Friedrich michael.friedr...@univie.ac.at Tel: +43 1 4277 14359 Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria -- ___ 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 development moving forward
Hey all. Sorry for cross-posting, but I suppose this announce interests quite a lot of the users too, and not just developers. I'm just writing to inform you all that Nagios (core and cgi's) development is once again moving forward. We've previously been stalled by technical issues on how we should work with the code now that we're a distributed team. As most of you know, talk has been going on for quite some time to move the official Nagios repository to git. While this hasn't happened yet, everything that has so far been coded for Nagios has been done that way, in my own and Ton's public repositories which are cross-pollinated with changes from both of us. So for those of you who wish to try out a revamped Nagios with a bunch of bugfixes and code improvements, clone your repo from me or Ton today and build Nagios from source. To clone a repository with git, use git clone This will get you all latest sources. For further info about git, see http://www.git-scm.org My repo: clone url: git://git.op5.org/nagios.git gitweb url's: http://git.op5.org/git/?p=nagios.git http://git.op5.org/git/?p=nagios.git;a=shortlog;h=refs/heads/dev branches: masterSame as the still-official Nagios CVS repo dev My changes on top of CVS import ae-tonThe merged state between me and Ton Ton's repo: clone url: git://github.com/tonvoon/opsview-nagios.git gitweb url: http://github.com/tonvoon/opsview-nagios.git branches: masterTon's and my changes on top of CVS import Those of you who have reported bugs to tracker.nagios.org should log into the tracker again and see if your bug has been closed or resolved, and if so try out my dev branch, which should contain the proper fix. Those of you who are git-savvy since before can try git log -p --grep="fix.*#$bug_id_without_leading_zeroes" dev in a repo cloned from mine and it'll show you the commits that are responsible for fixing your problem. -- 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
Re: [Nagios-users] help on check_snmp_process 's performance data
I gave it a try and even with this output i was able to plot the performance graphs using PNP4. Thanks Jatin On 4/29/2010 1:53 PM, Jatin Davey wrote: > Hi > > I am using the check_snmp_process to get the performance data for a > specific process. Basically i want to give the process name to the > plugin to get the memory used by that process. I get the following ouput > when i run the command: > > Argument "v6.0.0" isn't numeric in numeric lt (<) at > ./check_snmp_process line 410. > Argument "v6.0.0" isn't numeric in numeric lt (<) at > ./check_snmp_process line 554. > 1 process matching cspc_server (> 0), Mem : 209.4Mb> 200 WARNING | > 'memory_usage'=209.4MB;200;300 'num_process'=1;0;0 > > I dont know what the first two lines indicate , can some one explain ? > > Also can i plot the graphs in PNP4 if i get the output in the format as > shown above ? > > Thanks > Jatin > > -- > ___ > 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] check_snmp_process plugin -- clarification
Hi The check_snmp_process plugin gives me process level performance data. I want to know how it reports in the following scenario: I have two java processes running on my target machine , i use the check_snmp_process plugin and get the memory usage of the java processes. It reports me that there are 2 java processes and the memory used is 60 MB. Here i want to know whether the 60MB is used by both the java processes ? or is it something else ? Please clarify me on this. Thanks Jatin -- ___ 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] help on check_snmp_process 's performance data
Hi I am using the check_snmp_process to get the performance data for a specific process. Basically i want to give the process name to the plugin to get the memory used by that process. I get the following ouput when i run the command: Argument "v6.0.0" isn't numeric in numeric lt (<) at ./check_snmp_process line 410. Argument "v6.0.0" isn't numeric in numeric lt (<) at ./check_snmp_process line 554. 1 process matching cspc_server (> 0), Mem : 209.4Mb > 200 WARNING | 'memory_usage'=209.4MB;200;300 'num_process'=1;0;0 I dont know what the first two lines indicate , can some one explain ? Also can i plot the graphs in PNP4 if i get the output in the format as shown above ? Thanks Jatin -- ___ 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_broker_options and multiple broker modules
Original Message Subject: [Nagios-users] event_broker_options and multiple broker modules From: Wolfgang Powisch To: Nagios List Date: 2010-04-28 23:14 > Hi, > > I'm currently using NDOutils+MySQL to access both, live- and hitorical > data from Nagios-systems in a custom network management system. Which Version of NDOUtils? If > 1.4b7 I would not recommend it for historical data, or in case, if you don't need correct data in servicechecks, systemcommands and timedevents, you can keep it ;-) > > Recently I noticed mk-livestatus and since the NDO-DB solution has > significant performance/scalability issues I'm planning to use > mk-livestatus for live-data-retrieval but keeping NDO for historical > data. AFAIK mk-livestatus can also ask the core for historical data, but I don't think parsing logs from the core would scale then. Also the overall memory consumption of the core loading the mk-livestatus module will will be more when having everything cached. > > Basically it doesn't seem to be a problem to use both broker-modules > at the same time but I'd like to specify different > "event_broker_options" per broker_module. is that possible ? On NDOUtils you can set the data processing options in ndomod.cfg - this is just for the module itsself. Which event broker options are needed for mk-livestatus - well that's the thing to ask the devs. Also there's no option to set that directly onto the module as for it only gets the live socket as param (and debug mode). I would recommend that you ask on nagios-portal.org where the devs are around. Kind regards, Michael -- DI (FH) Michael Friedrich michael.friedr...@univie.ac.at Tel: +43 1 4277 14359 Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria -- ___ 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