Re: [Nagios-users] getting snmptt working -> unknown traps
Hi Patrick, Patrick Morris schrieb: > You have not configured snmptt to handle this trap. > > .1.3.6.1.4.1.4063.2.1.1.1 is not the same as .1.3.6.1.4.1.4063.2.1.2 oh, it seems, that the manufacture has send me the wrong MIB, if i understand you right (i hope) > You're also really asking the wrong list, as this really 9at least to > this point) is completely unrelated to Nagios. > > https://lists.sourceforge.net/lists/listinfo/snmptt-users absolute ... i did nothing, but nagios the last weeks, so ... to ask the snmp list is a good way to resolve my problem :-) thanks a lot -- Stoppt den Überwachungswahn - Stoppt den Schäuble Katalog: http://www.nopsis.de signature.asc Description: OpenPGP digital signature - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] nagios 2.10 test nrpe
hello everybody and thanks for your help, this is my problem: I have some hosts with Service -> Test_nrpe_services, and show me this status information: AD WARNING - [WARNING] You are logged on as a local user. (NT AUTHORITY\SYSTEM) [WARNING] You are logged on as a local user. (NT AUTHORITY\SYSTEM) this problem occurs when the miniport wan is disabled, because if i enable this miniport, nagios show me other warning in that port. How can i fix this warning? My nagios is 2.10.Thanks, and sorry my english. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Anyone know of add-ons / patches to Nagios that produce XML output for host and service statuses?
Hi, if you are using the ndo backend it is very simple to create an xml from a db : mysqldump -xml ... Seb. On Mon, Mar 10, 2008 at 10:50 PM, Max <[EMAIL PROTECTED]> wrote: > Hi, > > I saw NXE, but it was for 1.x. Ideally status.cgi would have a > mode=xml param :) to produce well-formed XML output so that external > programs could have a nice HTTP-based interface, I think this would be > hugely useful. > > I have searched for other projects, but only found NXE. > > Anyone know of others? I really wish I had the time to patch > status.cgi and create an XML mode :) .. anyone made attempts at this? > > Regards, > Max > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios memory percentages
Hi Everyone Maybe someone can assist me, but this may be a more linux specific question than Nagios even though related to Nagios. I need to monitor the memory usage in percentage on Nagios and would like to rather write my own scripts for this. I know there are snmp versions of this to do the job for me, however I do not want to complicate the systems with too many clients running on them. Currently we are using the normal nrpe to connect to the systems and run scripts remotely, however we do not have one to monitor the memory. On the web there are a lot of references to the snmp commands but as all the systems are production and we might be having a couple of upgrades soon, I would like to rather keep it simple and only run one client on it for all Nagios connections. My question is this... I can use the command free to get the amount of memory , used, free etc... How can I write this into a script to display as percentages... is there another command I can use or maybe an option that I do not know about? tx *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company’s Electronic Communications Usage Policy. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Histogram
Yes, i've got tons of chronological log archives at /var/log/nagios/archives. Is this the right place? El lun, 10-03-2008 a las 14:38 -0400, Valdinger, Stephen (DOV, MSX) escribió: > Are you retaining state information for the hosts? Sounds like a retention > problem. Check to make sure there is historical data about your hosts in the > Nagios /var directory. > > Stephen Valdinger > MIS Helpdesk Coordinator > 330-365-3622 > [EMAIL PROTECTED] > > > Why do we tell computers to shut down and people to shut up? > > > -Original Message- > From: Jesús [mailto:[EMAIL PROTECTED] > Sent: Monday, March 10, 2008 11:26 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Histogram > > Hi! > > i'mtrying to get some reports from Nagios Alert Histogram, but when i > select a host, and an interval, it return me a clean graph with no > drawings inside (I assure that nagios have data about this interval). > I've tried several intervals and i got same result. Curiosly, when i try > with a service it works... what can be happening? > > I'm using Nagios 2.6. > > Thanks in advance! > > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios memory percentages
Looc at the /proc/meminfo file and the vmstat command. Divide memory parameter (free, used, whatever) by total memory, multiply by 100 and you have percent. Machiel Richards wrote: Hi Everyone Maybe someone can assist me, but this may be a more linux specific question than Nagios even though related to Nagios. I need to monitor the memory usage in percentage on Nagios and would like to rather write my own scripts for this. I know there are snmp versions of this to do the job for me, however I do not want to complicate the systems with too many clients running on them. Currently we are using the normal nrpe to connect to the systems and run scripts remotely, however we do not have one to monitor the memory. On the web there are a lot of references to the snmp commands but as all the systems are production and we might be having a couple of upgrades soon, I would like to rather keep it simple and only run one client on it for all Nagios connections. My question is this… I can use the command free to get the amount of memory , used, free etc… How can I write this into a script to display as percentages… is there another command I can use or maybe an option that I do not know about? tx *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company’s Electronic Communications Usage Policy. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios memory percentages
Hi I am trying to use this option but the issue I have now is with the following: The output from the /proc/meminfo is as follows: MemFree: 206788 kB However, when I try to use cut in order to only get the numeric value, the output I get back does not work that well as it still includes the infront of the numeric value as well as the kb at the end... I have even tried this with free and the same result What should I use as delimiter to the cut command? Any other suggestions on how to only get the numeric value? Commands used with output: cat /proc/meminfo | grep MemTotal | cut -f 2 -d ":" output : 2067884 kB As you can see the spaces are all out of place. I have also noticed that when using a space as delimiter and counting the spaces to the value, then you get the result, however if the numeric value increase by one digit (i.e. from 6 digits to 7 digits for instance) then the amount of spaces change and the program does not work. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dale J. Chatham Sent: Tuesday, March 11, 2008 1:15 PM To: Machiel Richards Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios memory percentages Looc at the /proc/meminfo file and the vmstat command. Divide memory parameter (free, used, whatever) by total memory, multiply by 100 and you have percent. Machiel Richards wrote: Hi Everyone Maybe someone can assist me, but this may be a more linux specific question than Nagios even though related to Nagios. I need to monitor the memory usage in percentage on Nagios and would like to rather write my own scripts for this. I know there are snmp versions of this to do the job for me, however I do not want to complicate the systems with too many clients running on them. Currently we are using the normal nrpe to connect to the systems and run scripts remotely, however we do not have one to monitor the memory. On the web there are a lot of references to the snmp commands but as all the systems are production and we might be having a couple of upgrades soon, I would like to rather keep it simple and only run one client on it for all Nagios connections. My question is this... I can use the command free to get the amount of memory , used, free etc... How can I write this into a script to display as percentages... is there another command I can use or maybe an option that I do not know about? tx *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company's Electronic Communications Usage Policy. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in n
Re: [Nagios-users] Nagios memory percentages
Perhaps, rather than cut, try grep -o '[0-9][0-9]*' From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Machiel Richards Sent: 11 March 2008 13:41 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios memory percentages Hi I am trying to use this option but the issue I have now is with the following: The output from the /proc/meminfo is as follows: MemFree: 206788 kB However, when I try to use cut in order to only get the numeric value, the output I get back does not work that well as it still includes the infront of the numeric value as well as the kb at the end... I have even tried this with free and the same result What should I use as delimiter to the cut command? Any other suggestions on how to only get the numeric value? Commands used with output: cat /proc/meminfo | grep MemTotal | cut -f 2 -d ":" output : 2067884 kB As you can see the spaces are all out of place. I have also noticed that when using a space as delimiter and counting the spaces to the value, then you get the result, however if the numeric value increase by one digit (i.e. from 6 digits to 7 digits for instance) then the amount of spaces change and the program does not work. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dale J. Chatham Sent: Tuesday, March 11, 2008 1:15 PM To: Machiel Richards Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios memory percentages Looc at the /proc/meminfo file and the vmstat command. Divide memory parameter (free, used, whatever) by total memory, multiply by 100 and you have percent. Machiel Richards wrote: Hi Everyone Maybe someone can assist me, but this may be a more linux specific question than Nagios even though related to Nagios. I need to monitor the memory usage in percentage on Nagios and would like to rather write my own scripts for this. I know there are snmp versions of this to do the job for me, however I do not want to complicate the systems with too many clients running on them. Currently we are using the normal nrpe to connect to the systems and run scripts remotely, however we do not have one to monitor the memory. On the web there are a lot of references to the snmp commands but as all the systems are production and we might be having a couple of upgrades soon, I would like to rather keep it simple and only run one client on it for all Nagios connections. My question is this... I can use the command free to get the amount of memory , used, free etc... How can I write this into a script to display as percentages... is there another command I can use or maybe an option that I do not know about? tx *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company's Electronic Communications Usage Policy. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribu
Re: [Nagios-users] Anyone know of add-ons / patches to Nagios that produce XML output for host and service statuses?
Hi Seb, On Tue, Mar 11, 2008 at 5:04 AM, Sébastien Barbereau <[EMAIL PROTECTED]> wrote: > Hi, > if you are using the ndo backend it is very simple to create an xml from a > db : mysqldump -xml ... > > Seb. True, and it would be pretty easy to create an HTTP-based / REST XML query service based on the NDO database, though I still think it would be nice to have this as core functionality or as an add on that reads from the Nagios status files or that ties into NEB so that it doesn't *have* to depend on NDO :). - Max - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios memory percentages
Thanks a lot, now I've learned something new... This works perfectly. -Original Message- From: Giles Coochey [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 2:59 PM To: Machiel Richards; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Nagios memory percentages Perhaps, rather than cut, try grep -o '[0-9][0-9]*' From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Machiel Richards Sent: 11 March 2008 13:41 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios memory percentages Hi I am trying to use this option but the issue I have now is with the following: The output from the /proc/meminfo is as follows: MemFree: 206788 kB However, when I try to use cut in order to only get the numeric value, the output I get back does not work that well as it still includes the infront of the numeric value as well as the kb at the end... I have even tried this with free and the same result What should I use as delimiter to the cut command? Any other suggestions on how to only get the numeric value? Commands used with output: cat /proc/meminfo | grep MemTotal | cut -f 2 -d ":" output : 2067884 kB As you can see the spaces are all out of place. I have also noticed that when using a space as delimiter and counting the spaces to the value, then you get the result, however if the numeric value increase by one digit (i.e. from 6 digits to 7 digits for instance) then the amount of spaces change and the program does not work. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dale J. Chatham Sent: Tuesday, March 11, 2008 1:15 PM To: Machiel Richards Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios memory percentages Looc at the /proc/meminfo file and the vmstat command. Divide memory parameter (free, used, whatever) by total memory, multiply by 100 and you have percent. Machiel Richards wrote: Hi Everyone Maybe someone can assist me, but this may be a more linux specific question than Nagios even though related to Nagios. I need to monitor the memory usage in percentage on Nagios and would like to rather write my own scripts for this. I know there are snmp versions of this to do the job for me, however I do not want to complicate the systems with too many clients running on them. Currently we are using the normal nrpe to connect to the systems and run scripts remotely, however we do not have one to monitor the memory. On the web there are a lot of references to the snmp commands but as all the systems are production and we might be having a couple of upgrades soon, I would like to rather keep it simple and only run one client on it for all Nagios connections. My question is this... I can use the command free to get the amount of memory , used, free etc... How can I write this into a script to display as percentages... is there another command I can use or maybe an option that I do not know about? tx *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company's Electronic Communications Usage Policy. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios memory percentages
$ cat /proc/meminfo | awk '{print $2}' On Tue, Mar 11, 2008 at 03:33:22PM +0200, Machiel Richards wrote: > Thanks a lot, now I've learned something new... > > This works perfectly. > > -Original Message- > From: Giles Coochey [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 11, 2008 2:59 PM > To: Machiel Richards; nagios-users@lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios memory percentages > > Perhaps, rather than cut, try grep -o '[0-9][0-9]*' > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Machiel > Richards > Sent: 11 March 2008 13:41 > To: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios memory percentages > > Hi > > I am trying to use this option but the issue I have now is with the > following: > > The output from the /proc/meminfo is as follows: > > MemFree: 206788 kB > > However, when I try to use cut in order to only get the numeric value, the > output I get back does not work that well as it still includes the > infront of the numeric value as well as the kb at the end... > > I have even tried this with free and the same result > > What should I use as delimiter to the cut command? > > Any other suggestions on how to only get the numeric value? > > Commands used with output: > > cat /proc/meminfo | grep MemTotal | cut -f 2 -d ":" > > output : > > 2067884 kB > > > As you can see the spaces are all out of place. > > I have also noticed that when using a space as delimiter and counting > the spaces to the value, then you get the result, however if the numeric > value increase by one digit (i.e. from 6 digits to 7 digits for instance) > then the amount of spaces change and the program does not work. > > > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dale J. Chatham > Sent: Tuesday, March 11, 2008 1:15 PM > To: Machiel Richards > Cc: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios memory percentages > > Looc at the /proc/meminfo file and the vmstat command. > > Divide memory parameter (free, used, whatever) by total memory, multiply by > 100 and you have percent. > > Machiel Richards wrote: > Hi Everyone > > Maybe someone can assist me, but this may be a more linux specific question > than Nagios even though related to Nagios. > > I need to monitor the memory usage in percentage on Nagios and would like > to rather write my own scripts for this. > > > I know there are snmp versions of this to do the job for me, however I do > not want to complicate the systems with too many clients running on them. > > Currently we are using the normal nrpe to connect to the systems and run > scripts remotely, however we do not have one to monitor the memory. > > On the web there are a lot of references to the snmp commands but > as all the systems are production and we might be having a couple of upgrades > soon, I would like to rather keep it simple and only run one client on it for > all Nagios connections. > > > My question is this... I can use the command free to get the > amount of memory , used, free etc... > > How can I write this into a script to display as percentages... > is there another command I can use or maybe an option that I do not know > about? > > tx > *** Disclaimer *** > The information contained in this e-mail is confidential and legally > privileged and is intended solely for the addressee and to others who have > the authority to receive it. Access to this e-mail by anyone else is > unauthorized and as such, any disclosure, copying, distribution or any action > taken or omitted in reliance on it is unlawful. If you have received this > e-mail in error, please notify the sender immediately. > The views expressed in this e-mail are the views of the individual sender and > should in no way be construed as the views of the Company. > The Company is not liable to ensure that outgoing e-mails are virus-free. > The Company is not liable, should information or data, for whatever reason, > be corrupted or fail to reach its intended addressee. > The Company is not liable for any loss or damage of whatsoever nature and > howsoever arising resulting from the opening or the use of the information in > this e-mail, including its attachments and links. > The sender of this e-mail is subject to and bound by the terms and conditions > of Company's Electronic Communications Usage Policy. > > > > > > > > > > > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > > >
Re: [Nagios-users] Nagios memory percentages
Hi everyone Thank you for all the help I also now need to know the following : I have now managed to get the memory usage working where it provides the percentage as output and this is then used for monitoring innagios. However, the only 'message' displayed on the Nagios screen for the monitoring is the percentage and that is basically all... How can I still get this message to be a bit more user friendly without breaking the monitoring part? -Original Message- *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company’s Electronic Communications Usage Policy. From: Lars Stavholm [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 3:42 PM To: Machiel Richards Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios memory percentages $ cat /proc/meminfo | awk '{print $2}' On Tue, Mar 11, 2008 at 03:33:22PM 퍭, Machiel Richards wrote: > Thanks a lot, now I've learned something new... >=20 > This works perfectly. >=20 > -Original Message- > From: Giles Coochey [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 11, 2008 2:59 PM > To: Machiel Richards; nagios-users@lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios memory percentages >=20 > Perhaps, rather than cut, try grep -o '[0-9][0-9]*' >=20 > > From: [EMAIL PROTECTED] [mailto:nagios-users-bou= [EMAIL PROTECTED] On Behalf Of Machiel Richards > Sent: 11 March 2008 13:41 > To: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios memory percentages >=20 > Hi >=20 > =A0 I am trying to use this option but the issue I have now is with the f= ollowing: >=20 > The output from the /proc/meminfo is=A0 as follows: >=20 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 MemFree:=A0=A0=A0=A0=A0 206788 kB >=20 > =A0=A0 However, when I try to use cut in order to only get the numeric va= lue, the output I get back does not work that well as it still includes the= infront of the numeric value as well as the kb at the end... >=20 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 I have even tried this with free and th= e same result >=20 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 What should I use as delimiter to the c= ut command? >=20 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Any other suggestions on how to only ge= t the numeric value? >=20 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Commands used with output: >=20 > cat /proc/meminfo | grep MemTotal | cut -f 2 -d ":" >=20 > output : >=20 > =A0=A0=A0=A0=A0 2067884 kB >=20 >=20 > =A0 As you can see the spaces are all out of place. >=20 > =A0=A0=A0=A0=A0 I have also noticed that when using a space as delimiter = and counting the spaces to the value, then you get the result, however if t= he numeric value increase by one digit (i.e. from 6 digits to 7 digits for = instance) then the amount of spaces change and the program does not work. >=20 >=20 >=20 >=20 > > From: [EMAIL PROTECTED] [mailto:nagios-users-bou= [EMAIL PROTECTED] On Behalf Of Dale J. Chatham > Sent: Tuesday, March 11, 2008 1:15 PM > To: Machiel Richards > Cc: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios memory percentages >=20 > Looc at the /proc/meminfo file and the vmstat command. >=20 > Divide memory parameter (free, used, whatever) by total memory, multiply = by 100 and you have percent. >=20 > Machiel Richards wrote:=20 > Hi Everyone > =A0 > =A0 Maybe someone can assist me, but this may be a more linux specific qu= estion than Nagios even though related to Nagios. > =A0 > =A0=A0 I need to monitor the memory usage in percentage on Nagios and wou= ld like to rather write my own scripts for this. > =A0 > =A0 > =A0=A0 I know there are snmp versions of this to do the job for me, howev= er I do not want to complicate the systems with too many clients running on= them. > =A0 > Currently we are using the normal nrpe to connect to the systems and run = scripts remotely, however we do no
[Nagios-users] nrpe on rhel 4
All, I have problems getting output check_nrpe from client machine. My nagios server is Centos5 and the client server rhel 4 and I am having the following issue. I am running the latest version of nrpe and also tried bunch of other older version, still no luck. When I try to monitor other centos server with the same config it works fine. [EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21 NRPE v2.10 [EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21 -c check_load NRPE: Unable to read output [EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21 -c check_lljfj NRPE: Command 'check_lljfj' not defined Thanks, -john - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] nrpe on rhel 4 {Disarmed} {Fraud?}
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of John Duraisw > Sent: Tuesday, March 11, 2008 10:52 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] nrpe on rhel 4 {Disarmed} {Fraud?} > > All, > I have problems getting output check_nrpe from client machine. My nagios > server is Centos5 and the client server rhel 4 and I am having the following > issue. I am running the latest version of nrpe and also tried bunch of other > older version, still no luck. When I try to monitor other centos server with > the same config it works fine. > > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21 > NRPE v2.10 > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21 -c check_load > NRPE: Unable to read output Run the check_load command as defined in nrpe.cfg on 10.31.47.21 as the nagios user on 10.31.47.21 and see what it says. > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21 -c check_lljfj > NRPE: Command 'check_lljfj' not defined Define the command 'check_lljfj' in nrpe.cfg on 10.31.47.21. -- Marc - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] nrpe on rhel 4 {Disarmed} {Fraud?}
Marc, This is what happens when I do that. [EMAIL PROTECTED] libexec]# ./check_nrpe -H 127.0.0.1 CHECK_NRPE: Error - Could not complete SSL handshake. [EMAIL PROTECTED] libexec]# ./check_nrpe -H 127.0.0.1 -c check_load CHECK_NRPE: Error - Could not complete SSL handshake. [EMAIL PROTECTED] libexec]# ./check_nrpe -H 127.0.0.1 -c check_load -n CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. Mar 11 12:22:34 wsfs7-rhel nrpe[26314]: Host 127.0.0.1 is not allowed to talk to us! Mar 11 12:22:43 wsfs7-rhel nrpe[26317]: Host 127.0.0.1 is not allowed to talk to us! Mar 11 12:22:46 wsfs7-rhel nrpe[26320]: Host 127.0.0.1 is not allowed to talk to On Tue, Mar 11, 2008 at 12:05 PM, Marc Powell <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:nagios-users- > > [EMAIL PROTECTED] On Behalf Of John Duraisw > > Sent: Tuesday, March 11, 2008 10:52 AM > > To: nagios-users@lists.sourceforge.net > > Subject: [Nagios-users] nrpe on rhel 4 {Disarmed} {Fraud?} > > > > All, > > I have problems getting output check_nrpe from client machine. My > nagios > > server is Centos5 and the client server rhel 4 and I am having the > following > > issue. I am running the latest version of nrpe and also tried bunch of > other > > older version, still no luck. When I try to monitor other centos > server with > > the same config it works fine. > > > > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21 > > NRPE v2.10 > > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21 -c check_load > > NRPE: Unable to read output > > Run the check_load command as defined in nrpe.cfg on 10.31.47.21 as the > nagios user on 10.31.47.21 and see what it says. > > > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21 -c check_lljfj > > NRPE: Command 'check_lljfj' not defined > > Define the command 'check_lljfj' in nrpe.cfg on 10.31.47.21. > > -- > Marc > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] nrpe on rhel 4 {Disarmed} {Fraud?}
Marc, I moved the other plugins from another server, and looks like something got screwed during the transfer. I just recompiled all the nagios plugins on the client server and things started working fine. [EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21 -c check_load OK - load average: 0.00, 0.05, 0.02|load1=0.000;15.000;30.000;0; load5=0.050;10.000;25.000;0; load15=0.020;5.000;20.000;0; Thanks, -john On Tue, Mar 11, 2008 at 12:27 PM, John Duraisw <[EMAIL PROTECTED]> wrote: > Marc, > This is what happens when I do that. > > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 127.0.0.1 > CHECK_NRPE: Error - Could not complete SSL handshake. > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 127.0.0.1 -c check_load > CHECK_NRPE: Error - Could not complete SSL handshake. > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 127.0.0.1 -c check_load -n > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs > for error messages. > > > Mar 11 12:22:34 wsfs7-rhel nrpe[26314]: Host 127.0.0.1 is not allowed to > talk to > us! > Mar 11 12:22:43 wsfs7-rhel nrpe[26317]: Host 127.0.0.1 is not allowed to > talk to > us! > Mar 11 12:22:46 wsfs7-rhel nrpe[26320]: Host 127.0.0.1 is not allowed to > talk to > > > > > > > > On Tue, Mar 11, 2008 at 12:05 PM, Marc Powell <[EMAIL PROTECTED]> wrote: > > > > > > > > -Original Message- > > > From: [EMAIL PROTECTED] [mailto:nagios-users- > > > [EMAIL PROTECTED] On Behalf Of John Duraisw > > > Sent: Tuesday, March 11, 2008 10:52 AM > > > To: nagios-users@lists.sourceforge.net > > > Subject: [Nagios-users] nrpe on rhel 4 {Disarmed} {Fraud?} > > > > > > All, > > > I have problems getting output check_nrpe from client machine. My > > nagios > > > server is Centos5 and the client server rhel 4 and I am having the > > following > > > issue. I am running the latest version of nrpe and also tried bunch of > > other > > > older version, still no luck. When I try to monitor other centos > > server with > > > the same config it works fine. > > > > > > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21 > > > NRPE v2.10 > > > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21 -c check_load > > > NRPE: Unable to read output > > > > Run the check_load command as defined in nrpe.cfg on 10.31.47.21 as the > > nagios user on 10.31.47.21 and see what it says. > > > > > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21 -c check_lljfj > > > NRPE: Command 'check_lljfj' not defined > > > > Define the command 'check_lljfj' in nrpe.cfg on 10.31.47.21. > > > > -- > > Marc > > > > > > - > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > > ___ > > Nagios-users mailing list > > Nagios-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] nrpe on rhel 4
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of John Duraisw > Sent: Tuesday, March 11, 2008 11:28 AM > To: Marc Powell > Cc: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] nrpe on rhel 4 > > > Marc, > This is what happens when I do that. > > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 127.0.0.1 > CHECK_NRPE: Error - Could not complete SSL handshake. > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 127.0.0.1 -c check_load > CHECK_NRPE: Error - Could not complete SSL handshake. > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 127.0.0.1 -c check_load -n > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for > error messages. Looks like correct behavior to me. Of course, none of the above is what I suggested you to do. -- Marc - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Looking for IBM System x3500 plugin
I have this IBM System x3500 server with IBM Director agent. I'm looking for the IBM Director SNMP/CLI integration with the Nagios or Nagios plugin. Is it possible to adapt plugin check_snmp_ibm_bladecenter for the IBM System x3500 server? Any help appreciated -- Dmitri Smirnoff gmail: [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios
Hi, I work with nagios version 2.9 in Suse 10.1. I need check data base sybase, and for this I nedd to use CHECK_SYBASE for free space and connect. It execution give me this error: linux-site:/usr/local/nagios/libexec # ./check_sybase -U BC2788 -P zoe2007 -S desarrollo -D sistemas --checktype=CONNECT install_driver(Sybase) failed: Can't load '/usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/Sybase/Sybase.so' for module DBD::Sybase: libsybunic64.so: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230. at (eval 3) line 3 Compilation failed in require at (eval 3) line 3. Perhaps a required shared library or dll isn't installed where expected at ./check_sybase line 143 I need one more library, I need an other version of a library the PERL or what??? Thank you Los referentes más importantes en compra/ venta de autos se juntaron: Demotores y Yahoo! Ahora comprar o vender tu auto es más fácil. Vistá ar.autos.yahoo.com/- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios
On Tue, Mar 11, 2008 at 6:47 PM, Alicia Calvo <[EMAIL PROTECTED]> wrote: > > Hi, I work with nagios version 2.9 in Suse 10.1. I need check data base > sybase, and for this I nedd to use CHECK_SYBASE for free space and connect. > It execution give me this error: > > linux-site:/usr/local/nagios/libexec # ./check_sybase -U BC2788 -P zoe2007 > -S desarrollo -D sistemas --checktype=CONNECT > > install_driver(Sybase) failed: Can't load > '/usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/Sybase/Sybase.so' > for module DBD::Sybase: libsybunic64.so: cannot open shared object file: No > such file or directory at > /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230. > at (eval 3) line 3 > Compilation failed in require at (eval 3) line 3. > Perhaps a required shared library or dll isn't installed where expected > at ./check_sybase line 143 > > I need one more library, I need an other version of a library the PERL or > what??? Hi, you need DBD::Sybase bash# cpan [answer initial configuration questions, accepting the defaults presented works for most people] cpan> install DBD::Sybase - Max - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios
Whoops, Actually, looks like you need to install the Sybase client software for Linux on your Nagios host unless the sybase libraries are available as a standalone package, this happens with Oracle too when the think driver (the one that supports transactions) is needed. - Max - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios
Thick driver I mean :), not think. On Tue, Mar 11, 2008 at 6:58 PM, Max <[EMAIL PROTECTED]> wrote: > Whoops, > > Actually, looks like you need to install the Sybase client software > for Linux on your Nagios host unless the sybase libraries are > available as a standalone package, this happens with Oracle too when > the think driver (the one that supports transactions) is needed. > > - Max > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Any way to make PING service use host dependencies?
I mistakenly it seems figured that the PING service would use the host dependency config before sending a notification since a latency problem with a remote office would cause every host at the remote office to spawn a PING latency notification. I found out today that is not the case with nagios (using 2.9). Do I have to keep replicating all my hosts dependencies into a separate ping service dependency or am I missing something somewhere? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] problem with suexec
hello. i have installed nagios on my server running apache 2.2.6. when i try to access the web interface i see: Internal Server Error in error_log i see: [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.] suexec policy violation: see suexec log for more details, referer: http://www.digitalstorage.com.br/nagios/side.html [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.] Premature end of script headers: tac.cgi, referer: http://www.digitalstorage.com.br/nagios/side.html [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.] File does not exist: /home/digital/public_html/500.shtml, referer: http://www.digitalstorage.com.br/nagios/side.html in suexec_log: [2008-03-11 21:22:04]: uid: (32042/digital) gid: (32044/32044) cmd: tac.cgi [2008-03-11 21:22:04]: directory is writable by others: (/usr/local/nagios/sbin) any help is apreciated. thanks, wilson galafassi - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios
On Mar 11 18:58, Max wrote: > Whoops, > > Actually, looks like you need to install the Sybase client software > for Linux on your Nagios host unless the sybase libraries are > available as a standalone package, DBD::Sybase can use either the Sybase libraries (which are provided with Sybase ASE), or FreeTDS (www.freetds.org). Personally, I find the FreeTDS package easier, and much, *much* smaller (596k vs. 200+MB). I've used both, and they seem to be functionally the same, especially for the purposes of this plugin. Cheers, -tt -- Tom Throckmorton OIT - CSI Duke University - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Any way to make PING service use host dependencies?
On Tue, Mar 11, 2008 at 7:00 PM, Adam65535 <[EMAIL PROTECTED]> wrote: > I mistakenly it seems figured that the PING service would use the host > dependency config before sending a notification since a latency problem with > a remote office would cause every host at the remote office to spawn a PING > latency notification. I found out today that is not the case with nagios > (using 2.9). Do I have to keep replicating all my hosts dependencies into a > separate ping service dependency or am I missing something somewhere? In Nagios 3.x you can use host groups for service and host dependencies, but even then I think that this isn't the best way to handle this situation. I think the best resolution for for this one is something like the following. I had a switch port that was attached to a VPN device I wasn't allowed to monitor, this port serves as the connection between our local and remote office, so I just created a fake host for the VPN, put the SNMP port and traffic status checks as the services for the VPN host , and then made the fake VPN 'host' the parent to our core router and the child to the remote office router .. so now when the VPN connection goes down or times out the remote map gets turned unreachable. Does that make sense? - Max - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null