[Nagios-users] Hostgroups, make them less cluttered?
Heya Is there a way to make for example the hostgroups as only a topic? I am monitoring about 100 severs and all those servers are grouped by different hostgroups , since all the servers belongs to different companies. When you get this high in numbers i feel that the hostgroup usage becomes very cluttered, and im wondering if you can only show the name of the hostgroup, and then if you click on it, you get into the servers, APs or routers. As it is now, i get the topic of the servers and then all server directly on the hostgroup page, and that is about 100 servers and about 70 hostgroups :) so the hostgroup page is both slow and very cluttered... If you've ever used the software hobbit, you know what i mean :) -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl___ 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] NSCA hangs?
Heya guys, i once more need your help :) It seems that my NSCA works absolutely perfect for 2-3 days, with 17 hosts monitored, all sending Passive checks on a 10 second intervall. (The problem may be here, I just want a second opinion) Anyway, it works really good for about 2-3 days but then it appears to shut down. This is the errormsg i get at the NSclient++: 2010-12-12 13:54:44: error:modules\NSCAAgent\NSCAThread.cpp:275: Could not connect to: (keeping IP a secret) 10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. And from the syslogfile i can only see that packet was dropped, 32 seconds old. I cant get real print out because uhm the syslogfile are to heavy to use so it hangs my putty..:) Any ideas? -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-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] Nagiosgraper
Right, pnp4nagioS seems slicker. However, after i've installed it, i got this error , did you get that also? If so, how did you work around it? : PNP Error Please check the Kohana documentation for information about the following error. application/models/data.php [104]: perfdata directory /usr/local/pnp4nagios/var/perfdata/ is empty. Please check your Nagios config. Read FAQ online /Rik From: pwilliam...@twgi.net To: ej_...@hotmail.com Subject: RE: [Nagios-users] Nagiosgraper Date: Tue, 14 Dec 2010 14:56:05 + Just the normal documentation. I just need to “turn off” nagiosgrapher now. Setup on pnp4n is much nicer. From: Rikard Dahlberg [mailto:ej_...@hotmail.com] Sent: Tuesday, December 14, 2010 9:51 AM To: Paul Williamson Subject: RE: [Nagios-users] Nagiosgraper Thanks paul, i might just look into that. Did you follow a specific guide or just the normal documentations? /RikFrom: pwilliam...@twgi.net To: ej_...@hotmail.com Subject: RE: [Nagios-users] Nagiosgraper Date: Tue, 14 Dec 2010 14:52:04 +I just went down the same road, and I think you’d be better served to go with pnp4nagios. It’s what the “official” Nagios commercial distribution uses, so there’s more hope for longer term support. Plus, setting up nagiosgrapher, while not bad, is way more involved than pnp4nagios. Paul From: Rikard Dahlberg [mailto:ej_...@hotmail.com] Sent: Tuesday, December 14, 2010 9:42 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagiosgraper Heya! im currently trying to get a decent graphicsystem online to somewhat replace our Cacti. I know nagiosgraph doesn't really do that but it does fit our needs :) Im trying to re-write this config file to create nice shiney graphs for my monitored services, but so far no luck. This is the template for ping, but if i would change it for maybe checking CPU Load, how would I do so? What are the variables i need to change, this is what i cant figure out. Worth knowing is that our more or less whole system is built on passive checks that now (Thanks alot to Greg on this mailing list) works flawless. I have also edited nagios.cfg to enable performance graphing, so that is OK :)#--- #NagiosGrapherTemplateforcheck_ping #Author:MariusHein #--- define ngraph{ service_namePING graph_log_regexloss = (\d+) graph_valueLoss graph_units% graph_legendLoss graph_legend_eolnone page2 Loss rrd_plottypeLINE2 rrd_colorff } #PingDEFRTA define ngraph{ service_namePING graph_log_regexrta = (\d+[,\.]\d+) graph_valueRTA graph_unitsms graph_legendRTA page1 RTA rrd_plottypeAREA rrd_color00a000 } #PingVDEF,AverageRTA define ngraph{ service_namePING typeVDEF graph_valuevdef_ping_average graph_units graph_legendRTA Average graph_calcRTA,AVERAGE graph_legend_eolLEFT page1 RTA rrd_plottypeLINE1 rrd_colorff hideno } -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-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] Nagiosgraper
Heya! im currently trying to get a decent graphicsystem online to somewhat replace our Cacti. I know nagiosgraph doesn't really do that but it does fit our needs :) Im trying to re-write this config file to create nice shiney graphs for my monitored services, but so far no luck. This is the template for ping, but if i would change it for maybe checking CPU Load, how would I do so? What are the variables i need to change, this is what i cant figure out. Worth knowing is that our more or less whole system is built on passive checks that now (Thanks alot to Greg on this mailing list) works flawless. I have also edited nagios.cfg to enable performance graphing, so that is OK :) #--- #NagiosGrapherTemplateforcheck_ping #Author:MariusHein #--- define ngraph{ service_namePING graph_log_regexloss = (\d+) graph_valueLoss graph_units% graph_legendLoss graph_legend_eolnone page2 Loss rrd_plottypeLINE2 rrd_colorff } #PingDEFRTA define ngraph{ service_namePING graph_log_regexrta = (\d+[,\.]\d+) graph_valueRTA graph_unitsms graph_legendRTA page1 RTA rrd_plottypeAREA rrd_color00a000 } #PingVDEF,AverageRTA define ngraph{ service_namePING typeVDEF graph_valuevdef_ping_average graph_units graph_legendRTA Average graph_calcRTA,AVERAGE graph_legend_eolLEFT page1 RTA rrd_plottypeLINE1 rrd_colorff hideno } -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-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] Alert host down with passive check
Heya guys! Is there any possible way to configure nagios to report host as DOWN, if nagios havn't got any passive checkresult within like 5 minutes? Can I change that somehow? For now, when a host dies in my current configuration, it actually doesn't report is as DOWN, since im using passive checks. But i want to set nagios to if i havn't got a new passive.-check result in 5 minutes, i want nagios to automaticly set it as DOWN... Any idea please? :) Regards Rikard -- ___ 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] Alert host down with passive check
Thanks for the fast answer. Freshenss seems to do the tric, to a point anyway. I can see if the host services dies now, just like an active check as its down. However it doesn't report correctly on the host status. Since freshness last resport option is to ping the host IP adress, and if the server goes down and are behind a firewall, the ping will just go to that gateway. Is there any way to fake nagios to thinking that the host is down if some service goes down? Rikard From: pangr...@gmail.com Date: Fri, 10 Dec 2010 09:28:13 -0600 To: rik.dahlb...@gmail.com; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Alert host down with passive check Please keep the list on the replies so others can learn from this as well. define service{ use generic-service host_name HOST service_description Logged In users active_checks_enabled 0; passive_checks_enabled 1; check_freshness 1; freshness_threshold 600; check_command check_stale!2!'This Service is stale' } Greg Pangrazio On Fri, Dec 10, 2010 at 9:18 AM, Rikard Dahlberg rik.dahlb...@gmail.com wrote: Thanks. I've now edited nagios.cfg to use freshness and looked up the manual.. :) Would you mind giving me an example of the service and command? Mine still isn't working.. Rikard From: pangr...@gmail.com Date: Fri, 10 Dec 2010 08:05:45 -0600 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Alert host down with passive check You are looking for Freshness check out http://nagios.sourceforge.net/docs/3_0/freshness.html I use this with all of my passive checks. Greg Pangrazio On Fri, Dec 10, 2010 at 7:56 AM, Rikard Dahlberg ej_...@hotmail.com wrote: Heya guys! Is there any possible way to configure nagios to report host as DOWN, if nagios havn't got any passive checkresult within like 5 minutes? Can I change that somehow? For now, when a host dies in my current configuration, it actually doesn't report is as DOWN, since im using passive checks. But i want to set nagios to if i havn't got a new passive.-check result in 5 minutes, i want nagios to automaticly set it as DOWN... Any idea please? :) Regards Rikard -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- ___ Nagios-users 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 -- Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL, new data types, scalar functions, improved concurrency, built-in packages, OCI, SQL*Plus, data movement tools, best practices and more. http://p.sf.net/sfu/oracle-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] Monitor disk via NSCA
Hey all! I want to thank you all for the lovely help i got in my previous errand. It was NSCA that was missconfigured on one line, or more imporatly, one complete line was gone :) Now the NSCA passive checks work flawlessly, almost anyway. I can monitor CPU, memory and services, the only thing im getting problems with is hard-drive monitoring. These are the commands I've chosen, but the disk command doesn't write anything out in nagios. Down below are a sample from nagios .cfg file also. From what i've read is that nagios treats the passive checks just as a normal queue as from a active check, so i believe i need a service for every host, as I would for a active check? Any idea what ive done wrong on the harddrive config? From NSClient: [NSCA Commands] CPU Load=alias_cpu host_check=check_ok Memory Usage=alias_mem Uptime=alias_up Drive space=alias_disk Service check=alias_service [External Alias] alias_cpu=checkCPU warn=80 crit=90 time=5m time=1m time=30s alias_cpu_ex=checkCPU warn=$ARG1$ crit=$ARG2$ time=5m time=1m time=30s alias_disk=CheckDriveSize MinWarn=10% MinCrit=5% CheckAll FilterType=FIXED alias_service=checkServiceState CheckAll alias_process=checkProcState $ARG1$=started alias_mem=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=physical alias_up=checkUpTime MinWarn=1d MinWarn=1h alias_file_age=checkFile2 filter=out file=$ARG1$ filter-written=1d MaxWarn=1 MaxCrit=1 syntax=%filename% %write% alias_file_size=checkFile2 filter=out file=$ARG1$ filter-size=$ARG2$ MaxWarn=1 MaxCrit=1 syntax=%filename% %size% alias_file_size_in_dir=checkFile2 filter=out pattern=*.txt file=$ARG1$ filter-size=$ARG2$ MaxWarn=1 MaxCrit=1 syntax=%filename% %size% alias_event_log_old=CheckEventLog file=application file=system filter=new filter=out MaxWarn=1 MaxCrit=1 filter-generated=2d filter-severity==success filter-severity==informational truncate=800 unique descriptions syntax=%severity%: %source%: %message% (%count%) alias_event_log_new=CheckEventLog file=application file=system MaxWarn=1 MaxCrit=1 filter=generated gt -2d AND severity NOT IN ('success', 'informational') truncate=800 unique descriptions syntax=%severity%: %source%: %message% (%count%) alias_event_log=alias_event_log_new From the host.cfg file from nagios define service{ use generic-service host_name ILSERVER service_description C:\ Drive Space check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 } -- What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-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] Monitoring remote hosts
Hello I'm just starting with nagios and im trying to learn everything at once. At this moment im trying to get a remote windows 2008 server to be monitored, its on a different network so i've decided to use NSCA to monitor it via passive checks. However I get an error message at the remote server saying Could not connect to: xxx.xxx.xxx.xxx:5667 10061: No connection could be made because the target machine actively refused it. And i've checked in the /usr/local/nagios/var/log/nagios.log and the /var/log/syslog.log files and they come up blank. Im sure ive set up same encryption on both sides and im sure that they both use the same password... Any ideas how to start troubleshooting it? And since im new to nagios, please explain thouroly :) //Rikard -- What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-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] Monitoring remote hosts
Hey daniel! Wow, this really showed my error i think. I cant connect either on localhost:5667 nor from the server via telnet 5667... Could i ask you if you could walk me through how to troubleshoot this? That would really make my day :) yes, i use xinetd this is the config file : # description: NSCA (Nagios Service Check Acceptor) service nsca { flags = REUSE type= UNLISTED port= 5667 socket_type = stream wait= no user= nagiosadmin group = nagios server = /usr/sbin/nsca server_args = -c /etc/nsca.cfg .inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 *.*.*.* } im a total tool coming to this, what should i change? :) /Rikard Date: Mon, 6 Dec 2010 15:20:50 +0100 From: dtue...@googlemail.com To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring remote hosts Hi Rikard, is your nsca daemon running (on your nagios host?). You can check the process list via 'ps aux | grep nsca'. Furthermore you should try to connect to port 5667 (from localhost and/or your windows server): telnet localhost 5667. If you get connected you should verify your network setup (Firewalls? Do you use (x)inetd? If so, is the option 'allow_only' configured?) ... Daniel 2010/12/6 Rikard Dahlberg ej_...@hotmail.com: Hello I'm just starting with nagios and im trying to learn everything at once. At this moment im trying to get a remote windows 2008 server to be monitored, its on a different network so i've decided to use NSCA to monitor it via passive checks. However I get an error message at the remote server saying Could not connect to: xxx.xxx.xxx.xxx:5667 10061: No connection could be made because the target machine actively refused it. And i've checked in the /usr/local/nagios/var/log/nagios.log and the /var/log/syslog.log files and they come up blank. Im sure ive set up same encryption on both sides and im sure that they both use the same password... Any ideas how to start troubleshooting it? And since im new to nagios, please explain thouroly :) //Rikard -- What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-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 -- What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-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 -- What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-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 passive checks, client?
Hello! I'm fairly new to nagios, and im hoping that someone of you have had a similiar situation which i am currently facing. The active servers i got on my local network is being monitored fine, with all the services i have written. BUT, how do i monitor a server BEHIND a firewall? can i filter on ports on the firewall to accept active checks from nagios, or can i walk around the problem by configuring pasive checks? Meaning klient - server, instead of server - klient. Ive read that this particular option is when i want to use NSCA, which im trying to get to work, but so far no success. I do want some kind of client-agent that sends out notifications to my nagios server, but at this point, i havn't got anything to work... Could someone please help me out? Is nsca the best option? Or are there other choices? -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-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
Re: [Nagios-users] Nagios passive checks, client?
Hello! only a couple of windows servers... (sadly ;) ) im however planning on monitor the firewall, but that is for later .. From: pangr...@gmail.com Date: Thu, 11 Nov 2010 09:59:07 -0600 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios passive checks, client? What kind of hosts are you monitoring on the remote end? Greg Pangrazio On Thu, Nov 11, 2010 at 7:42 AM, Rikard Dahlberg rik.dahlb...@gmail.com wrote: Hello! I'm fairly new to nagios, and im hoping that someone of you have had a similiar situation which i am currently facing. The active servers i got on my local network is being monitored fine, with all the services i have written. BUT, how do i monitor a server BEHIND a firewall? can i filter on ports on the firewall to accept active checks from nagios, or can i walk around the problem by configuring pasive checks? Meaning klient - server, instead of server - klient. Ive read that this particular option is when i want to use NSCA, which im trying to get to work, but so far no success. I do want some kind of client-agent that sends out notifications to my nagios server, but at this point, i havn't got anything to work... Could someone please help me out? Is nsca the best option? Or are there other choices? -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-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 -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-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 -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-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