[Nagios-users] plugin to track ip_conntrack table?
Looking to track the number of connections in ip_conntrack? Found this: http://exchange.nagios.org/directory/Plugins/Uncategorized/Software/check_conntrack-2Esh/details Am uncertain how to use it (reading through it) but wanted to know if that's the only / best way? -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ 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] how do i only get notified on critical issues?
-- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb___ 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 only get notified on critical issues?
Perfect, thanks. On Wed, Oct 13, 2010 at 1:51 PM, Carlos de Santa-Ana Garcia car...@dsag.jazztel.es wrote: Hi In contacts section you have service notification with some options, C W U, C is critical, W is warning, U is unknow, delete all but C define contact{ namegeneric-contact service_notification_period 24x7 host_notification_period24x7 service_notification_optionsw,u,c,r,f,s-HERE host_notification_options d,u,r,f,s service_notification_commands notify-service-by-email host_notification_commands notify-host-by-email register0 } Greets. El 13/10/2010 19:07, Ilan Berkner escribió: -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ 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 -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb___ 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] check_ping service question
got it, thanks On Fri, Oct 8, 2010 at 4:10 PM, Morris, Patrick patrick.mor...@hp.comwrote: On 10/7/2010 2:41 PM, Ilan Berkner wrote: newbie question... I have a service defined in my services.cfg file that looks like this: define service { use generic-service host_name myserver service_description PING check_command check_ping!100.0,20%!500.0,60% } in my hosts file have myserver defined with an address tag: www.myserver.com when the check_ping command runs, does it check the ping status against www.myserver.com even though I'm not specifically specifying the host in the check_ping command? The check_ping command in your service definition is *not* a reference to the check_ping plugin, it's a reference to the check_ping check command defined somewhere else in your config. Normally that command will call a plugin (in this case, most likely check_ping) with some set of arguments, which in most cases include the address of the host on which the service was defined. -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ 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 -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] check_ping service question
newbie question... I have a service defined in my services.cfg file that looks like this: define service { use generic-service host_name myserver service_description PING check_command check_ping!100.0,20%!500.0,60% } in my hosts file have myserver defined with an address tag: www.myserver.com when the check_ping command runs, does it check the ping status against www.myserver.com even though I'm not specifically specifying the host in the check_ping command? thanks -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb___ 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] upgrade from 3.2.2 to 3.2.3 not working?
Hi All, Newbie... upgrading from a previous install of 3.2.2 to 3.2.3. Followed the steps outlined here: http://nagios.sourceforge.net/docs/3_0/upgrading.html#nagios3x The Nagios home page still shows 3.2.2 as the version with an upgrade message. I didn't get any errors in compilation, etc. Anything else that I should be looking for? Thanks -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d___ 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] upgrade from 3.2.2 to 3.2.3 not working?
Sorry, I mean on my own installation home page. I had some permission issues yesterday so I changed some things around which is what I think the issue was with the upgrade b/c it was assuming that my directories were owned by the nagios user and group and they weren't. I have now changed the ownership back to nagios user and group and run make install again. Now when I load up my Nagios home page it shows the latest version as being installed: 3.2.3 but still displaying the box below that says that there's a new version available, 3.2.3. Is that OK? meaning, will that box be there regardless of my current version? Nagios® Core™ Version 3.2.3 October 03, 2010 Check for updateshttp://www.nagios.org/checkforupdates/?version=3.2.3product=nagioscore Read what's new in Nagios Core 3http://10.0.1.163/nagios/docs/whatsnew.html A new version of Nagios Core is available! Visit nagios.org http://www.nagios.org/download/ to download Nagios 3.2.3. On Mon, Oct 4, 2010 at 2:41 PM, Tony Yarusso tyaru...@nagios.com wrote: On Mon, 2010-10-04 at 14:31 -0400, Ilan Berkner wrote: The Nagios home page still shows 3.2.2 as the version with an upgrade message. I didn't get any errors in compilation, etc. http://www.nagios.org/download/core/thanks/ shows 3.2.3 right now - where were you looking? -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyaru...@nagios.com Web:www.nagios.com -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ 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 -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d___ 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] upgrade from 3.2.2 to 3.2.3 not working?
You mean a cron job on nagios.org for notifying users of a new version? On Mon, Oct 4, 2010 at 2:58 PM, Tony Yarusso tyaru...@nagios.com wrote: On Mon, 2010-10-04 at 14:48 -0400, Ilan Berkner wrote: Now when I load up my Nagios home page it shows the latest version as being installed: 3.2.3 but still displaying the box below that says that there's a new version available, 3.2.3. Is that OK? meaning, will that box be there regardless of my current version? I believe that is the result of a cron job, so my first guess is that it will correct itself after some time passes. -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyaru...@nagios.com Web:www.nagios.com -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ 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 -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d___ 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] upgrade from 3.2.2 to 3.2.3 not working?
Ok... that's odd, I don't have any such cron job running. This is part of the Nagios home page (share/main.php). Maybe that's normal, meaning, its part of this particular version's html update (as its also present in the html/main.php file from the upgrade tar). I just don't remember seeing that before in the 3.2.2 version. Thanks --- html code below --- div id=currentversioninfo div class=productNagiossupspan style=font-size: small;reg;/span/sup Coresupspan style=font-size: small;trade;/span/sup/div div class=versionVersion 3.2.3/div div class=releasedateOctober 03, 2010/div div class=checkforupdatesa href= http://www.nagios.org/checkforupdates/?version=3.2.3product=nagioscore; target=_blankCheck for updates/a/div On Mon, Oct 4, 2010 at 3:11 PM, Tony Yarusso tyaru...@nagios.com wrote: On Mon, 2010-10-04 at 15:02 -0400, Ilan Berkner wrote: You mean a cron job on nagios.org for notifying users of a new version? No, on your system going out to nagios.org to compare your current version to that available. It won't know you upgraded until the next time it runs and does the comparison, so for now it thinks the nagios.org version is still newer. -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyaru...@nagios.com Web:www.nagios.com -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ 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 -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d___ 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] weird nrpe reporting issue
Ok, I thought that's what it was, but wasn't sure. Thanks! On Mon, Oct 4, 2010 at 6:10 PM, Tony Yarusso tyaru...@nagios.com wrote: On Mon, 2010-10-04 at 17:47 -0400, Ilan Berkner wrote: use local-service ; Name of service template to use check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 In fact, from what I can tell, the values being returned belong to the local system that the Nagios is running on. You're using a template designed for the local system and a check command targeting the local system (not check_nrpe, so you aren't using NRPE at all), and not giving any indication that it should be checking any other system (such as an IP address), so obviously it's going to check the local system. -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyaru...@nagios.com Web:www.nagios.com -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ 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 -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d___ 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.cmd permission issue
Hi, New to Nagios... Got everything pretty much running, except when I try to modify things using the web interface, I get this error: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occurred while attempting to commit your command for processing. This is clearly a permission issue as when I manually change the permissions of the /rw/nagios.cmd to 777 for example, it works fine. When the service is restarted and the pipe is recreated though, the permissions are re-set. I am running the nginx web server, not apache. SELinux is disabled. The rw directory has 777 permissions and is owned by the nagios user and group. The Nginx server runs under a different user / group and this could be the issue. However, I tried to set up the rw directory with that user and group and still no luck. Help? -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ 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] how do you find out which options nagios was configured with at compile time? in particular, -with-command-group ?
-- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ 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.cmd permission issue
Did not work, probably b/c I'm restarting the service as root? Is there a way to tell under which user nagios is trying to access the nagios.cmd file? On Sun, Oct 3, 2010 at 5:03 AM, Rutger Blom rut...@blokje.net wrote: Set the sticky bit on the directory. Rutger On Sun, Oct 3, 2010 at 8:55 AM, Ilan Berkner iberk...@gmail.com wrote: Hi, New to Nagios... Got everything pretty much running, except when I try to modify things using the web interface, I get this error: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occurred while attempting to commit your command for processing. This is clearly a permission issue as when I manually change the permissions of the /rw/nagios.cmd to 777 for example, it works fine. When the service is restarted and the pipe is recreated though, the permissions are re-set. I am running the nginx web server, not apache. SELinux is disabled. The rw directory has 777 permissions and is owned by the nagios user and group. The Nginx server runs under a different user / group and this could be the issue. However, I tried to set up the rw directory with that user and group and still no luck. Help? -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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 -- Rutger Blom Luzernvägen 14 227 38 LUND Sweden Tel. +46 763 46 99 44 www.rutgerblom.com http://delicious.com/rbml77 http://www.facebook.com/rutgerblom http://foursquare.com/user/rutgerblom http://www.linkedin.com/in/rutgerblom http://picasaweb.google.com/rutger.blom http://twitter.com/rutgerblom -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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 -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ 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.cmd permission issue
Yep, there's no question that's what it is, but I've set it up so that the webserver user is part of the group that owns the rw directory with the sticky bit set, but no luck (yet) On Sun, Oct 3, 2010 at 10:37 AM, Marc Powell li...@xodus.org wrote: On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote: Did not work, probably b/c I'm restarting the service as root? Is there a way to tell under which user nagios is trying to access the nagios.cmd file? Your web server is trying to write to the pipe so it's whatever user your web server is configured to run as. -- Marc -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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 -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ 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.cmd permission issue
I followed the instructions in commandfile.html documentation to the letter, its still not working. Its clearly a permissions issue between the user that the web server is running as and the user that nagios is running is. I did create a nagcmd group where both users are a part of and set up the sticky bit, but no luck. I am running Nginx web server, not Apache so maybe there's some kind of configuration issue that has to be dealt with, does anyone have any experience with Nginx, Nagios and the command file? Thanks On Sun, Oct 3, 2010 at 9:57 AM, Martin Melin mme...@gmail.com wrote: Have a look at this page from the official docs: http://nagios.sourceforge.net/docs/2_0/commandfile.html http://nagios.sourceforge.net/docs/2_0/commandfile.htmlDo as it says and things will work. Re: your second question, just look in nagios.conf. http://nagios.sourceforge.net/docs/2_0/commandfile.htmlBest regards, Martin Melin On Sun, Oct 3, 2010 at 3:48 PM, Ilan Berkner iberk...@gmail.com wrote: Did not work, probably b/c I'm restarting the service as root? Is there a way to tell under which user nagios is trying to access the nagios.cmd file? On Sun, Oct 3, 2010 at 5:03 AM, Rutger Blom rut...@blokje.net wrote: Set the sticky bit on the directory. Rutger On Sun, Oct 3, 2010 at 8:55 AM, Ilan Berkner iberk...@gmail.com wrote: Hi, New to Nagios... Got everything pretty much running, except when I try to modify things using the web interface, I get this error: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occurred while attempting to commit your command for processing. This is clearly a permission issue as when I manually change the permissions of the /rw/nagios.cmd to 777 for example, it works fine. When the service is restarted and the pipe is recreated though, the permissions are re-set. I am running the nginx web server, not apache. SELinux is disabled. The rw directory has 777 permissions and is owned by the nagios user and group. The Nginx server runs under a different user / group and this could be the issue. However, I tried to set up the rw directory with that user and group and still no luck. Help? -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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 -- Rutger Blom Luzernvägen 14 227 38 LUND Sweden Tel. +46 763 46 99 44 www.rutgerblom.com http://delicious.com/rbml77 http://www.facebook.com/rutgerblom http://foursquare.com/user/rutgerblom http://www.linkedin.com/in/rutgerblom http://picasaweb.google.com/rutger.blom http://twitter.com/rutgerblom -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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 -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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 -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users
Re: [Nagios-users] nagios.cmd permission issue
I've reconfigured nagios to run as the same user and group as that of the web server. Still getting this command file issue. Any other suggestions? Many thanks... On Sun, Oct 3, 2010 at 1:25 PM, Ilan Berkner iberk...@gmail.com wrote: Yep, there's no question that's what it is, but I've set it up so that the webserver user is part of the group that owns the rw directory with the sticky bit set, but no luck (yet) On Sun, Oct 3, 2010 at 10:37 AM, Marc Powell li...@xodus.org wrote: On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote: Did not work, probably b/c I'm restarting the service as root? Is there a way to tell under which user nagios is trying to access the nagios.cmd file? Your web server is trying to write to the pipe so it's whatever user your web server is configured to run as. -- Marc -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ 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 -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ 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.cmd permission issue
Hi All, Turns out that the FCGI wrapper process was running under a different user than both the web server and nagios and although CGI scripts were running, that may have contributed to the problem. I also noticed that there were other nagios processes running at the same time that should have been previously killed but were not so that may also have been a contributing factor. I've now normalized all of the web processes with the same user: 1. Nginx 2. PHP 3. FCGIWrapper 4. Nagios service and the problem seems to be resolved. Thanks to everyone for their support, suggestions and help. On Sun, Oct 3, 2010 at 4:30 PM, Rutger Blom rut...@blokje.net wrote: Have you verified that the user you log in with into the Nagios CGI has permission to execute commands? Rutger On 3 okt 2010, at 21.25, Robert Wolfe robert.wo...@robertwolfe.org wrote: Unfortunately, I did the same and am still getting the same error. *From:* Ilan Berkner [mailto:iberk...@gmail.com] *Sent:* Sunday, October 03, 2010 1:35 PM *To:* Nagios Users List *Subject:* Re: [Nagios-users] nagios.cmd permission issue I've reconfigured nagios to run as the same user and group as that of the web server. Still getting this command file issue. Any other suggestions? Many thanks... On Sun, Oct 3, 2010 at 1:25 PM, Ilan Berkner iberk...@gmail.com iberk...@gmail.com wrote: Yep, there's no question that's what it is, but I've set it up so that the webserver user is part of the group that owns the rw directory with the sticky bit set, but no luck (yet) On Sun, Oct 3, 2010 at 10:37 AM, Marc Powell li...@xodus.org li...@xodus.org wrote: On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote: Did not work, probably b/c I'm restarting the service as root? Is there a way to tell under which user nagios is trying to access the nagios.cmd file? Your web server is trying to write to the pipe so it's whatever user your web server is configured to run as. -- Marc -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev http://p.sf.net/sfu/novell-sfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.netNagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users 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 -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ 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 -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ 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 -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d___ 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