Re: [Nagios-users] Installing Plugin In Nagios.
http://nagios.sourceforge.net/docs/nagios-3.pdf -Oorspronkelijk bericht- Van: Aravinth Anto Intern [mailto:t-aravi...@juspay.in] Verzonden: donderdag 2 augustus 2012 5:02 Aan: Nagios Users List Onderwerp: [Nagios-users] Installing Plugin In Nagios. Hi all, I'm very new to nagios. I need to install several other plugins in nagios system. I'm using Ubuntu 12.04 and I installed the nagios system using : sudo apt-get install -y nagios3 This command. Its up and running. Lets say for example I need to install check_tomcat plugin.. How I can do that? Thanks in advance. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 Do I Generally Specify timing constraint in Nagios?
Hi all, I'm new to nagios. I need to know how I can specify the timing constraints. For example if I want to do something : if something is down for 10 min then alert me. In this case where do I specify the timing constraints? There are numerous timing vars, determining these result(s) and or behavior,it would be a good idea to study examples in the doc(s) and or look at the template files. M. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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] Installing Plugin In Nagios.
Lets say I need to download this plugin : http://exchange.nagios.org/directory/Plugins/Java-Applications-and-Servers/Apache-Tomcat/check_tomcat-2Epl/details I obtained the file check_tomcat.pl.. But how do I install it? Sorry, I'm very new to Nagios.. Kindly help me out. On Thu, Aug 2, 2012 at 11:44 AM, Perfors, Henny hdperf...@che.nl wrote: http://nagios.sourceforge.net/docs/nagios-3.pdf -Oorspronkelijk bericht- Van: Aravinth Anto Intern [mailto:t-aravi...@juspay.in] Verzonden: donderdag 2 augustus 2012 5:02 Aan: Nagios Users List Onderwerp: [Nagios-users] Installing Plugin In Nagios. Hi all, I'm very new to nagios. I need to install several other plugins in nagios system. I'm using Ubuntu 12.04 and I installed the nagios system using : sudo apt-get install -y nagios3 This command. Its up and running. Lets say for example I need to install check_tomcat plugin.. How I can do that? Thanks in advance. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 Do I Generally Specify timing constraint in Nagios?
Thanks for replying. Is it possible for me to specify this via any Object configuration file? Is so provide me an example. I can't find this detail in docs. On Thu, Aug 2, 2012 at 12:22 PM, Mark Elsen mark.el...@gmail.com wrote: Hi all, I'm new to nagios. I need to know how I can specify the timing constraints. For example if I want to do something : if something is down for 10 min then alert me. In this case where do I specify the timing constraints? There are numerous timing vars, determining these result(s) and or behavior,it would be a good idea to study examples in the doc(s) and or look at the template files. M. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 Variables
Hello list, How can I access Nagios variables like $NOTIFICATIONTYPE$, $SHORTDATETIME$, etc from a text file passed in a command? I have one command which is: /usr/local/bin/sendEmail -o message-file=/etc/nagios/message.txt ... bla bla bla And inside message.txt I have those variables. However when I am notified, I am not getting variable's values, instead, it gives me the plain string $NOTIFICATIONTYPE$, etc. Googling didn't help too much. Thanks for all help on this! Best regards, Bruno -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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 Variables
The marco's are internal to nagios and will not be read from an external text file . there is a way to make nagios macros available to external commands ( look for macros in the nagios.cfg file) But what you are trying to do with the message.txt file will fail to work as the SendEmail script most likely do not have access to the nagios internal macros and there for will not expand them . On 02/08/12 11:25, Bruno Martins wrote: Hello list, How can I access Nagios variables like $NOTIFICATIONTYPE$, $SHORTDATETIME$, etc from a text file passed in a command? I have one command which is: /usr/local/bin/sendEmail -o message-file=/etc/nagios/message.txt ... bla bla bla And inside message.txt I have those variables. However when I am notified, I am not getting variable's values, instead, it gives me the plain string $NOTIFICATIONTYPE$, etc. Googling didn't help too much. Thanks for all help on this! Best regards, Bruno -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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 Variables
You need to append NAGIOS_ eg. NAGIOS_NOTIFICATIONTYPE. And also make sure you do enable_environment_macros=1 in nagios.cfg Ruslan On Thu, Aug 2, 2012 at 12:32 PM, Assaf Flatto nag...@flatto.net wrote: ** The marco's are internal to nagios and will not be read from an external text file . there is a way to make nagios macros available to external commands ( look for macros in the nagios.cfg file) But what you are trying to do with the message.txt file will fail to work as the SendEmail script most likely do not have access to the nagios internal macros and there for will not expand them . On 02/08/12 11:25, Bruno Martins wrote: Hello list, How can I access Nagios variables like $NOTIFICATIONTYPE$, $SHORTDATETIME$, etc from a text file passed in a command? I have one command which is: /usr/local/bin/sendEmail -o message-file=/etc/nagios/message.txt ... bla bla bla And inside message.txt I have those variables. However when I am notified, I am not getting variable's values, instead, it gives me the plain string $NOTIFICATIONTYPE$, etc. Googling didn't help too much. Thanks for all help on this! Best regards, Bruno -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Nagios-users mailing listNagios-users@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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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 Variables
Hello there, Thanks for fast reply. I have that setting in my nagios.cfg file: enable_environment_macros=1 Do you know how can I make this possible, if it is really possible... Best regards, Bruno On Thu, Aug 2, 2012 at 11:32 AM, Assaf Flatto nag...@flatto.net wrote: ** The marco's are internal to nagios and will not be read from an external text file . there is a way to make nagios macros available to external commands ( look for macros in the nagios.cfg file) But what you are trying to do with the message.txt file will fail to work as the SendEmail script most likely do not have access to the nagios internal macros and there for will not expand them . On 02/08/12 11:25, Bruno Martins wrote: Hello list, How can I access Nagios variables like $NOTIFICATIONTYPE$, $SHORTDATETIME$, etc from a text file passed in a command? I have one command which is: /usr/local/bin/sendEmail -o message-file=/etc/nagios/message.txt ... bla bla bla And inside message.txt I have those variables. However when I am notified, I am not getting variable's values, instead, it gives me the plain string $NOTIFICATIONTYPE$, etc. Googling didn't help too much. Thanks for all help on this! Best regards, Bruno -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Nagios-users mailing listNagios-users@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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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 Variables
As I said, it's possible to extract the data from the variables you mentioned. *[root@bravura ~]# cat /usr/local/nagios/libexec/just_test* #!/bin/bash echo $NAGIOS_HOSTNAME *Define a command:* define command { command_namejust_test_cmd command_line$USER1$/just_test /tmp/test.txt } *Define a service:* define service { name just_test_srv use local-service host_namebravura.svc.unicc.org check_commandjust_test_cmd service_description Just test } After check is run, you will get your data. *[root@bravura ~]# cat /tmp/test.txt* bravura.svc.unicc.org Hope it helps. Ruslan On Thu, Aug 2, 2012 at 12:49 PM, Bruno Martins bmomart...@gmail.com wrote: Hello there, Thanks for fast reply. I have that setting in my nagios.cfg file: enable_environment_macros=1 Do you know how can I make this possible, if it is really possible... Best regards, Bruno On Thu, Aug 2, 2012 at 11:32 AM, Assaf Flatto nag...@flatto.net wrote: ** The marco's are internal to nagios and will not be read from an external text file . there is a way to make nagios macros available to external commands ( look for macros in the nagios.cfg file) But what you are trying to do with the message.txt file will fail to work as the SendEmail script most likely do not have access to the nagios internal macros and there for will not expand them . On 02/08/12 11:25, Bruno Martins wrote: Hello list, How can I access Nagios variables like $NOTIFICATIONTYPE$, $SHORTDATETIME$, etc from a text file passed in a command? I have one command which is: /usr/local/bin/sendEmail -o message-file=/etc/nagios/message.txt ... bla bla bla And inside message.txt I have those variables. However when I am notified, I am not getting variable's values, instead, it gives me the plain string $NOTIFICATIONTYPE$, etc. Googling didn't help too much. Thanks for all help on this! Best regards, Bruno -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Nagios-users mailing listNagios-users@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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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 in Installing the graph plugin.
Hi all, I'm trying to install Nagios Plugin : http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details I downloaded it, unzip it and then I run the install.pl as *sudo ./install.pl * I accepted every directory as default and done with installation. I changed the side.php to add my Trends link that are supported by this plugin. I restarted the server. But when I click on certain links. I get an error : *The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found on this server. * Why this is happening? I can go into the directory /usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi. But why its not working? Thanks in adavnce -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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] Creating a criteria:
Aravinth Anto Intern wrote: On Wed, Aug 1, 2012 at 10:24 PM, Paul Dubuc w...@paul.dubuc.org wrote: Alex Griffin wrote: Aravinth Anto Intern wrote: Hi all, I'm new to nagios. And trying to figure out how do I do this : Response time 2s for 10 continuous requests in a 5 minutes. If this is the case then I need to create a alert. I defined a template for this : define host{ host_nametest ;other stufs ;check command so that response time is less than 2s check_interval 5 retry_interval 1 max_check_attempts 10 check_period24x7 } For my criteria : Response time 2s for 10 continuous requests in a 5 minutes. Is that correct? Thanks in advance. No, this will only check once every 5 minutes. The max_check_attempts directive is for retrying after a failed check. You need to find or write a plugin that does all 10 requests itself and then set it up as a *passive* check in Nagios. I believe it must be passive, otherwise Nagios will kill it for running too long. Alex Griffin --- Another way would be to set the retry interval to 0.5. If the whole purpose of the check is to fail when the response time is greater than 2 seconds, then the check would be run every 30 seconds as long as it keeps failing and would enter a hard state, generating a notification, if it kept failing for 5 minutes. Thanks for replying. So doing this : define host{ host_nametest ;other stufs ;check command so that response time is less than 2s check_interval 0.5 retry_interval 1 max_check_attempts 10 check_period24x7 } Will do the job? No. Set retry_interval to 0.5 instead. check_interval is what Nagios normally uses when the host is in a hard state. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] R: R: check_memory does not work properly
No idea? Regards Da: Marco Borsani [mailto:m.bors...@it.net] Inviato: mercoledì 1 agosto 2012 09:19 A: 'Nagios Users List' Oggetto: [Nagios-users] R: check_memory does not work properly Commands.cfg # 'check_local_memory' command definition define command{ command_namecheck_local_memory command_line$USER1$/check_memory -w $ARG1$ -c $ARG2$ } Services.cfg define service{ use active-service host_name ip- addresses service_description check_local_memory check_command check_local_memory!10%!5% max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups CG_admin } From line command: $ ./check_memory -w 10% -c 5% OK - free memory is 27% which is within expected threshold| mem=27;10;5;0;100 Regards Da: Morris, Patrick [mailto:patrick.mor...@hp.com] Inviato: martedì 31 luglio 2012 23:24 A: nagios-users@lists.sourceforge.net Oggetto: Re: [Nagios-users] check_memory does not work properly Posting your check configuration is really helpful in cases like this. Its almost impossible to give a good answer without knowing how youve set the check up. From: Marco Borsani [mailto:m.bors...@it.net] Sent: Tuesday, July 31, 2012 6:52 AM To: NAGIOS Subject: [Nagios-users] check_memory does not work properly Hi all I am using a simple plug-in to check the nagios server memory. When I run it like user Nagios, it works perfectly. I see this output: OK - free memory is 40% which is within expected threshold| mem=40;10;5;0;100 When I run it with Nagios program I receive this notification: .. Command: check_local_memory State: WARNING Message:(null) . Any idea ? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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] R: R: check_memory does not work properly
Maybe the problem is in your notification command. It may not be reporting the result correctly. Marco Borsani wrote: No idea? Regards *Da:*Marco Borsani [mailto:m.bors...@it.net] *Inviato:* mercoled� 1 agosto 2012 09:19 *A:* 'Nagios Users List' *Oggetto:* [Nagios-users] R: check_memory does not work properly Commands.cfg # 'check_local_memory' command definition define command{ command_namecheck_local_memory command_line$USER1$/check_memory -w $ARG1$ -c $ARG2$ } Services.cfg define service{ use active-service host_name ip- addresses service_description check_local_memory check_command check_local_memory!10%!5% max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups CG_admin } From line command: $ ./check_memory -w 10% -c 5% OK - free memory is 27% which is within expected threshold| mem=27;10;5;0;100 Regards *Da:*Morris, Patrick [mailto:patrick.mor...@hp.com] mailto:[mailto:patrick.mor...@hp.com] *Inviato:* marted� 31 luglio 2012 23:24 *A:* nagios-users@lists.sourceforge.net mailto:nagios-users@lists.sourceforge.net *Oggetto:* Re: [Nagios-users] check_memory does not work properly Posting your check configuration is really helpful in cases like this. It’s almost impossible to give a good answer without knowing how you’ve set the check up. *From:*Marco Borsani [mailto:m.bors...@it.net] mailto:[mailto:m.bors...@it.net] *Sent:* Tuesday, July 31, 2012 6:52 AM *To:* NAGIOS *Subject:* [Nagios-users] check_memory does not work properly Hi all I am using a simple plug-in to check the nagios server memory. When I run it like user Nagios, it works perfectly. I see this output: OK - free memory is 40% which is within expected threshold| mem=40;10;5;0;100 When I run it with Nagios program I receive this notification: ….. Command: check_local_memory State: WARNING Message:(null) …. Any idea ? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] R: R: check_memory does not work properly
Have you tried su'ing to the nagios user and running it from the command line? I am betting it's permissions issue. Cheers, James From: Marco Borsani [mailto:m.bors...@it.net] Sent: Thursday, August 02, 2012 9:48 AM To: 'Nagios Users List' Subject: [Nagios-users] R: R: check_memory does not work properly No idea? Regards Da: Marco Borsani [mailto:m.bors...@it.net] Inviato: mercoledì 1 agosto 2012 09:19 A: 'Nagios Users List' Oggetto: [Nagios-users] R: check_memory does not work properly Commands.cfg # 'check_local_memory' command definition define command{ command_namecheck_local_memory command_line$USER1$/check_memory -w $ARG1$ -c $ARG2$ } Services.cfg define service{ use active-service host_name ip- addresses service_description check_local_memory check_command check_local_memory!10%!5% max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups CG_admin } From line command: $ ./check_memory -w 10% -c 5% OK - free memory is 27% which is within expected threshold| mem=27;10;5;0;100 Regards Da: Morris, Patrick [mailto:patrick.mor...@hp.com]mailto:[mailto:patrick.mor...@hp.com] Inviato: martedì 31 luglio 2012 23:24 A: nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net Oggetto: Re: [Nagios-users] check_memory does not work properly Posting your check configuration is really helpful in cases like this. It's almost impossible to give a good answer without knowing how you've set the check up. From: Marco Borsani [mailto:m.bors...@it.net]mailto:[mailto:m.bors...@it.net] Sent: Tuesday, July 31, 2012 6:52 AM To: NAGIOS Subject: [Nagios-users] check_memory does not work properly Hi all I am using a simple plug-in to check the nagios server memory. When I run it like user Nagios, it works perfectly. I see this output: OK - free memory is 40% which is within expected threshold| mem=40;10;5;0;100 When I run it with Nagios program I receive this notification: . Command: check_local_memory State: WARNING Message:(null) Any idea ? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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] R: R: check_memory does not work properly
What user is your Nagios server running as? Is it the same as the user that you are using on the command line? Could you post more details about the exact check_memory command that you are using, there are several of them out there. The output you are getting from Nagios, is this on the web gui, or in one of the log files. It could be many things related to the check scripts itself, who you are running as where you are running the command. The command line is not always the same as when the server executes. James From: Marco Borsani [mailto:m.bors...@it.net] Sent: 02 August 2012 14:48 To: 'Nagios Users List' Subject: [Nagios-users] R: R: check_memory does not work properly No idea? Regards Da: Marco Borsani [mailto:m.bors...@it.net]mailto:[mailto:m.bors...@it.net] Inviato: mercoledì 1 agosto 2012 09:19 A: 'Nagios Users List' Oggetto: [Nagios-users] R: check_memory does not work properly Commands.cfg # 'check_local_memory' command definition define command{ command_namecheck_local_memory command_line$USER1$/check_memory -w $ARG1$ -c $ARG2$ } Services.cfg define service{ use active-service host_name ip- addresses service_description check_local_memory check_command check_local_memory!10%!5% max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups CG_admin } From line command: $ ./check_memory -w 10% -c 5% OK - free memory is 27% which is within expected threshold| mem=27;10;5;0;100 Regards Da: Morris, Patrick [mailto:patrick.mor...@hp.com]mailto:[mailto:patrick.mor...@hp.com] Inviato: martedì 31 luglio 2012 23:24 A: nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net Oggetto: Re: [Nagios-users] check_memory does not work properly Posting your check configuration is really helpful in cases like this. It's almost impossible to give a good answer without knowing how you've set the check up. From: Marco Borsani [mailto:m.bors...@it.net]mailto:[mailto:m.bors...@it.net] Sent: Tuesday, July 31, 2012 6:52 AM To: NAGIOS Subject: [Nagios-users] check_memory does not work properly Hi all I am using a simple plug-in to check the nagios server memory. When I run it like user Nagios, it works perfectly. I see this output: OK - free memory is 40% which is within expected threshold| mem=40;10;5;0;100 When I run it with Nagios program I receive this notification: . Command: check_local_memory State: WARNING Message:(null) Any idea ? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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] Problem in Installing the graph plugin.
The automated install didn't work for me either, for to me unknown reasons. I didn't waste time debugging why it didn't work and did the manual installation instead, which is not that difficult. Work through section Recipe for Manual Installation in the INSTALL file: http://nagiosgraph.svn.sourceforge.net/viewvc/nagiosgraph/trunk/nagiosgraph/INSTALL On Thu, Aug 2, 2012 at 3:37 PM, Aravinth Anto Intern t-aravi...@juspay.inwrote: Hi all, I'm trying to install Nagios Plugin : http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details I downloaded it, unzip it and then I run the install.pl as *sudo ./install.pl * I accepted every directory as default and done with installation. I changed the side.php to add my Trends link that are supported by this plugin. I restarted the server. But when I click on certain links. I get an error : *The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found on this server. * Why this is happening? I can go into the directory /usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi. But why its not working? Thanks in adavnce -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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] R: R: R: check_memory does not work properly
Yes I did. Da: James Pratt [mailto:jpr...@norwich.edu] Inviato: giovedì 2 agosto 2012 16:01 A: 'Nagios Users List' Oggetto: Re: [Nagios-users] R: R: check_memory does not work properly Have you tried suing to the nagios user and running it from the command line? I am betting its permissions issue. Cheers, James From: Marco Borsani [mailto:m.bors...@it.net] Sent: Thursday, August 02, 2012 9:48 AM To: 'Nagios Users List' Subject: [Nagios-users] R: R: check_memory does not work properly No idea? Regards Da: Marco Borsani [mailto:m.bors...@it.net] Inviato: mercoledì 1 agosto 2012 09:19 A: 'Nagios Users List' Oggetto: [Nagios-users] R: check_memory does not work properly Commands.cfg # 'check_local_memory' command definition define command{ command_namecheck_local_memory command_line$USER1$/check_memory -w $ARG1$ -c $ARG2$ } Services.cfg define service{ use active-service host_name ip- addresses service_description check_local_memory check_command check_local_memory!10%!5% max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups CG_admin } From line command: $ ./check_memory -w 10% -c 5% OK - free memory is 27% which is within expected threshold| mem=27;10;5;0;100 Regards Da: Morris, Patrick [mailto:patrick.mor...@hp.com] Inviato: martedì 31 luglio 2012 23:24 A: nagios-users@lists.sourceforge.net Oggetto: Re: [Nagios-users] check_memory does not work properly Posting your check configuration is really helpful in cases like this. Its almost impossible to give a good answer without knowing how youve set the check up. From: Marco Borsani [mailto:m.bors...@it.net] Sent: Tuesday, July 31, 2012 6:52 AM To: NAGIOS Subject: [Nagios-users] check_memory does not work properly Hi all I am using a simple plug-in to check the nagios server memory. When I run it like user Nagios, it works perfectly. I see this output: OK - free memory is 40% which is within expected threshold| mem=40;10;5;0;100 When I run it with Nagios program I receive this notification: .. Command: check_local_memory State: WARNING Message:(null) . Any idea ? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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] R: R: R: check_memory does not work properly
The outputs I show you are: 1) given by web gui (not correct) 2) given by line command (correct) The notification is the same that web gui -Messaggio originale- Da: Paul Dubuc [mailto:w...@paul.dubuc.org] Inviato: giovedì 2 agosto 2012 16:00 A: Nagios Users List Cc: Marco Borsani Oggetto: Re: [Nagios-users] R: R: check_memory does not work properly Maybe the problem is in your notification command. It may not be reporting the result correctly. Marco Borsani wrote: No idea? Regards *Da:*Marco Borsani [mailto:m.bors...@it.net] *Inviato:* mercoled? 1 agosto 2012 09:19 *A:* 'Nagios Users List' *Oggetto:* [Nagios-users] R: check_memory does not work properly Commands.cfg # 'check_local_memory' command definition define command{ command_namecheck_local_memory command_line$USER1$/check_memory -w $ARG1$ -c $ARG2$ } Services.cfg define service{ use active-service host_name ip- addresses service_description check_local_memory check_command check_local_memory!10%!5% max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups CG_admin } From line command: $ ./check_memory -w 10% -c 5% OK - free memory is 27% which is within expected threshold| mem=27;10;5;0;100 Regards *Da:*Morris, Patrick [mailto:patrick.mor...@hp.com] mailto:[mailto:patrick.mor...@hp.com] *Inviato:* marted? 31 luglio 2012 23:24 *A:* nagios-users@lists.sourceforge.net mailto:nagios-users@lists.sourceforge.net *Oggetto:* Re: [Nagios-users] check_memory does not work properly Posting your check configuration is really helpful in cases like this. It s almost impossible to give a good answer without knowing how you ve set the check up. *From:*Marco Borsani [mailto:m.bors...@it.net] mailto:[mailto:m.bors...@it.net] *Sent:* Tuesday, July 31, 2012 6:52 AM *To:* NAGIOS *Subject:* [Nagios-users] check_memory does not work properly Hi all I am using a simple plug-in to check the nagios server memory. When I run it like user Nagios, it works perfectly. I see this output: OK - free memory is 40% which is within expected threshold| mem=40;10;5;0;100 When I run it with Nagios program I receive this notification: .. Command: check_local_memory State: WARNING Message:(null) . Any idea ? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Problem in Installing the graph plugin.
Did you run the install and check your prerequisites, I found that some of these are not present by default, You can run sudo ./install -check=prereq If everything is ok, you can proceed, otherwise you will need to install the missing packages At install time you may need to pass the argument for a standalone installation, this all depends on your environment sudo ./install -standalone Once installation has completed you can test that the server is working by going to one of the following websites http://server/nagiosgraph/cgi-bin/showconfig.cgihttp://%3cserver%3e/nagiosgraph/cgi-bin/showconfig.cgi or http://server/nagiosgraph/cgi-bin/show.cgihttp://%3cserver%3e/nagiosgraph/cgi-bin/show.cgi This assumes your cgi data is located in cgi-bin and that you are running apache. This should help to get nagiosgraph working, you will then need to update Nagios to use the graphing plugin. James From: Aravinth Anto Intern [mailto:t-aravi...@juspay.in] Sent: 02 August 2012 14:38 To: Nagios Users List Subject: [Nagios-users] Problem in Installing the graph plugin. Hi all, I'm trying to install Nagios Plugin : http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details I downloaded it, unzip it and then I run the install.plhttp://install.pl as sudo ./install.plhttp://install.pl I accepted every directory as default and done with installation. I changed the side.php to add my Trends link that are supported by this plugin. I restarted the server. But when I click on certain links. I get an error : The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found on this server. Why this is happening? I can go into the directory /usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi. But why its not working? Thanks in adavnce -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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] R: R: R: check_memory does not work properly
1) Nagios user 2) Yes 3) Which details ? the point is that the plugin work correctly on command line, but not on web gui Command line out à OK + memory info + exit status 0 Web gui output à WARNING + (null message) + exit status 1 Log file à SERVICE ALERT: host address; service description;WARNING;HARD;3;(null) Regards Da: James Osbourn [mailto:james.osbo...@citrix.com] Inviato: giovedì 2 agosto 2012 15:58 A: Nagios Users List Oggetto: Re: [Nagios-users] R: R: check_memory does not work properly What user is your Nagios server running as? Is it the same as the user that you are using on the command line? Could you post more details about the exact check_memory command that you are using, there are several of them out there. The output you are getting from Nagios, is this on the web gui, or in one of the log files. It could be many things related to the check scripts itself, who you are running as where you are running the command. The command line is not always the same as when the server executes. James From: Marco Borsani [mailto:m.bors...@it.net] Sent: 02 August 2012 14:48 To: 'Nagios Users List' Subject: [Nagios-users] R: R: check_memory does not work properly No idea? Regards Da: Marco Borsani [mailto:m.bors...@it.net] Inviato: mercoledì 1 agosto 2012 09:19 A: 'Nagios Users List' Oggetto: [Nagios-users] R: check_memory does not work properly Commands.cfg # 'check_local_memory' command definition define command{ command_namecheck_local_memory command_line$USER1$/check_memory -w $ARG1$ -c $ARG2$ } Services.cfg define service{ use active-service host_name ip- addresses service_description check_local_memory check_command check_local_memory!10%!5% max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups CG_admin } From line command: $ ./check_memory -w 10% -c 5% OK - free memory is 27% which is within expected threshold| mem=27;10;5;0;100 Regards Da: Morris, Patrick [mailto:patrick.mor...@hp.com] Inviato: martedì 31 luglio 2012 23:24 A: nagios-users@lists.sourceforge.net Oggetto: Re: [Nagios-users] check_memory does not work properly Posting your check configuration is really helpful in cases like this. Its almost impossible to give a good answer without knowing how youve set the check up. From: Marco Borsani [mailto:m.bors...@it.net] Sent: Tuesday, July 31, 2012 6:52 AM To: NAGIOS Subject: [Nagios-users] check_memory does not work properly Hi all I am using a simple plug-in to check the nagios server memory. When I run it like user Nagios, it works perfectly. I see this output: OK - free memory is 40% which is within expected threshold| mem=40;10;5;0;100 When I run it with Nagios program I receive this notification: .. Command: check_local_memory State: WARNING Message:(null) . Any idea ? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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] Codes for NRPE
Yu Watanabe yu.watanabe at jp.fujitsu.com writes: Hi. I was looking for versions that can be compatible with following libssl version. libssl-dev : 0.9.8g-16ubuntu3 So , I was thinking older than v 2.12 might do so. Thanks, Yu Edwin Zoeller writes: What version are you looking for? - Original Message - From: Yu Watanabe [mailto:yu.watanabe at jp.fujitsu.com] Sent: Sunday, July 29, 2012 07:55 PM To: nagios-users at lists.sourceforge.net nagios-users at lists.sourceforge.net Subject: [Nagios-users] Codes for NRPE Hello all. I tried to access for the old versions for NRPE but it seems that its depricated. http://sourceforge.net/projects/nrpe/files/ Is there any ways to access the old versions? Thanks, Yu Nice to meet you, Yu How about this? http://sourceforge.net/projects/nagios/files/nrpe-2.x/ Regards, Kaz -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] R: R: check_memory does not work properly
Why don't you specify the ARGS in the commands.cfg file? i.e. Commands.cfg # 'check_local_memory' command definition define command{ command_namecheck_local_memory command_line$USER1$/check_memory -w 10% -c 5% } Services.cfg define service{ use active-service host_name ip- addresses service_description check_local_memory check_command check_local_memory max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups CG_admin } From: Marco Borsani [mailto:m.bors...@it.net] Sent: Thursday, August 02, 2012 8:48 AM To: 'Nagios Users List' Subject: [Nagios-users] R: R: check_memory does not work properly No idea? Regards Da: Marco Borsani [mailto:m.bors...@it.net] Inviato: mercoledì 1 agosto 2012 09:19 A: 'Nagios Users List' Oggetto: [Nagios-users] R: check_memory does not work properly Commands.cfg # 'check_local_memory' command definition define command{ command_namecheck_local_memory command_line$USER1$/check_memory -w $ARG1$ -c $ARG2$ } Services.cfg define service{ use active-service host_name ip- addresses service_description check_local_memory check_command check_local_memory!10%!5% max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups CG_admin } From line command: $ ./check_memory -w 10% -c 5% OK - free memory is 27% which is within expected threshold| mem=27;10;5;0;100 Regards Da: Morris, Patrick [mailto:patrick.mor...@hp.com]mailto:[mailto:patrick.mor...@hp.com] Inviato: martedì 31 luglio 2012 23:24 A: nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net Oggetto: Re: [Nagios-users] check_memory does not work properly Posting your check configuration is really helpful in cases like this. It's almost impossible to give a good answer without knowing how you've set the check up. From: Marco Borsani [mailto:m.bors...@it.net]mailto:[mailto:m.bors...@it.net] Sent: Tuesday, July 31, 2012 6:52 AM To: NAGIOS Subject: [Nagios-users] check_memory does not work properly Hi all I am using a simple plug-in to check the nagios server memory. When I run it like user Nagios, it works perfectly. I see this output: OK - free memory is 40% which is within expected threshold| mem=40;10;5;0;100 When I run it with Nagios program I receive this notification: . Command: check_local_memory State: WARNING Message:(null) Any idea ? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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] R: R: R: check_memory does not work properly
Can you run check_memory plugin on the command line to get the full menu of options available to the plugin and post it here. Regards, Deborah From: Marco Borsani [mailto:m.bors...@it.net] Sent: 02 August 2012 15:28 To: 'Nagios Users List' Subject: [Nagios-users] R: R: R: check_memory does not work properly 1) Nagios user 2) Yes 3) Which details ? the point is that the plugin work correctly on command line, but not on web gui... Command line out -- OK + memory info + exit status 0 Web gui output -- WARNING + (null message) + exit status 1 Log file -- SERVICE ALERT: host address; service description;WARNING;HARD;3;(null) Regards Da: James Osbourn [mailto:james.osbo...@citrix.com]mailto:[mailto:james.osbo...@citrix.com] Inviato: giovedì 2 agosto 2012 15:58 A: Nagios Users List Oggetto: Re: [Nagios-users] R: R: check_memory does not work properly What user is your Nagios server running as? Is it the same as the user that you are using on the command line? Could you post more details about the exact check_memory command that you are using, there are several of them out there. The output you are getting from Nagios, is this on the web gui, or in one of the log files. It could be many things related to the check scripts itself, who you are running as where you are running the command. The command line is not always the same as when the server executes. James From: Marco Borsani [mailto:m.bors...@it.net]mailto:[mailto:m.bors...@it.net] Sent: 02 August 2012 14:48 To: 'Nagios Users List' Subject: [Nagios-users] R: R: check_memory does not work properly No idea? Regards Da: Marco Borsani [mailto:m.bors...@it.net]mailto:[mailto:m.bors...@it.net] Inviato: mercoledì 1 agosto 2012 09:19 A: 'Nagios Users List' Oggetto: [Nagios-users] R: check_memory does not work properly Commands.cfg # 'check_local_memory' command definition define command{ command_namecheck_local_memory command_line$USER1$/check_memory -w $ARG1$ -c $ARG2$ } Services.cfg define service{ use active-service host_name ip- addresses service_description check_local_memory check_command check_local_memory!10%!5% max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups CG_admin } From line command: $ ./check_memory -w 10% -c 5% OK - free memory is 27% which is within expected threshold| mem=27;10;5;0;100 Regards Da: Morris, Patrick [mailto:patrick.mor...@hp.com]mailto:[mailto:patrick.mor...@hp.com] Inviato: martedì 31 luglio 2012 23:24 A: nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net Oggetto: Re: [Nagios-users] check_memory does not work properly Posting your check configuration is really helpful in cases like this. It's almost impossible to give a good answer without knowing how you've set the check up. From: Marco Borsani [mailto:m.bors...@it.net]mailto:[mailto:m.bors...@it.net] Sent: Tuesday, July 31, 2012 6:52 AM To: NAGIOS Subject: [Nagios-users] check_memory does not work properly Hi all I am using a simple plug-in to check the nagios server memory. When I run it like user Nagios, it works perfectly. I see this output: OK - free memory is 40% which is within expected threshold| mem=40;10;5;0;100 When I run it with Nagios program I receive this notification: . Command: check_local_memory State: WARNING Message:(null) Any idea ? This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats.
Re: [Nagios-users] R: R: R: check_memory does not work prou7ijijnu:perly
I Marco Borsani m.bors...@it.net wrote: Yes I did. Da: James Pratt [mailto:jpr...@norwich.edu] Inviato: giovedì 2 agosto 2012 16:01 A: 'Nagios Users List' Oggetto: Re: [Nagios-users] R: R: check_memory does not work properly Have you tried su’ing to the nagios user and running it from the command line? I am betting it’s permissions issue. Cheers, James From: Marco Borsani [mailto:m.bors...@it.net]mailto:[mailto:m.bors...@it.net] Sent: Thursday, August 02, 2012 9:48 AM To: 'Nagios Users List' Subject: [Nagios-users] R: R: check_memory does not work properly No idea? Regards Da: Marco Borsani [mailto:m.bors...@it.net]mailto:[mailto:m.bors...@it.net] Inviato: mercoledì 1 agosto 2012 09:19 A: 'Nagios Users List' Oggetto: [Nagios-users] R: check_memory does not work properly Commands.cfg # 'check_local_memory' command definition define command{ command_namecheck_local_memory command_line$USER1$/check_memory -w $ARG1$ -c $ARG2$ } Services.cfg define service{ use active-service host_name ip- addresses service_description check_local_memory check_command check_local_memory!10%!5% max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups CG_admin } From line command: $ ./check_memory -w 10% -c 5% OK - free memory is 27% which is within expected threshold| mem=27;10;5;0;100 Regards Da: Morris, Patrick [mailto:patrick.mor...@hp.com]mailto:[mailto:patrick.mor...@hp.com] Inviato: martedì 31 luglio 2012 23:24 A: nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net Oggetto: Re: [Nagios-users] check_memory does not work properly Posting your check configuration is really helpful in cases like this. It’s almost impossible to give a good answer without knowing how you’ve set the check up. From: Marco Borsani [mailto:m.bors...@it.net]mailto:[mailto:m.bors...@it.net] Sent: Tuesday, July 31, 2012 6:52 AM To: NAGIOS Subject: [Nagios-users] check_memory does not work properly Hi all I am using a simple plug-in to check the nagios server memory. When I run it like user Nagios, it works perfectly. I see this output: OK - free memory is 40% which is within expected threshold| mem=40;10;5;0;100 When I run it with Nagios program I receive this notification: ….. Command: check_local_memory State: WARNING Message:(null) …. Any idea ? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Codes for NRPE
m Kazuo Watanabe deep.sea.odys...@gmail.com wrote: Yu Watanabe yu.watanabe at jp.fujitsu.com writes: Hi. I was looking for versions that can be compatible with following libssl version. libssl-dev : 0.9.8g-16ubuntu3 So , I was thinking older than v 2.12 might do so. Thanks, Yu Edwin Zoeller writes: What version are you looking for? - Original Message - From: Yu Watanabe [mailto:yu.watanabe at jp.fujitsu.com] Sent: Sunday, July 29, 2012 07:55 PM To: nagios-users at lists.sourceforge.net nagios-users at lists.sourceforge.net Subject: [Nagios-users] Codes for NRPE Hello all. I tried to access for the old versions for NRPE but it seems that its depricated. http://sourceforge.net/projects/nrpe/files/ Is there any ways to access the old versions? Thanks, Yu Nice to meet you, Yu How about this? http://sourceforge.net/projects/nagios/files/nrpe-2.x/ Regards, Kaz -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Codes for NRPE
Hello Kazuo. Nice to meet you too. Thanks for the reply! That was the website I was looking for ... I should have gone from the nagios . Not from the nrpe project itself. Thanks, Yu Jarlath Lyons さんは書きました: m Kazuo Watanabe deep.sea.odys...@gmail.com wrote: Yu Watanabe yu.watanabe at jp.fujitsu.com writes: Hi. I was looking for versions that can be compatible with following libssl version. libssl-dev : 0.9.8g-16ubuntu3 So , I was thinking older than v 2.12 might do so. Thanks, Yu Edwin Zoeller writes: What version are you looking for? - Original Message - From: Yu Watanabe [mailto:yu.watanabe at jp.fujitsu.com] Sent: Sunday, July 29, 2012 07:55 PM To: nagios-users at lists.sourceforge.net nagios-users at lists.sourceforge.net Subject: [Nagios-users] Codes for NRPE Hello all. I tried to access for the old versions for NRPE but it seems that its depricated. http://sourceforge.net/projects/nrpe/files/ Is there any ways to access the old versions? Thanks, Yu Nice to meet you, Yu How about this? http://sourceforge.net/projects/nagios/files/nrpe-2.x/ Regards, Kaz -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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