Re: [Nagios-users] Plugin to check memory usage on linux boxes
> Should it be placed at both the nagios server and the target box which > is being monitored ?? > No (NAGIOS server only), by definition, because it queries the SNMP daemon on the remote Linux box, for the required memory stats. M. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Plugin to check memory usage on linux boxes
Mark Elsen wrote: >> Hi Mark >> >> I saw the website : http://nagios.manubulon.com/snmp_mem.html >> >> I have a few questions: >> >> 1. When i click on the download version 1.1 , i get one text file with >> some code in it , What do i need to with this file ?? >> > > Save it as a perl script; in the libexec dir of your NAGIOS distribution. > Make sure the path to perl is set correct. > > >> 2. I have net-snmp installed on the target machine , Do i have to do >> anything other than this to get this plugin to work ?? >> >> > > Give it a go , as such. Check for any errors. > > M. > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > Should it be placed at both the nagios server and the target box which is being monitored ?? Thanks Jatin -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Plugin to check memory usage on linux boxes
> Hi Mark > > I saw the website : http://nagios.manubulon.com/snmp_mem.html > > I have a few questions: > > 1. When i click on the download version 1.1 , i get one text file with > some code in it , What do i need to with this file ?? Save it as a perl script; in the libexec dir of your NAGIOS distribution. Make sure the path to perl is set correct. > > 2. I have net-snmp installed on the target machine , Do i have to do > anything other than this to get this plugin to work ?? > Give it a go , as such. Check for any errors. M. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Plugin to check memory usage on linux boxes
Mark Elsen wrote: >> Hi >> >> Is there a plugin bundled with nagios-plugins that helps us in checking >> the memory usage on the linux box. I basically want to know the used >> memory and the total available , Even if it is given in percentage i am >> fine. Please let me know if there are plugins to do so. >> >> I checked the plugins that come by default in the libexex folder but >> none are there for checking the memory usage. >> >> >> > I use : 'check_snmp_mem' ; yet you have to make sure that the snmp > configuration file on the targeted > Linux box, allows access to the MIB Subtree, containing the queried variables. > > M. > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > Hi Mark I saw the website : http://nagios.manubulon.com/snmp_mem.html I have a few questions: 1. When i click on the download version 1.1 , i get one text file with some code in it , What do i need to with this file ?? 2. I have net-snmp installed on the target machine , Do i have to do anything other than this to get this plugin to work ?? Thanks Jatin -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Plugin to check memory usage on linux boxes
On Thu, Mar 11, 2010 at 7:36 AM, Mark Elsen wrote: >> Hi >> >> Is there a plugin bundled with nagios-plugins that helps us in checking >> the memory usage on the linux box. I basically want to know the used >> memory and the total available , Even if it is given in percentage i am >> fine. Please let me know if there are plugins to do so. >> >> I checked the plugins that come by default in the libexex folder but >> none are there for checking the memory usage. >> >> > I use : 'check_snmp_mem' ; yet you have to make sure that the snmp > configuration file on the targeted > Linux box, allows access to the MIB Subtree, containing the queried variables. > > M. > I just use a bash script (passive check) that does the following: #Get the amount of RAM used ram_used=`free | grep Mem | awk '{ print $3 }'` #Get the total amount of RAM total_ram=`free | grep Mem | awk '{ print $2 }'` #Calculate the percent of RAM used percent_ram_used=$((100 * ram_used / total_ram)) #Get the amount of swap used swap_used=`free | grep Swap | awk '{ print $3 }'` --Rick -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Plugin to check memory usage on linux boxes
> Hi > > Is there a plugin bundled with nagios-plugins that helps us in checking > the memory usage on the linux box. I basically want to know the used > memory and the total available , Even if it is given in percentage i am > fine. Please let me know if there are plugins to do so. > > I checked the plugins that come by default in the libexex folder but > none are there for checking the memory usage. > > I use : 'check_snmp_mem' ; yet you have to make sure that the snmp configuration file on the targeted Linux box, allows access to the MIB Subtree, containing the queried variables. M. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Plugin to check memory usage on linux boxes
Hi Is there a plugin bundled with nagios-plugins that helps us in checking the memory usage on the linux box. I basically want to know the used memory and the total available , Even if it is given in percentage i am fine. Please let me know if there are plugins to do so. I checked the plugins that come by default in the libexex folder but none are there for checking the memory usage. Thanks Jatin -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null