From oogs at umich.edu Mon Oct 1 21:37:04 2012 From: oogs at umich.edu (Chris Baldwin) Date: Mon, 01 Oct 2012 15:37:04 -0400 Subject: nagios writing escalation rules multiple times to objects.cache Message-ID: <5069F0E0.4090604@umich.edu> Short version: I have an ever-growing Nagios install for monitoring a bunch of linux hosts (currently 99 hosts & 2322 services, I plan on adding 115 more hosts & 1500+ services). I've noticed something odd with my escalation rules - they're being repeated multiple times in my objects.cache file. This is started to affect performance for parts of my nagios install, to the point where it's painfully slow to use the web interface. My google-fu is weak today, so I was hoping someone here could point me in the right direction. Longer version: I have 4 escalation rules: -Our helpdesk gets notification #1 for critical issues. -Our on-call person gets notifications 1 -> 12 @ 5 minute intervals 24x7. -The relevant IT-group leader(s) get notifications 5->12 @ 5 minute intervals during on call periods. -Our CIO gets notification 12 -> infinity at 60 minute intervals during on call periods. We use puppet to control our environment, and it's amazing for deploying servers and adding them to nagios. Once I'm able to bring in other aspects of our environment under puppet control (firewall, sudo, yum repos), it will be trivial to set up a server from scratch and monitor it. In order to create a new set of escalation rules, we use a custom class on the puppet server and a small bit of code to be executed from the client-side (of puppet) to make this work. An example: # Escalate to the_boss. He, in turn, will call people. I imagine this # to be along the lines of Hulk nudging Thor playfully in The # Avengers. And sending him flying through a few bulkheads. nagios::server::escalations { "Boss-critical": contact_groups => "the_boss", escalation_options => "c,r", escalation_period => "oncall_hours", first_notification => "12", last_notification => "0", notification_interval => "60", servicegroup_name => "Disk,Ping,HTTP,Load,MySQL,Ping,Procs,SSH,Swap,Users,Zombie", } I know this portion works correctly - it's producing my desired result, which is 1 file per (set) of escalation rules specified. I have 1722 escalation cfg files. The cfg files look something like this: define serviceescalation{ contact_groups the_boss escalation_options c,r escalation_period oncall_hours first_notification 12 host_name my.hostname.xyz last_notification 0 notification_interval 60 #service_description Disk,Ping,HTTP,Load,MySQL,Ping,Procs,SSH,Swap,Users,Zombie servicegroup_name Disk,Ping,HTTP,Load,MySQL,Ping,Procs,SSH,Swap,Users,Zombie } The rules themselves live in the following directory structure: /etc/nagios/escalations/$hostname/$rulename.cfg , and nagios.cfg has an entry to read /etc/nagios/escalations/ as a whole. The rules are written to objects.cache as: define serviceescalation { host_name my.hostname.xyz service_description Zombie first_notification 12 last_notification 0 notification_interval 60.000000 escalation_period oncall_hours escalation_options c,r contacts jabberbot-con contact_groups the_boss } In case you're wondering, the reason we don't wildcard stuff is so we can control it on a per-host basis. It could be that host uvw doesn't require us to monitor MySQL processes, as MySQL isn't installed there. Having an escalation for a non-existing service would mean the nagios config check fails, etc. Now, when I look at my objects.cache file, I see this: Rule #1 Rule #2 Rule #3 Rule #4 (repeat 98 more times) I see the same if I look at a different host - that is, 99 copies of a rule that is particular to that host. Instead of having 9288 escalation rules, I have over 900000 (900 thousand). I looked at my test nagios install (which has a smaller pool of hosts, completely unrelated to my live environment), and it exhibits the same issue. The pool is just small enough that the size of objects.cache didn't matter. My questions to you guys: - Am I crazy to think that it's reading every rule once for *each* server? I thought it was a coincidence, but it's happening in my test setup as well, which is in a completely separate VDC. - Have you seen this before? If so, how did you fix it? - What else should I look at? I'm stumped. I can't find anything tell-tale in logs, strace produces a mountain of gibberish, and I haven't turned up anything online. -Chris B. Some more info, as I'm sure you'll ask for this: I tried using the precache, it didn't help. Both files were created by my nagios install. #ls -la | grep objects -rw-r--r-- 1 nagios nagios 251616779 Oct 1 14:17 objects.cache -rw-r--r-- 1 nagios nagios 251616779 Oct 1 14:16 objects.precache (that's 251mb) # nagios -v Nagios Core 3.3.1 # yum list nagios Installed Packages nagios.x86_64 3.3.1-3.el6 @epel # uname -a Linux nagios.hostname.xyz 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT 2011 x86_64 x86_64 x86_64 GNU/Linux (Centos 6.3) And lastly, my config. I'll be the first to admit it needs some more tweaking, however it's working reasonably well now. # more nagios.cfg ############################################################################## # # NAGIOS.CFG - Sample Main Config File for Nagios 3.3.1 # # Read the documentation for more information on this configuration # file. I've provided some comments here, but things may not be so # clear without further explanation. # # Last Modified: 12-14-2008 # ############################################################################## log_file=/var/log/nagios/nagios.log # You can specify individual object config files as shown below: cfg_file=/etc/nagios/objects/commands.cfg cfg_file=/etc/nagios/objects/contacts.cfg cfg_file=/etc/nagios/objects/timeperiods.cfg cfg_file=/etc/nagios/objects/templates.cfg cfg_file=/etc/nagios/objects/hostgroups.cfg cfg_file=/etc/nagios/objects/oncall.cfg # You can also tell Nagios to process all config files (with a .cfg # extension) in a particular directory by using the cfg_dir # directive as shown below: cfg_dir=/etc/nagios/escalations cfg_dir=/etc/nagios/servers cfg_dir=/etc/nagios/services cfg_dir=/etc/nagios/hostgroups cfg_dir=/etc/nagios/servicegroups object_cache_file=/var/log/nagios/objects.cache precached_object_file=/var/log/nagios/objects.precache resource_file=/etc/nagios/private/resource.cfg status_file=/var/log/nagios/status.dat status_update_interval=10 nagios_user=nagios nagios_group=nagios check_external_commands=1 #command_check_interval=15s command_check_interval=-1 command_file=/var/spool/nagios/cmd/nagios.cmd external_command_buffer_slots=4096 lock_file=/var/run/nagios.pid temp_file=/var/log/nagios/nagios.tmp temp_path=/tmp event_broker_options=-1 broker_module=/usr/lib64/nagios/brokers/npcdmod.o config_file=/etc/pnp4nagios/npcd.cfg log_rotation_method=d log_archive_path=/var/log/nagios/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=1 global_service_event_handler=remove_service_ack service_inter_check_delay_method=0.01 max_service_check_spread=30 service_interleave_factor=s host_inter_check_delay_method=0.02 max_host_check_spread=30 max_concurrent_checks=0 check_result_reaper_frequency=10 max_check_result_reaper_time=30 check_result_path=/var/log/nagios/spool/checkresults max_check_result_file_age=3600 cached_host_check_horizon=15 cached_service_check_horizon=15 enable_predictive_host_dependency_checks=1 enable_predictive_service_dependency_checks=1 soft_state_dependencies=0 #time_change_threshold=900 auto_reschedule_checks=0 auto_rescheduling_interval=30 auto_rescheduling_window=180 sleep_time=0.25 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/var/log/nagios/retention.dat retention_update_interval=60 use_retained_program_state=1 use_retained_scheduling_info=1 retained_host_attribute_mask=0 retained_service_attribute_mask=0 retained_process_host_attribute_mask=0 retained_process_service_attribute_mask=0 retained_contact_host_attribute_mask=0 retained_contact_service_attribute_mask=0 interval_length=60 check_for_updates=1 bare_update_check=0 use_aggressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 execute_host_checks=1 accept_passive_host_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=1 #host_perfdata_command=process-host-perfdata #service_perfdata_command=process-service-perfdata #host_perfdata_file=/tmp/host-perfdata #service_perfdata_file=/tmp/service-perfdata #host_perfdata_file_template=[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t$HOSTEXECUTIONTIME $\t$HOSTOUTPUT$\t$HOSTPERFDATA$ #service_perfdata_file_template=[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC $\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$ #host_perfdata_file_mode=a #service_perfdata_file_mode=a #host_perfdata_file_processing_interval=0 #service_perfdata_file_processing_interval=0 #host_perfdata_file_processing_command=process-host-perfdata-file #service_perfdata_file_processing_command=process-service-perfdata-file obsess_over_services=0 #ocsp_command=somecommand obsess_over_hosts=0 #ochp_command=somecommand translate_passive_host_checks=0 passive_host_checks_are_soft=0 check_for_orphaned_services=1 check_for_orphaned_hosts=1 check_service_freshness=1 service_freshness_check_interval=60 check_host_freshness=0 host_freshness_check_interval=60 additional_freshness_latency=15 enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us #use_timezone=US/Mountain #use_timezone=Australia/Brisbane p1_file=/usr/sbin/p1.pl enable_embedded_perl=1 use_embedded_perl_implicitly=1 illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=0 use_true_regexp_matching=0 admin_email=nagios at localhost admin_pager=pagenagios at localhost daemon_dumps_core=0 use_large_installation_tweaks=1 enable_environment_macros=1 #free_child_process_memory=1 #child_processes_fork_twice=1 debug_level=0 debug_verbosity=1 debug_file=/var/log/nagios/nagios.debug max_debug_file_size=1000000 ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Oct 2 11:06:53 2012 From: ae at op5.se (Andreas Ericsson) Date: Tue, 02 Oct 2012 11:06:53 +0200 Subject: nagios writing escalation rules multiple times to objects.cache In-Reply-To: <5069F0E0.4090604@umich.edu> References: <5069F0E0.4090604@umich.edu> Message-ID: <506AAEAD.5060405@op5.se> On 10/01/2012 09:37 PM, Chris Baldwin wrote: > Short version: > > I have an ever-growing Nagios install for monitoring a bunch of linux > hosts (currently 99 hosts & 2322 services, I plan on adding 115 more > hosts & 1500+ services). I've noticed something odd with my escalation > rules - they're being repeated multiple times in my objects.cache file. > This is started to affect performance for parts of my nagios install, to > the point where it's painfully slow to use the web interface. > > My google-fu is weak today, so I was hoping someone here could point me > in the right direction. > > Longer version: > > I have 4 escalation rules: > -Our helpdesk gets notification #1 for critical issues. > -Our on-call person gets notifications 1 -> 12 @ 5 minute intervals 24x7. > -The relevant IT-group leader(s) get notifications 5->12 @ 5 minute > intervals during on call periods. > -Our CIO gets notification 12 -> infinity at 60 minute intervals during > on call periods. > > We use puppet to control our environment, and it's amazing for deploying > servers and adding them to nagios. Once I'm able to bring in other > aspects of our environment under puppet control (firewall, sudo, yum > repos), it will be trivial to set up a server from scratch and monitor it. > > In order to create a new set of escalation rules, we use a custom class > on the puppet server and a small bit of code to be executed from the > client-side (of puppet) to make this work. An example: > > # Escalate to the_boss. He, in turn, will call people. I > imagine this > # to be along the lines of Hulk nudging Thor playfully in The > # Avengers. And sending him flying through a few bulkheads. > nagios::server::escalations { "Boss-critical": > contact_groups => "the_boss", > escalation_options => "c,r", > escalation_period => "oncall_hours", > first_notification => "12", > last_notification => "0", > notification_interval => "60", > servicegroup_name => > "Disk,Ping,HTTP,Load,MySQL,Ping,Procs,SSH,Swap,Users,Zombie", > } > > I know this portion works correctly - it's producing my desired result, > which is 1 file per (set) of escalation rules specified. I have 1722 > escalation cfg files. > > The cfg files look something like this: > > define serviceescalation{ > contact_groups the_boss > escalation_options c,r > escalation_period oncall_hours > first_notification 12 > host_name my.hostname.xyz > last_notification 0 > notification_interval 60 > #service_description > Disk,Ping,HTTP,Load,MySQL,Ping,Procs,SSH,Swap,Users,Zombie > servicegroup_name > Disk,Ping,HTTP,Load,MySQL,Ping,Procs,SSH,Swap,Users,Zombie > } > So you're assigning it to a host_name along with a set of servicegroups. I'm not entirely sure that makes 100% sense, since servicegroup members already have a host_name. It might work better with Nagios 4, but I'm not sure. If it doesn't, I'll fix it so 'service_description' is required when 'host_name' or 'hostgroup_name' is set, as I don't see how one makes sense without the other. > > My questions to you guys: > - Am I crazy to think that it's reading every rule once for *each* > server? It seems as if it's reading the rule once for each host mentioned in host_name and then assigning it to each member of the servicegroups listed, so if you have identical escalations assigned to the same set of servicegroups then this is really how you're configuring your Nagios. Nagios 4 has provisions to compare slave objects and avoid adding multiple ones, which would hide a potential bug in your config. It's currently only used for dependencies, but making it work with escalations too would be the final fallback to fix this. However, I urge you to look over your configuration first to make sure you don't really have multiple escalations assigned to the same set of servicegroups. > > I tried using the precache, it didn't help. Both files were created by > my nagios install. That's not surprising, as precaching and caching uses the exact same code. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From m.borsani at it.net Tue Oct 2 11:38:07 2012 From: m.borsani at it.net (Marco Borsani) Date: Tue, 2 Oct 2012 11:38:07 +0200 Subject: modify service macros Message-ID: <005801cda081$a6c4c0b0$f44e4210$@it.net> Hi all I would modify $SERVICEDESC$ before Nagios use it to send notification. Due internal procedure I can?t modify the ?service description? inside our configuration file. For example $SERVICEDESC$ is ?aaaaa_bbbbb_check_tcp_port_1234? I would change it in ?tcp_port_1234? (?just? cut N-char at the beginning of the string) How can I do this ? Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di Libero S.r.l. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Oct 2 12:20:22 2012 From: ae at op5.se (Andreas Ericsson) Date: Tue, 02 Oct 2012 12:20:22 +0200 Subject: modify service macros In-Reply-To: <005801cda081$a6c4c0b0$f44e4210$@it.net> References: <005801cda081$a6c4c0b0$f44e4210$@it.net> Message-ID: <506ABFE6.1090000@op5.se> On 10/02/2012 11:38 AM, Marco Borsani wrote: > Hi all > > > > I would modify $SERVICEDESC$ before Nagios use it to send notification. > > Due internal procedure I can?t modify the ?service description? inside our > configuration file. > > > > For example $SERVICEDESC$ is ?aaaaa_bbbbb_check_tcp_port_1234? I would > change it in ?tcp_port_1234? (?just? cut N-char at the beginning of the > string) > > How can I do this ? > Wrap notifications in a script of your own and cut as much as you like from whatever you like. There's no sensible way to do it from inside Nagios, since that will have ramifications for modules and everything else. Notifications are (normally) not so frequent that wrapping them in an extra layer of execution will matter. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cosmin.neagu at omnilogic.ro Tue Oct 2 14:02:45 2012 From: cosmin.neagu at omnilogic.ro (Cosmin Neagu) Date: Tue, 02 Oct 2012 15:02:45 +0300 Subject: Plugin check_oracle_health Message-ID: <506AD7E5.1050807@omnilogic.ro> Hi nagios users, I need to monitor an oracle database server, an found this plugin, check_oracle_health. The problem is that i'm not a DB Admin, and it seems that something else need to be configured along with this client like system variables (ORACLE_HOME and LD_LIBRARY_PATH) Since on the plugin site i did not find documentation on how to do that, i want to ask someone who use this plugin: This plugin needs to be installed on the nagios machine? Or it needs to be installed on the Oracle Database and used with NRPE? Because i see that those variables are set on DBServer. -- Cosmin Neagu NOC Team Leader Str. I. G. Duca nr. 36 Otopeni, Judetul Ilfov, 075100 Romania Tel: 021 303 3159 / 0732 669 193 www.omnilogic.ro ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jm+nagios-users at roth.lu Tue Oct 2 14:52:07 2012 From: jm+nagios-users at roth.lu (Marki) Date: Tue, 2 Oct 2012 12:52:07 +0000 (UTC) Subject: host object declarations Message-ID: Hi there, I'd like to further discuss http://tracker.nagios.org/view.php?id=177 which is about host object declarations. You suggest using host_name as something that resolves. However, we don't have a (DNS) hostname for each device. Also, directive description (Nagios documentation) says: "This directive is used to define a short name used to identify the host." The description for the "address" directive actually needs something useful, again, see http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host You say one should switch to using them differently, i.e. host_name = ip address or DNS hostname alias = description because Nagios4 will do it that way (and Icinga already does). I guess I will then try to update my config that way: - use a DNS name (if one exists) in the "host_name" field, otherwise use the IP as host_name if there is no reverse lookup for it, - in that case I use a symbolic name in the "display_name" field, - and optionally a description in the "alias" field. Furthermore for devices that have no IP but should show as different hosts, define a "virtual" hostname with the IP address of the device's management station (that may be duplicate). Anyway I'd really like to know what everyone thinks about this, and how you do it in a sensible way. ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Oct 2 15:28:35 2012 From: ae at op5.se (Andreas Ericsson) Date: Tue, 02 Oct 2012 15:28:35 +0200 Subject: host object declarations In-Reply-To: References: Message-ID: <506AEC03.3060101@op5.se> On 10/02/2012 02:52 PM, Marki wrote: > Hi there, > > I'd like to further discuss > http://tracker.nagios.org/view.php?id=177 > which is about host object declarations. > > You suggest using host_name as something that resolves. However, we don't have a > (DNS) hostname for each device. I'm suggesting what now? The only thing I'm saying in that bugreport is that Nagios does not and will not complain when the "address" fields of hosts are unique. > Also, directive description (Nagios documentation) says: "This directive is used > to define a short name used to identify the host." > The description for the "address" directive actually needs something useful, > again, see http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host > > You say one should switch to using them differently, i.e. > host_name = ip address or DNS hostname > alias = description > because Nagios4 will do it that way (and Icinga already does). > Nagios 4 won't do that. The one and only change in Nagios 4 is that "address" will be set to the "host_name" variable if no "address" field is set. That means people who want to use dns names for their hosts don't have to write that info again in the address field. > I guess I will then try to update my config that way: > - use a DNS name (if one exists) in the "host_name" field, otherwise use the IP > as host_name if there is no reverse lookup for it, > - in that case I use a symbolic name in the "display_name" field, > - and optionally a description in the "alias" field. > Furthermore for devices that have no IP but should show as different hosts, > define a "virtual" hostname with the IP address of the device's management > station (that may be duplicate). > You can't have two hosts with the same host_name. You really don't need to change anything at all to make your configuration work the same way it always has. > Anyway I'd really like to know what everyone thinks about this, and how you do > it in a sensible way. > host_name is the short symbolic name that has to be unique but can be anything you want. address is the field that (usually) has to point to an ip address or that's resolvable as a dns hostname. display_name and alias are equally useless and are only meant to provide some sort of help when receiving notifications or when viewing the UI. You've been overthinking it and seriously misunderstood something. The way you think Nagios 4 will be working isn't correct. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ismael.puerto at seres.es Tue Oct 2 15:33:26 2012 From: ismael.puerto at seres.es (Ismael Puerto) Date: Tue, 02 Oct 2012 15:33:26 +0200 Subject: Plugin check_oracle_health In-Reply-To: <506AD7E5.1050807@omnilogic.ro> References: <506AD7E5.1050807@omnilogic.ro> Message-ID: <506AED26.3060807@seres.es> Hi Cosmin The plugin needs to be installed on the Oracle Database server. I show you an example of my nrpe.cfg: command[check_oracle_seg-top10-buffer-busy-waits]=/usr/local/nagios/libexec/check_oracle_health --username nagios --password password --mode seg-top10-buffer-busy-waits --connect SID --environment LD_LIBRARY_PATH=/usr/oracle/product/11.2/lib --environment ORACLE_HOME=/usr/oracle/product/11.2 Best Regards On 02/10/12 14:02, Cosmin Neagu wrote: > Hi nagios users, > > I need to monitor an oracle database server, an found this plugin, > check_oracle_health. > The problem is that i'm not a DB Admin, and it seems that something else > need to be configured along with this client like system variables > (ORACLE_HOME and LD_LIBRARY_PATH) > > Since on the plugin site i did not find documentation on how to do that, > i want to ask someone who use this plugin: > > This plugin needs to be installed on the nagios machine? Or it needs to > be installed on the Oracle Database and used with NRPE? Because i see > that those variables are set on DBServer. > > > > > > ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ck at claudiokuenzler.com Tue Oct 2 17:05:43 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Tue, 2 Oct 2012 17:05:43 +0200 Subject: Plugin check_oracle_health In-Reply-To: <506AED26.3060807@seres.es> References: <506AD7E5.1050807@omnilogic.ro> <506AED26.3060807@seres.es> Message-ID: > The plugin needs to be installed on the Oracle Database server. > That's not entirely correct. It can also run on a standalone Nagios server. But you need to install the ora files to be able to launch the plugin against an Oracle DB server. I did that successfully on Nagios 3.3.1 against ORA11. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From oogs at umich.edu Tue Oct 2 17:14:50 2012 From: oogs at umich.edu (Chris Baldwin) Date: Tue, 02 Oct 2012 11:14:50 -0400 Subject: nagios writing escalation rules multiple times to objects.cache In-Reply-To: <506AAEAD.5060405@op5.se> References: <5069F0E0.4090604@umich.edu> <506AAEAD.5060405@op5.se> Message-ID: <506B04EA.6070106@umich.edu> Well, I fixed the issue - as Andreas pointed out, it's a config issue related to having host_name & servicegroup_name defined in my escalations. I edited my rules, making them host agnostic, and now I do not have duplicates in my objects.cache. I also reduced the raw number of them - since they aren't tied to a particular host anymore, I don't need as many config files. Thanks! -Chris B. On 10/2/12 5:06 AM, Andreas Ericsson wrote: > On 10/01/2012 09:37 PM, Chris Baldwin wrote: >> Short version: >> >> I have an ever-growing Nagios install for monitoring a bunch of linux >> hosts (currently 99 hosts & 2322 services, I plan on adding 115 more >> hosts & 1500+ services). I've noticed something odd with my escalation >> rules - they're being repeated multiple times in my objects.cache file. >> This is started to affect performance for parts of my nagios install, to >> the point where it's painfully slow to use the web interface. >> >> My google-fu is weak today, so I was hoping someone here could point me >> in the right direction. (I edited out a lot of stuff here for legibility) >> >> The cfg files look something like this: >> >> define serviceescalation{ >> contact_groups the_boss >> escalation_options c,r >> escalation_period oncall_hours >> first_notification 12 >> host_name my.hostname.xyz >> last_notification 0 >> notification_interval 60 >> #service_description >> Disk,Ping,HTTP,Load,MySQL,Ping,Procs,SSH,Swap,Users,Zombie >> servicegroup_name >> Disk,Ping,HTTP,Load,MySQL,Ping,Procs,SSH,Swap,Users,Zombie >> } >> > So you're assigning it to a host_name along with a set of servicegroups. > I'm not entirely sure that makes 100% sense, since servicegroup members > already have a host_name. > > It might work better with Nagios 4, but I'm not sure. If it doesn't, > I'll fix it so 'service_description' is required when 'host_name' or > 'hostgroup_name' is set, as I don't see how one makes sense without > the other. >> My questions to you guys: >> - Am I crazy to think that it's reading every rule once for *each* >> server? > It seems as if it's reading the rule once for each host mentioned in > host_name and then assigning it to each member of the servicegroups > listed, so if you have identical escalations assigned to the same set > of servicegroups then this is really how you're configuring your > Nagios. > > Nagios 4 has provisions to compare slave objects and avoid adding > multiple ones, which would hide a potential bug in your config. It's > currently only used for dependencies, but making it work with > escalations too would be the final fallback to fix this. > > However, I urge you to look over your configuration first to make > sure you don't really have multiple escalations assigned to the > same set of servicegroups. > >> I tried using the precache, it didn't help. Both files were created by >> my nagios install. > That's not surprising, as precaching and caching uses the exact same > code. > ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jm+nagios-users at roth.lu Tue Oct 2 17:20:59 2012 From: jm+nagios-users at roth.lu (Marki) Date: Tue, 2 Oct 2012 15:20:59 +0000 (UTC) Subject: host object declarations References: <506AEC03.3060101@op5.se> Message-ID: > The only thing I'm saying in that bugreport is > that Nagios does not and will not complain when the "address" fields of > hosts are unique. In fact you also said: > that suggests that either your namestandard (used for the host_name field) > sucks, or that you or your co-workers are simply confused when it comes > to configuring Nagios. So let's talk best practices. In practice it did occur that when someone copy/pasted a bunch of service definitions (yeah I know you should use templates, call that confusion if you like) just forgot to update the address field and the newly created checks (or so they believed) did nothing more than check the old stuff once more. According to what you suggest, it is wisest to indeed use DNS names where you can in the host_name field. (and only use the address field in special circumstances) (in Nagios4) If you define your nomenclature like that, possible confusion may be eliminated ;-) BTW I have all sorts things in place that - check for duplicate addresses - check for syntax errors all over the place - check if the plugin specified in command_line actually exists thus preventing stupid error 127 or alike If anyone finds that interesting, see below. bye, Marki PS. As a sidenote: I once created a more or less functional version of a script allowing to change service names. It's not trivial but can be done. Does anyone know of something existing and working that allows to change service and also hostnames? for f in $(grep command_line $NAGIOS/etc/checkcommands.cfg | awk '{print $2}' |\ grep USER1 | sed 's/\$USER1\$\///'); do if [ ! -f $NAGIOS/libexec/$f ]; then echo "[KO] $f does not exist" ERR=$(($ERR + 1)) fi done [ "$ERR" -eq 0 ] && echo "[OK] all commands seem to exist" # make sure to always update both statements! if [ "$(grep -r address $NAGIOS/etc/hosts* | grep -v '~' | grep -v svn |\ grep -v '.bak' | cut -d: -f2 | tr -d ' \t' | awk -F'address' '{print $2}' |\ sort | uniq -c | sort -n | grep -v ' 1 ' | wc -l)" -ne 0 ]; then echo "[INFO] IP address defined more than once:" grep -r address $NAGIOS/etc/hosts* | grep -v '~' | grep -v svn |\ grep -v '.bak' | cut -d: -f2 | tr -d ' \t' |\ awk -F'address' '{print $2}' | sort | uniq -c | sort -n | grep -v ' 1 ' else echo "[OK] Dup IP check ok" fi # syntax check - bash scripts OK=1 echo Please wait... for i in $(find $NAGIOS/libexec -type f | grep -v '~'); do echo $i | grep -q '/.svn/' && continue if [[ "$i" =~ '\.sh' ]] || [ "$(head -1 $i)" = '#!/bin/bash' ]; then if ! sh -n $i; then OK=0 echo "[KO] bash syntax error - $i" fi fi if [[ "$i" =~ '\.pl' ]] || [ "$(head -1 $i)" = '#!/usr/bin/perl' ]; then if ! perl -wc $i; then OK=0 echo "[KO] perl syntax error - $i" fi fi if [[ "$i" =~ '\.php' ]]; then if ! php -l $i &>/dev/null; then OK=0 echo "[KO] PHP syntax error - $i" fi fi done [ "$OK" -eq "1" ] && echo "[OK] shell scripts - syntax checks ok" # check command syntax TMP=/tmp/$(basename $0).$$ grep command_line $NAGIOS/etc/misccommands.cfg $NAGIOS/etc/checkcommands.cfg |\ sed 's/command_line//' > $TMP sh -n $TMP RET=$? if [ "$RET" -eq 0 ]; then echo "[OK] command scripts - syntax checks ok" else echo "[KO] command scripts - error $RET" fi rm $TMP ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From support at voipbusiness.us Tue Oct 2 23:02:35 2012 From: support at voipbusiness.us (Tech Support) Date: Tue, 2 Oct 2012 17:02:35 -0400 Subject: Running the same plugin once vs. multiple times Message-ID: <002001cda0e1$3feec1f0$bfcc45d0$@us> All; I wrote a plugin to collect data for a particular service. I invoke the plugin with whatever parameter I want to return information on. In fact, it collects information on about 30 different params at once, then returns the data that I specified. For example, ./get_sysinfo -p param1 or ./get_sysinfo -p param2, etc. It seems to me to be a waste of resources to call the same script 30 times. Is it possible to call the plugin once and return all the data (including the performance data) at the same time? The benefit that I have calling the same script 30 different times is that Nagiosgraph creates a separate graph for each parameter and I don't want to lose that ability. Any insight at all would be greatly appreciated. Thanks; John V. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Oct 2 23:14:18 2012 From: ae at op5.se (Andreas Ericsson) Date: Tue, 02 Oct 2012 23:14:18 +0200 Subject: host object declarations In-Reply-To: References: <506AEC03.3060101@op5.se> Message-ID: <506B592A.4000509@op5.se> On 10/02/2012 05:20 PM, Marki wrote: > >> The only thing I'm saying in that bugreport is >> that Nagios does not and will not complain when the "address" fields of >> hosts are unique. > > In fact you also said: > >> that suggests that either your namestandard (used for the host_name field) >> sucks, or that you or your co-workers are simply confused when it comes >> to configuring Nagios. > > So let's talk best practices. > > In practice it did occur that when someone copy/pasted a bunch of service > definitions (yeah I know you should use templates, call that confusion if > you like) just forgot to update the address field and the newly created checks > (or so they believed) did nothing more than check the old stuff once more. > So use the "require unique address" scriptlet I provided in the ticket. Nagios won't protect you against such config buglets, because for many users its a very useful trick to do. > According to what you suggest, it is wisest to indeed use DNS names where you > can in the host_name field. (and only use the address field in special > circumstances) (in Nagios4) > Or just not fsck up when adding hosts, perhaps? > If you define your nomenclature like that, possible confusion may be > eliminated ;-) > Could be. > BTW I have all sorts things in place that > - check for duplicate addresses So this should've been caught then. > - check for syntax errors all over the place Which Nagios already does for you, so that seems moot. > - check if the plugin specified in command_line actually exists thus preventing > stupid error 127 or alike You don't get that anymore. With Nagios 4 you get (No output on stdout) stderr: execvp() failed. errno is 2: No such file or directory > > PS. As a sidenote: I once created a more or less functional version of a script > allowing to change service names. It's not trivial but can be done. > Does anyone know of something existing and working that allows to change > service and also hostnames? > Well, python, perl, ruby, php, sed, awk, whathaveyou can do that with little or no hassle, so long as you know how to parse compound blocks into key/value vectors (which is trivial). Unless you're talking about modifying it runtime, in which case it's a little trickier and requires an eventbroker module. > > for f in $(grep command_line $NAGIOS/etc/checkcommands.cfg | awk '{print $2}' |\ > grep USER1 | sed 's/\$USER1\$\///'); do > if [ ! -f $NAGIOS/libexec/$f ]; then > echo "[KO] $f does not exist" > ERR=$(($ERR + 1)) > fi > done > [ "$ERR" -eq 0 ] && echo "[OK] all commands seem to exist" > This seems pretty error-prone. I've been thinking of adding something similar to the Nagios binary, to make sure all (used) commands have existing binaries and warn if some of them don't. It would be quite trivial, but I haven't gotten around to it yet as not that many people suffer from it for very long. Besides, with the special-purpose workers on the way it's quite likely we'll just trigger false positives by the dozen. > # make sure to always update both statements! > if [ "$(grep -r address $NAGIOS/etc/hosts* | grep -v '~' | grep -v svn |\ > grep -v '.bak' | cut -d: -f2 | tr -d ' \t' | awk -F'address' '{print $2}' |\ > sort | uniq -c | sort -n | grep -v ' 1 ' | wc -l)" -ne 0 ]; then > echo "[INFO] IP address defined more than once:" > grep -r address $NAGIOS/etc/hosts* | grep -v '~' | grep -v svn |\ > grep -v '.bak' | cut -d: -f2 | tr -d ' \t' |\ > awk -F'address' '{print $2}' | sort | uniq -c | sort -n | grep -v ' 1 ' > else > echo "[OK] Dup IP check ok" > fi > That's just insanely tricky. precache the objects and you can use grep address $precache | sort -k 2 | uniq -c | sort -n | grep -v ' 1 ' instead to list all the duplicate addresses. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Oct 2 23:16:26 2012 From: ae at op5.se (Andreas Ericsson) Date: Tue, 02 Oct 2012 23:16:26 +0200 Subject: Running the same plugin once vs. multiple times In-Reply-To: <002001cda0e1$3feec1f0$bfcc45d0$@us> References: <002001cda0e1$3feec1f0$bfcc45d0$@us> Message-ID: <506B59AA.5000903@op5.se> On 10/02/2012 11:02 PM, Tech Support wrote: > All; > > I wrote a plugin to collect data for a particular service. I invoke the > plugin with whatever parameter I want to return information on. In fact, it > collects information on about 30 different params at once, then returns the > data that I specified. For example, ./get_sysinfo -p param1 or > ./get_sysinfo -p param2, etc. It seems to me to be a waste of resources to > call the same script 30 times. Is it possible to call the plugin once and > return all the data (including the performance data) at the same time? The > benefit that I have calling the same script 30 different times is that > Nagiosgraph creates a separate graph for each parameter and I don't want to > lose that ability. Any insight at all would be greatly appreciated. > Take a look at check_mk. It's doable but is a bit convoluted unless you write good infrastructure for it once and then reuse it over and over. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cosmin.neagu at omnilogic.ro Wed Oct 3 08:14:07 2012 From: cosmin.neagu at omnilogic.ro (Cosmin Neagu) Date: Wed, 03 Oct 2012 09:14:07 +0300 Subject: Plugin check_oracle_health In-Reply-To: References: <506AD7E5.1050807@omnilogic.ro> <506AED26.3060807@seres.es> Message-ID: <506BD7AF.1080307@omnilogic.ro> Well, thats the hard part for me, installing those ORA files - didnt find yet how to do that. I think installing the plugin on DBServer and using NRPE is easier. Cosmin Neagu NOC Team Leader Str. I. G. Duca nr. 36 Otopeni, Judetul Ilfov, 075100 Romania Tel: 021 303 3159 / 0732 669 193 www.omnilogic.ro On 10/02/2012 06:05 PM, Claudio Kuenzler wrote: > > The plugin needs to be installed on the Oracle Database server. > > > That's not entirely correct. It can also run on a standalone Nagios > server. > But you need to install the ora files to be able to launch the plugin > against an Oracle DB server. > I did that successfully on Nagios 3.3.1 against ORA11. > > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ck at claudiokuenzler.com Wed Oct 3 08:34:42 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Wed, 3 Oct 2012 08:34:42 +0200 Subject: Plugin check_oracle_health In-Reply-To: <506BD7AF.1080307@omnilogic.ro> References: <506AD7E5.1050807@omnilogic.ro> <506AED26.3060807@seres.es> <506BD7AF.1080307@omnilogic.ro> Message-ID: It's not that hard and a lot of things are written in the documentation of check_oracle_health. I even wrote an article about this in September 2011 explaining the steps: http://www.claudiokuenzler.com/blog/192/install-perl-dbd-oracle-DBD::Oracle-on-SuSE-SLES10-without-cpan You should do it the way you prefer of course. But in my setup I wanted to run check_oracle_health on a standalone Nagios server. That way I also see if there's a latency in the remote sql query. Real life applications rarely use localhost connections. On Wed, Oct 3, 2012 at 8:14 AM, Cosmin Neagu wrote: > Well, thats the hard part for me, installing those ORA files - didnt > find yet how to do that. I think installing the plugin on DBServer and > using NRPE is easier. > > Cosmin Neagu > NOC Team Leader > Str. I. G. Duca nr. 36 > Otopeni, Judetul Ilfov, 075100 Romania > Tel: 021 303 3159 / 0732 669 193 > www.omnilogic.ro > > On 10/02/2012 06:05 PM, Claudio Kuenzler wrote: > > > The plugin needs to be installed on the Oracle Database server. >> > > That's not entirely correct. It can also run on a standalone Nagios server. > But you need to install the ora files to be able to launch the plugin > against an Oracle DB server. > I did that successfully on Nagios 3.3.1 against ORA11. > > > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too!http://p.sf.net/sfu/newrelic-dev2dev > > > > _______________________________________________ > Nagios-users mailing listNagios-users at 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 > > > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pitchfork at ederdrom.de Wed Oct 3 09:05:12 2012 From: pitchfork at ederdrom.de (Joerg Linge) Date: Wed, 3 Oct 2012 09:05:12 +0200 Subject: Plugin check_oracle_health In-Reply-To: <506BD7AF.1080307@omnilogic.ro> References: <506AD7E5.1050807@omnilogic.ro> <506AED26.3060807@seres.es> <506BD7AF.1080307@omnilogic.ro> Message-ID: you just need a working sqlplus installation http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html use check_oracle_health --method=sqlplus ... and you are on your way Joerg Am 03.10.2012 um 08:14 schrieb Cosmin Neagu : > Well, thats the hard part for me, installing those ORA files - didnt find yet how to do that. I think installing the plugin on DBServer and using NRPE is easier. > Cosmin Neagu > NOC Team Leader > Str. I. G. Duca nr. 36 > Otopeni, Judetul Ilfov, 075100 Romania > Tel: 021 303 3159 / 0732 669 193 > > www.omnilogic.ro > On 10/02/2012 06:05 PM, Claudio Kuenzler wrote: >> >> The plugin needs to be installed on the Oracle Database server. >> >> That's not entirely correct. It can also run on a standalone Nagios server. >> But you need to install the ora files to be able to launch the plugin against an Oracle DB server. >> I did that successfully on Nagios 3.3.1 against ORA11. >> >> >> >> >> ------------------------------------------------------------------------------ >> Don't let slow site performance ruin your business. Deploy New Relic APM >> Deploy New Relic app performance management and know exactly >> what is happening inside your Ruby, Python, PHP, Java, and .NET app >> Try New Relic at no cost today and get our sweet Data Nerd shirt too! >> >> http://p.sf.net/sfu/newrelic-dev2dev >> >> >> _______________________________________________ >> Nagios-users mailing list >> >> Nagios-users at 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 >> > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev_______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mark.frost1 at pepsico.com Wed Oct 3 16:33:00 2012 From: mark.frost1 at pepsico.com (Frost, Mark {BIS}) Date: Wed, 3 Oct 2012 10:33:00 -0400 Subject: solutions for off-server PNP4Nagios perfdata processing? Message-ID: Hello. Has anyone come up with solutions for processing Nagios performance data on a server other than a Nagios server? We've been processing perfdata results on our Nagios server(s) for a while now and increasingly it's just eating up too much I/O to make me comfortable. Yes, we do use rrdcached and yes, I realize that shuffling data around on different disk spindles and controllers would help, but in today's world where companies don't like building any kind of physical server let alone one with all that additional hardware, that's not entirely an option for us. I realize that once the perfdata files are on the dedicated graphing server(s), processing them into RRD files there should be a no-brainer. My problem is figuring out how to get them there without say, using a NAS device. (If I/O's a problem locally, I don't want to shuffle that I/O to an even slower network device). It would be ideal if somehow there was a process that I could just send that data to and have it picked up remotely. Like if maybe Merlin have a special kind of peer that just received a stream of perfdata or something. Anything else I could imagine would be some kind of home-grown solution like say pumping events into a messaging system from the Nagios server(s) and then letting the graphing server pick them up from the message queue(s). I could also imagine some kind of fancy-pants module in Nagios 4 that did something like this, maybe. Any thoughts would be appreciated. Thanks Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dgrgicevic at gmail.com Wed Oct 3 16:45:29 2012 From: dgrgicevic at gmail.com (davor grgicevic) Date: Wed, 3 Oct 2012 16:45:29 +0200 Subject: solutions for off-server PNP4Nagios perfdata processing? In-Reply-To: References: Message-ID: Hi Mark ... did you try a using a ram disk http://exchange.nagios.org/directory/Documentation/Nagios-XI-Documentation/Utilizing-A-RAM-Disk-In-NagiosXI/details Davor On Wed, Oct 3, 2012 at 4:33 PM, Frost, Mark {BIS} wrote: > Hello. Has anyone come up with solutions for processing Nagios > performance data on a server other than a Nagios server? We?ve been > processing perfdata results on our Nagios server(s) for a while now and > increasingly it?s just eating up too much I/O to make me comfortable. > > Yes, we do use rrdcached and yes, I realize that shuffling data around on > different disk spindles and controllers would help, but in today?s world > where companies don?t like building any kind of physical server let alone > one with all that additional hardware, that?s not entirely an option for us. > > I realize that once the perfdata files are on the dedicated graphing > server(s), processing them into RRD files there should be a no-brainer. My > problem is figuring out how to get them there without say, using a NAS > device. (If I/O?s a problem locally, I don?t want to shuffle that I/O to > an even slower network device). > > It would be ideal if somehow there was a process that I could just send > that data to and have it picked up remotely. Like if maybe Merlin have a > special kind of peer that just received a stream of perfdata or something. > Anything else I could imagine would be some kind of home-grown solution > like say pumping events into a messaging system from the Nagios server(s) > and then letting the graphing server pick them up from the message > queue(s). I could also imagine some kind of fancy-pants module in Nagios 4 > that did something like this, maybe. > > Any thoughts would be appreciated. > > Thanks > > Mark > > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Davor Grgicevic -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mark.frost1 at pepsico.com Wed Oct 3 16:56:13 2012 From: mark.frost1 at pepsico.com (Frost, Mark {BIS}) Date: Wed, 3 Oct 2012 10:56:13 -0400 Subject: solutions for off-server PNP4Nagios perfdata processing? In-Reply-To: References: Message-ID: Davor, My concern is more about the actual I/O to the RRD files and not so much processing the to-be-processed perfdata files (i.e. temporary files). The heavy I/O is happening on the RRD filesystem and since I would of course need the RRD files to persist, I would not want to store them on a ram disk. Plus it would need to be a fairly large ram disk to hold all the rrd files even if I were willing to lose them all if a reboot occurred. We do use ram disks for Nagios status.dat files and spool files (i.e. things I can afford to lose in a reboot/crash) and it?s definitely been a good thing. It still seems weird to have to do so much ?compensating? for Nagios normal operations for a moderately large installation (not really even huge) to make it work well. I?m guessing again that this is going to be vastly improved with Nagios 4 as well. At least no spool files. Thanks Mark From: davor grgicevic [mailto:dgrgicevic at gmail.com] Sent: Wednesday, October 03, 2012 10:45 AM To: Nagios Users List Subject: Re: [Nagios-users] solutions for off-server PNP4Nagios perfdata processing? Hi Mark ... did you try a using a ram disk http://exchange.nagios.org/directory/Documentation/Nagios-XI-Documentation/Utilizing-A-RAM-Disk-In-NagiosXI/details Davor On Wed, Oct 3, 2012 at 4:33 PM, Frost, Mark {BIS} > wrote: Hello. Has anyone come up with solutions for processing Nagios performance data on a server other than a Nagios server? We?ve been processing perfdata results on our Nagios server(s) for a while now and increasingly it?s just eating up too much I/O to make me comfortable. Yes, we do use rrdcached and yes, I realize that shuffling data around on different disk spindles and controllers would help, but in today?s world where companies don?t like building any kind of physical server let alone one with all that additional hardware, that?s not entirely an option for us. I realize that once the perfdata files are on the dedicated graphing server(s), processing them into RRD files there should be a no-brainer. My problem is figuring out how to get them there without say, using a NAS device. (If I/O?s a problem locally, I don?t want to shuffle that I/O to an even slower network device). It would be ideal if somehow there was a process that I could just send that data to and have it picked up remotely. Like if maybe Merlin have a special kind of peer that just received a stream of perfdata or something. Anything else I could imagine would be some kind of home-grown solution like say pumping events into a messaging system from the Nagios server(s) and then letting the graphing server pick them up from the message queue(s). I could also imagine some kind of fancy-pants module in Nagios 4 that did something like this, maybe. Any thoughts would be appreciated. Thanks Mark ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 -- Davor Grgicevic -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From daniel.wittenberg.r0ko at statefarm.com Wed Oct 3 17:08:15 2012 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Wed, 3 Oct 2012 15:08:15 +0000 Subject: solutions for off-server PNP4Nagios perfdata processing? In-Reply-To: References: Message-ID: <140C3373-F703-4A2D-A065-926CB4C54AE0@statefarm.com> You might consider looking at 4.0 since disk i/o is almost nothing, but short of that looked at using rrdcache to send the processing to another server? Dan On Oct 3, 2012, at 9:33 AM, Frost, Mark {BIS} wrote: Hello. Has anyone come up with solutions for processing Nagios performance data on a server other than a Nagios server? We?ve been processing perfdata results on our Nagios server(s) for a while now and increasingly it?s just eating up too much I/O to make me comfortable. Yes, we do use rrdcached and yes, I realize that shuffling data around on different disk spindles and controllers would help, but in today?s world where companies don?t like building any kind of physical server let alone one with all that additional hardware, that?s not entirely an option for us. I realize that once the perfdata files are on the dedicated graphing server(s), processing them into RRD files there should be a no-brainer. My problem is figuring out how to get them there without say, using a NAS device. (If I/O?s a problem locally, I don?t want to shuffle that I/O to an even slower network device). It would be ideal if somehow there was a process that I could just send that data to and have it picked up remotely. Like if maybe Merlin have a special kind of peer that just received a stream of perfdata or something. Anything else I could imagine would be some kind of home-grown solution like say pumping events into a messaging system from the Nagios server(s) and then letting the graphing server pick them up from the message queue(s). I could also imagine some kind of fancy-pants module in Nagios 4 that did something like this, maybe. Any thoughts would be appreciated. Thanks Mark ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev_______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mguthrie at nagios.com Wed Oct 3 17:12:01 2012 From: mguthrie at nagios.com (Mike Guthrie) Date: Wed, 03 Oct 2012 10:12:01 -0500 Subject: solutions for off-server PNP4Nagios perfdata processing? In-Reply-To: References: Message-ID: <506C55C1.4000003@nagios.com> Hey Mark, I've been stewing on an idea like this as well. I haven't come up with a perfect solution yet. I know of another user who implemented a large install and used NAS for the rrdfiles, but I recognize your concerns there. Would it be plausible to simply mount an additional drive in the perfdata directory so that all of those writes happen to a separate disk while still on the local machine? The other idea I've been thinking about but haven't had time to play with yet would be to use the performance data processing command to send the perfdata to the offloaded machine (maybe using xinetd), and then just drop that data into the perfdata spool so you could have pnp running on the offloaded machine. From there you could just the web access for PNP on the 2nd machine. Obviously there are some mechanics to work out there, and I'm not sure how much bandwidth that would eat up, but like I said, so far it's just in the idea stage. On 10/3/2012 9:56 AM, Frost, Mark {BIS} wrote: > > Davor, > > My concern is more about the actual I/O to the RRD files and not so > much processing the to-be-processed perfdata files (i.e. temporary > files). The heavy I/O is happening on the RRD filesystem and since I > would of course need the RRD files to persist, I would not want to > store them on a ram disk. Plus it would need to be a fairly large ram > disk to hold all the rrd files even if I were willing to lose them all > if a reboot occurred. > > We do use ram disks for Nagios status.dat files and spool files (i.e. > things I can afford to lose in a reboot/crash) and it's definitely > been a good thing. It still seems weird to have to do so much > "compensating" for Nagios normal operations for a moderately large > installation (not really even huge) to make it work well. I'm > guessing again that this is going to be vastly improved with Nagios 4 > as well. At least no spool files. > > Thanks > > Mark > > *From:*davor grgicevic [mailto:dgrgicevic at gmail.com] > *Sent:* Wednesday, October 03, 2012 10:45 AM > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] solutions for off-server PNP4Nagios > perfdata processing? > > Hi Mark ... > > did you try a using a ram disk > > http://exchange.nagios.org/directory/Documentation/Nagios-XI-Documentation/Utilizing-A-RAM-Disk-In-NagiosXI/details > > > Davor > > On Wed, Oct 3, 2012 at 4:33 PM, Frost, Mark {BIS} > > wrote: > > Hello. Has anyone come up with solutions for processing Nagios > performance data on a server other than a Nagios server? We've been > processing perfdata results on our Nagios server(s) for a while now > and increasingly it's just eating up too much I/O to make me comfortable. > > Yes, we do use rrdcached and yes, I realize that shuffling data around > on different disk spindles and controllers would help, but in today's > world where companies don't like building any kind of physical server > let alone one with all that additional hardware, that's not entirely > an option for us. > > I realize that once the perfdata files are on the dedicated graphing > server(s), processing them into RRD files there should be a > no-brainer. My problem is figuring out how to get them there without > say, using a NAS device. (If I/O's a problem locally, I don't want > to shuffle that I/O to an even slower network device). > > It would be ideal if somehow there was a process that I could just > send that data to and have it picked up remotely. Like if maybe > Merlin have a special kind of peer that just received a stream of > perfdata or something. Anything else I could imagine would be some > kind of home-grown solution like say pumping events into a messaging > system from the Nagios server(s) and then letting the graphing server > pick them up from the message queue(s). I could also imagine some > kind of fancy-pants module in Nagios 4 that did something like this, > maybe. > > Any thoughts would be appreciated. > > Thanks > > Mark > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > > -- > Davor Grgicevic > > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From awiddersheim at hotmail.com Wed Oct 3 17:31:58 2012 From: awiddersheim at hotmail.com (Andrew Widdersheim) Date: Wed, 3 Oct 2012 11:31:58 -0400 Subject: =?windows-1256?q?_solutions_for_off-server_PNP4Nag?= =?windows-1256?q?ios_perfdata=09processing=3F=FE?= In-Reply-To: <506C55C1.4000003@nagios.com> References: , , , <506C55C1.4000003@nagios.com> Message-ID: There are two options that I know of. The first is there is an undocumented NEB module that comes with PNP4Nagios located in?src/module called?modpnpsender.c that looks like it send data to a remote server to get processed. If anything you can use it as a starting point.? This blog article talks about using it and if you look at the source you can find the original author and possibly more details: ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From awiddersheim at hotmail.com Wed Oct 3 17:35:31 2012 From: awiddersheim at hotmail.com (Andrew Widdersheim) Date: Wed, 3 Oct 2012 11:35:31 -0400 Subject: solutions for off-server PNP4Nagios perfdata processing? In-Reply-To: <506C55C1.4000003@nagios.com> References: , , , <506C55C1.4000003@nagios.com> Message-ID: There are two options that I know of. The first is there is an undocumented NEB module that comes with PNP4Nagios located in?src/module called?modpnpsender.c that looks like it send data to a remote server to get processed. If anything you can use it as a starting point.? This blog article talks about using it and if you look at the source you can find the original author and possibly more details:? http://www.semintelligent.com/blog/articles/38/nagios-performance-tuning-early-lessons-learned-lessons-shared-part-4-scalable-performance-data-graphing The second option is setting up mod_gearman which can put perfdata into it's own queue and configure PNP4Nagios as a gearman worker to pick up the data remotely and process it. All of this is described here: http://docs.pnp4nagios.org/pnp-0.6/modes#gearman_mode -Andrew W. ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mark.frost1 at pepsico.com Wed Oct 3 17:58:20 2012 From: mark.frost1 at pepsico.com (Frost, Mark {BIS}) Date: Wed, 3 Oct 2012 11:58:20 -0400 Subject: solutions for off-server PNP4Nagios perfdata processing? In-Reply-To: <140C3373-F703-4A2D-A065-926CB4C54AE0@statefarm.com> References: <140C3373-F703-4A2D-A065-926CB4C54AE0@statefarm.com> Message-ID: Dan, As I understand it, the issue is less about Nagios and more about npcd. Nagios merrily produces the perfdata files and then npcd comes along and scoops them up, but as it's processing them it's opening a lot of rrd files and inserting data into them. So really it's npcd that's the problem. Well, not really a problem, but ultimately it's doing its thing and then Nagios gets less than a fair share of the box's I/O. It's not that it's horrible right now, but we're starting to notice it and I would tend to be concerned about scaling problems. Honestly even with Nagios 3, it seems like Nagios' own I/O is entirely manageable so far with strategic use of ram disk. It's just putting Nagios and PNP4Nagios (plus Apache to serve up the graph contents which I'm also not happen going on on the same server) on the same boxes that I don't like. Hmm. I was unaware that rrdcached could be configured to receive data over the network. I'm assuming that means that npcd can be configured to send. I'll check that out. Still doesn't feel like an elegant solution, but it may fit the bill. Thanks Mark From: Daniel Wittenberg [mailto:daniel.wittenberg.r0ko at statefarm.com] Sent: Wednesday, October 03, 2012 11:08 AM To: Nagios Users List Subject: Re: [Nagios-users] solutions for off-server PNP4Nagios perfdata processing? You might consider looking at 4.0 since disk i/o is almost nothing, but short of that looked at using rrdcache to send the processing to another server? Dan On Oct 3, 2012, at 9:33 AM, Frost, Mark {BIS} wrote: Hello. Has anyone come up with solutions for processing Nagios performance data on a server other than a Nagios server? We've been processing perfdata results on our Nagios server(s) for a while now and increasingly it's just eating up too much I/O to make me comfortable. Yes, we do use rrdcached and yes, I realize that shuffling data around on different disk spindles and controllers would help, but in today's world where companies don't like building any kind of physical server let alone one with all that additional hardware, that's not entirely an option for us. I realize that once the perfdata files are on the dedicated graphing server(s), processing them into RRD files there should be a no-brainer. My problem is figuring out how to get them there without say, using a NAS device. (If I/O's a problem locally, I don't want to shuffle that I/O to an even slower network device). It would be ideal if somehow there was a process that I could just send that data to and have it picked up remotely. Like if maybe Merlin have a special kind of peer that just received a stream of perfdata or something. Anything else I could imagine would be some kind of home-grown solution like say pumping events into a messaging system from the Nagios server(s) and then letting the graphing server pick them up from the message queue(s). I could also imagine some kind of fancy-pants module in Nagios 4 that did something like this, maybe. Any thoughts would be appreciated. Thanks Mark ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev_______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Oct 3 18:18:09 2012 From: ae at op5.se (Andreas Ericsson) Date: Wed, 03 Oct 2012 18:18:09 +0200 Subject: solutions for off-server PNP4Nagios perfdata processing? In-Reply-To: References: Message-ID: <506C6541.30902@op5.se> On 10/03/2012 04:33 PM, Frost, Mark {BIS} wrote: > Hello. Has anyone come up with solutions for processing Nagios performance data on a server other than a Nagios server? We've been processing perfdata results on our Nagios server(s) for a while now and increasingly it's just eating up too much I/O to make me comfortable. > > Yes, we do use rrdcached and yes, I realize that shuffling data around on different disk spindles and controllers would help, but in today's world where companies don't like building any kind of physical server let alone one with all that additional hardware, that's not entirely an option for us. > > I realize that once the perfdata files are on the dedicated graphing server(s), processing them into RRD files there should be a no-brainer. My problem is figuring out how to get them there without say, using a NAS device. (If I/O's a problem locally, I don't want to shuffle that I/O to an even slower network device). > > It would be ideal if somehow there was a process that I could just send that data to and have it picked up remotely. Like if maybe Merlin have a special kind of peer that just received a stream of perfdata or something. Anything else I could imagine would be some kind of home-grown solution like say pumping events into a messaging system from the Nagios server(s) and then letting the graphing server pick them up from the message queue(s). I could also imagine some kind of fancy-pants module in Nagios 4 that did something like this, maybe. > > Any thoughts would be appreciated. > Using the NERD radio you will be able to stream your checkresults off-site (once the macro-processing patches are done, that is). It's Nagios 4 only, but I know you've been looking at that already so perhaps that's not be a big issue. The "will be" is a bit of a showstopper though, but I have to have it done by next wednesday. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Oct 3 18:27:01 2012 From: ae at op5.se (Andreas Ericsson) Date: Wed, 03 Oct 2012 18:27:01 +0200 Subject: solutions for off-server PNP4Nagios perfdata processing? In-Reply-To: References: <140C3373-F703-4A2D-A065-926CB4C54AE0@statefarm.com> Message-ID: <506C6755.4080005@op5.se> On 10/03/2012 05:58 PM, Frost, Mark {BIS} wrote: > Dan, > > As I understand it, the issue is less about Nagios and more about > npcd. Nagios merrily produces the perfdata files and then npcd > comes along and scoops them up, but as it's processing them it's > opening a lot of rrd files and inserting data into them. That's what rrdcached is for. It's supposed to stash the perfdata in memory so writes don't have to happen so often. You defeat the purpose if you use a cache-timer shorter than your check-interval though, but if you have, say, a 30 minute cache time and a 5 minute check-interval, you basically cut I/O down to 1/6th of the normal. If you also hook up a decent-sized ssd, you get x21 throughput from before, so all in all you can get a rough increase of 12000% with both those options enabled. > So really > it's npcd that's the problem. Well, not really a problem, but > ultimately it's doing its thing and then Nagios gets less than a fair > share of the box's I/O. It's not that it's horrible right now, but > we're starting to notice it and I would tend to be concerned about > scaling problems. > > Honestly even with Nagios 3, it seems like Nagios' own I/O is > entirely manageable so far with strategic use of ram disk. It's > just putting Nagios and PNP4Nagios (plus Apache to serve up the graph > contents which I'm also not happen going on on the same server) on > the same boxes that I don't like. > With Nagios 4, set status_file=/dev/null and use livestatus instead and you're golden. Apart from the nagios.log, there's no other I/O going on from Nagios' side, so it won't get stuck waiting for pnp to get done. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sven.Nierlein at consol.de Wed Oct 3 18:28:14 2012 From: Sven.Nierlein at consol.de (Sven Nierlein) Date: Wed, 03 Oct 2012 18:28:14 +0200 Subject: solutions for off-server PNP4Nagios perfdata processing? In-Reply-To: References: Message-ID: <506C679E.7010100@consol.de> Hi Mark, this could be done with Mod-Gearman which just puts all performance data in the gearman message system which then can be processed whereever you want. PNP4Nagios ships a gearman worker daemon which then processes your perfdata on a (or multiple) remote host. You could also put the pnp gui there. Details are the docs... http://docs.pnp4nagios.org/pnp-0.6/config#gearman_mode Sven On 10/3/12 16:33, Frost, Mark {BIS} wrote: > Hello. Has anyone come up with solutions for processing Nagios performance data on a server other than a Nagios server? We?ve been processing perfdata results on our Nagios server(s) for a while now and increasingly it?s just eating up too much I/O to make me comfortable. > Yes, we do use rrdcached and yes, I realize that shuffling data around on different disk spindles and controllers would help, but in today?s world where companies don?t like building any kind of physical server let alone one with all that additional hardware, that?s not entirely an option for us. > I realize that once the perfdata files are on the dedicated graphing server(s), processing them into RRD files there should be a no-brainer. My problem is figuring out how to get them there without say, using a NAS device. (If I/O?s a problem locally, I don?t want to shuffle that I/O to an even slower network device). > It would be ideal if somehow there was a process that I could just send that data to and have it picked up remotely. Like if maybe Merlin have a special kind of peer that just received a stream of perfdata or something. Anything else I could imagine would be some kind of home-grown solution like say pumping events into a messaging system from the Nagios server(s) and then letting the graphing server pick them up from the message queue(s). I could also imagine some kind of fancy-pants module in Nagios 4 that did something like this, maybe. > Any thoughts would be appreciated. > Thanks > Mark > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Sven Nierlein Sven.Nierlein at consol.de ConSol* GmbH http://www.consol.de Franziskanerstrasse 38 Tel.:089/45841-439 81669 Muenchen Fax.:089/45841-111 ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dgrgicevic at gmail.com Wed Oct 3 18:48:19 2012 From: dgrgicevic at gmail.com (davor grgicevic) Date: Wed, 3 Oct 2012 18:48:19 +0200 Subject: solutions for off-server PNP4Nagios perfdata processing? In-Reply-To: <506C679E.7010100@consol.de> References: <506C679E.7010100@consol.de> Message-ID: Mark , possible solution could be SSD drive, the life span is about 5 years by 10 GB write / Day , maybe even more now.. and they are not expensive any more.. davor On Wed, Oct 3, 2012 at 6:28 PM, Sven Nierlein wrote: > Hi Mark, > > this could be done with Mod-Gearman which just puts all performance data > in the gearman message system > which then can be processed whereever you want. PNP4Nagios ships a gearman > worker daemon which then > processes your perfdata on a (or multiple) remote host. You could also put > the pnp gui there. > Details are the docs... > http://docs.pnp4nagios.org/pnp-0.6/config#gearman_mode > > Sven > > > On 10/3/12 16:33, Frost, Mark {BIS} wrote: > > Hello. Has anyone come up with solutions for processing Nagios > performance data on a server other than a Nagios server? We?ve been > processing perfdata results on our Nagios server(s) for a while now and > increasingly it?s just eating up too much I/O to make me comfortable. > > Yes, we do use rrdcached and yes, I realize that shuffling data around > on different disk spindles and controllers would help, but in today?s world > where companies don?t like building any kind of physical server let alone > one with all that additional hardware, that?s not entirely an option for us. > > I realize that once the perfdata files are on the dedicated graphing > server(s), processing them into RRD files there should be a no-brainer. My > problem is figuring out how to get them there without say, using a NAS > device. (If I/O?s a problem locally, I don?t want to shuffle that I/O to > an even slower network device). > > It would be ideal if somehow there was a process that I could just send > that data to and have it picked up remotely. Like if maybe Merlin have a > special kind of peer that just received a stream of perfdata or something. > Anything else I could imagine would be some kind of home-grown solution > like say pumping events into a messaging system from the Nagios server(s) > and then letting the graphing server pick them up from the message > queue(s). I could also imagine some kind of fancy-pants module in Nagios 4 > that did something like this, maybe. > > Any thoughts would be appreciated. > > Thanks > > Mark > > > > > > > ------------------------------------------------------------------------------ > > Don't let slow site performance ruin your business. Deploy New Relic APM > > Deploy New Relic app performance management and know exactly > > what is happening inside your Ruby, Python, PHP, Java, and .NET app > > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > > http://p.sf.net/sfu/newrelic-dev2dev > > > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > -- > Sven Nierlein Sven.Nierlein at consol.de > ConSol* GmbH http://www.consol.de > Franziskanerstrasse 38 Tel.:089/45841-439 > 81669 Muenchen Fax.:089/45841-111 > > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Davor Grgicevic -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From glowe11 at gmail.com Thu Oct 4 22:36:56 2012 From: glowe11 at gmail.com (grant lowe) Date: Thu, 4 Oct 2012 13:36:56 -0700 Subject: Timestamp and ps status Message-ID: I'm kind of new to nagios. I really like it so far. It does a lot of good checks. Is there a tool that checks for a running process and also checks the timestamp on the log file the process is writing to? Specifically I would like it so that the nagios check only returns OK if the process is running AND the log file is say, no more than 10 minutes old. I've been googling and I've seen tools that do one or the other but not both. Any help is appreciated! ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mail at catsnest.co.uk Sun Oct 7 15:18:56 2012 From: mail at catsnest.co.uk (RichTea) Date: Sun, 7 Oct 2012 14:18:56 +0100 Subject: Timestamp and ps status In-Reply-To: References: Message-ID: On Thu, Oct 4, 2012 at 9:36 PM, grant lowe wrote: > I'm kind of new to nagios. I really like it so far. It does a lot of > good checks. > > Is there a tool that checks for a running process and also checks the > timestamp on the log file the process is writing to? Specifically I > would like it so that the nagios check only returns OK if the process > is running AND the log file is say, no more than 10 minutes old. > > What is the advantage of one check over two? If you really need just the one check a bash / powershell scrip that ran both would not be that complicated to make. -- Ritchie > > I've been googling and I've seen tools that do one or the other but > not both. Any help is appreciated! > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From magr50 at telia.com Sun Oct 7 20:15:22 2012 From: magr50 at telia.com (Marek Grinberg) Date: Sun, 07 Oct 2012 20:15:22 +0200 Subject: check_mbean_collector cannot create socket Message-ID: <5071C6BA.6000306@telia.com> Hello, I have installed check_mbean_collector into /usr/lib/nagios/libexec, and tried it: # ./check_mbean_collector -H localhost -p 5566 -m jboss.system:type=ServerInfo -a ActiveThreadCount -w 200 -c 400 ERROR: could not create socket What have I missed ? Marek ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From magr50 at telia.com Sun Oct 7 20:23:46 2012 From: magr50 at telia.com (Marek Grinberg) Date: Sun, 07 Oct 2012 20:23:46 +0200 Subject: check_jboss_status errors off Message-ID: <5071C8B2.6040409@telia.com> Hello, After copying check_jboss_status.pl into /usr/local/nagios/libexec, I tried it: # ./check_jboss_status.pl -H tpstest.domain.com Unable to load status: Connection refused What have I missed ? Marek ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagiosusers at edcint.co.nz Mon Oct 8 00:20:59 2012 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Mon, 08 Oct 2012 09:20:59 +1100 Subject: Running the same plugin once vs. multiple times In-Reply-To: <002001cda0e1$3feec1f0$bfcc45d0$@us> References: <002001cda0e1$3feec1f0$bfcc45d0$@us> Message-ID: <5072004B.9090107@edcint.co.nz> On 3/10/2012 7:02 AM, Tech Support wrote: > > All; > > I wrote a plugin to collect data for a particular service. I > invoke the plugin with whatever parameter I want to return information > on. In fact, it collects information on about 30 different params at > once, then returns the data that I specified. For example, > ./get_sysinfo -p param1 or ./get_sysinfo -p param2, etc. It seems to > me to be a waste of resources to call the same script 30 times. Is it > possible to call the plugin once and return all the data (including > the performance data) at the same time? The benefit that I have > calling the same script 30 different times is that Nagiosgraph creates > a separate graph for each parameter and I don't want to lose that > ability. Any insight at all would be greatly appreciated. > > Thanks; > > John V. > > Yes you can pass all data including performance data back in one call. Here's an example output from check_wmi_plus Plugin data: Overall Status - OK (Sample Period 300 sec) - Logical Drive Name="C:" (OK) - _PercentIdleTime=99%, _PercentBusyTime=1%, _PercentDiskTime=1%, _PercentDiskReadTime=0%, _PercentDiskWriteTime=1%, _DiskReadBytesPersec=0B/sec, _DiskReadsPersec=0/sec, _DiskWriteBytesPersec=51.6KB/sec, _DiskWritesPersec=3/sec, CurrentDiskQueueLength=0, _AvgDiskQueueLength=0.0, _AvgDiskReadQueueLength=0.0, _AvgDiskWriteQueueLength=0.0 Performance Data: '_PercentIdleTimeC:'=99; '_PercentBusyTimeC:'=1; '_PercentDiskTimeC:'=1; '_PercentDiskReadTimeC:'=0; '_PercentDiskWriteTimeC:'=1; '_DiskReadBytesPersecC:'=0; '_DiskReadsPersecC:'=0; '_DiskWriteBytesPersecC:'=52838; '_DiskWritesPersecC:'=3; 'CurrentDiskQueueLengthC:'=0; '_AvgDiskQueueLengthC:'=0.0; '_AvgDiskReadQueueLengthC:'=0.0; '_AvgDiskWriteQueueLengthC:'=0.0; You just need to make sure all the field names (for perf data) are different. Something like PNP4Nagios will draw multiple graphs using output like that. If you didn't like returning it all at once you could: - You could rewrite the plugin to be run on a cron schedule. When it is run, collect all 30 bits of information and pass the data to Nagios as passive results to 30 different services. - You could rewrite the plugin to check multiple parameters at once eg 10 and then pass all 10 back to Nagios as an active plugin. Then just call it 3 times (making it parameter driven to return group1 data, group2 data group3 data etc) -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at flatto.net Mon Oct 8 12:39:56 2012 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 08 Oct 2012 11:39:56 +0100 Subject: check_mbean_collector cannot create socket In-Reply-To: <5071C6BA.6000306@telia.com> References: <5071C6BA.6000306@telia.com> Message-ID: <5072AD7C.8060509@flatto.net> On what IP is port 5566 listening ? Localhost is usually defined as 127.0.0.1 and most programs do not listen on the loop-back device . also for more accurate testing - always test as the nagios user not as root. On 07/10/12 19:15, Marek Grinberg wrote: > Hello, > > I have installed check_mbean_collector into /usr/lib/nagios/libexec, and > tried it: > > # ./check_mbean_collector -H localhost -p 5566 -m > jboss.system:type=ServerInfo -a ActiveThreadCount -w 200 -c 400 > > ERROR: could not create socket > > > What have I missed ? > > > Marek > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From leonardo at lbasolutions.com Mon Oct 8 13:15:23 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Mon, 8 Oct 2012 08:15:23 -0300 Subject: check_jboss_status errors off In-Reply-To: <5071C8B2.6040409@telia.com> References: <5071C8B2.6040409@telia.com> Message-ID: If you don't specify the port, it will use 8080 as default. is it correct in your case ? regards, On Sun, Oct 7, 2012 at 3:23 PM, Marek Grinberg wrote: > Hello, > > After copying check_jboss_status.pl into /usr/local/nagios/libexec, I > tried it: > > # ./check_jboss_status.pl -H tpstest.domain.com > > Unable to load status: Connection refused > > > What have I missed ? > > > Marek > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kirill.bychkov at gmail.com Mon Oct 8 16:52:19 2012 From: kirill.bychkov at gmail.com (Kirill Bychkov) Date: Mon, 8 Oct 2012 18:52:19 +0400 Subject: check services in the future Message-ID: Hello, I have nagios 3.2.3. Sometimes, the nagios want to check my services (not all) in the future. For example: Next Scheduled Check: 04-09-2014 08:26:08 But check interval: Normal Check Interval = 0h 5m 0s Usually, this situation occurs in services, which in down more than a one day. Issue of this problem: - stop nagios; - remove files objects.cache and retention.dat - start nagios Date on the server is correct. And problem occur always in different services. OS: debian, Nagios was installed from source. Why? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From P.Kaagman at atlascollege.nl Mon Oct 8 16:17:09 2012 From: P.Kaagman at atlascollege.nl (Peter Kaagman) Date: Mon, 8 Oct 2012 14:17:09 +0000 Subject: Repeating event handler in hard service state.... Message-ID: <221575E3CD5CE14484E2B53BEBF56606282E90@hermes.atlas.atlascollege.nl> Hi there list, As I understand service specific event handlers are triggered for every state change whenever a server is in a SOFT state, and once when a service enters a HARD state. Problem is that I have a service (an IPSEC tunnel) which is dependent on an outside source. If the outside party fails (whenever they do updates once a week) I actually kill the tunnel when attempting a restart. To solve this I would like to keep trying the restart. I could do this in a SOFT state by increasing the max check attempts to a higher number... but than I would never get a notification. Letting the service go to a HARD state (to get the notification) would limit the restart attempt to just the one event when the service enters the HARD state. I think there are 2 possibilities: - Keep the service in a SOFT state and send out a notification on attempt X. - Let the service go to a HARD state but keep on trying the restart. Is there anyway I could achieve this? Or am I completely missing something. Peter ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From magr50 at telia.com Mon Oct 8 19:25:12 2012 From: magr50 at telia.com (Marek Grinberg) Date: Mon, 08 Oct 2012 19:25:12 +0200 Subject: check_mbean_collector cannot create socket In-Reply-To: <5072AD7C.8060509@flatto.net> References: <5071C6BA.6000306@telia.com> <5072AD7C.8060509@flatto.net> Message-ID: <50730C77.5070900@telia.com> Sorry for bothering the list. As of today a collegue of me is assigned to work with Nagios. Marek Assaf Flatto skrev 2012-10-08 12:39: > On what IP is port 5566 listening ? > > Localhost is usually defined as 127.0.0.1 and most programs do not > listen on the loop-back device . > > also for more accurate testing - always test as the nagios user not as root. > > > > On 07/10/12 19:15, Marek Grinberg wrote: >> Hello, >> >> I have installed check_mbean_collector into /usr/lib/nagios/libexec, and >> tried it: >> >> # ./check_mbean_collector -H localhost -p 5566 -m >> jboss.system:type=ServerInfo -a ActiveThreadCount -w 200 -c 400 >> >> ERROR: could not create socket >> >> >> What have I missed ? >> >> >> Marek >> >> >> ------------------------------------------------------------------------------ >> Don't let slow site performance ruin your business. Deploy New Relic APM >> Deploy New Relic app performance management and know exactly >> what is happening inside your Ruby, Python, PHP, Java, and .NET app >> Try New Relic at no cost today and get our sweet Data Nerd shirt too! >> http://p.sf.net/sfu/newrelic-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From magr50 at telia.com Mon Oct 8 19:26:45 2012 From: magr50 at telia.com (Marek Grinberg) Date: Mon, 08 Oct 2012 19:26:45 +0200 Subject: check_jboss_status errors off In-Reply-To: References: <5071C8B2.6040409@telia.com> Message-ID: <50730CD5.3000305@telia.com> Yes, it is port 8080. Sorry for bothering the list. As of today a collegue of me is assigned to Nagios. Marek Leonardo Bacha Abrantes skrev 2012-10-08 13:15: > If you don't specify the port, it will use 8080 as default. is it > correct in your case ? > > > regards, > > > On Sun, Oct 7, 2012 at 3:23 PM, Marek Grinberg wrote: >> Hello, >> >> After copying check_jboss_status.pl into /usr/local/nagios/libexec, I >> tried it: >> >> # ./check_jboss_status.pl -H tpstest.domain.com >> >> Unable to load status: Connection refused >> >> >> What have I missed ? >> >> >> Marek >> >> ------------------------------------------------------------------------------ >> Don't let slow site performance ruin your business. Deploy New Relic APM >> Deploy New Relic app performance management and know exactly >> what is happening inside your Ruby, Python, PHP, Java, and .NET app >> Try New Relic at no cost today and get our sweet Data Nerd shirt too! >> http://p.sf.net/sfu/newrelic-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From florian_ernst at gmx.net Mon Oct 8 20:31:21 2012 From: florian_ernst at gmx.net (Florian Ernst) Date: Mon, 8 Oct 2012 20:31:21 +0200 Subject: NRPE: Unable to read output; but works when run under strace ... Message-ID: <20121008183121.GA3889@fernst.no-ip.org> Hello all, given a fairly well-running monitoring setup with about 18k services I thought I had understood the basics. However, the following leaves me clueless, and I hope I'm merely missing something obvious here: On an up-to-date Debian Squeeze (i386) OpenVZ guest I have established that my monitoring user can execute a given command: root at vserv08:/# sudo -u monitor -i /usr/lib/nagios/plugins/check_dummy 0 success; echo Exitcode: $? OK: success Exitcode: 0 So far, so good. Now entering NRPE, using a stripped-down config for illustrating the point: root at vserv08:/# grep -v -e '^$' -e '^#' /etc/nagios/nrpe.cfg debug=1 nrpe_user=monitor nrpe_group=monitor allowed_hosts=127.0.0.1 command[dummy]=/usr/lib/nagios/plugins/check_dummy 0 success root at vserv08:/# ps auxww | grep '[/]usr/sbin/nrpe' monitor 7215 0.0 0.1 3704 892 ? Ss 15:20 0:00 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d The process startup logged as follows: Oct 8 15:20:22 vserv08 nrpe[7214]: Added command[dummy]=/usr/lib/nagios/plugins/check_dummy 0 success Oct 8 15:20:22 vserv08 nrpe[7214]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Oct 8 15:20:22 vserv08 nrpe[7215]: Starting up daemon Oct 8 15:20:22 vserv08 nrpe[7215]: Listening for connections on port 5666 Oct 8 15:20:22 vserv08 nrpe[7215]: Allowing connections from: 127.0.0.1 However, executing the dummy command won't work: root at vserv08:/# /usr/lib/nagios/plugins/check_nrpe -H 127.0.0.1 -c dummy NRPE: Unable to read output This has been logged as: Oct 8 15:21:36 vserv08 nrpe[7234]: Connection from 127.0.0.1 port 48791 Oct 8 15:21:36 vserv08 nrpe[7234]: Host address is in allowed_hosts Oct 8 15:21:36 vserv08 nrpe[7234]: Handling the connection... Oct 8 15:21:36 vserv08 nrpe[7234]: Host is asking for command 'dummy' to be run... Oct 8 15:21:36 vserv08 nrpe[7234]: Running command: /usr/lib/nagios/plugins/check_dummy 0 success Oct 8 15:21:36 vserv08 nrpe[7234]: Command completed with return code 2 and output: Oct 8 15:21:36 vserv08 nrpe[7234]: Return Code: 2, Output: NRPE: Unable to read output Oct 8 15:21:36 vserv08 nrpe[7234]: Connection from 127.0.0.1 closed. This strikes me as weird: nrpe tries to execute the defined command, but somehow no output shows up. I know of the peculiarities that might arise once sudo joins the team or when permissions aren't set appropriately, but this doesn't apply here. Playing around with the dummy command (substituting a shell script, sprinkling '| tee -a logfile' into the code, ...) revealed that indeed the desired text output is generated but somehow gets discarded. Perhaps the monitoring user or even the whole system is subtly broken, but given that there are ~400 similiarily setup systems (all using the same workflow/automatisms for deploying the monitoring infrastructure) I was starting to wonder how that might have happened ... However, it got weirder: if I strace the nrpe process, everything works as desired: root at vserv08:/# strace -f -o /root/log -p 7215 And then in another terminal: root at vserv08:/# /usr/lib/nagios/plugins/check_nrpe -H 127.0.0.1 -c dummy OK: success Logged as follows: Oct 8 15:21:57 vserv08 nrpe[7240]: Connection from 127.0.0.1 port 37275 Oct 8 15:21:57 vserv08 nrpe[7240]: Host address is in allowed_hosts Oct 8 15:21:57 vserv08 nrpe[7240]: Handling the connection... Oct 8 15:21:57 vserv08 nrpe[7240]: Host is asking for command 'dummy' to be run... Oct 8 15:21:57 vserv08 nrpe[7240]: Running command: /usr/lib/nagios/plugins/check_dummy 0 success Oct 8 15:21:57 vserv08 nrpe[7240]: Command completed with return code 0 and output: OK: success Oct 8 15:21:57 vserv08 nrpe[7240]: Return Code: 0, Output: OK: success Oct 8 15:21:57 vserv08 nrpe[7240]: Connection from 127.0.0.1 closed. I found no further hints in the strace log, but this led me to assume that there is some NRPE weirdness involved, and thus I'm writing here instead of further digging through the system. Any ideas? Cheers, Flo ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From P.Kaagman at atlascollege.nl Mon Oct 8 23:49:19 2012 From: P.Kaagman at atlascollege.nl (Peter Kaagman) Date: Mon, 8 Oct 2012 21:49:19 +0000 Subject: check_mbean_collector cannot create socket In-Reply-To: <50730C77.5070900@telia.com> References: <5071C6BA.6000306@telia.com> <5072AD7C.8060509@flatto.net>,<50730C77.5070900@telia.com> Message-ID: Nrpe usually listen on port 5666. Not 5566. Verzonden vanaf Samsung Mobile Marek Grinberg schreef: Sorry for bothering the list. As of today a collegue of me is assigned to work with Nagios. Marek Assaf Flatto skrev 2012-10-08 12:39: > On what IP is port 5566 listening ? > > Localhost is usually defined as 127.0.0.1 and most programs do not > listen on the loop-back device . > > also for more accurate testing - always test as the nagios user not as root. > > > > On 07/10/12 19:15, Marek Grinberg wrote: >> Hello, >> >> I have installed check_mbean_collector into /usr/lib/nagios/libexec, and >> tried it: >> >> # ./check_mbean_collector -H localhost -p 5566 -m >> jboss.system:type=ServerInfo -a ActiveThreadCount -w 200 -c 400 >> >> ERROR: could not create socket >> >> >> What have I missed ? >> >> >> Marek >> >> >> ------------------------------------------------------------------------------ >> Don't let slow site performance ruin your business. Deploy New Relic APM >> Deploy New Relic app performance management and know exactly >> what is happening inside your Ruby, Python, PHP, Java, and .NET app >> Try New Relic at no cost today and get our sweet Data Nerd shirt too! >> http://p.sf.net/sfu/newrelic-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From P.Kaagman at atlascollege.nl Mon Oct 8 23:54:21 2012 From: P.Kaagman at atlascollege.nl (Peter Kaagman) Date: Mon, 8 Oct 2012 21:54:21 +0000 Subject: NRPE: Unable to read output; but works when run under strace ... In-Reply-To: <20121008183121.GA3889@fernst.no-ip.org> References: <20121008183121.GA3889@fernst.no-ip.org> Message-ID: <221575E3CD5CE14484E2B53BEBF56606283202@hermes.atlas.atlascollege.nl> Lol... had me going for a while to... for me the awnser was in the sudo config (visudo)... it required a user on a tty... I believe the directive was "requiretty". Disable that line and you'll be fine I think. Peter ________________________________________ Van: Florian Ernst [florian_ernst at gmx.net] Verzonden: maandag 8 oktober 2012 20:31 To: nagios-users at lists.sourceforge.net Onderwerp: [Nagios-users] NRPE: Unable to read output; but works when run under strace ... Hello all, given a fairly well-running monitoring setup with about 18k services I thought I had understood the basics. However, the following leaves me clueless, and I hope I'm merely missing something obvious here: On an up-to-date Debian Squeeze (i386) OpenVZ guest I have established that my monitoring user can execute a given command: root at vserv08:/# sudo -u monitor -i /usr/lib/nagios/plugins/check_dummy 0 success; echo Exitcode: $? OK: success Exitcode: 0 So far, so good. Now entering NRPE, using a stripped-down config for illustrating the point: root at vserv08:/# grep -v -e '^$' -e '^#' /etc/nagios/nrpe.cfg debug=1 nrpe_user=monitor nrpe_group=monitor allowed_hosts=127.0.0.1 command[dummy]=/usr/lib/nagios/plugins/check_dummy 0 success root at vserv08:/# ps auxww | grep '[/]usr/sbin/nrpe' monitor 7215 0.0 0.1 3704 892 ? Ss 15:20 0:00 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d The process startup logged as follows: Oct 8 15:20:22 vserv08 nrpe[7214]: Added command[dummy]=/usr/lib/nagios/plugins/check_dummy 0 success Oct 8 15:20:22 vserv08 nrpe[7214]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Oct 8 15:20:22 vserv08 nrpe[7215]: Starting up daemon Oct 8 15:20:22 vserv08 nrpe[7215]: Listening for connections on port 5666 Oct 8 15:20:22 vserv08 nrpe[7215]: Allowing connections from: 127.0.0.1 However, executing the dummy command won't work: root at vserv08:/# /usr/lib/nagios/plugins/check_nrpe -H 127.0.0.1 -c dummy NRPE: Unable to read output This has been logged as: Oct 8 15:21:36 vserv08 nrpe[7234]: Connection from 127.0.0.1 port 48791 Oct 8 15:21:36 vserv08 nrpe[7234]: Host address is in allowed_hosts Oct 8 15:21:36 vserv08 nrpe[7234]: Handling the connection... Oct 8 15:21:36 vserv08 nrpe[7234]: Host is asking for command 'dummy' to be run... Oct 8 15:21:36 vserv08 nrpe[7234]: Running command: /usr/lib/nagios/plugins/check_dummy 0 success Oct 8 15:21:36 vserv08 nrpe[7234]: Command completed with return code 2 and output: Oct 8 15:21:36 vserv08 nrpe[7234]: Return Code: 2, Output: NRPE: Unable to read output Oct 8 15:21:36 vserv08 nrpe[7234]: Connection from 127.0.0.1 closed. This strikes me as weird: nrpe tries to execute the defined command, but somehow no output shows up. I know of the peculiarities that might arise once sudo joins the team or when permissions aren't set appropriately, but this doesn't apply here. Playing around with the dummy command (substituting a shell script, sprinkling '| tee -a logfile' into the code, ...) revealed that indeed the desired text output is generated but somehow gets discarded. Perhaps the monitoring user or even the whole system is subtly broken, but given that there are ~400 similiarily setup systems (all using the same workflow/automatisms for deploying the monitoring infrastructure) I was starting to wonder how that might have happened ... However, it got weirder: if I strace the nrpe process, everything works as desired: root at vserv08:/# strace -f -o /root/log -p 7215 And then in another terminal: root at vserv08:/# /usr/lib/nagios/plugins/check_nrpe -H 127.0.0.1 -c dummy OK: success Logged as follows: Oct 8 15:21:57 vserv08 nrpe[7240]: Connection from 127.0.0.1 port 37275 Oct 8 15:21:57 vserv08 nrpe[7240]: Host address is in allowed_hosts Oct 8 15:21:57 vserv08 nrpe[7240]: Handling the connection... Oct 8 15:21:57 vserv08 nrpe[7240]: Host is asking for command 'dummy' to be run... Oct 8 15:21:57 vserv08 nrpe[7240]: Running command: /usr/lib/nagios/plugins/check_dummy 0 success Oct 8 15:21:57 vserv08 nrpe[7240]: Command completed with return code 0 and output: OK: success Oct 8 15:21:57 vserv08 nrpe[7240]: Return Code: 0, Output: OK: success Oct 8 15:21:57 vserv08 nrpe[7240]: Connection from 127.0.0.1 closed. I found no further hints in the strace log, but this led me to assume that there is some NRPE weirdness involved, and thus I'm writing here instead of further digging through the system. Any ideas? Cheers, Flo ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From BChan at Shawcor.com Mon Oct 8 23:54:55 2012 From: BChan at Shawcor.com (Brian Chan) Date: Mon, 8 Oct 2012 17:54:55 -0400 Subject: AUTO: Chan, Brian is away from the office (returning 10/10/2012) Message-ID: I am out of the office until 10/10/2012. I will respond to your message when I return. If this is a request for support, click here to open an ITRequest--:> mailto:itrequest at shawcor.com Alternatively, all questions can be directed to the Help Desk at 416-744-5557 Brian Chan Note: This is an automated response to your message "Nagios-users Digest, Vol 77, Issue 3" sent on 10/08/2012 17:54:47. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagiosusers at edcint.co.nz Tue Oct 9 00:27:20 2012 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Tue, 09 Oct 2012 09:27:20 +1100 Subject: Repeating event handler in hard service state.... In-Reply-To: <221575E3CD5CE14484E2B53BEBF56606282E90@hermes.atlas.atlascollege.nl> References: <221575E3CD5CE14484E2B53BEBF56606282E90@hermes.atlas.atlascollege.nl> Message-ID: <50735348.50002@edcint.co.nz> On 9/10/2012 1:17 AM, Peter Kaagman wrote: > Hi there list, > > As I understand service specific event handlers are triggered for every state change whenever a server is in a SOFT state, and once when a service enters a HARD state. > > Problem is that I have a service (an IPSEC tunnel) which is dependent on an outside source. If the outside party fails (whenever they do updates once a week) I actually kill the tunnel when attempting a restart. To solve this I would like to keep trying the restart. > > I could do this in a SOFT state by increasing the max check attempts to a higher number... but than I would never get a notification. Letting the service go to a HARD state (to get the notification) would limit the restart attempt to just the one event when the service enters the HARD state. > > I think there are 2 possibilities: > > - Keep the service in a SOFT state and send out a notification on attempt X. > - Let the service go to a HARD state but keep on trying the restart. > > Is there anyway I could achieve this? Or am I completely missing something. > > Peter > If you set the service to volatile if will run the event handler every time the service is not OK, even after multiple HARD states. The event handler at edcint.co.nz/checkwmiplus will also give you fine grain control over exactly what states the event handler should do something including specific text strings in the service output. This may add some flexibility so that you only restart the tunnel if you really need to. -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From DCeola at twgi.net Tue Oct 9 15:33:56 2012 From: DCeola at twgi.net (Daniel Ceola) Date: Tue, 9 Oct 2012 13:33:56 +0000 Subject: Host seemingly not following escalation rules Message-ID: <40B7337A7D70B149A34D5A0FD9FDFA8C2C981D75@twgiex.twgi.net> Hello all, I have a number of host objects that are sending notifications continuously (down notification every half hour for the duration of the outage), and aren't following my host escalation rules that are defined for the group. I've looked at my config files and can't seem to locate whatever is causing the set of hosts to not follow the escalation rules. It is a group of sites that are all members of the same host group, and use the same template. Below are the bits of config info pertaining to one individual host, it's template, contact group, host escalation and host group. If anyone could take a glance at it, to see if I'm missing something on why this set of hosts isn't following my escalation rules; or if you could point me towards something else that I need to look at, that'd be awesome. (for what it's worth, all of my other host escalation rules are working fine; it's just this group of hosts that don't seem to like following the rules that are screwing with me). define host { use cstore,host-pnp host_name 7608_Madeup_Avenue_Shell_Router alias 7608_Madeup_Avenue_Shell_Router address 10.6.8.31 hostgroups CStore-Sites } define hostgroup{ hostgroup_name CStore-Sites } define host{ name cstore use generic-switch notification_period workhours contact_groups cstore_contacts register 0 icon_image cstore.png statusmap_image cstore.gd2 notification_options d,r } define host{ name generic-switch use generic-host check_period 24x7 check_interval 5 retry_interval 1 max_check_attempts 10 check_command check-host-alive notification_period 24x7 notification_interval 30 notification_options d,r contact_groups admins register 0 } define hostescalation{ hostgroup_name CStore-Sites contact_groups cstore_contacts first_notification 3 last_notification 3 notification_interval 20 escalation_period workhours escalation_options d,r } define contactgroup{ contactgroup_name cstore_contacts alias Retail Support members usernames } Thanks, Daniel Ceola Systems & DB Admin The Wills Group 6355 Crain Hwy La Plata, MD 20646 301-932-3600 301-932-3643 (direct line) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at flatto.net Tue Oct 9 16:02:33 2012 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 09 Oct 2012 15:02:33 +0100 Subject: Host seemingly not following escalation rules In-Reply-To: <40B7337A7D70B149A34D5A0FD9FDFA8C2C981D75@twgiex.twgi.net> References: <40B7337A7D70B149A34D5A0FD9FDFA8C2C981D75@twgiex.twgi.net> Message-ID: <50742E79.1010300@flatto.net> And what is "host-pnp" ??? On 09/10/12 14:33, Daniel Ceola wrote: > > Hello all, > > I have a number of host objects that are sending notifications > continuously (down notification every half hour for the duration of > the outage), and aren't following my host escalation rules that are > defined for the group. I've looked at my config files and can't seem > to locate whatever is causing the set of hosts to not follow the > escalation rules. It is a group of sites that are all members of the > same host group, and use the same template. > > Below are the bits of config info pertaining to one individual host, > it's template, contact group, host escalation and host group. If > anyone could take a glance at it, to see if I'm missing something on > why this set of hosts isn't following my escalation rules; or if you > could point me towards something else that I need to look at, that'd > be awesome. (for what it's worth, all of my other host escalation > rules are working fine; it's just this group of hosts that don't seem > to like following the rules that are screwing with me). > > define host { > > use cstore,host-pnp > > host_name 7608_Madeup_Avenue_Shell_Router > > alias 7608_Madeup_Avenue_Shell_Router > > address 10.6.8.31 > > hostgroups CStore-Sites > > } > > define hostgroup{ > > hostgroup_name CStore-Sites > > } > > define host{ > > name cstore > > use generic-switch > > notification_period workhours > > contact_groups cstore_contacts > > register 0 > > icon_image cstore.png > > statusmap_image cstore.gd2 > > notification_options d,r > > } > > define host{ > > name generic-switch > > use generic-host > > check_period 24x7 > > check_interval 5 > > retry_interval 1 > > max_check_attempts 10 > > check_command check-host-alive > > notification_period 24x7 > > notification_interval 30 > > notification_options d,r > > contact_groups admins > > register 0 > > } > > define hostescalation{ > > hostgroup_name CStore-Sites > > contact_groups cstore_contacts > > first_notification 3 > > last_notification 3 > > notification_interval 20 > > escalation_period workhours > > escalation_options d,r > > } > > define contactgroup{ > > contactgroup_name cstore_contacts > > alias Retail Support > > members usernames > > } > > Thanks, > > Daniel Ceola > > Systems & DB Admin > > The Wills Group > > 6355 Crain Hwy > > La Plata, MD 20646 > > 301-932-3600 > > 301-932-3643 (direct line) > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From oogs at umich.edu Tue Oct 9 16:37:56 2012 From: oogs at umich.edu (Chris Baldwin) Date: Tue, 09 Oct 2012 10:37:56 -0400 Subject: Host seemingly not following escalation rules In-Reply-To: <50742E79.1010300@flatto.net> References: <40B7337A7D70B149A34D5A0FD9FDFA8C2C981D75@twgiex.twgi.net> <50742E79.1010300@flatto.net> Message-ID: <507436C4.6040204@umich.edu> It's probably a host definition used for pnp4nagios. It allows you to display/graph certain performance data. For more info: http://www.pnp4nagios.org/ -Chris B. On 10/9/12 10:02 AM, Assaf Flatto wrote: > And what is "host-pnp" ??? > > > On 09/10/12 14:33, Daniel Ceola wrote: >> >> Hello all, >> >> I have a number of host objects that are sending notifications >> continuously (down notification every half hour for the duration of >> the outage), and aren?t following my host escalation rules that are >> defined for the group. I?ve looked at my config files and can?t seem >> to locate whatever is causing the set of hosts to not follow the >> escalation rules. It is a group of sites that are all members of the >> same host group, and use the same template. >> >> Below are the bits of config info pertaining to one individual host, >> it?s template, contact group, host escalation and host group. If >> anyone could take a glance at it, to see if I?m missing something on >> why this set of hosts isn?t following my escalation rules; or if you >> could point me towards something else that I need to look at, that?d >> be awesome. (for what it?s worth, all of my other host escalation >> rules are working fine; it?s just this group of hosts that don?t seem >> to like following the rules that are screwing with me). >> >> define host { >> >> use cstore,host-pnp >> >> host_name 7608_Madeup_Avenue_Shell_Router >> >> alias 7608_Madeup_Avenue_Shell_Router >> >> address 10.6.8.31 >> >> hostgroups CStore-Sites >> >> } >> >> define hostgroup{ >> >> hostgroup_name CStore-Sites >> >> } >> >> define host{ >> >> name cstore >> >> use generic-switch >> >> notification_period workhours >> >> contact_groups cstore_contacts >> >> register 0 >> >> icon_image cstore.png >> >> statusmap_image cstore.gd2 >> >> notification_options d,r >> >> } >> >> define host{ >> >> name generic-switch >> >> use generic-host >> >> check_period 24x7 >> >> check_interval 5 >> >> retry_interval 1 >> >> max_check_attempts 10 >> >> check_command check-host-alive >> >> notification_period 24x7 >> >> notification_interval 30 >> >> notification_options d,r >> >> contact_groups admins >> >> register 0 >> >> } >> >> define hostescalation{ >> >> hostgroup_name CStore-Sites >> >> contact_groups cstore_contacts >> >> first_notification 3 >> >> last_notification 3 >> >> notification_interval 20 >> >> escalation_period workhours >> >> escalation_options d,r >> >> } >> >> define contactgroup{ >> >> contactgroup_name cstore_contacts >> >> alias Retail Support >> >> members usernames >> >> } >> >> Thanks, >> >> Daniel Ceola >> >> Systems & DB Admin >> >> The Wills Group >> >> 6355 Crain Hwy >> >> La Plata, MD 20646 >> >> 301-932-3600 >> >> 301-932-3643 (direct line) >> >> >> ------------------------------------------------------------------------------ >> Don't let slow site performance ruin your business. Deploy New Relic APM >> Deploy New Relic app performance management and know exactly >> what is happening inside your Ruby, Python, PHP, Java, and .NET app >> Try New Relic at no cost today and get our sweet Data Nerd shirt too! >> http://p.sf.net/sfu/newrelic-dev2dev >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 > > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at flatto.net Tue Oct 9 17:08:40 2012 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 09 Oct 2012 16:08:40 +0100 Subject: Host seemingly not following escalation rules In-Reply-To: <507436C4.6040204@umich.edu> References: <40B7337A7D70B149A34D5A0FD9FDFA8C2C981D75@twgiex.twgi.net> <50742E79.1010300@flatto.net> <507436C4.6040204@umich.edu> Message-ID: <50743DF8.2010907@flatto.net> On 09/10/12 15:37, Chris Baldwin wrote: > It's probably a host definition used for pnp4nagios. It allows you to > display/graph certain performance data. > > For more info: http://www.pnp4nagios.org/ > > -Chris B. Chris The name pnp sort of gave that away , but since he is using two templates to define the host , and one might override definitions , then he should inspect both when asking us to "debug" his config , hence the question . ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From florian_ernst at gmx.net Tue Oct 9 20:14:09 2012 From: florian_ernst at gmx.net (Florian Ernst) Date: Tue, 9 Oct 2012 20:14:09 +0200 Subject: NRPE: Unable to read output; but works when run under strace ... In-Reply-To: <221575E3CD5CE14484E2B53BEBF56606283202@hermes.atlas.atlascollege.nl> References: <20121008183121.GA3889@fernst.no-ip.org> <221575E3CD5CE14484E2B53BEBF56606283202@hermes.atlas.atlascollege.nl> Message-ID: <20121009181409.GL3889@fernst.no-ip.org> Hello Peter, thanks for your reply. However, as previously written, I know of the peculiarities that might arise once sudo joins the team, and in the issue at hand sudo is no more involved than being used for illustration purposes while the issue itself doesn't even remotely touch sudo at all. Furthermore, I never found any the necessity to deal with !requiretty on Debian, but indeed had to make use of this sudo option on RHEL. Still, no sudo involved in this case, sorry ... Cheers, Flo ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From DCeola at twgi.net Tue Oct 9 21:51:57 2012 From: DCeola at twgi.net (Daniel Ceola) Date: Tue, 9 Oct 2012 19:51:57 +0000 Subject: Host seemingly not following escalation rules In-Reply-To: <507436C4.6040204@umich.edu> References: <40B7337A7D70B149A34D5A0FD9FDFA8C2C981D75@twgiex.twgi.net> <50742E79.1010300@flatto.net> <507436C4.6040204@umich.edu> Message-ID: <40B7337A7D70B149A34D5A0FD9FDFA8C2C9821AE@twgiex.twgi.net> Correct, it was for pnp4nagios. Just a bit ago I finally realized my goof. In the host template definition that I titled "cstore" I had assigned the cstore contact group, instead of the 'default' nagios contact, so the users were getting emails from that. I have since changed it, and the hosts seem to properly be following the escalation definitions now. Thanks, Daniel Ceola -----Original Message----- From: Chris Baldwin [mailto:oogs at umich.edu] Sent: Tuesday, October 09, 2012 10:38 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Host seemingly not following escalation rules It's probably a host definition used for pnp4nagios. It allows you to display/graph certain performance data. For more info: http://www.pnp4nagios.org/ -Chris B. On 10/9/12 10:02 AM, Assaf Flatto wrote: > And what is "host-pnp" ??? > > > On 09/10/12 14:33, Daniel Ceola wrote: >> >> Hello all, >> >> I have a number of host objects that are sending notifications >> continuously (down notification every half hour for the duration of >> the outage), and aren't following my host escalation rules that are >> defined for the group. I've looked at my config files and can't seem >> to locate whatever is causing the set of hosts to not follow the >> escalation rules. It is a group of sites that are all members of the >> same host group, and use the same template. >> >> Below are the bits of config info pertaining to one individual host, >> it's template, contact group, host escalation and host group. If >> anyone could take a glance at it, to see if I'm missing something on >> why this set of hosts isn't following my escalation rules; or if you >> could point me towards something else that I need to look at, that'd >> be awesome. (for what it's worth, all of my other host escalation >> rules are working fine; it's just this group of hosts that don't seem >> to like following the rules that are screwing with me). >> >> define host { >> >> use cstore,host-pnp >> >> host_name 7608_Madeup_Avenue_Shell_Router >> >> alias 7608_Madeup_Avenue_Shell_Router >> >> address 10.6.8.31 >> >> hostgroups CStore-Sites >> >> } >> >> define hostgroup{ >> >> hostgroup_name CStore-Sites >> >> } >> >> define host{ >> >> name cstore >> >> use generic-switch >> >> notification_period workhours >> >> contact_groups cstore_contacts >> >> register 0 >> >> icon_image cstore.png >> >> statusmap_image cstore.gd2 >> >> notification_options d,r >> >> } >> >> define host{ >> >> name generic-switch >> >> use generic-host >> >> check_period 24x7 >> >> check_interval 5 >> >> retry_interval 1 >> >> max_check_attempts 10 >> >> check_command check-host-alive >> >> notification_period 24x7 >> >> notification_interval 30 >> >> notification_options d,r >> >> contact_groups admins >> >> register 0 >> >> } >> >> define hostescalation{ >> >> hostgroup_name CStore-Sites >> >> contact_groups cstore_contacts >> >> first_notification 3 >> >> last_notification 3 >> >> notification_interval 20 >> >> escalation_period workhours >> >> escalation_options d,r >> >> } >> >> define contactgroup{ >> >> contactgroup_name cstore_contacts >> >> alias Retail Support >> >> members usernames >> >> } >> >> Thanks, >> >> Daniel Ceola >> >> Systems & DB Admin >> >> The Wills Group >> >> 6355 Crain Hwy >> >> La Plata, MD 20646 >> >> 301-932-3600 >> >> 301-932-3643 (direct line) >> >> >> --------------------------------------------------------------------- >> --------- Don't let slow site performance ruin your business. Deploy >> New Relic APM Deploy New Relic app performance management and know >> exactly what is happening inside your Ruby, Python, PHP, Java, and >> .NET app Try New Relic at no cost today and get our sweet Data Nerd >> shirt too! >> http://p.sf.net/sfu/newrelic-dev2dev >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 > > > > ---------------------------------------------------------------------- > -------- Don't let slow site performance ruin your business. Deploy > New Relic APM Deploy New Relic app performance management and know > exactly what is happening inside your Ruby, Python, PHP, Java, and > .NET app Try New Relic at no cost today and get our sweet Data Nerd > shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From frnkblk at iname.com Wed Oct 10 05:33:57 2012 From: frnkblk at iname.com (Frank Bulk) Date: Tue, 9 Oct 2012 22:33:57 -0500 Subject: Repeating event handler in hard service state.... In-Reply-To: <221575E3CD5CE14484E2B53BEBF56606282E90@hermes.atlas.atlascollege.nl> References: <221575E3CD5CE14484E2B53BEBF56606282E90@hermes.atlas.atlascollege.nl> Message-ID: <000801cda698$14a945d0$3dfbd170$@iname.com> Simple script in cron... -----Original Message----- From: Peter Kaagman [mailto:P.Kaagman at atlascollege.nl] Sent: Monday, October 08, 2012 9:17 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Repeating event handler in hard service state.... Hi there list, As I understand service specific event handlers are triggered for every state change whenever a server is in a SOFT state, and once when a service enters a HARD state. Problem is that I have a service (an IPSEC tunnel) which is dependent on an outside source. If the outside party fails (whenever they do updates once a week) I actually kill the tunnel when attempting a restart. To solve this I would like to keep trying the restart. I could do this in a SOFT state by increasing the max check attempts to a higher number... but than I would never get a notification. Letting the service go to a HARD state (to get the notification) would limit the restart attempt to just the one event when the service enters the HARD state. I think there are 2 possibilities: - Keep the service in a SOFT state and send out a notification on attempt X. - Let the service go to a HARD state but keep on trying the restart. Is there anyway I could achieve this? Or am I completely missing something. Peter ---------------------------------------------------------------------------- -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From P.Kaagman at atlascollege.nl Wed Oct 10 05:51:10 2012 From: P.Kaagman at atlascollege.nl (Peter Kaagman) Date: Wed, 10 Oct 2012 03:51:10 +0000 Subject: Repeating event handler in hard service state.... In-Reply-To: <50735348.50002@edcint.co.nz> References: <221575E3CD5CE14484E2B53BEBF56606282E90@hermes.atlas.atlascollege.nl> <50735348.50002@edcint.co.nz> Message-ID: <221575E3CD5CE14484E2B53BEBF566062848B0@hermes.atlas.atlascollege.nl> Van: Matthew Jurgens [mailto:nagiosusers at edcint.co.nz] Verzonden: dinsdag 9 oktober 2012 0:27 Aan: Nagios Users List Onderwerp: Re: [Nagios-users] Repeating event handler in hard service state.... If you set the service to volatile if will run the event handler every time the service is not OK, even after multiple HARD states. The event handler at edcint.co.nz/checkwmiplus will also give you fine grain control over exactly what states the event handler should do something including specific text strings in the service output. This may add some flexibility so that you only restart the tunnel if you really need to. -- Smartmon System Monitoring www.smartmon.com.au [Peter Kaagman] Thanks... that did the trick. Did not solve the notification part. But I can live with that Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From P.Kaagman at atlascollege.nl Wed Oct 10 05:52:49 2012 From: P.Kaagman at atlascollege.nl (Peter Kaagman) Date: Wed, 10 Oct 2012 03:52:49 +0000 Subject: Repeating event handler in hard service state.... In-Reply-To: <000801cda698$14a945d0$3dfbd170$@iname.com> References: <221575E3CD5CE14484E2B53BEBF56606282E90@hermes.atlas.atlascollege.nl> <000801cda698$14a945d0$3dfbd170$@iname.com> Message-ID: <221575E3CD5CE14484E2B53BEBF566062848BB@hermes.atlas.atlascollege.nl> > -----Oorspronkelijk bericht----- > Van: Frank Bulk [mailto:frnkblk at iname.com] > Verzonden: woensdag 10 oktober 2012 5:34 > Aan: nagios-users at lists.sourceforge.net > Onderwerp: Re: [Nagios-users] Repeating event handler in hard service > state.... > > Simple script in cron... > [Peter Kaagman] That is in fact how it all started out for me: putting ping checks in cron jobs. ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From P.Kaagman at atlascollege.nl Wed Oct 10 06:00:16 2012 From: P.Kaagman at atlascollege.nl (Peter Kaagman) Date: Wed, 10 Oct 2012 04:00:16 +0000 Subject: NRPE: Unable to read output; but works when run under strace ... In-Reply-To: <20121009181409.GL3889@fernst.no-ip.org> References: <20121008183121.GA3889@fernst.no-ip.org> <221575E3CD5CE14484E2B53BEBF56606283202@hermes.atlas.atlascollege.nl> <20121009181409.GL3889@fernst.no-ip.org> Message-ID: <221575E3CD5CE14484E2B53BEBF56606285BFE@hermes.atlas.atlascollege.nl> > -----Oorspronkelijk bericht----- > Van: Florian Ernst [mailto:florian_ernst at gmx.net] > Verzonden: dinsdag 9 oktober 2012 20:14 > Aan: Nagios Users List > Onderwerp: Re: [Nagios-users] NRPE: Unable to read output; but works > when run under strace ... > > Hello Peter, > > thanks for your reply. > > However, as previously written, I know of the peculiarities that might arise > once sudo joins the team, and in the issue at hand sudo is no more involved > than being used for illustration purposes while the issue itself doesn't even > remotely touch sudo at all. > Furthermore, I never found any the necessity to deal with !requiretty on > Debian, but indeed had to make use of this sudo option on RHEL. Still, no > sudo involved in this case, sorry ... > > Cheers, > Flo [Peter Kaagman] Sorry that did not help you. Guess I should have read you post more closely... Peter ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From support at voipbusiness.us Wed Oct 10 21:10:13 2012 From: support at voipbusiness.us (Tech Support) Date: Wed, 10 Oct 2012 15:10:13 -0400 Subject: NRPE: Unable to read output; but works when run under strace ... In-Reply-To: <20121009181409.GL3889@fernst.no-ip.org> References: <20121008183121.GA3889@fernst.no-ip.org> <221575E3CD5CE14484E2B53BEBF56606283202@hermes.atlas.atlascollege.nl> <20121009181409.GL3889@fernst.no-ip.org> Message-ID: <008201cda71a$e0624fa0$a126eee0$@us> Whenever I've had a problem with a plugin, and was trying to figure out what was going on, I've had 100% success using a little PERL script called capture-plugin.pl that I found. You can find it here: http://www.waggy.at/nagios/capture_plugin.htm. You should check it out. It's genius is in its simplicity. Regards; John -----Original Message----- From: Florian Ernst [mailto:florian_ernst at gmx.net] Sent: Tuesday, October 09, 2012 2:14 PM To: Nagios Users List Subject: Re: [Nagios-users] NRPE: Unable to read output; but works when run under strace ... Hello Peter, thanks for your reply. However, as previously written, I know of the peculiarities that might arise once sudo joins the team, and in the issue at hand sudo is no more involved than being used for illustration purposes while the issue itself doesn't even remotely touch sudo at all. Furthermore, I never found any the necessity to deal with !requiretty on Debian, but indeed had to make use of this sudo option on RHEL. Still, no sudo involved in this case, sorry ... Cheers, Flo ---------------------------------------------------------------------------- -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jens.hyllegaard at softdesign.dk Fri Oct 12 09:57:04 2012 From: jens.hyllegaard at softdesign.dk (Jens Hyllegaard (Soft Design A/S)) Date: Fri, 12 Oct 2012 09:57:04 +0200 Subject: Problem with check_openmanage Message-ID: <6BA565D1AFD80E479DB529D08DFE476673E0E1A986@NTSERVER4.softdesign.dk> Hi. I am using version 3.7.6 of check_openmanage. I have disabled notifications for battery charge events in the call to check_openmanage but I still get notifications from Nagios. This is command line I use: $USER1$/check_openmanage -s -p -H $HOSTADDRESS$ -b ps=all -b bat_charge This is the current output from check_openmanage for one the servers. WARNING: Cache Battery 0 in controller 0 is Charging (Ready) [probably harmless] Please let me know if there is anything I can do to help with this. Regards Jens Hyllegaard -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From t.h.amundsen at usit.uio.no Fri Oct 12 10:57:57 2012 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Fri, 12 Oct 2012 10:57:57 +0200 Subject: Problem with check_openmanage In-Reply-To: <6BA565D1AFD80E479DB529D08DFE476673E0E1A986@NTSERVER4.softdesign.dk> (Jens Hyllegaard's message of "Fri, 12 Oct 2012 09:57:04 +0200") References: <6BA565D1AFD80E479DB529D08DFE476673E0E1A986@NTSERVER4.softdesign.dk> Message-ID: <15ta9vs83u2.fsf@tux.uio.no> "Jens Hyllegaard (Soft Design A/S)" writes: > I am using version 3.7.6 of check_openmanage. > > I have disabled notifications for battery charge events in the call to > check_openmanage but I still get notifications from Nagios. > > > > This is command line I use: > > $USER1$/check_openmanage -s -p -H $HOSTADDRESS$ -b ps=all -b bat_charge > > > > This is the current output from check_openmanage for one the servers. > > WARNING: Cache Battery 0 in controller 0 is Charging (Ready) [probably > harmless] Hello Jens, There is a slight typo in your command definition. Replace with: $USER1$/check_openmanage -s -p -H $HOSTADDRESS$ -b ps=all -b bat_charge=all ..and you should be fine :) Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jim.Melin at co.hennepin.mn.us Fri Oct 12 11:07:53 2012 From: Jim.Melin at co.hennepin.mn.us (Jim.Melin at co.hennepin.mn.us) Date: Fri, 12 Oct 2012 04:07:53 -0500 Subject: AUTO: On vacation. Out of the office and out of here. (returning 10/23/2012) Message-ID: I am out of the office until 10/23/2012. If this is an urgent issue please contact the Linux Administration team at it.linux.admins. Note: This is an automated response to your message "[Nagios-users] Problem with check_openmanage" sent on 10/12/2012 2:57:04 AM. This is the only notification you will receive while this person is away. Disclaimer: Information in this message or an attachment may be government data and thereby subject to the Minnesota Government Data Practices Act, Minnesota Statutes, Chapter 13, may be subject to attorney-client or work product privilege, may be confidential, privileged, proprietary, or otherwise protected, and the unauthorized review, copying, retransmission, or other use or disclosure of the information is strictly prohibited. If you are not the intended recipient of this message, please immediately notify the sender of the transmission error and then promptly delete this message from your computer system. ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jens.hyllegaard at softdesign.dk Fri Oct 12 14:17:32 2012 From: jens.hyllegaard at softdesign.dk (Jens Hyllegaard (Soft Design A/S)) Date: Fri, 12 Oct 2012 14:17:32 +0200 Subject: Problem with check_openmanage In-Reply-To: <15ta9vs83u2.fsf@tux.uio.no> References: <6BA565D1AFD80E479DB529D08DFE476673E0E1A986@NTSERVER4.softdesign.dk> <15ta9vs83u2.fsf@tux.uio.no> Message-ID: <6BA565D1AFD80E479DB529D08DFE476673E0E1AA19@NTSERVER4.softdesign.dk> Thank you for your swift reply. Sorry that I had to trouble you with my own stupidity :) Regards Jens -----Original Message----- From: Trond Hasle Amundsen [mailto:t.h.amundsen at usit.uio.no] Sent: 12. oktober 2012 10:58 To: Nagios Users List Subject: Re: [Nagios-users] Problem with check_openmanage "Jens Hyllegaard (Soft Design A/S)" writes: > I am using version 3.7.6 of check_openmanage. > > I have disabled notifications for battery charge events in the call to > check_openmanage but I still get notifications from Nagios. > > > > This is command line I use: > > $USER1$/check_openmanage -s -p -H $HOSTADDRESS$ -b ps=all -b > bat_charge > > > > This is the current output from check_openmanage for one the servers. > > WARNING: Cache Battery 0 in controller 0 is Charging (Ready) [probably > harmless] Hello Jens, There is a slight typo in your command definition. Replace with: $USER1$/check_openmanage -s -p -H $HOSTADDRESS$ -b ps=all -b bat_charge=all ..and you should be fine :) Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From support at voipbusiness.us Fri Oct 12 22:28:07 2012 From: support at voipbusiness.us (Tech Support) Date: Fri, 12 Oct 2012 16:28:07 -0400 Subject: Running the same plugin once vs. multiple times In-Reply-To: <5072004B.9090107@edcint.co.nz> References: <002001cda0e1$3feec1f0$bfcc45d0$@us> <5072004B.9090107@edcint.co.nz> Message-ID: <002a01cda8b8$1737e3c0$45a7ab40$@us> Thanks for the info. This is good stuff, it really is. Someone else suggested using check_mk, and I read over all of the documentation on it. It seems like it was written to solve this very problem, but it seems to be somewhat involved. What I was originally thinking of was something simpler, maybe running the plugin out of CRON like you said, and passing all of the results back to the Nagios machine via send_nsca. Is it possible to send all of the data back at once using that method? Otherwise, sending data back to Nagios 30 times seems somewhat counter-productive to what I want to accomplish. Thanks; John From: Matthew Jurgens [mailto:nagiosusers at edcint.co.nz] Sent: Sunday, October 07, 2012 6:21 PM To: Nagios Users List Subject: Re: [Nagios-users] Running the same plugin once vs. multiple times On 3/10/2012 7:02 AM, Tech Support wrote: All; I wrote a plugin to collect data for a particular service. I invoke the plugin with whatever parameter I want to return information on. In fact, it collects information on about 30 different params at once, then returns the data that I specified. For example, ./get_sysinfo -p param1 or ./get_sysinfo -p param2, etc. It seems to me to be a waste of resources to call the same script 30 times. Is it possible to call the plugin once and return all the data (including the performance data) at the same time? The benefit that I have calling the same script 30 different times is that Nagiosgraph creates a separate graph for each parameter and I don't want to lose that ability. Any insight at all would be greatly appreciated. Thanks; John V. Yes you can pass all data including performance data back in one call. Here's an example output from check_wmi_plus Plugin data: Overall Status - OK (Sample Period 300 sec) - Logical Drive Name="C:" (OK) - _PercentIdleTime=99%, _PercentBusyTime=1%, _PercentDiskTime=1%, _PercentDiskReadTime=0%, _PercentDiskWriteTime=1%, _DiskReadBytesPersec=0B/sec, _DiskReadsPersec=0/sec, _DiskWriteBytesPersec=51.6KB/sec, _DiskWritesPersec=3/sec, CurrentDiskQueueLength=0, _AvgDiskQueueLength=0.0, _AvgDiskReadQueueLength=0.0, _AvgDiskWriteQueueLength=0.0 Performance Data: '_PercentIdleTimeC:'=99; '_PercentBusyTimeC:'=1; '_PercentDiskTimeC:'=1; '_PercentDiskReadTimeC:'=0; '_PercentDiskWriteTimeC:'=1; '_DiskReadBytesPersecC:'=0; '_DiskReadsPersecC:'=0; '_DiskWriteBytesPersecC:'=52838; '_DiskWritesPersecC:'=3; 'CurrentDiskQueueLengthC:'=0; '_AvgDiskQueueLengthC:'=0.0; '_AvgDiskReadQueueLengthC:'=0.0; '_AvgDiskWriteQueueLengthC:'=0.0; You just need to make sure all the field names (for perf data) are different. Something like PNP4Nagios will draw multiple graphs using output like that. If you didn't like returning it all at once you could: - You could rewrite the plugin to be run on a cron schedule. When it is run, collect all 30 bits of information and pass the data to Nagios as passive results to 30 different services. - You could rewrite the plugin to check multiple parameters at once eg 10 and then pass all 10 back to Nagios as an active plugin. Then just call it 3 times (making it parameter driven to return group1 data, group2 data group3 data etc) -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From abhijeet.1989 at gmail.com Sat Oct 13 17:26:32 2012 From: abhijeet.1989 at gmail.com (Abhijeet R) Date: Sat, 13 Oct 2012 20:56:32 +0530 Subject: check_command value when command contains quotes Message-ID: <50798828.3040404@gmail.com> Hi, When I executed sudo -u nagios /usr/lib64/nagios/plugins/check_by_ssh.sh hostname "check_haproxy -u \"http://localhost:10000/haproxy?stats\;csv\"" from terminal of the nagios server box, I get no errors. But, on nagios, it said like "Return code of 127 is out of bounds ? plugin may be missing". In my host /etc/nagios/objects/services/haproxy.cfg file, check_command said something like: check_haproxy -u \"http://localhost:10000/haproxy?stats\;csv\" So, what am I missing? -- Cheers, Abhijeet R http://blog.abhijeetr.com ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From esteban at nuevaeralatam.com Sun Oct 14 03:41:28 2012 From: esteban at nuevaeralatam.com (Esteban Monge) Date: Sat, 13 Oct 2012 20:41:28 -0500 Subject: Two PHP projects Message-ID: <66af7c650277bb2358e363e3d4a97607.squirrel@www.nuevaeralatam.com> Hello: I am working in two php projects for Nagios. The first is a Dashboard for see all critical and warning acknowledge or not problems. Can check one image here: http://tinypic.com/view.php?pic=205ti7k&s=6 The other project is a Service Tree, similar to Service Status but with a tree. Can check one image here: http://tinypic.com/view.php?pic=11rxkpi&s=6 I want learn more about internationalization and Nagios standards, performance, the idea is free the projects for your pleasure!!! I use Livestatus Slave (1) for work with them. I have two conditions: -Pure PHP -Pure CSS No javascript. I need learn also about git or version systems for upload the projects. Thanks for you attention. (1) http://nagios.larsmichelsen.com/livestatusslave/ ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jamespifer at hotmail.com Sun Oct 14 17:09:38 2012 From: jamespifer at hotmail.com (James Pifer) Date: Sun, 14 Oct 2012 11:09:38 -0400 Subject: Can't get service failure(warning) to send notification Message-ID: I'm trying to add an http check to one of my hosts. It appears as though it is doing the check and correctly finding a problem, yet I am not getting any email notification. Below are the nagios config files: /etc/nagios/hosts.cfg and services.cfg. define host{ host_name login2.mycompany.com use generic-host alias login2.mycompany.com address login2.mycompany.com _HOST_ID 2923 hostgroups corporate check_command check_host_alive check_interval 5 retry_interval 5 check_period 24x7 contact_groups Notify_james notification_interval 10 first_notification_delay 1 notification_period 24x7 notification_options d notifications_enabled 1 } define service{ host_name login2.mycompany.com service_description check_http _SERVICE_ID 1879 use CheckHTTP check_command check_http max_check_attempts 5 normal_check_interval 5 retry_check_interval 1 active_checks_enabled 1 check_period 24x7 notification_interval 5 first_notification_delay 1 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups Notify_james contacts james } The contact_groups and contacts are definitely right as I get host down notifications from other hosts. My service template for CheckHTTP looks like: define service{ name CheckHTTP service_description CheckHTTP use generic-service is_volatile 0 check_command check_http max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 0 check_period 24x7 notification_period 24x7 notification_interval 5 notification_options w,u,c,r notifications_enabled 1 first_notification_delay 1 contact_groups Supervisors register 0 } Is there a way to make the check failure for CheckHTTP be a critical rather than a warning? Right now the warning shows: login2.mycompany.com check_http Warning login2.mycompany.com 22h 10m 51s 2012/10/11 8:18 HTTP WARNING: HTTP/1.1 404 Not Found - 1428 bytes in 0.020 second response time Any help is appreciated. Thanks, James ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagiosusers at edcint.co.nz Sun Oct 14 23:42:55 2012 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Mon, 15 Oct 2012 08:42:55 +1100 Subject: Running the same plugin once vs. multiple times In-Reply-To: <002a01cda8b8$1737e3c0$45a7ab40$@us> References: <002001cda0e1$3feec1f0$bfcc45d0$@us> <5072004B.9090107@edcint.co.nz> <002a01cda8b8$1737e3c0$45a7ab40$@us> Message-ID: <507B31DF.4010207@edcint.co.nz> On 13/10/2012 7:28 AM, Tech Support wrote: > > Thanks for the info. This is good stuff, it really is. Someone > else suggested using check_mk, and I read over all of the > documentation on it. It seems like it was written to solve this very > problem, but it seems to be somewhat involved. What I was originally > thinking of was something simpler, maybe running the plugin out of > CRON like you said, and passing all of the results back to the Nagios > machine via send_nsca. Is it possible to send all of the data back at > once using that method? Otherwise, sending data back to Nagios 30 > times seems somewhat counter-productive to what I want to accomplish. > > Thanks; > > John > > Just run your plugin once (via Nagios) and return all the data in one go. I replied earlier showing how you could do this (example) -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From booleanenator at gmail.com Mon Oct 15 02:25:12 2012 From: booleanenator at gmail.com (booleanenator at gmail.com) Date: Mon, 15 Oct 2012 00:25:12 +0000 Subject: Can't get service failure(warning) to send notification In-Reply-To: References: Message-ID: <195906452-1350260714-cardhu_decombobulator_blackberry.rim.net-1820421161-@b28.c17.bise6.blackberry> Did you set your contacts to be able to receive e-mail notifications? I actually make 2 contacts using the first as a template for the second. One recieves the e-mail and it is 24x7 and the second is the on call and uses a timeperiod that is part of the on-call rotation which I based on the documentation. Sent on the Sprint? Now Network from my BlackBerry? -----Original Message----- From: James Pifer Date: Sun, 14 Oct 2012 11:09:38 To: Reply-To: Nagios Users List Subject: [Nagios-users] Can't get service failure(warning) to send notification I'm trying to add an http check to one of my hosts. It appears as though it is doing the check and correctly finding a problem, yet I am not getting any email notification. Below are the nagios config files: /etc/nagios/hosts.cfg and services.cfg. define host{ host_name login2.mycompany.com use generic-host alias login2.mycompany.com address login2.mycompany.com _HOST_ID 2923 hostgroups corporate check_command check_host_alive check_interval 5 retry_interval 5 check_period 24x7 contact_groups Notify_james notification_interval 10 first_notification_delay 1 notification_period 24x7 notification_options d notifications_enabled 1 } define service{ host_name login2.mycompany.com service_description check_http _SERVICE_ID 1879 use CheckHTTP check_command check_http max_check_attempts 5 normal_check_interval 5 retry_check_interval 1 active_checks_enabled 1 check_period 24x7 notification_interval 5 first_notification_delay 1 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups Notify_james contacts james } The contact_groups and contacts are definitely right as I get host down notifications from other hosts. My service template for CheckHTTP looks like: define service{ name CheckHTTP service_description CheckHTTP use generic-service is_volatile 0 check_command check_http max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 0 check_period 24x7 notification_period 24x7 notification_interval 5 notification_options w,u,c,r notifications_enabled 1 first_notification_delay 1 contact_groups Supervisors register 0 } Is there a way to make the check failure for CheckHTTP be a critical rather than a warning? Right now the warning shows: login2.mycompany.com check_http Warning login2.mycompany.com 22h 10m 51s 2012/10/11 8:18 HTTP WARNING: HTTP/1.1 404 Not Found - 1428 bytes in 0.020 second response time Any help is appreciated. Thanks, James ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pitchfork at ederdrom.de Mon Oct 15 10:37:11 2012 From: pitchfork at ederdrom.de (Joerg Linge) Date: Mon, 15 Oct 2012 10:37:11 +0200 Subject: solutions for off-server PNP4Nagios perfdata processing? In-Reply-To: References: Message-ID: <2701B04B-14B5-46B4-AB6A-5A0847BCAE03@ederdrom.de> Am 03.10.2012 um 16:33 schrieb "Frost, Mark {BIS}" : > Hello. Has anyone come up with solutions for processing Nagios performance data on a server other than a Nagios server? We?ve been processing perfdata results on our Nagios server(s) for a while now and increasingly it?s just eating up too much I/O to make me comfortable. > > Yes, we do use rrdcached and yes, I realize that shuffling data around on different disk spindles and controllers would help, but in today?s world where companies don?t like building any kind of physical server let alone one with all that additional hardware, that?s not entirely an option for us. > > I realize that once the perfdata files are on the dedicated graphing server(s), processing them into RRD files there should be a no-brainer. My problem is figuring out how to get them there without say, using a NAS device. (If I/O?s a problem locally, I don?t want to shuffle that I/O to an even slower network device). > > It would be ideal if somehow there was a process that I could just send that data to and have it picked up remotely. Like if maybe Merlin have a special kind of peer that just received a stream of perfdata or something. Anything else I could imagine would be some kind of home-grown solution like say pumping events into a messaging system from the Nagios server(s) and then letting the graphing server pick them up from the message queue(s). I could also imagine some kind of fancy-pants module in Nagios 4 that did something like this, maybe. > > Any thoughts would be appreciated. > > Thanks Hi Mark, on your nagios servers use npcdmod.o to spool files and npcd to transfer them to a central pnp4nagios server via scp On the pnp4nagios server use npcd to process the perfdata files and write the rrds Joerg ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From florian_ernst at gmx.net Mon Oct 15 11:07:56 2012 From: florian_ernst at gmx.net (Florian Ernst) Date: Mon, 15 Oct 2012 11:07:56 +0200 Subject: NRPE: Unable to read output; but works when run under strace ... In-Reply-To: <008201cda71a$e0624fa0$a126eee0$@us> References: <20121008183121.GA3889@fernst.no-ip.org> <221575E3CD5CE14484E2B53BEBF56606283202@hermes.atlas.atlascollege.nl> <20121009181409.GL3889@fernst.no-ip.org> <008201cda71a$e0624fa0$a126eee0$@us> Message-ID: <20121015090756.GZ3889@fernst.no-ip.org> Hello John / Tech Support, thanks for your reply, and sorry for the delay in answering. On Wed, Oct 10, 2012 at 03:10:13PM -0400, Tech Support wrote: > Whenever I've had a problem with a plugin, and was trying to figure out > what was going on, I've had 100% success using a little PERL script called > capture-plugin.pl that I found. You can find it here: > http://www.waggy.at/nagios/capture_plugin.htm. You should check it out. It's > genius is in its simplicity. Well, it helps debugging plugin weirdness, but my problem lies with NRPE: a check doesn't work when TTBOMK it should work, and it actually works as desired when I strace the NRPE process. At the moment I see no plugin to debug, but thanks anyway. Cheers, Flo ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From daveyjatin at gmail.com Mon Oct 15 12:24:54 2012 From: daveyjatin at gmail.com (Jatin) Date: Mon, 15 Oct 2012 15:54:54 +0530 Subject: Getting Performance Data in PNP4Nagios but not from Nagios Message-ID: <507BE476.8050507@gmail.com> Hi I am coming back to Nagios after a gap of 2 years. So i might be out of touch with some of its new features. I have installed both Nagios 3.4.1 and PNP4Nagios 0.6 version perfectly. No issues are seen in the installation and i can view the UI of both the products. Earlier when i installed Nagios with PNP4Nagios , As soon as i install PNP4Nagios and configure it with synchronous mode i used to see the performance data in Nagios. But earlier when i used it , i used to see a RED Exploded ballon kind of an icon which i in turn click on it to view the performance data in another TAB which would eventually open the pnp4 graphs. With the current installation i am not seeing this link from the existing service that would eventually take me to view its performance data in PNP4. But when i view the PNP4 UI using the URL: http:///pnp4nagios , i can see the graphs fine. Its only that the link from Nagios UI to PNP4Nagios is not seen now. Could someone please help me in viewing this. I am kind of used to it and also love it that way. Appreciate your response in this regard. Thanks Jatin ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pitchfork at ederdrom.de Mon Oct 15 12:43:59 2012 From: pitchfork at ederdrom.de (Joerg Linge) Date: Mon, 15 Oct 2012 12:43:59 +0200 Subject: Getting Performance Data in PNP4Nagios but not from Nagios In-Reply-To: <507BE476.8050507@gmail.com> References: <507BE476.8050507@gmail.com> Message-ID: <98850009-B8B5-41C9-B7D2-6D550CD09E25@ederdrom.de> Am 15.10.2012 um 12:24 schrieb Jatin : > Hi > > I am coming back to Nagios after a gap of 2 years. So i might be out of > touch with some of its new features. I have installed both Nagios 3.4.1 > and PNP4Nagios 0.6 version perfectly. No issues are seen in the > installation and i can view the UI of both the products. > > Earlier when i installed Nagios with PNP4Nagios , As soon as i install > PNP4Nagios and configure it with synchronous mode i used to see the > performance data in Nagios. But earlier when i used it , i used to see a > RED Exploded ballon kind of an icon which i in turn click on it to view > the performance data in another TAB which would eventually open the pnp4 > graphs. > > With the current installation i am not seeing this link from the > existing service that would eventually take me to view its performance > data in PNP4. But when i view the PNP4 UI using the URL: > > http:///pnp4nagios , i can see the graphs fine. Its only > that the link from Nagios UI to PNP4Nagios is not seen now. > > Could someone please help me in viewing this. I am kind of used to it > and also love it that way. > > Appreciate your response in this regard. http://docs.pnp4nagios.org/pnp-0.6/webfe did you configure host and serviceextinfo ? Joerg ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From daveyjatin at gmail.com Mon Oct 15 13:29:44 2012 From: daveyjatin at gmail.com (Jatin) Date: Mon, 15 Oct 2012 16:59:44 +0530 Subject: Getting Performance Data in PNP4Nagios but not from Nagios In-Reply-To: <98850009-B8B5-41C9-B7D2-6D550CD09E25@ederdrom.de> References: <507BE476.8050507@gmail.com> <98850009-B8B5-41C9-B7D2-6D550CD09E25@ederdrom.de> Message-ID: <507BF3A8.7090601@gmail.com> On Monday 15 October 2012 04:13 PM, Joerg Linge wrote: > Am 15.10.2012 um 12:24 schrieb Jatin : > >> Hi >> >> I am coming back to Nagios after a gap of 2 years. So i might be out of >> touch with some of its new features. I have installed both Nagios 3.4.1 >> and PNP4Nagios 0.6 version perfectly. No issues are seen in the >> installation and i can view the UI of both the products. >> >> Earlier when i installed Nagios with PNP4Nagios , As soon as i install >> PNP4Nagios and configure it with synchronous mode i used to see the >> performance data in Nagios. But earlier when i used it , i used to see a >> RED Exploded ballon kind of an icon which i in turn click on it to view >> the performance data in another TAB which would eventually open the pnp4 >> graphs. >> >> With the current installation i am not seeing this link from the >> existing service that would eventually take me to view its performance >> data in PNP4. But when i view the PNP4 UI using the URL: >> >> http:///pnp4nagios , i can see the graphs fine. Its only >> that the link from Nagios UI to PNP4Nagios is not seen now. >> >> Could someone please help me in viewing this. I am kind of used to it >> and also love it that way. >> >> Appreciate your response in this regard. > http://docs.pnp4nagios.org/pnp-0.6/webfe > > did you configure host and serviceextinfo ? > > Joerg > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > Indeed , I got the step that i was missing. It works fine now except that the ballon has been changed to a graph which suites the feature. Thanks Joerg. Appreacite your direction in this regard. Thanks Jatin ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jamespifer at hotmail.com Mon Oct 15 14:08:52 2012 From: jamespifer at hotmail.com (James Pifer) Date: Mon, 15 Oct 2012 08:08:52 -0400 Subject: Can't get service failure(warning) to send notification In-Reply-To: <195906452-1350260714-cardhu_decombobulator_blackberry.rim.net-1820421161-@b28.c17.bise6.blackberry> References: <195906452-1350260714-cardhu_decombobulator_blackberry.rim.net-1820421161-@b28.c17.bise6.blackberry> Message-ID: On 10/14/2012 8:25 PM, booleanenator at gmail.com wrote: > Did you set your contacts to be able to receive e-mail notifications? I actually make 2 contacts using the first as a template for the second. One recieves the e-mail and it is 24x7 and the second is the on call and uses a timeperiod that is part of the on-call rotation which I based on the documentation. > Sent on the Sprint? Now Network from my BlackBerry? > Yes, I receive host down notifications already. Thanks, James ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mguthrie at nagios.com Mon Oct 15 16:31:47 2012 From: mguthrie at nagios.com (Mike Guthrie) Date: Mon, 15 Oct 2012 09:31:47 -0500 Subject: Two PHP projects In-Reply-To: <66af7c650277bb2358e363e3d4a97607.squirrel@www.nuevaeralatam.com> References: <66af7c650277bb2358e363e3d4a97607.squirrel@www.nuevaeralatam.com> Message-ID: <507C1E53.10704@nagios.com> On 10/13/2012 8:41 PM, Esteban Monge wrote: > Hello: > > I am working in two php projects for Nagios. > > The first is a Dashboard for see all critical and warning acknowledge or > not problems. > > Can check one image here: > http://tinypic.com/view.php?pic=205ti7k&s=6 > > The other project is a Service Tree, similar to Service Status but with a > tree. > > Can check one image here: > http://tinypic.com/view.php?pic=11rxkpi&s=6 > > I want learn more about internationalization and Nagios standards, > performance, the idea is free the projects for your pleasure!!! There are quite a few front-end projects already that might have some ideas. http://exchange.nagios.org/directory/Addons/Frontends-%28GUIs-and-CLIs%29/Web-Interfaces For internationalization, I'd look into gettext(). It's probably the easiest to implement for internationalization. For performance, if you're already using livestatus to fetch the data that will take care of most of the performance issues, the rest are simply a matter of coding efficiently. Don't loop through the status data more than once, don't process anything more than what you absolutely have to display on the page, etc. > > I use Livestatus Slave (1) for work with them. I have two conditions: > -Pure PHP > -Pure CSS > > No javascript. > I need learn also about git or version systems for upload the projects. > > Thanks for you attention. > > (1) http://nagios.larsmichelsen.com/livestatusslave/ > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jamespifer at hotmail.com Mon Oct 15 17:05:33 2012 From: jamespifer at hotmail.com (James Pifer) Date: Mon, 15 Oct 2012 11:05:33 -0400 Subject: Can't get service failure(warning) to send notification In-Reply-To: References: <195906452-1350260714-cardhu_decombobulator_blackberry.rim.net-1820421161-@b28.c17.bise6.blackberry> Message-ID: On 10/15/2012 8:08 AM, James Pifer wrote: > On 10/14/2012 8:25 PM, booleanenator at gmail.com wrote: >> Did you set your contacts to be able to receive e-mail notifications? I actually make 2 contacts using the first as a template for the second. One recieves the e-mail and it is 24x7 and the second is the on call and uses a timeperiod that is part of the on-call rotation which I based on the documentation. >> Sent on the Sprint? Now Network from my BlackBerry? >> > I made the service level go to OK, then I downed the web service so it's currently at a critical state and the State Type changed. Something is still stopping the notification from even being attempted. See Notification Information on screen shot here: http://www.obrien-pifer.com/ServiceOutage.png Thanks, James ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From abhijeet.1989 at gmail.com Mon Oct 15 18:12:37 2012 From: abhijeet.1989 at gmail.com (Abhijeet R) Date: Mon, 15 Oct 2012 21:42:37 +0530 Subject: Fwd: check_command value when command contains quotes and semi-colon In-Reply-To: <50798828.3040404@gmail.com> References: <50798828.3040404@gmail.com> Message-ID: <507C35F5.30202@gmail.com> Hi All, Can I get an answer to this? This is like very trivial for the nagios users show already use them. Hope to see a reply soon. -------- Original Message -------- Subject: check_command value when command contains quotes Date: Sat, 13 Oct 2012 20:56:32 +0530 From: Abhijeet R To: nagios-users at lists.sourceforge.net Hi, When I executed sudo -u nagios /usr/lib64/nagios/plugins/check_by_ssh.sh hostname "check_haproxy -u \"http://localhost:10000/haproxy?stats\;csv\"" from terminal of the nagios server box, I get no errors. But, on nagios, it said like "Return code of 127 is out of bounds ? plugin may be missing". In my host /etc/nagios/objects/services/haproxy.cfg file, check_command said something like: check_haproxy -u \"http://localhost:10000/haproxy?stats\;csv\" So, what am I missing? -- Cheers, Abhijeet R http://blog.abhijeetr.com ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From aldo.rivadeneira at gmail.com Mon Oct 15 18:47:09 2012 From: aldo.rivadeneira at gmail.com (Aldo Rivadeneira) Date: Mon, 15 Oct 2012 11:47:09 -0500 Subject: check_command value when command contains quotes In-Reply-To: <50798828.3040404@gmail.com> References: <50798828.3040404@gmail.com> Message-ID: On Sat, Oct 13, 2012 at 10:26 AM, Abhijeet R wrote: > Hi, > > When I executed > sudo -u nagios /usr/lib64/nagios/plugins/check_by_ssh.sh hostname > "check_haproxy -u \"http://localhost:10000/haproxy?stats\;csv\"" > > from terminal of the nagios server box, I get no errors. But, on nagios, > it said like > > "Return code of 127 is out of bounds ? plugin may be missing". > > In my host /etc/nagios/objects/services/haproxy.cfg file, check_command > said something like: > > check_haproxy -u \"http://localhost:10000/haproxy?stats\;csv\" > > So, what am I missing? > > -- > Cheers, > Abhijeet R > http://blog.abhijeetr.com > > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > hi! Im going to guess your configuration , in a better way to do this or what do i do is the following: i have my plugins under /usr/lib64/nagios/plugins I create a command in /etc/nagios/objects/commands.cfg with the following schema: define command{ command_name some_command_name command_line /bin/bash /usr/lib64/nagios/plugins/check_something -H "ARGUMENT" } So , with this template created i need to add this command to my services with this format : define service{ use some_name_service host_name HOSTNAME service_description SOME_DESCRIPTION check_command some_command_name #this is the name of the definition of the command template } GL! -- Aldo Rivadeneira Reyna -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From booleanenator at gmail.com Tue Oct 16 04:07:57 2012 From: booleanenator at gmail.com (booleanenator at gmail.com) Date: Tue, 16 Oct 2012 02:07:57 +0000 Subject: Can't get service failure(warning) to send notification In-Reply-To: References: <195906452-1350260714-cardhu_decombobulator_blackberry.rim.net-1820421161-@b28.c17.bise6.blackberry> Message-ID: <1690330-1350353280-cardhu_decombobulator_blackberry.rim.net-703935541-@b28.c17.bise6.blackberry> When I have issues like that, I turn up debugging in nagios.cfg then force the service to go critical with passive commands from the CGI. Remember that the debug options are additive, so only include what you need to figure out what is going on. I would say just from this conversation that it sounds like your either you timeperiods are incorrect/conflicting exclusions etc. or the notification command cannot be parsed correctly. Remember both the service and contact timeperiods have to overlap for a notification to be sent. Also, it only notifies when going into a hard state. If you have retries, it may require you to submit the critical passive state mutiple times. I usually disable active checks when I do this so a scheduled active check doesn't put the service into an okay state in the middle of forcing a hard critical. It would help to debug if you include the service definitions (including all templates inherited and explicitly included in the "use" line), contact definition, the relevant notification and check command definitions, and timeperiods. Sent on the Sprint? Now Network from my BlackBerry? -----Original Message----- From: James Pifer Date: Mon, 15 Oct 2012 11:05:33 To: Nagios Users List Reply-To: Nagios Users List Subject: Re: [Nagios-users] Can't get service failure(warning) to send notification On 10/15/2012 8:08 AM, James Pifer wrote: > On 10/14/2012 8:25 PM, booleanenator at gmail.com wrote: >> Did you set your contacts to be able to receive e-mail notifications? I actually make 2 contacts using the first as a template for the second. One recieves the e-mail and it is 24x7 and the second is the on call and uses a timeperiod that is part of the on-call rotation which I based on the documentation. >> Sent on the Sprint? Now Network from my BlackBerry? >> > I made the service level go to OK, then I downed the web service so it's currently at a critical state and the State Type changed. Something is still stopping the notification from even being attempted. See Notification Information on screen shot here: http://www.obrien-pifer.com/ServiceOutage.png Thanks, James ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Ollie.Campbell at bbh.co.uk Wed Oct 17 10:30:54 2012 From: Ollie.Campbell at bbh.co.uk (Ollie Campbell) Date: Wed, 17 Oct 2012 09:30:54 +0100 Subject: Cached results - No route to host Message-ID: Hello, We have a Nagios v3.3.1 installation running on Fedora. Yesterday we had a power outage which caused Nagios to forcibly power off. It was back up within a few hours but has not been reporting back correctly. 95% of checks on all hosts are fine, but some checks are complaining about 'no route to host'. If I force a rescheduled check on the services that are complaining everything goes back to being 'OK' once again. I've tried restarting Nagios, clearing the objects.cache. I can of course do this for all the problematic checks but want to know if there is a quicker way or if this is a bug. I've attached an example of what I mean. [image: Inline images 1] -- This transmission is from BBH Partners LLP, it is confidential and intended solely for the person or organisation to whom it is addressed. This transmission may contain confidential information within its content or any attachment. You should not copy, use or distribute in any way any of the information contained within this transmission other than in accordance with the prior written permission of an authorised BBH representative. Partnership Information: Registered name: BBH Partners LLP Registered office: 60 Kingly Street London W1B 5DS Place of registration: England and Wales Registered number: OC355051 Although all messages/file attachments passing through this gateway are scanned for viruses we cannot guarantee that any file is 100% virus-free. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Capture.PNG Type: image/png Size: 51514 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mark.frost1 at pepsico.com Wed Oct 17 14:45:59 2012 From: mark.frost1 at pepsico.com (Frost, Mark {BIS}) Date: Wed, 17 Oct 2012 08:45:59 -0400 Subject: Cached results - No route to host In-Reply-To: References: Message-ID: Ollie, In situations like these, I tend to go look up the actual command that Nagios is running (Configuration -> Services, say) and then run the command directly from a prompt on the Nagios server and try to debug that way. While I can't see how all the services on this particular host are running, it's generally a good sign that the other checks are running OK. What about the possibility of some DNS issue? Like this host you're checking somehow has 2 IP addresses only one of which is accessible from the Nagios server? That would be a situation that could be fairly easy to verify when running the command directly from the command prompt and possibly substitution IP addresses. I'm not aware of ever having seen an issue where something is cached within Nagios and is causing a problem, but we've definitely seen situations where OS issues like DNS, caching with nscd or even local /etc/hosts file entries have caused unexpected results. Mark From: Ollie Campbell [mailto:Ollie.Campbell at bbh.co.uk] Sent: Wednesday, October 17, 2012 4:31 AM To: Nagios Users List Subject: [Nagios-users] Cached results - No route to host Hello, We have a Nagios v3.3.1 installation running on Fedora. Yesterday we had a power outage which caused Nagios to forcibly power off. It was back up within a few hours but has not been reporting back correctly. 95% of checks on all hosts are fine, but some checks are complaining about 'no route to host'. If I force a rescheduled check on the services that are complaining everything goes back to being 'OK' once again. I've tried restarting Nagios, clearing the objects.cache. I can of course do this for all the problematic checks but want to know if there is a quicker way or if this is a bug. I've attached an example of what I mean. [cid:image001.png at 01CDAC43.CD116CF0] This transmission is from BBH Partners LLP, it is confidential and intended solely for the person or organisation to whom it is addressed. This transmission may contain confidential information within its content or any attachment. You should not copy, use or distribute in any way any of the information contained within this transmission other than in accordance with the prior written permission of an authorised BBH representative. Partnership Information: Registered name: BBH Partners LLP Registered office: 60 Kingly Street London W1B 5DS Place of registration: England and Wales Registered number: OC355051 Although all messages/file attachments passing through this gateway are scanned for viruses we cannot guarantee that any file is 100% virus-free. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 51514 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gilberto.nunes at selbetti.com.br Wed Oct 17 16:14:10 2012 From: gilberto.nunes at selbetti.com.br (Gilberto Ferreira) Date: Wed, 17 Oct 2012 11:14:10 -0300 (BRT) Subject: SNMP MIBS In-Reply-To: References: Message-ID: <665724171.306161.1350483250418.JavaMail.root@zimbra.selbetti.com.br> Hello Friends... I need to know what OI on MIB I need use in order to monitoring ink level on a certain printer, like Ricoh,Lexmark or other Network Printer. Somebody here know something about it??? Thanks for any kind of idea... Gilberto Nunes Ferreira ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jacob.Seeley at radispheregroup.com Wed Oct 17 16:31:09 2012 From: Jacob.Seeley at radispheregroup.com (Jacob Seeley) Date: Wed, 17 Oct 2012 10:31:09 -0400 Subject: hosts/services exposed to contact through groups Message-ID: <533013F7962AE543A0FA778BD216B8B6CA2BC3EA3D@EXCHANGE07.radreports.internal> Hello, I have a contact (nagios_user1) listed in a host (host1) and service (service1) definition. As expected, that contact can only view that host and service in the Nagios web interface (nagios_user1 can view host1 and service1); nagios_user1 cannot view other hosts/services - again, this is expected. What's not expected is nagios_user1 can view other hosts/services when viewing the hosts groups/services groups pages for which nagios_user1 is not listed as a contact for. Selecting these hosts/services displays an unauthorized page but I'm looking to not expose those other hosts/services through the host groups/services groups pages. Thoughts, suggestions? -- Jacob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From service at shdawson.com Wed Oct 17 16:41:45 2012 From: service at shdawson.com (Stephen H. Dawson) Date: Wed, 17 Oct 2012 10:41:45 -0400 Subject: SNMP MIBS In-Reply-To: <665724171.306161.1350483250418.JavaMail.root@zimbra.selbetti.com.br> References: <665724171.306161.1350483250418.JavaMail.root@zimbra.selbetti.com.br> Message-ID: <507EC3A9.6010607@shdawson.com> http://exchange.nagios.org/directory/Plugins/Hardware/Printers http://exchange.nagios.org/directory/Plugins/Hardware/Printers/SNMP-Printer-Check/details http://exchange.nagios.org/directory/Plugins/Uncategorized/Software/SNMP/Updated-check_print_toner/details Thank You, Stephen H. Dawson (865) 804-3454 http://www.linkedin.com/in/shdcs On 10/17/2012 10:14 AM, Gilberto Ferreira wrote: > Hello Friends... > > I need to know what OI on MIB I need use in order to monitoring ink level on a certain printer, like Ricoh,Lexmark or other Network Printer. > > Somebody here know something about it??? > > Thanks for any kind of idea... > > > > > Gilberto Nunes Ferreira > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jacob.Seeley at radispheregroup.com Wed Oct 17 16:39:03 2012 From: Jacob.Seeley at radispheregroup.com (Jacob Seeley) Date: Wed, 17 Oct 2012 10:39:03 -0400 Subject: SNMP MIBS In-Reply-To: <665724171.306161.1350483250418.JavaMail.root@zimbra.selbetti.com.br> References: <665724171.306161.1350483250418.JavaMail.root@zimbra.selbetti.com.br> Message-ID: <533013F7962AE543A0FA778BD216B8B6CA2BC3EA47@EXCHANGE07.radreports.internal> You first need to obtain the vendor's SNMP MIBs. For example, http://downloads.lexmark.com/downloads/pssd/LexmarkMibs.zip You can then extract what you want from there. -- Jacob -----Original Message----- From: Gilberto Ferreira [mailto:gilberto.nunes at selbetti.com.br] Sent: Wednesday, October 17, 2012 10:14 AM To: Nagios Users List Subject: [Nagios-users] SNMP MIBS Hello Friends... I need to know what OI on MIB I need use in order to monitoring ink level on a certain printer, like Ricoh,Lexmark or other Network Printer. Somebody here know something about it??? Thanks for any kind of idea... Gilberto Nunes Ferreira ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jpratt at norwich.edu Wed Oct 17 16:39:12 2012 From: jpratt at norwich.edu (James Pratt) Date: Wed, 17 Oct 2012 14:39:12 +0000 Subject: SNMP MIBS In-Reply-To: <665724171.306161.1350483250418.JavaMail.root@zimbra.selbetti.com.br> References: <665724171.306161.1350483250418.JavaMail.root@zimbra.selbetti.com.br> Message-ID: <591A34BAEC8DBF44AFAB2E127B4D8A8E250C22@NUEXCH1.norwich.edu> Hello, did you try any of these out? http://exchange.nagios.org/directory/Plugins/Hardware/Printers This one in particular looks like it may do what you need (?) http://exchange.nagios.org/directory/Plugins/Hardware/Printers/check_printer--2D-All-in-one-printer-check-suitable-for-most-devices/details Cheers, James -----Original Message----- From: Gilberto Ferreira [mailto:gilberto.nunes at selbetti.com.br] Sent: Wednesday, October 17, 2012 10:14 AM To: Nagios Users List Subject: [Nagios-users] SNMP MIBS Hello Friends... I need to know what OI on MIB I need use in order to monitoring ink level on a certain printer, like Ricoh,Lexmark or other Network Printer. Somebody here know something about it??? Thanks for any kind of idea... ---- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gilberto.nunes at selbetti.com.br Wed Oct 17 21:34:11 2012 From: gilberto.nunes at selbetti.com.br (Gilberto Ferreira) Date: Wed, 17 Oct 2012 16:34:11 -0300 (BRT) Subject: SNMP MIBS In-Reply-To: <591A34BAEC8DBF44AFAB2E127B4D8A8E250C22@NUEXCH1.norwich.edu> References: <591A34BAEC8DBF44AFAB2E127B4D8A8E250C22@NUEXCH1.norwich.edu> Message-ID: <1108610598.311461.1350502451558.JavaMail.root@zimbra.selbetti.com.br> Hi Thanks a lot... I'll try it... Gilberto Nunes Ferreira ----- Mensagem original ----- De: "James Pratt" Para: "Nagios Users List" Enviadas: Quarta-feira, 17 de Outubro de 2012 11:39:12 Assunto: Re: [Nagios-users] SNMP MIBS Hello, did you try any of these out? http://exchange.nagios.org/directory/Plugins/Hardware/Printers This one in particular looks like it may do what you need (?) http://exchange.nagios.org/directory/Plugins/Hardware/Printers/check_printer--2D-All-in-one-printer-check-suitable-for-most-devices/details Cheers, James -----Original Message----- From: Gilberto Ferreira [mailto:gilberto.nunes at selbetti.com.br] Sent: Wednesday, October 17, 2012 10:14 AM To: Nagios Users List Subject: [Nagios-users] SNMP MIBS Hello Friends... I need to know what OI on MIB I need use in order to monitoring ink level on a certain printer, like Ricoh,Lexmark or other Network Printer. Somebody here know something about it??? Thanks for any kind of idea... ---- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jamespifer at hotmail.com Wed Oct 17 21:34:04 2012 From: jamespifer at hotmail.com (James Pifer) Date: Wed, 17 Oct 2012 15:34:04 -0400 Subject: Can't get service failure(warning) to send notification In-Reply-To: <1690330-1350353280-cardhu_decombobulator_blackberry.rim.net-703935541-@b28.c17.bise6.blackberry> References: <195906452-1350260714-cardhu_decombobulator_blackberry.rim.net-1820421161-@b28.c17.bise6.blackberry> <1690330-1350353280-cardhu_decombobulator_blackberry.rim.net-703935541-@b28.c17.bise6.blackberry> Message-ID: On 10/15/2012 10:07 PM, booleanenator at gmail.com wrote: > When I have issues like that, I turn up debugging in nagios.cfg then force the service to go critical with passive commands from the CGI. Remember that the debug options are additive, so only include what you need to figure out what is going on. I would say just from this conversation that it sounds like your either you timeperiods are incorrect/conflicting exclusions etc. or the notification command cannot be parsed correctly. Remember both the service and contact timeperiods have to overlap for a notification to be sent. Also, it only notifies when going into a hard state. If you have retries, it may require you to submit the critical passive state mutiple times. I usually disable active checks when I do this so a scheduled active check doesn't put the service into an okay state in the middle of forcing a hard critical. > > It would help to debug if you include the service definitions (including all templates inherited and explicitly included in the "use" line), contact definition, the relevant notification and check command definitions, and timeperiods. > Sent on the Sprint? Now Network from my BlackBerry? > > I've been trying to figure out how to put nagios into debug like you are referring to. I did find a capture_plugin.pl which debug a plugin. That did work and might be useful someday, but not what you are referring to. Below is all the information around this check (I think). Please let me know if you see what might be causing the problem. Thanks, James Host: define host{ host_name login2.mycompany.com use generic-host alias login2.mycompany.com address login2.mycompany.com _HOST_ID 2923 parents Centreon-Server hostgroups corporate check_command check_host_alive max_check_attempts 5 check_interval 5 retry_interval 5 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 contact_groups Notify_james contacts james notification_interval 10 first_notification_delay 0 notification_period 24x7 notification_options d notifications_enabled 1 hostTemplates.cfg define host{ name generic-host alias generic-host check_command check_host_alive max_check_attempts 5 active_checks_enabled 1 passive_checks_enabled 0 check_period 24x7 contact_groups Supervisors notification_interval 0 notification_period 24x7 notification_options d,r notifications_enabled 0 register 0 } Services: define service{ host_name login2.mycompany.com service_description check_http _SERVICE_ID 1879 use CheckHTTP check_command check_http max_check_attempts 5 normal_check_interval 5 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 event_handler check_http event_handler_enabled 1 notification_interval 5 first_notification_delay 0 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups Notify_james contacts james } define service{ host_name login2.mycompany.com service_description ping _SERVICE_ID 1878 use Ping-LAN } Service Templates: define service{ name CheckHTTP service_description CheckHTTP use generic-service is_volatile 0 check_command check_http max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 0 check_period 24x7 event_handler check_http event_handler_enabled 1 notification_period 24x7 notification_interval 5 notification_options w,u,c,r notifications_enabled 1 first_notification_delay 1 contact_groups Supervisors register 0 } define service{ name Ping-LAN service_description Ping use generic-service check_command check_centreon_ping!3!200,20%!400,50% register 0 ;TEMPLATE-HOST-LINK generic-host } define service{ name generic-service service_description generic-service is_volatile 0 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 0 check_period 24x7 notification_period 24x7 notification_interval 0 notification_options w,c,r notifications_enabled 0 contact_groups Supervisors register 0 } define contact{ contact_name james alias james contactgroups Notify_james host_notification_period 24x7 service_notification_period 24x7 host_notification_options d service_notification_options n host_notification_commands host-notify-by-email service_notification_commands host-notify-by-email email james at mycompany.com } define contactgroup{ contactgroup_name Notify_james alias Notify_james members james } ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From leonardo at lbasolutions.com Wed Oct 17 21:38:31 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Wed, 17 Oct 2012 16:38:31 -0300 Subject: Host exclusion fail more 4 hosts Message-ID: Hey people, I created an group called Routers and I inserted my routers on. I don't want to check uptime of five routers, so, I created the exclusion as: host_name !R1,!R2,!R3,!R4,!R5. The problem is: *nagios only work up to four host*, because when I add more one host, I received the error below: Error: Could not expand hostgroups and/or hosts specified in service (config file '/etc/nagios/objects/router.cfg', starting on line 13) Error processing object config files!* *if I remove just one host, it worked. I didn't find anything on manual about limitations.* * define service{ use generic-service * hostgroup_name Routers* service_description Uptime max_check_attempts 5 normal_check_interval 10 retry_check_interval 3 contact_groups G-Prod check_command check_snmp!-C Mycommunity -o sysUpTime.0 notifications_enabled 0 * host_name !R1,!R2,!R3,!R4,!R5* } Can someone help me please ? many thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jamespifer at hotmail.com Wed Oct 17 21:47:04 2012 From: jamespifer at hotmail.com (James Pifer) Date: Wed, 17 Oct 2012 15:47:04 -0400 Subject: Can't get service failure(warning) to send notification In-Reply-To: References: <195906452-1350260714-cardhu_decombobulator_blackberry.rim.net-1820421161-@b28.c17.bise6.blackberry> <1690330-1350353280-cardhu_decombobulator_blackberry.rim.net-703935541-@b28.c17.bise6.blackberry> Message-ID: On 10/17/2012 3:34 PM, James Pifer wrote: > On 10/15/2012 10:07 PM, booleanenator at gmail.com wrote: >> When I have issues like that, I turn up debugging in nagios.cfg then force the service to go critical with passive commands from the CGI. Remember that the debug options are additive, so only include what you need to figure out what is going on. I would say just from this conversation that it sounds like your either you timeperiods are incorrect/conflicting exclusions etc. or the notification command cannot be parsed correctly. Remember both the service and contact timeperiods have to overlap for a notification to be sent. Also, it only notifies when going into a hard state. If you have retries, it may require you to submit the critical passive state mutiple times. I usually disable active checks when I do this so a scheduled active check doesn't put the service into an okay state in the middle of forcing a hard critical. >> >> It would help to debug if you include the service definitions (including all templates inherited and explicitly included in the "use" line), contact definition, the relevant notification and check command definitions, and timeperiods. >> Sent on the Sprint? Now Network from my BlackBerry? >> >> > I was re-reading my last message and saw the contact configuration for service notifications was set to (n)one. I change that to Critical and Warning and applied changes. Yahoo, I got a notification now from the service, but not quite what I expected. The service has a "Connection refused" message yet my notification is: Type:PROBLEM Host: login2.mycompany.com State: UP Address: login2.mycompany.com Info: PING OK - Packet loss = 0%, RTA = 1.25 ms Date/Time: 17-10-2012 Thanks, James ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jacob.Seeley at radispheregroup.com Wed Oct 17 21:50:42 2012 From: Jacob.Seeley at radispheregroup.com (Jacob Seeley) Date: Wed, 17 Oct 2012 15:50:42 -0400 Subject: Host exclusion fail more 4 hosts In-Reply-To: References: Message-ID: <533013F7962AE543A0FA778BD216B8B6CA2BC3EA8E@EXCHANGE07.radreports.internal> My guess is you don't have a host definition for the host (router) you've removed - once the undefined hostname was removed from the service definition, it works. -- Jacob From: Leonardo Bacha Abrantes [mailto:leonardo at lbasolutions.com] Sent: Wednesday, October 17, 2012 3:39 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Host exclusion fail more 4 hosts Hey people, I created an group called Routers and I inserted my routers on. I don't want to check uptime of five routers, so, I created the exclusion as: host_name !R1,!R2,!R3,!R4,!R5. The problem is: nagios only work up to four host, because when I add more one host, I received the error below: Error: Could not expand hostgroups and/or hosts specified in service (config file '/etc/nagios/objects/router.cfg', starting on line 13) Error processing object config files! if I remove just one host, it worked. I didn't find anything on manual about limitations. define service{ use generic-service hostgroup_name Routers service_description Uptime max_check_attempts 5 normal_check_interval 10 retry_check_interval 3 contact_groups G-Prod check_command check_snmp!-C Mycommunity -o sysUpTime.0 notifications_enabled 0 host_name !R1,!R2,!R3,!R4,!R5 } Can someone help me please ? many thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From leonardo at lbasolutions.com Wed Oct 17 22:03:09 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Wed, 17 Oct 2012 17:03:09 -0300 Subject: Host exclusion fail more 4 hosts In-Reply-To: <533013F7962AE543A0FA778BD216B8B6CA2BC3EA8E@EXCHANGE07.radreports.internal> References: <533013F7962AE543A0FA778BD216B8B6CA2BC3EA8E@EXCHANGE07.radreports.internal> Message-ID: Hi Jacob, sorry, but I don't understand very well...Router is a hostgroup with all my routers. did you mean remove the hostname ? It will work, however, all routers will monitoring uptime and I need to exclude five. The strange is that it worked up to 4 hosts very well, when I put more one: fail! totally crazy!! I'm lost... On Wed, Oct 17, 2012 at 4:50 PM, Jacob Seeley < Jacob.Seeley at radispheregroup.com> wrote: > My guess is you don?t have a host definition for the host (router) you?ve > removed ? once the undefined hostname was removed from the service > definition, it works.**** > > ** ** > > --**** > > *Jacob*** > > ** ** > > *From:* Leonardo Bacha Abrantes [mailto:leonardo at lbasolutions.com] > *Sent:* Wednesday, October 17, 2012 3:39 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Host exclusion fail more 4 hosts**** > > ** ** > > Hey people, > > > I created an group called Routers and I inserted my routers on. > I don't want to check uptime of five routers, so, I created the exclusion > as: host_name !R1,!R2,!R3,!R4,!R5. > > The problem is: *nagios only work up to four host*, because when I add > more one host, I received the error below: > > Error: Could not expand hostgroups and/or hosts specified in service > (config file '/etc/nagios/objects/router.cfg', starting on line 13) > Error processing object config files!* > > *if I remove just one host, it worked. I didn't find anything on manual > about limitations.* > * > > define service{ > use generic-service > * hostgroup_name Routers* > service_description Uptime > max_check_attempts 5 > normal_check_interval 10 > retry_check_interval 3 > contact_groups G-Prod > check_command check_snmp!-C Mycommunity -o > sysUpTime.0 > notifications_enabled 0 > * host_name !R1,!R2,!R3,!R4,!R5* > } > > > Can someone help me please ? > > many thanks!**** > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From booleanenator at gmail.com Thu Oct 18 00:40:58 2012 From: booleanenator at gmail.com (booleanenator at gmail.com) Date: Wed, 17 Oct 2012 22:40:58 +0000 Subject: Host exclusion fail more 4 hosts In-Reply-To: References: <533013F7962AE543A0FA778BD216B8B6CA2BC3EA8E@EXCHANGE07.radreports.internal> Message-ID: <760095928-1350513659-cardhu_decombobulator_blackberry.rim.net-404504372-@b28.c17.bise6.blackberry> Did you try making a group of the router you want to exclude and then exclude that on the hostgroup_name line instead? That may solve it although I agree it is weird that the host exclusion seems limited to 5 exclusions. The only other thing I can think of is that the Routers group only contains the 5 in question thus making the exclusion complete. But then why define the service in the first place? Sent on the Sprint? Now Network from my BlackBerry? -----Original Message----- From: Leonardo Bacha Abrantes Date: Wed, 17 Oct 2012 17:03:09 To: Nagios Users List Reply-To: Nagios Users List Subject: Re: [Nagios-users] Host exclusion fail more 4 hosts ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jamespifer at hotmail.com Thu Oct 18 02:31:18 2012 From: jamespifer at hotmail.com (James Pifer) Date: Wed, 17 Oct 2012 20:31:18 -0400 Subject: Can't get service failure(warning) to send notification In-Reply-To: References: <195906452-1350260714-cardhu_decombobulator_blackberry.rim.net-1820421161-@b28.c17.bise6.blackberry> <1690330-1350353280-cardhu_decombobulator_blackberry.rim.net-703935541-@b28.c17.bise6.blackberry> Message-ID: So at this point the service notification is working, but the problem is the notification itself does not tell me about the service issue. For example, it was a Critical event with "Connection refused". Now I have the web server running and it's a Warning event with "HTTP WARNING: HTTP/1.1 404 Not Found - 1428 bytes in 0.044 second response time", but the notification itself looks no different. Is it possible to configure the notification to include more information? Thanks James ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From frnkblk at iname.com Thu Oct 18 05:31:35 2012 From: frnkblk at iname.com (Frank Bulk) Date: Wed, 17 Oct 2012 22:31:35 -0500 Subject: Can't get service failure(warning) to send notification Message-ID: <000601cdace1$132e6880$398b3980$@iname.com> You can set up different checks looking for different failures. Frank -----Original Message----- From: James Pifer [mailto:jamespifer at hotmail.com] Sent: Wednesday, October 17, 2012 7:31 PM To: Nagios Users List Subject: Re: [Nagios-users] Can't get service failure(warning) to send notification So at this point the service notification is working, but the problem is the notification itself does not tell me about the service issue. For example, it was a Critical event with "Connection refused". Now I have the web server running and it's a Warning event with "HTTP WARNING: HTTP/1.1 404 Not Found - 1428 bytes in 0.044 second response time", but the notification itself looks no different. Is it possible to configure the notification to include more information? Thanks James ---------------------------------------------------------------------------- -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andrew at fulgent.co.uk Thu Oct 18 12:10:41 2012 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Thu, 18 Oct 2012 10:10:41 +0000 Subject: Performance Data from custom bash script Message-ID: Hello, I have a custom written bash script for checking my websites and trawling around them. Now I need to learn and understand now to get performance data into nagios from this script so I can graph with PNP4Nagios Can anybody give me any pointers on how to get performance output from this script? I am by no means a programmer so this I feel might be a steep learning curve? Thankyou -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jamespifer at hotmail.com Thu Oct 18 12:32:10 2012 From: jamespifer at hotmail.com (James Pifer) Date: Thu, 18 Oct 2012 06:32:10 -0400 Subject: Can't get service failure(warning) to send notification In-Reply-To: <000601cdace1$132e6880$398b3980$@iname.com> References: <000601cdace1$132e6880$398b3980$@iname.com> Message-ID: On 10/17/2012 11:31 PM, Frank Bulk wrote: > You can set up different checks looking for different failures. > > Frank > > The correct check is failing. On the Centreon screen I can see the Warning: "HTTP WARNING: HTTP/1.1 404 Not Found - 1428 bytes in 0.044 second response time" But the notification related to that warning (because I can see the notification count going up) is: SUBJECT: Host UP alert for login2.pca.com! BODY: ***** centreon Notification ***** Type:PROBLEM Host: login2.mycompany.com State: UP Address: login2.mycompany.com Info: PING OK - Packet loss = 0%, RTA = 0.94 ms Date/Time: 17-10-2012 The info seem to be coming from the Ping-LAN, not the CheckHTTP. Both services are associated to the host. It says Host UP, Type PROBELM. I would prefer to see something like Service DOWN, Type PROBLEM, and Info: "HTTP/1.1 404 Not Found - 1428 bytes in 0.044 second response time". Thanks, James ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dey.ranjib at gmail.com Thu Oct 18 12:40:46 2012 From: dey.ranjib at gmail.com (Ranjib Dey) Date: Thu, 18 Oct 2012 16:10:46 +0530 Subject: Performance Data from custom bash script In-Reply-To: References: Message-ID: just print a string in perf data format, i.e. pipe character , then label=value; e.g. OK this is fine | metric1=value1; for a more detailed reference: http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN201 On Thu, Oct 18, 2012 at 3:40 PM, Andrew Thompson wrote: > Hello,**** > > ** ** > > I have a custom written bash script for checking my websites and trawling > around them.**** > > ** ** > > Now I need to learn and understand now to get performance data into nagios > from this script so I can graph with PNP4Nagios**** > > ** ** > > Can anybody give me any pointers on how to get performance output from > this script?**** > > ** ** > > I am by no means a programmer so this I feel might be a steep learning > curve?**** > > ** ** > > Thankyou**** > > ** ** > > ** ** > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From leonardo at lbasolutions.com Thu Oct 18 13:28:02 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Thu, 18 Oct 2012 08:28:02 -0300 Subject: Host exclusion fail more 4 hosts In-Reply-To: <760095928-1350513659-cardhu_decombobulator_blackberry.rim.net-404504372-@b28.c17.bise6.blackberry> References: <533013F7962AE543A0FA778BD216B8B6CA2BC3EA8E@EXCHANGE07.radreports.internal> <760095928-1350513659-cardhu_decombobulator_blackberry.rim.net-404504372-@b28.c17.bise6.blackberry> Message-ID: Hey!! I'm configuring my nagios yet and the router group had 5 routers that I needed to make an exclusion. when I add more hosts in router group, the exclusion of my 5 hosts worked.!! many thanks!! On Wed, Oct 17, 2012 at 7:40 PM, wrote: > Did you try making a group of the router you want to exclude and then > exclude that on the hostgroup_name line instead? That may solve it although > I agree it is weird that the host exclusion seems limited to 5 exclusions. > The only other thing I can think of is that the Routers group only contains > the 5 in question thus making the exclusion complete. But then why define > the service in the first place? > Sent on the Sprint? Now Network from my BlackBerry? > > -----Original Message----- > From: Leonardo Bacha Abrantes > Date: Wed, 17 Oct 2012 17:03:09 > To: Nagios Users List > Reply-To: Nagios Users List > Subject: Re: [Nagios-users] Host exclusion fail more 4 hosts > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fireskyer at emailn.de Thu Oct 18 13:37:58 2012 From: fireskyer at emailn.de (john s.) Date: Thu, 18 Oct 2012 13:37:58 +0200 Subject: Problems with installing Noma Message-ID: os: ubuntu 10.04 lts omd.0.56 Hello List We are going to think about over to use the notification module Noma from the Netways Company in our nagios environment http://www.netways.de/de/produkte/nagios_icinga_addons/noma/ But if i use the configure option it comes the folowing error: checking for a BSD-compatible install... /usr/bin/install -c checking for perl... /usr/bin/perl checking for sed... /bin/sed checking for sendmail... /usr/sbin/sendmail checking for user icinga... yes checking for group www... checking for group www-data... yes checking for perl module YAML::Syck... ok checking for perl module Getopt::Long... ok checking for perl module Pod::Usage... ok checking for perl module Digest::MD5... ok checking for perl module POSIX... ok checking for perl module Data::Dumper... ok checking for perl module Thread::Queue... ok checking for perl module IO::Select... ok checking for perl module IO::Socket... ok checking for perl module Fcntl... ok checking for perl module FindBin... ok checking for perl module DBI... ok checking for perl module DateTime::TimeZone... ok checking for perl module DateTime::Format::Strptime... ok checking for perl module Date::Calc... ok checking for perl module Hash::Merge::Simple... no configure: error: Missing perl modules So he need more perl modules.. but i don't know which modules i need how i can find this out...? best regards john s. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at flatto.net Thu Oct 18 14:26:29 2012 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 18 Oct 2012 13:26:29 +0100 Subject: Problems with installing Noma In-Reply-To: References: Message-ID: <507FF575.7060602@flatto.net> On 18/10/12 12:37, john s. wrote: > os: ubuntu 10.04 lts > omd.0.56 > > > Hello List > > > We are going to think about over to use the notification module Noma from > the Netways Company in our nagios environment > > http://www.netways.de/de/produkte/nagios_icinga_addons/noma/ > > > But if i use the configure option it comes the folowing error: > > > checking for a BSD-compatible install... /usr/bin/install -c > checking for perl... /usr/bin/perl > checking for sed... /bin/sed > checking for sendmail... /usr/sbin/sendmail > checking for user icinga... yes > checking for group www... checking for group www-data... yes > checking for perl module YAML::Syck... ok > checking for perl module Getopt::Long... ok > checking for perl module Pod::Usage... ok > checking for perl module Digest::MD5... ok > checking for perl module POSIX... ok > checking for perl module Data::Dumper... ok > checking for perl module Thread::Queue... ok > checking for perl module IO::Select... ok > checking for perl module IO::Socket... ok > checking for perl module Fcntl... ok > checking for perl module FindBin... ok > checking for perl module DBI... ok > checking for perl module DateTime::TimeZone... ok > checking for perl module DateTime::Format::Strptime... ok > checking for perl module Date::Calc... ok it tells you right here : > checking for perl module Hash::Merge::Simple... no This is the module you need. > configure: error: Missing perl modules > > So he need more perl modules.. but i don't know which modules i need > > how i can find this out...? > > > best regards john s. > -- Assaf Flatto Aiki Linux Consulting http://www.aikilinux.co.uk ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fireskyer at emailn.de Thu Oct 18 15:19:26 2012 From: fireskyer at emailn.de (john s.) Date: Thu, 18 Oct 2012 15:19:26 +0200 Subject: Problems with installing Noma In-Reply-To: <507FF575.7060602@flatto.net> References: <507FF575.7060602@flatto.net> Message-ID: Hello Assaf Oh sorry i had still overlooked this mea culpa thnx for helping regards john s. Am 18.10.2012, 14:26 Uhr, schrieb Assaf Flatto : > On 18/10/12 12:37, john s. wrote: >> os: ubuntu 10.04 lts >> omd.0.56 >> >> >> Hello List >> >> >> We are going to think about over to use the notification module Noma >> from >> the Netways Company in our nagios environment >> >> http://www.netways.de/de/produkte/nagios_icinga_addons/noma/ >> >> >> But if i use the configure option it comes the folowing error: >> >> >> checking for a BSD-compatible install... /usr/bin/install -c >> checking for perl... /usr/bin/perl >> checking for sed... /bin/sed >> checking for sendmail... /usr/sbin/sendmail >> checking for user icinga... yes >> checking for group www... checking for group www-data... yes >> checking for perl module YAML::Syck... ok >> checking for perl module Getopt::Long... ok >> checking for perl module Pod::Usage... ok >> checking for perl module Digest::MD5... ok >> checking for perl module POSIX... ok >> checking for perl module Data::Dumper... ok >> checking for perl module Thread::Queue... ok >> checking for perl module IO::Select... ok >> checking for perl module IO::Socket... ok >> checking for perl module Fcntl... ok >> checking for perl module FindBin... ok >> checking for perl module DBI... ok >> checking for perl module DateTime::TimeZone... ok >> checking for perl module DateTime::Format::Strptime... ok >> checking for perl module Date::Calc... ok > it tells you right here : > >> checking for perl module Hash::Merge::Simple... no > > This is the module you need. >> configure: error: Missing perl modules >> >> So he need more perl modules.. but i don't know which modules i need >> >> how i can find this out...? >> >> >> best regards john s. >> > -- > Assaf Flatto > Aiki Linux Consulting > http://www.aikilinux.co.uk > > -- Erstellt mit Operas revolution?rem E-Mail-Modul: http://www.opera.com/mail/ ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From useenu.u at gmail.com Thu Oct 18 09:56:14 2012 From: useenu.u at gmail.com (Srinivasan Ugendiran) Date: Thu, 18 Oct 2012 13:26:14 +0530 Subject: Regardig check_oracle configuration. Message-ID: Hi, I'm not that much expert in linux. But I need to configure nagios in my organization, Where we are using Oracle db servers. I need to check the status of the oracle usig nagios. I tried check_oracle_instant, which ends with error, so I planned to try check_oracle, but i dont know the configuration. Please help in configure any of the above th monitor the oracle. Also let me know the requirements for this plugins. -- Thanks & Regards, Srinivasan. U -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From leonardo at lbasolutions.com Thu Oct 18 21:42:45 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Thu, 18 Oct 2012 16:42:45 -0300 Subject: Force host assume up when services are up Message-ID: Hey guys! I'm monitoring my external dns server with these configuration in nagios with these configuration: define host{ host_name myserver notes External primary DNS notifications_enabled 0 notification_interval 0 max_check_attempts 5 * #### initial_state o =====> It doesn't worked* contact_groups xxxxx } define service{ use generic-service service_description Response Test max_check_attempts 3 normal_check_interval 7 retry_check_interval 2 contact_groups xxxxxx check_command check_external_dns!www.mysite.com !xxx.xxx.xxx.xxx!yyy.yyy.yyy.yyy host_name myserver } it's working, however, nagios is not assuming the host is up. How can I configure nagios to assume an host is up when the services of it are up ? PS: The same configuration worked on nagios versions 2.9 and 1.4. nagios: 3.4.1 can anyone help me please ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From booleanenator at gmail.com Thu Oct 18 22:17:15 2012 From: booleanenator at gmail.com (booleanenator at gmail.com) Date: Thu, 18 Oct 2012 20:17:15 +0000 Subject: Problems with installing Noma In-Reply-To: References: Message-ID: <983614095-1350591438-cardhu_decombobulator_blackberry.rim.net-1918895152-@b28.c17.bise6.blackberry> The line above indicates he need Hash::Merge::Simple. Install that one and try again. If it stops again, install what is indicated as missing. Sent on the Sprint? Now Network from my BlackBerry? -----Original Message----- From: "john s." Date: Thu, 18 Oct 2012 13:37:58 To: Reply-To: Nagios Users List Subject: [Nagios-users] Problems with installing Noma os: ubuntu 10.04 lts omd.0.56 Hello List We are going to think about over to use the notification module Noma from the Netways Company in our nagios environment http://www.netways.de/de/produkte/nagios_icinga_addons/noma/ But if i use the configure option it comes the folowing error: checking for a BSD-compatible install... /usr/bin/install -c checking for perl... /usr/bin/perl checking for sed... /bin/sed checking for sendmail... /usr/sbin/sendmail checking for user icinga... yes checking for group www... checking for group www-data... yes checking for perl module YAML::Syck... ok checking for perl module Getopt::Long... ok checking for perl module Pod::Usage... ok checking for perl module Digest::MD5... ok checking for perl module POSIX... ok checking for perl module Data::Dumper... ok checking for perl module Thread::Queue... ok checking for perl module IO::Select... ok checking for perl module IO::Socket... ok checking for perl module Fcntl... ok checking for perl module FindBin... ok checking for perl module DBI... ok checking for perl module DateTime::TimeZone... ok checking for perl module DateTime::Format::Strptime... ok checking for perl module Date::Calc... ok checking for perl module Hash::Merge::Simple... no configure: error: Missing perl modules So he need more perl modules.. but i don't know which modules i need how i can find this out...? best regards john s. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at flatto.net Fri Oct 19 13:05:13 2012 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 19 Oct 2012 12:05:13 +0100 Subject: Force host assume up when services are up In-Reply-To: References: Message-ID: <508133E9.2090302@flatto.net> You can use the same command defined for the service to be the check_command for the server. version 3 has changes significlly from version 3 and also has some of the configuration directives. you should read the updated docs on the changes and on the new configuration. On 18/10/12 20:42, Leonardo Bacha Abrantes wrote: > Hey guys! > > I'm monitoring my external dns server with these configuration in > nagios with these configuration: > > define host{ > host_name myserver > notes External primary DNS > notifications_enabled 0 > notification_interval 0 > max_check_attempts 5 > * #### initial_state o =====> It doesn't worked* > contact_groups xxxxx > } > > > define service{ > use generic-service > service_description Response Test > max_check_attempts 3 > normal_check_interval 7 > retry_check_interval 2 > contact_groups xxxxxx > check_command check_external_dns!www.mysite.com > !xxx.xxx.xxx.xxx!yyy.yyy.yyy.yyy > host_name myserver > } > > > it's working, however, nagios is not assuming the host is up. How can > I configure nagios to assume an host is up when the services of it are > up ? > PS: The same configuration worked on nagios versions 2.9 and 1.4. > > nagios: 3.4.1 > > can anyone help me please ? > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fireskyer at emailn.de Fri Oct 19 13:50:32 2012 From: fireskyer at emailn.de (john s.) Date: Fri, 19 Oct 2012 13:50:32 +0200 Subject: Problems with installing Noma In-Reply-To: <507FF575.7060602@flatto.net> References: <507FF575.7060602@flatto.net> Message-ID: Hello So far so good the Noma Daemon is starting and i can see the Login Screen from Noma but i couldn't login with the username icinga Here is my config.log after the make configure Config.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by noma configure 1, which was generated by GNU Autoconf 2.67. Invocation command line was $ ./configure --with-plugindir=/opt/omd/versions/0.56/lib/icinga/plugins --with-cmdpipe=/opt/omd/sites/omd056/tmp/run/icinga.cmd --with-user=omdadmin --with-group=omdadmin ## --------- ## ## Platform. ## ## --------- ## hostname = ubuntu66 uname -m = i686 uname -r = 2.6.32-38-generic-pae uname -s = Linux uname -v = #83-Ubuntu SMP Wed Jan 4 12:11:13 UTC 2012 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/X11R6/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1713: checking for a BSD-compatible install configure:1781: result: /usr/bin/install -c configure:1794: checking for perl configure:1812: found /usr/bin/perl configure:1825: result: /usr/bin/perl configure:1835: checking for sed configure:1853: found /bin/sed configure:1866: result: /bin/sed configure:1876: checking for sendmail configure:1895: found /usr/sbin/sendmail configure:1908: result: /usr/sbin/sendmail configure:1928: checking for user icinga configure:1938: result: yes configure:1954: checking for group www configure:1954: checking for group www-data configure:1964: result: yes configure:2111: checking for perl module YAML::Syck configure:2121: result: ok configure:2111: checking for perl module Getopt::Long configure:2121: result: ok configure:2111: checking for perl module Pod::Usage configure:2121: result: ok configure:2111: checking for perl module Digest::MD5 configure:2121: result: ok configure:2111: checking for perl module POSIX configure:2121: result: ok configure:2111: checking for perl module Data::Dumper configure:2121: result: ok configure:2111: checking for perl module Thread::Queue configure:2121: result: ok configure:2111: checking for perl module IO::Select configure:2121: result: ok configure:2111: checking for perl module IO::Socket configure:2121: result: ok configure:2111: checking for perl module Fcntl configure:2121: result: ok configure:2111: checking for perl module FindBin configure:2121: result: ok configure:2111: checking for perl module DBI configure:2121: result: ok configure:2111: checking for perl module DateTime::TimeZone configure:2121: result: ok configure:2111: checking for perl module DateTime::Format::Strptime configure:2121: result: ok configure:2111: checking for perl module Date::Calc configure:2121: result: ok configure:2111: checking for perl module Hash::Merge::Simple configure:2121: result: ok configure:2188: checking for perl module DBD::SQLite configure:2198: result: ok configure:2265: checking for perl module DBD::mysql configure:2275: result: ok configure:2457: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by noma config.status 1, which was generated by GNU Autoconf 2.67. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on ubuntu66 config.status:735: creating var/Makefile config.status:735: creating contrib/Makefile config.status:735: creating doc/Makefile config.status:735: creating share/Makefile config.status:735: creating share/config/Makefile config.status:735: creating etc/Makefile config.status:735: creating sql/Makefile config.status:735: creating Makefile config.status:735: creating notifier/Makefile config.status:735: creating subst.sh configure:3484: result: Configuration Options configure:3486: result: configure:3488: result: Install directory: /usr/local/noma configure:3490: result: NoMa user/group: omdadmin/omdadmin configure:3492: result: Webserver group: www-data configure:3494: result: Command pipe: /opt/omd/sites/omd056/tmp/run/icinga.cmd configure:3496: result: Plugin directory: /opt/omd/versions/0.56/lib/icinga/plugins ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_path_PERL=/usr/bin/perl ac_cv_path_SED=/bin/sed ac_cv_path_SENDMAIL=/usr/sbin/sendmail ac_cv_path_install='/usr/bin/install -c' ## ----------------- ## ## Output variables. ## ## ----------------- ## DEFS='-DPACKAGE_NAME=\"noma\" -DPACKAGE_TARNAME=\"noma\" -DPACKAGE_VERSION=\"1\" -DPACKAGE_STRING=\"noma\ 1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"' ECHO_C='' ECHO_N='-n' ECHO_T='' INSTALLOPTS='-o omdadmin -g omdadmin' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LIBOBJS='' LIBS='' LTLIBOBJS='' NAGIOSLIBEXEC='/opt/omd/versions/0.56/lib/icinga/plugins' NAGIOSPIPE='/opt/omd/sites/omd056/tmp/run/icinga.cmd' PACKAGE_BUGREPORT='' PACKAGE_NAME='noma' PACKAGE_STRING='noma 1' PACKAGE_TARNAME='noma' PACKAGE_URL='' PACKAGE_VERSION='1' PATH_SEPARATOR=':' PERL='/usr/bin/perl' RUNAS='omdadmin' RUNASGRP='omdadmin' SED='/bin/sed' SENDMAIL='/usr/sbin/sendmail' SHELL='/bin/bash' VERSION='2.0.3' WWWRUNASGRP='www-data' bindir='${exec_prefix}/bin' build_alias='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host_alias='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local/noma' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "noma" #define PACKAGE_TARNAME "noma" #define PACKAGE_VERSION "1" #define PACKAGE_STRING "noma 1" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" configure: exit 0 I thought everything is allright. The apachelog gives no error. The noma Debug log file also. I don't know why i can't login. regards john s. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From leonardo at lbasolutions.com Fri Oct 19 15:06:27 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Fri, 19 Oct 2012 10:06:27 -0300 Subject: Force host assume up when services are up In-Reply-To: <508133E9.2090302@flatto.net> References: <508133E9.2090302@flatto.net> Message-ID: Hi Assaf, it's possible to use another command to check host alive like check_http. It works, however, why in old nagios it was not necessary and I didn't nothing different. if just one service is up, nagios have to assume the machine is up. I could'nt make it works yet :( I fount a topic in nagios manual that reported the nagios do it without extra configurations. On Fri, Oct 19, 2012 at 8:05 AM, Assaf Flatto wrote: > ** > You can use the same command defined for the service to be the > check_command for the server. > > version 3 has changes significlly from version 3 and also has some of the > configuration directives. > > you should read the updated docs on the changes and on the new > configuration. > > > > > On 18/10/12 20:42, Leonardo Bacha Abrantes wrote: > > Hey guys! > > I'm monitoring my external dns server with these configuration in nagios > with these configuration: > > define host{ > host_name myserver > notes External primary DNS > notifications_enabled 0 > notification_interval 0 > max_check_attempts 5 > * #### initial_state o =====> It doesn't worked* > contact_groups xxxxx > } > > > define service{ > use generic-service > service_description Response Test > max_check_attempts 3 > normal_check_interval 7 > retry_check_interval 2 > contact_groups xxxxxx > check_command check_external_dns!www.mysite.com > !xxx.xxx.xxx.xxx!yyy.yyy.yyy.yyy > host_name myserver > } > > > it's working, however, nagios is not assuming the host is up. How can I > configure nagios to assume an host is up when the services of it are up ? > PS: The same configuration worked on nagios versions 2.9 and 1.4. > > nagios: 3.4.1 > > can anyone help me please ? > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today:http://p.sf.net/sfu/appdyn_sfd2d_oct > > > _______________________________________________ > Nagios-users mailing listNagios-users at 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 > > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From yribbens at nagios.com Fri Oct 19 16:44:52 2012 From: yribbens at nagios.com (Yancy Ribbens) Date: Fri, 19 Oct 2012 09:44:52 -0500 Subject: Problems with installing Noma In-Reply-To: References: <507FF575.7060602@flatto.net> Message-ID: <50816764.9080704@nagios.com> John, Contact Netways. This is not a Nagios issue. -Yancy Yancy Ribbens --- Tech Team yribbens at nagios.com On 10/19/2012 6:50 AM, john s. wrote: > Hello > > So far so good the Noma Daemon is starting and i can see the Login Screen > from Noma > > but i couldn't login with the username icinga > > > Here is my config.log after the make configure > > > Config.log: > > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. > > It was created by noma configure 1, which was > generated by GNU Autoconf 2.67. Invocation command line was > > $ ./configure --with-plugindir=/opt/omd/versions/0.56/lib/icinga/plugins > --with-cmdpipe=/opt/omd/sites/omd056/tmp/run/icinga.cmd > --with-user=omdadmin --with-group=omdadmin > > ## --------- ## > ## Platform. ## > ## --------- ## > > hostname = ubuntu66 > uname -m = i686 > uname -r = 2.6.32-38-generic-pae > uname -s = Linux > uname -v = #83-Ubuntu SMP Wed Jan 4 12:11:13 UTC 2012 > > /usr/bin/uname -p = unknown > /bin/uname -X = unknown > > /bin/arch = unknown > /usr/bin/arch -k = unknown > /usr/convex/getsysinfo = unknown > /usr/bin/hostinfo = unknown > /bin/machine = unknown > /usr/bin/oslevel = unknown > /bin/universe = unknown > > PATH: /usr/local/sbin > PATH: /usr/local/bin > PATH: /usr/sbin > PATH: /usr/bin > PATH: /sbin > PATH: /bin > PATH: /usr/X11R6/bin > > > ## ----------- ## > ## Core tests. ## > ## ----------- ## > > configure:1713: checking for a BSD-compatible install > configure:1781: result: /usr/bin/install -c > configure:1794: checking for perl > configure:1812: found /usr/bin/perl > configure:1825: result: /usr/bin/perl > configure:1835: checking for sed > configure:1853: found /bin/sed > configure:1866: result: /bin/sed > configure:1876: checking for sendmail > configure:1895: found /usr/sbin/sendmail > configure:1908: result: /usr/sbin/sendmail > configure:1928: checking for user icinga > configure:1938: result: yes > configure:1954: checking for group www > configure:1954: checking for group www-data > configure:1964: result: yes > configure:2111: checking for perl module YAML::Syck > configure:2121: result: ok > configure:2111: checking for perl module Getopt::Long > configure:2121: result: ok > configure:2111: checking for perl module Pod::Usage > configure:2121: result: ok > configure:2111: checking for perl module Digest::MD5 > configure:2121: result: ok > configure:2111: checking for perl module POSIX > configure:2121: result: ok > configure:2111: checking for perl module Data::Dumper > configure:2121: result: ok > configure:2111: checking for perl module Thread::Queue > configure:2121: result: ok > configure:2111: checking for perl module IO::Select > configure:2121: result: ok > configure:2111: checking for perl module IO::Socket > configure:2121: result: ok > configure:2111: checking for perl module Fcntl > configure:2121: result: ok > configure:2111: checking for perl module FindBin > configure:2121: result: ok > configure:2111: checking for perl module DBI > configure:2121: result: ok > configure:2111: checking for perl module DateTime::TimeZone > configure:2121: result: ok > configure:2111: checking for perl module DateTime::Format::Strptime > configure:2121: result: ok > configure:2111: checking for perl module Date::Calc > configure:2121: result: ok > configure:2111: checking for perl module Hash::Merge::Simple > configure:2121: result: ok > configure:2188: checking for perl module DBD::SQLite > configure:2198: result: ok > configure:2265: checking for perl module DBD::mysql > configure:2275: result: ok > configure:2457: creating ./config.status > > ## ---------------------- ## > ## Running config.status. ## > ## ---------------------- ## > > This file was extended by noma config.status 1, which was > generated by GNU Autoconf 2.67. Invocation command line was > > CONFIG_FILES = > CONFIG_HEADERS = > CONFIG_LINKS = > CONFIG_COMMANDS = > $ ./config.status > > on ubuntu66 > > config.status:735: creating var/Makefile > config.status:735: creating contrib/Makefile > config.status:735: creating doc/Makefile > config.status:735: creating share/Makefile > config.status:735: creating share/config/Makefile > config.status:735: creating etc/Makefile > config.status:735: creating sql/Makefile > config.status:735: creating Makefile > config.status:735: creating notifier/Makefile > config.status:735: creating subst.sh > configure:3484: result: Configuration Options > configure:3486: result: > configure:3488: result: Install directory: /usr/local/noma > configure:3490: result: NoMa user/group: omdadmin/omdadmin > configure:3492: result: Webserver group: www-data > configure:3494: result: Command pipe: > /opt/omd/sites/omd056/tmp/run/icinga.cmd > configure:3496: result: Plugin directory: > /opt/omd/versions/0.56/lib/icinga/plugins > > ## ---------------- ## > ## Cache variables. ## > ## ---------------- ## > > ac_cv_env_build_alias_set= > ac_cv_env_build_alias_value= > ac_cv_env_host_alias_set= > ac_cv_env_host_alias_value= > ac_cv_env_target_alias_set= > ac_cv_env_target_alias_value= > ac_cv_path_PERL=/usr/bin/perl > ac_cv_path_SED=/bin/sed > ac_cv_path_SENDMAIL=/usr/sbin/sendmail > ac_cv_path_install='/usr/bin/install -c' > > ## ----------------- ## > ## Output variables. ## > ## ----------------- ## > > DEFS='-DPACKAGE_NAME=\"noma\" -DPACKAGE_TARNAME=\"noma\" > -DPACKAGE_VERSION=\"1\" -DPACKAGE_STRING=\"noma\ 1\" > -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"' > ECHO_C='' > ECHO_N='-n' > ECHO_T='' > INSTALLOPTS='-o omdadmin -g omdadmin' > INSTALL_DATA='${INSTALL} -m 644' > INSTALL_PROGRAM='${INSTALL}' > INSTALL_SCRIPT='${INSTALL}' > LIBOBJS='' > LIBS='' > LTLIBOBJS='' > NAGIOSLIBEXEC='/opt/omd/versions/0.56/lib/icinga/plugins' > NAGIOSPIPE='/opt/omd/sites/omd056/tmp/run/icinga.cmd' > PACKAGE_BUGREPORT='' > PACKAGE_NAME='noma' > PACKAGE_STRING='noma 1' > PACKAGE_TARNAME='noma' > PACKAGE_URL='' > PACKAGE_VERSION='1' > PATH_SEPARATOR=':' > PERL='/usr/bin/perl' > RUNAS='omdadmin' > RUNASGRP='omdadmin' > SED='/bin/sed' > SENDMAIL='/usr/sbin/sendmail' > SHELL='/bin/bash' > VERSION='2.0.3' > WWWRUNASGRP='www-data' > bindir='${exec_prefix}/bin' > build_alias='' > datadir='${datarootdir}' > datarootdir='${prefix}/share' > docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' > dvidir='${docdir}' > exec_prefix='${prefix}' > host_alias='' > htmldir='${docdir}' > includedir='${prefix}/include' > infodir='${datarootdir}/info' > libdir='${exec_prefix}/lib' > libexecdir='${exec_prefix}/libexec' > localedir='${datarootdir}/locale' > localstatedir='${prefix}/var' > mandir='${datarootdir}/man' > oldincludedir='/usr/include' > pdfdir='${docdir}' > prefix='/usr/local/noma' > program_transform_name='s,x,x,' > psdir='${docdir}' > sbindir='${exec_prefix}/sbin' > sharedstatedir='${prefix}/com' > sysconfdir='${prefix}/etc' > target_alias='' > > ## ----------- ## > ## confdefs.h. ## > ## ----------- ## > > /* confdefs.h */ > #define PACKAGE_NAME "noma" > #define PACKAGE_TARNAME "noma" > #define PACKAGE_VERSION "1" > #define PACKAGE_STRING "noma 1" > #define PACKAGE_BUGREPORT "" > #define PACKAGE_URL "" > > configure: exit 0 > > > > > I thought everything is allright. The apachelog gives no error. The noma > Debug log file also. > > I don't know why i can't login. > > regards john s. > > > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From booleanenator at gmail.com Fri Oct 19 20:25:22 2012 From: booleanenator at gmail.com (booleanenator at gmail.com) Date: Fri, 19 Oct 2012 18:25:22 +0000 Subject: Force host assume up when services are up In-Reply-To: References: <508133E9.2090302@flatto.net> Message-ID: <191272103-1350671126-cardhu_decombobulator_blackberry.rim.net-43348818-@b28.c17.bise6.blackberry> It is actually a feature. Active checks of the host were expensive in older versions of Nagios, so Nagios would correctly assume a host was up if it was able to succesfully check a sercice associated with it. That code changed and active checks are now part of the scheduling logic. Why don't you want Nagios to check if the host is up? You can use the check dummy plugin as the host check command and never check the host but then you will defeat the logic that Nagios uses when a service goes down to force check the host and supress the service notifications till it comes back up and everything gets rechecked. Sent on the Sprint? Now Network from my BlackBerry? -----Original Message----- From: Leonardo Bacha Abrantes Date: Fri, 19 Oct 2012 10:06:27 To: Nagios Users List Reply-To: Nagios Users List Subject: Re: [Nagios-users] Force host assume up when services are up ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From booleanenator at gmail.com Fri Oct 19 21:05:36 2012 From: booleanenator at gmail.com (booleanenator at gmail.com) Date: Fri, 19 Oct 2012 19:05:36 +0000 Subject: Can't get service failure(warning) to send notification In-Reply-To: References: <000601cdace1$132e6880$398b3980$@iname.com> Message-ID: <409818707-1350673540-cardhu_decombobulator_blackberry.rim.net-363239479-@b28.c17.bise6.blackberry> One thing that just occured to me and I only thought of it just now. Are you using a PERL script as a notification command? If so, that could explain the wrong information. If Nagios was compiled with the embedded PERL interpreter and the script is not written with that in mind, it could easily happen. You can disable it on a per script basis as described in the docs. Don't remember exactly the line that you add to the top of the script but it is something like: # nagios: -epn As the second line of the script. Try that if this is even close to your setup. I wrote a custom notification script specifically designed to use the ePN but it is very environment specific and would not work for most people. Sent on the Sprint? Now Network from my BlackBerry? -----Original Message----- From: James Pifer Date: Thu, 18 Oct 2012 06:32:10 To: Nagios Users List Reply-To: Nagios Users List Subject: Re: [Nagios-users] Can't get service failure(warning) to send notification On 10/17/2012 11:31 PM, Frank Bulk wrote: > You can set up different checks looking for different failures. > > Frank > > The correct check is failing. On the Centreon screen I can see the Warning: "HTTP WARNING: HTTP/1.1 404 Not Found - 1428 bytes in 0.044 second response time" But the notification related to that warning (because I can see the notification count going up) is: SUBJECT: Host UP alert for login2.pca.com! BODY: ***** centreon Notification ***** Type:PROBLEM Host: login2.mycompany.com State: UP Address: login2.mycompany.com Info: PING OK - Packet loss = 0%, RTA = 0.94 ms Date/Time: 17-10-2012 The info seem to be coming from the Ping-LAN, not the CheckHTTP. Both services are associated to the host. It says Host UP, Type PROBELM. I would prefer to see something like Service DOWN, Type PROBLEM, and Info: "HTTP/1.1 404 Not Found - 1428 bytes in 0.044 second response time". Thanks, James ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gilberto.nunes at selbetti.com.br Fri Oct 19 21:42:01 2012 From: gilberto.nunes at selbetti.com.br (Gilberto Ferreira) Date: Fri, 19 Oct 2012 16:42:01 -0300 (BRT) Subject: Monitoring a host behind VPN/Firewall In-Reply-To: <1891854632.366804.1350675508111.JavaMail.root@zimbra.selbetti.com.br> References: <1891854632.366804.1350675508111.JavaMail.root@zimbra.selbetti.com.br> Message-ID: <1798078480.366964.1350675720991.JavaMail.root@zimbra.selbetti.com.br> Hi folks.. I'm trouble here... We have a thousand host behind VPN/Firewall. For now, we use NC_NET to collect WMI data from server, and send this datas to Nagios server, throught NSCA. We do it in passive mode... What happen here is that, even host came down, I still see the status ok for services on Nagios panel... I'm use FAN, Fully Automatic Nagios here... Using Centreon to configure hosts and services... Some one know another way to monitoring a hosts behind VPN/Firewall??? Thanks Gilberto Nunes Ferreira -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From manikumar85 at gmail.com Fri Oct 19 22:32:47 2012 From: manikumar85 at gmail.com (Manish Kumar) Date: Sat, 20 Oct 2012 02:02:47 +0530 Subject: Nagios Exchange - Link broken for my newly added project Message-ID: Hi, I believe the link is broken for my newly added nagios project at nagios exchange. Whom can i contact to get it fixed. New Nsclient++ Agent - Top 5 CPU & Memory Consuming Process Details http://exchange.nagios.org/directory/Addons/Monitoring-Agents/New-Nsclient%2B%2B-Agent---2D-Top-5-CPU-%26-Memory-Consuming-Process-Details/details -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From daveyjatin at gmail.com Sat Oct 20 12:11:43 2012 From: daveyjatin at gmail.com (Jatin) Date: Sat, 20 Oct 2012 15:41:43 +0530 Subject: No response from check_snmp (Plugins version 1.4.16) Message-ID: <508278DF.1010507@gmail.com> Hi I follwed the quick installation guide to install Nagios and then installed the plugins with the link for the steps. I installed everything and got the UI for both Nagios and PNP4Nagios. Installed the check_mysql_health plugin as well and started monitoring for about 23 services. All the graphs for it are showing up correctly as well. Started with check_snmp plugin to test for connectivity to a remote host using snmp but i dont get any response. when i use snmpget it works fine. But there is just no response from the check_snmp plugin. I am using plugins 1.4.16 with nagios server 3.4.1. Version of net-snmp installed is : 5.4.3 Please help me out in this regard. Thanks Jatin ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From daveyjatin at gmail.com Sat Oct 20 12:13:48 2012 From: daveyjatin at gmail.com (Jatin) Date: Sat, 20 Oct 2012 15:43:48 +0530 Subject: No response from check_snmp (Plugins version 1.4.16) In-Reply-To: <508278DF.1010507@gmail.com> References: <508278DF.1010507@gmail.com> Message-ID: <5082795C.6070200@gmail.com> On Saturday 20 October 2012 03:41 PM, Jatin wrote: > Hi > > I follwed the quick installation guide to install Nagios and then > installed the plugins with the link for the steps. > > I installed everything and got the UI for both Nagios and PNP4Nagios. > Installed the check_mysql_health plugin as well and started monitoring > for about 23 services. All the graphs for it are showing up correctly > as well. > > Started with check_snmp plugin to test for connectivity to a remote > host using snmp but i dont get any response. when i use snmpget it > works fine. But there is just no response from the check_snmp plugin. > > I am using plugins 1.4.16 with nagios server 3.4.1. > > Version of net-snmp installed is : 5.4.3 > > Please help me out in this regard. > > Thanks > Jatin There is no error pointed out in the command that i use , it just simply does not respond anything. I could see that there are daemons for check_snmp and snmpget started in the background. They just stay running but i dont get any response. Thanks Jatin ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mark.elsen at gmail.com Sat Oct 20 12:26:51 2012 From: mark.elsen at gmail.com (Mark Elsen) Date: Sat, 20 Oct 2012 12:26:51 +0200 Subject: No response from check_snmp (Plugins version 1.4.16) In-Reply-To: <5082795C.6070200@gmail.com> References: <508278DF.1010507@gmail.com> <5082795C.6070200@gmail.com> Message-ID: > On Saturday 20 October 2012 03:41 PM, Jatin wrote: > > Hi > > > > I follwed the quick installation guide to install Nagios and then > > installed the plugins with the link for the steps. > > > > I installed everything and got the UI for both Nagios and PNP4Nagios. > > Installed the check_mysql_health plugin as well and started monitoring > > for about 23 services. All the graphs for it are showing up correctly > > as well. > > > > Started with check_snmp plugin to test for connectivity to a remote > > host using snmp but i dont get any response. when i use snmpget it > > works fine. But there is just no response from the check_snmp plugin. > > > > I am using plugins 1.4.16 with nagios server 3.4.1. > > > > Version of net-snmp installed is : 5.4.3 > > > > Please help me out in this regard. > > > > Thanks > > Jatin > > There is no error pointed out in the command that i use , it just simply > does not respond anything. I could see that there are daemons for > check_snmp and snmpget started in the background. They just stay running > but i dont get any response. > > - Please have a manual , sample run, of check_snmp on the command, line with the same parameters, as intended for NAGIOS. Post the complete output. M. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From daveyjatin at gmail.com Sat Oct 20 12:41:52 2012 From: daveyjatin at gmail.com (Jatin) Date: Sat, 20 Oct 2012 16:11:52 +0530 Subject: No response from check_snmp (Plugins version 1.4.16) In-Reply-To: References: <508278DF.1010507@gmail.com> <5082795C.6070200@gmail.com> Message-ID: <50827FF0.7040308@gmail.com> On Saturday 20 October 2012 03:56 PM, Mark Elsen wrote: > > On Saturday 20 October 2012 03:41 PM, Jatin wrote: > > Hi > > > > I follwed the quick installation guide to install Nagios and then > > installed the plugins with the link for the steps. > > > > I installed everything and got the UI for both Nagios and > PNP4Nagios. > > Installed the check_mysql_health plugin as well and started > monitoring > > for about 23 services. All the graphs for it are showing up > correctly > > as well. > > > > Started with check_snmp plugin to test for connectivity to a remote > > host using snmp but i dont get any response. when i use snmpget it > > works fine. But there is just no response from the check_snmp > plugin. > > > > I am using plugins 1.4.16 with nagios server 3.4.1. > > > > Version of net-snmp installed is : 5.4.3 > > > > Please help me out in this regard. > > > > Thanks > > Jatin > > There is no error pointed out in the command that i use , it just > simply > does not respond anything. I could see that there are daemons for > check_snmp and snmpget started in the background. They just stay > running > but i dont get any response. > > > - Please have a manual , sample run, of check_snmp on the command, > line with the > same parameters, as intended for NAGIOS. Post the complete output. > > M. > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 Yes , while doing the sample run from the /usr/local/nagios/libexec dorectory i see that there is no response from the check_snmp plugin. I used the command in the following way: ./check_snmp -H -o -C -t 30 There is no response , it just stays on there forever. Thanks Jatin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From daveyjatin at gmail.com Sat Oct 20 12:59:14 2012 From: daveyjatin at gmail.com (Jatin) Date: Sat, 20 Oct 2012 16:29:14 +0530 Subject: No response from check_snmp (Plugins version 1.4.16) In-Reply-To: References: <508278DF.1010507@gmail.com> <5082795C.6070200@gmail.com> Message-ID: <50828402.2040202@gmail.com> On Saturday 20 October 2012 03:56 PM, Mark Elsen wrote: > > On Saturday 20 October 2012 03:41 PM, Jatin wrote: > > Hi > > > > I follwed the quick installation guide to install Nagios and then > > installed the plugins with the link for the steps. > > > > I installed everything and got the UI for both Nagios and > PNP4Nagios. > > Installed the check_mysql_health plugin as well and started > monitoring > > for about 23 services. All the graphs for it are showing up > correctly > > as well. > > > > Started with check_snmp plugin to test for connectivity to a remote > > host using snmp but i dont get any response. when i use snmpget it > > works fine. But there is just no response from the check_snmp > plugin. > > > > I am using plugins 1.4.16 with nagios server 3.4.1. > > > > Version of net-snmp installed is : 5.4.3 > > > > Please help me out in this regard. > > > > Thanks > > Jatin > > There is no error pointed out in the command that i use , it just > simply > does not respond anything. I could see that there are daemons for > check_snmp and snmpget started in the background. They just stay > running > but i dont get any response. > > > - Please have a manual , sample run, of check_snmp on the command, > line with the > same parameters, as intended for NAGIOS. Post the complete output. > > M. > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 Ok , i have seemed to figured it out. I was using "iso." in the OID that i gave to check_snmp but it seems it does not recognise the use of iso in the OID , when i resolved it and gave the OID as such it is working. Thanks Jatin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mark.elsen at gmail.com Sat Oct 20 13:11:57 2012 From: mark.elsen at gmail.com (Mark Elsen) Date: Sat, 20 Oct 2012 13:11:57 +0200 Subject: No response from check_snmp (Plugins version 1.4.16) In-Reply-To: <50827FF0.7040308@gmail.com> References: <508278DF.1010507@gmail.com> <5082795C.6070200@gmail.com> <50827FF0.7040308@gmail.com> Message-ID: Yes , while doing the sample run from the /usr/local/nagios/libexec dorectory i see that there is no response from the check_snmp plugin. I used the command in the following way: > > ./check_snmp -H -o -C -t 30 > > > There is no response , it just stays on there forever. > > - Check /var/log/messages (tailed) on your server, watch for system or other problems - Same for :root# dmesg - Check wether the version-check on the plugin works (-V I presume) - Upgrade to the lastest version of the NAGIOS plugins, if needed. M. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From daveyjatin at gmail.com Sat Oct 20 15:42:38 2012 From: daveyjatin at gmail.com (Jatin Davey) Date: Sat, 20 Oct 2012 19:12:38 +0530 Subject: Unable to upgrade to nagios plugins 1.4.16 Message-ID: Hi I have nagios plugins 1.4.11 currently installed in my ubuntu box. While following the usual procedure of ./configure make make install for installing the new 1.4.16 plugins i am unable to install them properly. This is the output that i get: make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/gl' make[3]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/gl' make[2]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/gl' make[1]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/gl' Making install in tap make[1]: Entering directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/tap' make[2]: Entering directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/tap' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/local/nagios/include" || /bin/mkdir -p "/usr/local/nagios/include" make[2]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/tap' --More--check_http.c: In function ?process_arguments?: check_http.c:312:9: error: ?ssl_version? undeclared (first use in this function) check_http.c:312:9: note: each undeclared identifier is reported only once for each function it appears in check_http.c: In function ?redir?: check_http.c:1217:18: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c: In function ?check_http?: check_http.c:834:12: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:837:12: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:848:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:850:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:857:18: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:867:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:873:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:879:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:881:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:884:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:885:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:889:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:899:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:984:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:988:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:997:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1020:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1025:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1035:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1039:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1059:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1072:18: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1074:18: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1080:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1096:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1099:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1110:12: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c: In function ?check_document_dates?: check_http.c:693:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:696:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:703:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:706:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:709:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:714:18: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:717:18: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c: In function ?process_arguments?: check_http.c:268:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:397:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c: In function ?main?: check_http.c:150:12: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] make[1]: *** [check_http.o] Error 1 make: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/tap' Making install in lib make[1]: Entering directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/lib' Making install in . make[2]: Entering directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/lib' make[3]: Entering directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/lib' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/lib' make[2]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/lib' Making install in tests make[2]: Entering directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/lib/tests' make[3]: Entering directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/lib/tests' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/lib/tests' make[2]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/lib/tests' make[1]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/lib' Making install in plugins make[1]: Entering directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/plugins' gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -DNP_VERSION='"1.4.16"' -g -O2 -MT check_ http.o -MD -MP -MF .deps/check_http.Tpo -c -o check_http.o check_http.c make[1]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/plugins' Could you some please support me in this regard. Let me know if any more details are required. Thanks Jatin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From wbashlor at atcnetworks.net Sat Oct 20 17:23:16 2012 From: wbashlor at atcnetworks.net (Will Bashlor) Date: Sat, 20 Oct 2012 11:23:16 -0400 Subject: Monitor Cisco Uptime In-Reply-To: References: Message-ID: Hi list, I've searched to no avail, this is a basic question with hopefully a simple answer. I'm a long time cacti user (windows), I know basic Linux knowledge, new to Nagios. I have a fresh install of Debian stable (squeeze) with apt-get installed Webmin, ssh, apache2, and Nagios 3.2.1, nagiosql, and whatever dependencies. I am trying to setup monitoring of our core Cisco routers and switches. I have configured 2 services, ping and uptime. Ping works great of course but I can't get a valid response from check_snmp for uptime. Here's the command I've tried from the command line: root at atcdeb01:/# /usr/lib/nagios/plugins/check_snmp -H x.x.x.x -C public -o sysUpTime.0 no output, it just hangs I've also tried root at atcdeb01:/# /usr/bin/snmpget -v2c -c public x.x.x.x sysUpTime.0 sysUpTime.0: Unknown Object Identifier (Sub-id not found: (top) -> sysUpTime) Obviously with the correct IP and community string If I try this I get: root at atcdeb01:/# /usr/bin/snmpget -v2c -c public x.x.x.x 1.3.6.1.2.1.1.3.0 iso.3.6.1.2.1.1.3.0 = Timeticks: (447923619) 51 days, 20:13:56.19 So using OID names aren't working. I've researched with not much luck. >From here and various other sites I've tried... http://wiki.debian.org/SNMP Added "deb http://ftp.us.debian.org/debian squeeze main contrib non-free" to /etc/apt/sources.list apt-get update Then apt-get install snmp-mibs-downloader Then "download-mibs". Restart snmp. All to no avail. What am I doing wrong? Is there a simple guide I can use so check_snmp works with oid names for Cisco and other devices? Thanks for any help you can provide. Best Regards, -Will -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From wbashlor at atcnetworks.net Sat Oct 20 18:09:12 2012 From: wbashlor at atcnetworks.net (Will Bashlor) Date: Sat, 20 Oct 2012 12:09:12 -0400 Subject: Monitor Cisco Uptime In-Reply-To: References: Message-ID: Hi list, Well I'm not sure which of the steps below worked but it started working in Nagios and the check_snmp command works from cli. I'd still be interested in a guide or the correct steps I should have taken. I'm on a test vm now but will be reinstalling on a production vm later. root at atcdeb01:~# /usr/lib/nagios/plugins/check_snmp -H x.x.x.x -C public -o sysUpTime.0 SNMP OK - Timeticks: (448261008) 51 days, 21:10:10.08 | root at atcdeb01:~# Now I've got to figure out a couple more things. Feel free to respond if you can help. 1.) Even though ping and uptime show ok, the test Cisco host status went to "PENDING" in Nagios...? 2.) Not sure how to get rid of part of the response I don't need for uptime. I only need "51 days, 21:10:10.08" under Status Information in Nagios Another thing, I'm looking for advice. For monitoring up/down status' for core Cisco routers/switches my idea is to monitor snmp response and ping, but I don't want to get 2 alerts from 1 device if it were to go down. So can I get ping or snmp alerts if they go down individually and only one alert if the device is down hard? What other services do you recommend monitoring for up/down status besides ping? Or is ping sufficient enough in your opinion? I may configure text alerts only on ping and maybe just email alerts for snmp, or no alerts for snmp. I like seeing uptime in Nagios though, it makes it easy to see if any devices have just rebooted after an event. I continue to research every day but I am interested in your thoughts and opinions if you'd like to share. Oh, can I integrate Nagios with my Cacti? Sorry for all the questions but will be very grateful for any responses. Thanks all very much, -Will From: Will Bashlor [mailto:wbashlor at atcnetworks.net] Sent: Saturday, October 20, 2012 11:23 AM To: Nagios Users List Subject: [Nagios-users] Monitor Cisco Uptime Hi list, I've searched to no avail, this is a basic question with hopefully a simple answer. I'm a long time cacti user (windows), I know basic Linux knowledge, new to Nagios. I have a fresh install of Debian stable (squeeze) with apt-get installed Webmin, ssh, apache2, and Nagios 3.2.1, nagiosql, and whatever dependencies. I am trying to setup monitoring of our core Cisco routers and switches. I have configured 2 services, ping and uptime. Ping works great of course but I can't get a valid response from check_snmp for uptime. Here's the command I've tried from the command line: root at atcdeb01:/# /usr/lib/nagios/plugins/check_snmp -H x.x.x.x -C public -o sysUpTime.0 no output, it just hangs I've also tried root at atcdeb01:/# /usr/bin/snmpget -v2c -c public x.x.x.x sysUpTime.0 sysUpTime.0: Unknown Object Identifier (Sub-id not found: (top) -> sysUpTime) Obviously with the correct IP and community string If I try this I get: root at atcdeb01:/# /usr/bin/snmpget -v2c -c public x.x.x.x 1.3.6.1.2.1.1.3.0 iso.3.6.1.2.1.1.3.0 = Timeticks: (447923619) 51 days, 20:13:56.19 So using OID names aren't working. I've researched with not much luck. >From here and various other sites I've tried... http://wiki.debian.org/SNMP Added "deb http://ftp.us.debian.org/debian squeeze main contrib non-free" to /etc/apt/sources.list apt-get update Then apt-get install snmp-mibs-downloader Then "download-mibs". Restart snmp. All to no avail. What am I doing wrong? Is there a simple guide I can use so check_snmp works with oid names for Cisco and other devices? Thanks for any help you can provide. Best Regards, -Will -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ffeijo at ffeijo.com Sat Oct 20 18:18:37 2012 From: ffeijo at ffeijo.com (Fernando Feijo) Date: Sat, 20 Oct 2012 11:18:37 -0500 Subject: Monitor Cisco Uptime In-Reply-To: References: Message-ID: <02A4AA33-AB16-476A-86AA-2D4F3A9F232E@ffeijo.com> >>>What other services do you recommend monitoring for up/down status besides ping? You could also do ssh or even telnet, if you have them enabled. You did not ask, but a comment on uptime. You can use it to detect router bounces, detecting rogue reloads or perhaps system crashes. I have it to go to critical whenever the uptime is below X minutes, and email out. Network tests such as ping, snmp or ssh availability might miss a quick box's trip down, but uptime will always catch a reload. Fernando ** On Oct 20, 2012, at 11:09 AM, Will Bashlor wrote: > Hi list, > > Well I?m not sure which of the steps below worked but it started working in Nagios and the check_snmp command works from cli. I?d still be interested in a guide or the correct steps I should have taken. I?m on a test vm now but will be reinstalling on a production vm later. > > root at atcdeb01:~# /usr/lib/nagios/plugins/check_snmp -H x.x.x.x -C public -o sysUpTime.0 > SNMP OK - Timeticks: (448261008) 51 days, 21:10:10.08 | > root at atcdeb01:~# > > Now I?ve got to figure out a couple more things. Feel free to respond if you can help. > > 1.) Even though ping and uptime show ok, the test Cisco host status went to ?PENDING? in Nagios?? > 2.) Not sure how to get rid of part of the response I don?t need for uptime. I only need ?51 days, 21:10:10.08? under Status Information in Nagios > > Another thing, I?m looking for advice. For monitoring up/down status? for core Cisco routers/switches my idea is to monitor snmp response and ping, but I don?t want to get 2 alerts from 1 device if it were to go down. > > So can I get ping or snmp alerts if they go down individually and only one alert if the device is down hard? What other services do you recommend monitoring for up/down status besides ping? > > Or is ping sufficient enough in your opinion? I may configure text alerts only on ping and maybe just email alerts for snmp, or no alerts for snmp. I like seeing uptime in Nagios though, it makes it easy to see if any devices have just rebooted after an event. > > I continue to research every day but I am interested in your thoughts and opinions if you?d like to share. > > Oh, can I integrate Nagios with my Cacti? Sorry for all the questions but will be very grateful for any responses. > > Thanks all very much, > > -Will > > From: Will Bashlor [mailto:wbashlor at atcnetworks.net] > Sent: Saturday, October 20, 2012 11:23 AM > To: Nagios Users List > Subject: [Nagios-users] Monitor Cisco Uptime > > Hi list, > > I?ve searched to no avail, this is a basic question with hopefully a simple answer. > > I?m a long time cacti user (windows), I know basic Linux knowledge, new to Nagios. I have a fresh install of Debian stable (squeeze) with apt-get installed Webmin, ssh, apache2, and Nagios 3.2.1, nagiosql, and whatever dependencies. I am trying to setup monitoring of our core Cisco routers and switches. I have configured 2 services, ping and uptime. Ping works great of course but I can?t get a valid response from check_snmp for uptime. Here?s the command I?ve tried from the command line: > > root at atcdeb01:/# /usr/lib/nagios/plugins/check_snmp -H x.x.x.x -C public -o sysUpTime.0 > no output, it just hangs > > I?ve also tried > > root at atcdeb01:/# /usr/bin/snmpget -v2c -c public x.x.x.x sysUpTime.0 > sysUpTime.0: Unknown Object Identifier (Sub-id not found: (top) -> sysUpTime) > > Obviously with the correct IP and community string > > If I try this I get: > > root at atcdeb01:/# /usr/bin/snmpget -v2c -c public x.x.x.x 1.3.6.1.2.1.1.3.0 > iso.3.6.1.2.1.1.3.0 = Timeticks: (447923619) 51 days, 20:13:56.19 > > So using OID names aren?t working. I?ve researched with not much luck. > > From here and various other sites I?ve tried? > http://wiki.debian.org/SNMP > > Added ?deb http://ftp.us.debian.org/debian squeeze main contrib non-free? to /etc/apt/sources.list > > apt-get update > > Then apt-get install snmp-mibs-downloader > > Then ?download-mibs?. Restart snmp. > > All to no avail. What am I doing wrong? Is there a simple guide I can use so check_snmp works with oid names for Cisco and other devices? > > Thanks for any help you can provide. > > Best Regards, > > -Will > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct_______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From wbashlor at atcnetworks.net Sat Oct 20 20:14:36 2012 From: wbashlor at atcnetworks.net (Will Bashlor) Date: Sat, 20 Oct 2012 14:14:36 -0400 Subject: Monitor Cisco Uptime In-Reply-To: <02A4AA33-AB16-476A-86AA-2D4F3A9F232E@ffeijo.com> References: <02A4AA33-AB16-476A-86AA-2D4F3A9F232E@ffeijo.com> Message-ID: The thought in my mind for querying uptime via snmp had 2 purposes, 1.) to (possibly) alert on no snmp response, and 2.) To display uptime in a list format on Nagios for my network engineers/techs to view. I like the idea of alerting on uptime < 1 day. But wouldn't the reply need to be in a numbered time format only? I guess my mind is in Cacti threshold plugin mode. For example: If the snmp respond replies with 4579200 in seconds (53 days), and I want to alert on uptime less than 1 day then my alert value would be <86400, correct? If this is true how can this be done when the response is: "iso.3.6.1.2.1.1.3.0 = Timeticks: (447923619) 51 days, 20:13:56.19" Or can I alert based on 447923619 only? It appears the 447923619 is seconds with the last 2 digits being hundredths. Secondly, how can I simply display "51 days, 20:13:56.19" In Nagios? I know these are basic questions, I have a lot to learn and will continue to research every day. We have ssh only enabled for obvious security reasons, so that would work as well for monitoring device vitals. I'm still interested in what other Network Managers as myself are using, services wise to monitor critical core equipment vitals other than ping, if anyone else would like to share. Today we are using an older version of whatsup with a little over 1000 devices/services (includes CPE) with ping only. I'm looking to Nagios as a possible future replacement. Love it so far, just a bit of a learning curve. NagiosQL helps me a lot with config files. Thanks for the response. -Will From: Fernando Feijo [mailto:ffeijo at ffeijo.com] Sent: Saturday, October 20, 2012 12:19 PM To: Nagios Users List Subject: Re: [Nagios-users] Monitor Cisco Uptime >>>What other services do you recommend monitoring for up/down status besides ping? You could also do ssh or even telnet, if you have them enabled. You did not ask, but a comment on uptime. You can use it to detect router bounces, detecting rogue reloads or perhaps system crashes. I have it to go to critical whenever the uptime is below X minutes, and email out. Network tests such as ping, snmp or ssh availability might miss a quick box's trip down, but uptime will always catch a reload. Fernando ** On Oct 20, 2012, at 11:09 AM, Will Bashlor wrote: Hi list, Well I'm not sure which of the steps below worked but it started working in Nagios and the check_snmp command works from cli. I'd still be interested in a guide or the correct steps I should have taken. I'm on a test vm now but will be reinstalling on a production vm later. root at atcdeb01:~# /usr/lib/nagios/plugins/check_snmp -H x.x.x.x -C public -o sysUpTime.0 SNMP OK - Timeticks: (448261008) 51 days, 21:10:10.08 | root at atcdeb01:~# Now I've got to figure out a couple more things. Feel free to respond if you can help. 1.) Even though ping and uptime show ok, the test Cisco host status went to "PENDING" in Nagios...? 2.) Not sure how to get rid of part of the response I don't need for uptime. I only need "51 days, 21:10:10.08" under Status Information in Nagios Another thing, I'm looking for advice. For monitoring up/down status' for core Cisco routers/switches my idea is to monitor snmp response and ping, but I don't want to get 2 alerts from 1 device if it were to go down. So can I get ping or snmp alerts if they go down individually and only one alert if the device is down hard? What other services do you recommend monitoring for up/down status besides ping? Or is ping sufficient enough in your opinion? I may configure text alerts only on ping and maybe just email alerts for snmp, or no alerts for snmp. I like seeing uptime in Nagios though, it makes it easy to see if any devices have just rebooted after an event. I continue to research every day but I am interested in your thoughts and opinions if you'd like to share. Oh, can I integrate Nagios with my Cacti? Sorry for all the questions but will be very grateful for any responses. Thanks all very much, -Will From: Will Bashlor [mailto:wbashlor at atcnetworks.net ] Sent: Saturday, October 20, 2012 11:23 AM To: Nagios Users List Subject: [Nagios-users] Monitor Cisco Uptime Hi list, I've searched to no avail, this is a basic question with hopefully a simple answer. I'm a long time cacti user (windows), I know basic Linux knowledge, new to Nagios. I have a fresh install of Debian stable (squeeze) with apt-get installed Webmin, ssh, apache2, and Nagios 3.2.1, nagiosql, and whatever dependencies. I am trying to setup monitoring of our core Cisco routers and switches. I have configured 2 services, ping and uptime. Ping works great of course but I can't get a valid response from check_snmp for uptime. Here's the command I've tried from the command line: root at atcdeb01:/# /usr/lib/nagios/plugins/check_snmp -H x.x.x.x -C public -o sysUpTime.0 no output, it just hangs I've also tried root at atcdeb01:/# /usr/bin/snmpget -v2c -c public x.x.x.x sysUpTime.0 sysUpTime.0: Unknown Object Identifier (Sub-id not found: (top) -> sysUpTime) Obviously with the correct IP and community string If I try this I get: root at atcdeb01:/# /usr/bin/snmpget -v2c -c public x.x.x.x 1.3.6.1.2.1.1.3.0 iso.3.6.1.2.1.1.3.0 = Timeticks: (447923619) 51 days, 20:13:56.19 So using OID names aren't working. I've researched with not much luck. >From here and various other sites I've tried... http://wiki.debian.org/SNMP Added "deb http://ftp.us.debian.org/debian squeeze main contrib non-free" to /etc/apt/sources.list apt-get update Then apt-get install snmp-mibs-downloader Then "download-mibs". Restart snmp. All to no avail. What am I doing wrong? Is there a simple guide I can use so check_snmp works with oid names for Cisco and other devices? Thanks for any help you can provide. Best Regards, -Will ------------------------------------------------------------------------ ------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct____________________________________ ___________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ffeijo at ffeijo.com Sat Oct 20 20:25:13 2012 From: ffeijo at ffeijo.com (Fernando Feijo) Date: Sat, 20 Oct 2012 13:25:13 -0500 Subject: Monitor Cisco Uptime In-Reply-To: References: <02A4AA33-AB16-476A-86AA-2D4F3A9F232E@ffeijo.com> Message-ID: <595D0A3D-CF09-47E9-9BBD-67DD1AEF734D@ffeijo.com> For uptime we use Perl to clean up the response and convert ticks to minutes, before sending to Nagios. On Oct 20, 2012, at 1:14 PM, "Will Bashlor" wrote: > The thought in my mind for querying uptime via snmp had 2 purposes, 1.) to (possibly) alert on no snmp response, and 2.) To display uptime in a list format on Nagios for my network engineers/techs to view. > > I like the idea of alerting on uptime < 1 day. But wouldn?t the reply need to be in a numbered time format only? I guess my mind is in Cacti threshold plugin mode. For example: > > If the snmp respond replies with 4579200 in seconds (53 days), and I want to alert on uptime less than 1 day then my alert value would be <86400, correct? If this is true how can this be done when the response is: > > ?iso.3.6.1.2.1.1.3.0 = Timeticks: (447923619) 51 days, 20:13:56.19? > > Or can I alert based on 447923619 only? It appears the 447923619 is seconds with the last 2 digits being hundredths. Secondly, how can I simply display ?51 days, 20:13:56.19? In Nagios? I know these are basic questions, I have a lot to learn and will continue to research every day. > > We have ssh only enabled for obvious security reasons, so that would work as well for monitoring device vitals. > > I?m still interested in what other Network Managers as myself are using, services wise to monitor critical core equipment vitals other than ping, if anyone else would like to share. > > Today we are using an older version of whatsup with a little over 1000 devices/services (includes CPE) with ping only. I?m looking to Nagios as a possible future replacement. Love it so far, just a bit of a learning curve. NagiosQL helps me a lot with config files. > > Thanks for the response. > > -Will > > From: Fernando Feijo [mailto:ffeijo at ffeijo.com] > Sent: Saturday, October 20, 2012 12:19 PM > To: Nagios Users List > Subject: Re: [Nagios-users] Monitor Cisco Uptime > > >>>What other services do you recommend monitoring for up/down status besides ping? > You could also do ssh or even telnet, if you have them enabled. > > You did not ask, but a comment on uptime. You can use it to detect router bounces, detecting rogue reloads or perhaps system crashes. I have it to go to critical whenever the uptime is below X minutes, and email out. Network tests such as ping, snmp or ssh availability might miss a quick box's trip down, but uptime will always catch a reload. > > Fernando > > ** > On Oct 20, 2012, at 11:09 AM, Will Bashlor wrote: > > > Hi list, > > Well I?m not sure which of the steps below worked but it started working in Nagios and the check_snmp command works from cli. I?d still be interested in a guide or the correct steps I should have taken. I?m on a test vm now but will be reinstalling on a production vm later. > > root at atcdeb01:~# /usr/lib/nagios/plugins/check_snmp -H x.x.x.x -C public -o sysUpTime.0 > SNMP OK - Timeticks: (448261008) 51 days, 21:10:10.08 | > root at atcdeb01:~# > > Now I?ve got to figure out a couple more things. Feel free to respond if you can help. > > 1.) Even though ping and uptime show ok, the test Cisco host status went to ?PENDING? in Nagios?? > 2.) Not sure how to get rid of part of the response I don?t need for uptime. I only need ?51 days, 21:10:10.08? under Status Information in Nagios > > Another thing, I?m looking for advice. For monitoring up/down status? for core Cisco routers/switches my idea is to monitor snmp response and ping, but I don?t want to get 2 alerts from 1 device if it were to go down. > > So can I get ping or snmp alerts if they go down individually and only one alert if the device is down hard? What other services do you recommend monitoring for up/down status besides ping? > > Or is ping sufficient enough in your opinion? I may configure text alerts only on ping and maybe just email alerts for snmp, or no alerts for snmp. I like seeing uptime in Nagios though, it makes it easy to see if any devices have just rebooted after an event. > > I continue to research every day but I am interested in your thoughts and opinions if you?d like to share. > > Oh, can I integrate Nagios with my Cacti? Sorry for all the questions but will be very grateful for any responses. > > Thanks all very much, > > -Will > > From: Will Bashlor [mailto:wbashlor at atcnetworks.net] > Sent: Saturday, October 20, 2012 11:23 AM > To: Nagios Users List > Subject: [Nagios-users] Monitor Cisco Uptime > > Hi list, > > I?ve searched to no avail, this is a basic question with hopefully a simple answer. > > I?m a long time cacti user (windows), I know basic Linux knowledge, new to Nagios. I have a fresh install of Debian stable (squeeze) with apt-get installed Webmin, ssh, apache2, and Nagios 3.2.1, nagiosql, and whatever dependencies. I am trying to setup monitoring of our core Cisco routers and switches. I have configured 2 services, ping and uptime. Ping works great of course but I can?t get a valid response from check_snmp for uptime. Here?s the command I?ve tried from the command line: > > root at atcdeb01:/# /usr/lib/nagios/plugins/check_snmp -H x.x.x.x -C public -o sysUpTime.0 > no output, it just hangs > > I?ve also tried > > root at atcdeb01:/# /usr/bin/snmpget -v2c -c public x.x.x.x sysUpTime.0 > sysUpTime.0: Unknown Object Identifier (Sub-id not found: (top) -> sysUpTime) > > Obviously with the correct IP and community string > > If I try this I get: > > root at atcdeb01:/# /usr/bin/snmpget -v2c -c public x.x.x.x 1.3.6.1.2.1.1.3.0 > iso.3.6.1.2.1.1.3.0 = Timeticks: (447923619) 51 days, 20:13:56.19 > > So using OID names aren?t working. I?ve researched with not much luck. > > From here and various other sites I?ve tried? > http://wiki.debian.org/SNMP > > Added ?deb http://ftp.us.debian.org/debian squeeze main contrib non-free? to /etc/apt/sources.list > > apt-get update > > Then apt-get install snmp-mibs-downloader > > Then ?download-mibs?. Restart snmp. > > All to no avail. What am I doing wrong? Is there a simple guide I can use so check_snmp works with oid names for Cisco and other devices? > > Thanks for any help you can provide. > > Best Regards, > > -Will > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct_______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pitchfork at ederdrom.de Sat Oct 20 21:05:22 2012 From: pitchfork at ederdrom.de (=?utf-8?Q?J=C3=B6rg_Linge?=) Date: Sat, 20 Oct 2012 21:05:22 +0200 Subject: Monitor Cisco Uptime In-Reply-To: References: <02A4AA33-AB16-476A-86AA-2D4F3A9F232E@ffeijo.com> Message-ID: <283C882E-6454-4AE0-8D8A-AB134AFDFC59@ederdrom.de> https://github.com/mludvig/nagios-plugins/blob/268693c0afa2775c719584212433164cd846fe23/check_snmp_uptime.pl Joerg Am 20.10.2012 um 20:14 schrieb "Will Bashlor" : > The thought in my mind for querying uptime via snmp had 2 purposes, 1.) to (possibly) alert on no snmp response, and 2.) To display uptime in a list format on Nagios for my network engineers/techs to view. > > I like the idea of alerting on uptime < 1 day. But wouldn?t the reply need to be in a numbered time format only? I guess my mind is in Cacti threshold plugin mode. For example: > > If the snmp respond replies with 4579200 in seconds (53 days), and I want to alert on uptime less than 1 day then my alert value would be <86400, correct? If this is true how can this be done when the response is: > > ?iso.3.6.1.2.1.1.3.0 = Timeticks: (447923619) 51 days, 20:13:56.19? > > Or can I alert based on 447923619 only? It appears the 447923619 is seconds with the last 2 digits being hundredths. Secondly, how can I simply display ?51 days, 20:13:56.19? In Nagios? I know these are basic questions, I have a lot to learn and will continue to research every day. > > We have ssh only enabled for obvious security reasons, so that would work as well for monitoring device vitals. > > I?m still interested in what other Network Managers as myself are using, services wise to monitor critical core equipment vitals other than ping, if anyone else would like to share. > > Today we are using an older version of whatsup with a little over 1000 devices/services (includes CPE) with ping only. I?m looking to Nagios as a possible future replacement. Love it so far, just a bit of a learning curve. NagiosQL helps me a lot with config files. > > Thanks for the response. > > -Will > > From: Fernando Feijo [mailto:ffeijo at ffeijo.com] > Sent: Saturday, October 20, 2012 12:19 PM > To: Nagios Users List > Subject: Re: [Nagios-users] Monitor Cisco Uptime > > >>>What other services do you recommend monitoring for up/down status besides ping? > You could also do ssh or even telnet, if you have them enabled. > > You did not ask, but a comment on uptime. You can use it to detect router bounces, detecting rogue reloads or perhaps system crashes. I have it to go to critical whenever the uptime is below X minutes, and email out. Network tests such as ping, snmp or ssh availability might miss a quick box's trip down, but uptime will always catch a reload. > > Fernando > > ** > On Oct 20, 2012, at 11:09 AM, Will Bashlor wrote: > > > Hi list, > > Well I?m not sure which of the steps below worked but it started working in Nagios and the check_snmp command works from cli. I?d still be interested in a guide or the correct steps I should have taken. I?m on a test vm now but will be reinstalling on a production vm later. > > root at atcdeb01:~# /usr/lib/nagios/plugins/check_snmp -H x.x.x.x -C public -o sysUpTime.0 > SNMP OK - Timeticks: (448261008) 51 days, 21:10:10.08 | > root at atcdeb01:~# > > Now I?ve got to figure out a couple more things. Feel free to respond if you can help. > > 1.) Even though ping and uptime show ok, the test Cisco host status went to ?PENDING? in Nagios?? > 2.) Not sure how to get rid of part of the response I don?t need for uptime. I only need ?51 days, 21:10:10.08? under Status Information in Nagios > > Another thing, I?m looking for advice. For monitoring up/down status? for core Cisco routers/switches my idea is to monitor snmp response and ping, but I don?t want to get 2 alerts from 1 device if it were to go down. > > So can I get ping or snmp alerts if they go down individually and only one alert if the device is down hard? What other services do you recommend monitoring for up/down status besides ping? > > Or is ping sufficient enough in your opinion? I may configure text alerts only on ping and maybe just email alerts for snmp, or no alerts for snmp. I like seeing uptime in Nagios though, it makes it easy to see if any devices have just rebooted after an event. > > I continue to research every day but I am interested in your thoughts and opinions if you?d like to share. > > Oh, can I integrate Nagios with my Cacti? Sorry for all the questions but will be very grateful for any responses. > > Thanks all very much, > > -Will > > From: Will Bashlor [mailto:wbashlor at atcnetworks.net] > Sent: Saturday, October 20, 2012 11:23 AM > To: Nagios Users List > Subject: [Nagios-users] Monitor Cisco Uptime > > Hi list, > > I?ve searched to no avail, this is a basic question with hopefully a simple answer. > > I?m a long time cacti user (windows), I know basic Linux knowledge, new to Nagios. I have a fresh install of Debian stable (squeeze) with apt-get installed Webmin, ssh, apache2, and Nagios 3.2.1, nagiosql, and whatever dependencies. I am trying to setup monitoring of our core Cisco routers and switches. I have configured 2 services, ping and uptime. Ping works great of course but I can?t get a valid response from check_snmp for uptime. Here?s the command I?ve tried from the command line: > > root at atcdeb01:/# /usr/lib/nagios/plugins/check_snmp -H x.x.x.x -C public -o sysUpTime.0 > no output, it just hangs > > I?ve also tried > > root at atcdeb01:/# /usr/bin/snmpget -v2c -c public x.x.x.x sysUpTime.0 > sysUpTime.0: Unknown Object Identifier (Sub-id not found: (top) -> sysUpTime) > > Obviously with the correct IP and community string > > If I try this I get: > > root at atcdeb01:/# /usr/bin/snmpget -v2c -c public x.x.x.x 1.3.6.1.2.1.1.3.0 > iso.3.6.1.2.1.1.3.0 = Timeticks: (447923619) 51 days, 20:13:56.19 > > So using OID names aren?t working. I?ve researched with not much luck. > > From here and various other sites I?ve tried? > http://wiki.debian.org/SNMP > > Added ?deb http://ftp.us.debian.org/debian squeeze main contrib non-free? to /etc/apt/sources.list > > apt-get update > > Then apt-get install snmp-mibs-downloader > > Then ?download-mibs?. Restart snmp. > > All to no avail. What am I doing wrong? Is there a simple guide I can use so check_snmp works with oid names for Cisco and other devices? > > Thanks for any help you can provide. > > Best Regards, > > -Will > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct_______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ffeijo at ffeijo.com Sun Oct 21 18:01:34 2012 From: ffeijo at ffeijo.com (Fernando Feijo) Date: Sun, 21 Oct 2012 11:01:34 -0500 Subject: Monitor Cisco Uptime In-Reply-To: <283C882E-6454-4AE0-8D8A-AB134AFDFC59@ederdrom.de> References: <02A4AA33-AB16-476A-86AA-2D4F3A9F232E@ffeijo.com> <283C882E-6454-4AE0-8D8A-AB134AFDFC59@ederdrom.de> Message-ID: Thanks, Joerg. I wish I had known about that one before I wrote my own (inferior) script .. Fernando ** On Oct 20, 2012, at 2:05 PM, J?rg Linge wrote: > https://github.com/mludvig/nagios-plugins/blob/268693c0afa2775c719584212433164cd846fe23/check_snmp_uptime.pl > > Joerg > > Am 20.10.2012 um 20:14 schrieb "Will Bashlor" : > >> The thought in my mind for querying uptime via snmp had 2 purposes, 1.) to (possibly) alert on no snmp response, and 2.) To display uptime in a list format on Nagios for my network engineers/techs to view. >> >> I like the idea of alerting on uptime < 1 day. But wouldn?t the reply need to be in a numbered time format only? I guess my mind is in Cacti threshold plugin mode. For example: >> >> If the snmp respond replies with 4579200 in seconds (53 days), and I want to alert on uptime less than 1 day then my alert value would be <86400, correct? If this is true how can this be done when the response is: >> >> ?iso.3.6.1.2.1.1.3.0 = Timeticks: (447923619) 51 days, 20:13:56.19? >> >> Or can I alert based on 447923619 only? It appears the 447923619 is seconds with the last 2 digits being hundredths. Secondly, how can I simply display ?51 days, 20:13:56.19? In Nagios? I know these are basic questions, I have a lot to learn and will continue to research every day. >> >> We have ssh only enabled for obvious security reasons, so that would work as well for monitoring device vitals. >> >> I?m still interested in what other Network Managers as myself are using, services wise to monitor critical core equipment vitals other than ping, if anyone else would like to share. >> >> Today we are using an older version of whatsup with a little over 1000 devices/services (includes CPE) with ping only. I?m looking to Nagios as a possible future replacement. Love it so far, just a bit of a learning curve. NagiosQL helps me a lot with config files. >> >> Thanks for the response. >> >> -Will >> >> From: Fernando Feijo [mailto:ffeijo at ffeijo.com] >> Sent: Saturday, October 20, 2012 12:19 PM >> To: Nagios Users List >> Subject: Re: [Nagios-users] Monitor Cisco Uptime >> >> >>>What other services do you recommend monitoring for up/down status besides ping? >> You could also do ssh or even telnet, if you have them enabled. >> >> You did not ask, but a comment on uptime. You can use it to detect router bounces, detecting rogue reloads or perhaps system crashes. I have it to go to critical whenever the uptime is below X minutes, and email out. Network tests such as ping, snmp or ssh availability might miss a quick box's trip down, but uptime will always catch a reload. >> >> Fernando >> >> ** >> On Oct 20, 2012, at 11:09 AM, Will Bashlor wrote: >> >> >> Hi list, >> >> Well I?m not sure which of the steps below worked but it started working in Nagios and the check_snmp command works from cli. I?d still be interested in a guide or the correct steps I should have taken. I?m on a test vm now but will be reinstalling on a production vm later. >> >> root at atcdeb01:~# /usr/lib/nagios/plugins/check_snmp -H x.x.x.x -C public -o sysUpTime.0 >> SNMP OK - Timeticks: (448261008) 51 days, 21:10:10.08 | >> root at atcdeb01:~# >> >> Now I?ve got to figure out a couple more things. Feel free to respond if you can help. >> >> 1.) Even though ping and uptime show ok, the test Cisco host status went to ?PENDING? in Nagios?? >> 2.) Not sure how to get rid of part of the response I don?t need for uptime. I only need ?51 days, 21:10:10.08? under Status Information in Nagios >> >> Another thing, I?m looking for advice. For monitoring up/down status? for core Cisco routers/switches my idea is to monitor snmp response and ping, but I don?t want to get 2 alerts from 1 device if it were to go down. >> >> So can I get ping or snmp alerts if they go down individually and only one alert if the device is down hard? What other services do you recommend monitoring for up/down status besides ping? >> >> Or is ping sufficient enough in your opinion? I may configure text alerts only on ping and maybe just email alerts for snmp, or no alerts for snmp. I like seeing uptime in Nagios though, it makes it easy to see if any devices have just rebooted after an event. >> >> I continue to research every day but I am interested in your thoughts and opinions if you?d like to share. >> >> Oh, can I integrate Nagios with my Cacti? Sorry for all the questions but will be very grateful for any responses. >> >> Thanks all very much, >> >> -Will >> >> From: Will Bashlor [mailto:wbashlor at atcnetworks.net] >> Sent: Saturday, October 20, 2012 11:23 AM >> To: Nagios Users List >> Subject: [Nagios-users] Monitor Cisco Uptime >> >> Hi list, >> >> I?ve searched to no avail, this is a basic question with hopefully a simple answer. >> >> I?m a long time cacti user (windows), I know basic Linux knowledge, new to Nagios. I have a fresh install of Debian stable (squeeze) with apt-get installed Webmin, ssh, apache2, and Nagios 3.2.1, nagiosql, and whatever dependencies. I am trying to setup monitoring of our core Cisco routers and switches. I have configured 2 services, ping and uptime. Ping works great of course but I can?t get a valid response from check_snmp for uptime. Here?s the command I?ve tried from the command line: >> >> root at atcdeb01:/# /usr/lib/nagios/plugins/check_snmp -H x.x.x.x -C public -o sysUpTime.0 >> no output, it just hangs >> >> I?ve also tried >> >> root at atcdeb01:/# /usr/bin/snmpget -v2c -c public x.x.x.x sysUpTime.0 >> sysUpTime.0: Unknown Object Identifier (Sub-id not found: (top) -> sysUpTime) >> >> Obviously with the correct IP and community string >> >> If I try this I get: >> >> root at atcdeb01:/# /usr/bin/snmpget -v2c -c public x.x.x.x 1.3.6.1.2.1.1.3.0 >> iso.3.6.1.2.1.1.3.0 = Timeticks: (447923619) 51 days, 20:13:56.19 >> >> So using OID names aren?t working. I?ve researched with not much luck. >> >> From here and various other sites I?ve tried? >> http://wiki.debian.org/SNMP >> >> Added ?deb http://ftp.us.debian.org/debian squeeze main contrib non-free? to /etc/apt/sources.list >> >> apt-get update >> >> Then apt-get install snmp-mibs-downloader >> >> Then ?download-mibs?. Restart snmp. >> >> All to no avail. What am I doing wrong? Is there a simple guide I can use so check_snmp works with oid names for Cisco and other devices? >> >> Thanks for any help you can provide. >> >> Best Regards, >> >> -Will >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_sfd2d_oct_______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_sfd2d_oct >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct_______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From wbashlor at atcnetworks.net Mon Oct 22 06:28:20 2012 From: wbashlor at atcnetworks.net (Will Bashlor) Date: Mon, 22 Oct 2012 00:28:20 -0400 Subject: nuvola theme install problems In-Reply-To: <283C882E-6454-4AE0-8D8A-AB134AFDFC59@ederdrom.de> References: <02A4AA33-AB16-476A-86AA-2D4F3A9F232E@ffeijo.com> <283C882E-6454-4AE0-8D8A-AB134AFDFC59@ederdrom.de> Message-ID: I love the nuvola theme but can?t get it to work. I?ve tried several guides online to no avail. I have a fresh install of Debian stable (squeeze) with apt-get installed Webmin, ssh, apache2, and Nagios 3.2.1, nagiosql, and whatever dependencies. The problem is I?m guessing the stylesheets are not loading? All I see is a white background, Times Roman type fonts, and no images. It looks terrible lol. I?ve also went into config.js and changed the var cgipath to /cgi-bin/nagios3. Could it be a permissions problem? I copied the files using root and all files should have read access. Any suggestions? Thanks. -Will -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From wbashlor at atcnetworks.net Mon Oct 22 06:38:37 2012 From: wbashlor at atcnetworks.net (Will Bashlor) Date: Mon, 22 Oct 2012 00:38:37 -0400 Subject: Monitor Cisco Uptime In-Reply-To: <283C882E-6454-4AE0-8D8A-AB134AFDFC59@ederdrom.de> References: <02A4AA33-AB16-476A-86AA-2D4F3A9F232E@ffeijo.com> <283C882E-6454-4AE0-8D8A-AB134AFDFC59@ederdrom.de> Message-ID: Thanks J?rg, Thanks for the check uptime plugin script. I did get that plugin to work but it doesn?t work with the ?-c mycommunity? switch, it still uses the default ?public? community. The host switch ?-h x.x.x.x? works fine. Maybe I?m doing something wrong? In Nagios, the output shows: OK - 199.180.176.2: sysUpTime is 68 days, 22:48:07.08 How can I get it to simply show: 68 days, 22:48:07.08 That would be much easier to scan a list in my uptime service group. I?ll have to use a test switch and play with the alerts. Thanks again. -Will From: J?rg Linge [mailto:pitchfork at ederdrom.de] Sent: Saturday, October 20, 2012 3:05 PM To: Nagios Users List Subject: Re: [Nagios-users] Monitor Cisco Uptime https://github.com/mludvig/nagios-plugins/blob/268693c0afa2775c719584212433164cd846fe23/check_snmp_uptime.pl Joerg Am 20.10.2012 um 20:14 schrieb "Will Bashlor" : The thought in my mind for querying uptime via snmp had 2 purposes, 1.) to (possibly) alert on no snmp response, and 2.) To display uptime in a list format on Nagios for my network engineers/techs to view. I like the idea of alerting on uptime < 1 day. But wouldn?t the reply need to be in a numbered time format only? I guess my mind is in Cacti threshold plugin mode. For example: If the snmp respond replies with 4579200 in seconds (53 days), and I want to alert on uptime less than 1 day then my alert value would be <86400, correct? If this is true how can this be done when the response is: ?iso.3.6.1.2.1.1.3.0 = Timeticks: (447923619) 51 days, 20:13:56.19? Or can I alert based on 447923619 only? It appears the 447923619 is seconds with the last 2 digits being hundredths. Secondly, how can I simply display ?51 days, 20:13:56.19? In Nagios? I know these are basic questions, I have a lot to learn and will continue to research every day. We have ssh only enabled for obvious security reasons, so that would work as well for monitoring device vitals. I?m still interested in what other Network Managers as myself are using, services wise to monitor critical core equipment vitals other than ping, if anyone else would like to share. Today we are using an older version of whatsup with a little over 1000 devices/services (includes CPE) with ping only. I?m looking to Nagios as a possible future replacement. Love it so far, just a bit of a learning curve. NagiosQL helps me a lot with config files. Thanks for the response. -Will From: Fernando Feijo [mailto:ffeijo at ffeijo.com] Sent: Saturday, October 20, 2012 12:19 PM To: Nagios Users List Subject: Re: [Nagios-users] Monitor Cisco Uptime >>>What other services do you recommend monitoring for up/down status besides ping? You could also do ssh or even telnet, if you have them enabled. You did not ask, but a comment on uptime. You can use it to detect router bounces, detecting rogue reloads or perhaps system crashes. I have it to go to critical whenever the uptime is below X minutes, and email out. Network tests such as ping, snmp or ssh availability might miss a quick box's trip down, but uptime will always catch a reload. Fernando ** On Oct 20, 2012, at 11:09 AM, Will Bashlor wrote: Hi list, Well I?m not sure which of the steps below worked but it started working in Nagios and the check_snmp command works from cli. I?d still be interested in a guide or the correct steps I should have taken. I?m on a test vm now but will be reinstalling on a production vm later. root at atcdeb01:~# /usr/lib/nagios/plugins/check_snmp -H x.x.x.x -C public -o sysUpTime.0 SNMP OK - Timeticks: (448261008) 51 days, 21:10:10.08 | root at atcdeb01:~# Now I?ve got to figure out a couple more things. Feel free to respond if you can help. 1.) Even though ping and uptime show ok, the test Cisco host status went to ?PENDING? in Nagios?? 2.) Not sure how to get rid of part of the response I don?t need for uptime. I only need ?51 days, 21:10:10.08? under Status Information in Nagios Another thing, I?m looking for advice. For monitoring up/down status? for core Cisco routers/switches my idea is to monitor snmp response and ping, but I don?t want to get 2 alerts from 1 device if it were to go down. So can I get ping or snmp alerts if they go down individually and only one alert if the device is down hard? What other services do you recommend monitoring for up/down status besides ping? Or is ping sufficient enough in your opinion? I may configure text alerts only on ping and maybe just email alerts for snmp, or no alerts for snmp. I like seeing uptime in Nagios though, it makes it easy to see if any devices have just rebooted after an event. I continue to research every day but I am interested in your thoughts and opinions if you?d like to share. Oh, can I integrate Nagios with my Cacti? Sorry for all the questions but will be very grateful for any responses. Thanks all very much, -Will From: Will Bashlor [mailto:wbashlor at atcnetworks.net ] Sent: Saturday, October 20, 2012 11:23 AM To: Nagios Users List Subject: [Nagios-users] Monitor Cisco Uptime Hi list, I?ve searched to no avail, this is a basic question with hopefully a simple answer. I?m a long time cacti user (windows), I know basic Linux knowledge, new to Nagios. I have a fresh install of Debian stable (squeeze) with apt-get installed Webmin, ssh, apache2, and Nagios 3.2.1, nagiosql, and whatever dependencies. I am trying to setup monitoring of our core Cisco routers and switches. I have configured 2 services, ping and uptime. Ping works great of course but I can?t get a valid response from check_snmp for uptime. Here?s the command I?ve tried from the command line: root at atcdeb01:/# /usr/lib/nagios/plugins/check_snmp -H x.x.x.x -C public -o sysUpTime.0 no output, it just hangs I?ve also tried root at atcdeb01:/# /usr/bin/snmpget -v2c -c public x.x.x.x sysUpTime.0 sysUpTime.0: Unknown Object Identifier (Sub-id not found: (top) -> sysUpTime) Obviously with the correct IP and community string If I try this I get: root at atcdeb01:/# /usr/bin/snmpget -v2c -c public x.x.x.x 1.3.6.1.2.1.1.3.0 iso.3.6.1.2.1.1.3.0 = Timeticks: (447923619) 51 days, 20:13:56.19 So using OID names aren?t working. I?ve researched with not much luck. From here and various other sites I?ve tried? http://wiki.debian.org/SNMP Added ?deb http://ftp.us.debian.org/debian squeeze main contrib non-free? to /etc/apt/sources.list apt-get update Then apt-get install snmp-mibs-downloader Then ?download-mibs?. Restart snmp. All to no avail. What am I doing wrong? Is there a simple guide I can use so check_snmp works with oid names for Cisco and other devices? Thanks for any help you can provide. Best Regards, -Will ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct_______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ftlnagios at gmail.com Mon Oct 22 10:16:10 2012 From: ftlnagios at gmail.com (FTL Nagios) Date: Mon, 22 Oct 2012 09:16:10 +0100 Subject: Unable to upgrade to nagios plugins 1.4.16 In-Reply-To: References: Message-ID: <00dc01cdb02d$7ea7de80$7bf79b80$@gmail.com> Apt-get install libssl-dev Start from the top again with ./configure and you will all be good! From: Jatin Davey [mailto:daveyjatin at gmail.com] Sent: 20 October 2012 14:43 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Unable to upgrade to nagios plugins 1.4.16 Hi I have nagios plugins 1.4.11 currently installed in my ubuntu box. While following the usual procedure of ./configure make make install for installing the new 1.4.16 plugins i am unable to install them properly. This is the output that i get: make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/gl' make[3]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/gl' make[2]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/gl' make[1]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/gl' Making install in tap make[1]: Entering directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/tap' make[2]: Entering directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/tap' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/local/nagios/include" || /bin/mkdir -p "/usr/local/nagios/include" make[2]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/tap' --More--check_http.c: In function ?process_arguments?: check_http.c:312:9: error: ?ssl_version? undeclared (first use in this function) check_http.c:312:9: note: each undeclared identifier is reported only once for each function it appears in check_http.c: In function ?redir?: check_http.c:1217:18: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c: In function ?check_http?: check_http.c:834:12: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:837:12: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:848:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:850:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:857:18: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:867:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:873:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:879:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:881:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:884:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:885:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:889:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:899:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:984:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:988:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:997:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1020:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1025:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1035:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1039:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1059:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1072:18: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1074:18: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1080:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1096:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1099:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:1110:12: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c: In function ?check_document_dates?: check_http.c:693:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:696:14: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:703:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:706:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:709:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:714:18: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:717:18: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c: In function ?process_arguments?: check_http.c:268:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c:397:16: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] check_http.c: In function ?main?: check_http.c:150:12: warning: ignoring return value of ?asprintf?, declared with attribute warn_unused_result [-Wunused-result] make[1]: *** [check_http.o] Error 1 make: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/tap' Making install in lib make[1]: Entering directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/lib' Making install in . make[2]: Entering directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/lib' make[3]: Entering directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/lib' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/lib' make[2]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/lib' Making install in tests make[2]: Entering directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/lib/tests' make[3]: Entering directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/lib/tests' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/lib/tests' make[2]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/lib/tests' make[1]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/lib' Making install in plugins make[1]: Entering directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/plugins' gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -DNP_VERSION='"1.4.16"' -g -O2 -MT check_ http.o -MD -MP -MF .deps/check_http.Tpo -c -o check_http.o check_http.c make[1]: Leaving directory `/home/jdavey/Downloads/nagios-plugins-1.4.16/plugins' Could you some please support me in this regard. Let me know if any more details are required. Thanks Jatin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From m.borsani at it.net Mon Oct 22 10:28:28 2012 From: m.borsani at it.net (Marco Borsani) Date: Mon, 22 Oct 2012 10:28:28 +0200 Subject: enable_notifications=0 Message-ID: <016301cdb02f$3c14f3d0$b43edb70$@it.net> Hi all I change the setting of ?enable_notifications? variable from ?1? to ?0?, but when I restart Nagios, I still receive notifications. Have I to set also ?use_retained_program_state? variable from ?1? to ?0? , or what ? regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di Libero S.r.l. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at flatto.net Mon Oct 22 11:24:25 2012 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 22 Oct 2012 10:24:25 +0100 Subject: enable_notifications=0 In-Reply-To: <016301cdb02f$3c14f3d0$b43edb70$@it.net> References: <016301cdb02f$3c14f3d0$b43edb70$@it.net> Message-ID: <508510C9.2010201@flatto.net> On 22/10/12 09:28, Marco Borsani wrote: > > Hi all > > I change the setting of "enable_notifications" variable from "1" to > "0", but when I restart Nagios, I still receive notifications. > > Have I to set also "use_retained_program_state" variable from "1" to > "0" , or what ? > > regards > > Marco Borsani > > *Unix and Monitoring Sysadmin* > > *Technical Operations Dpt.* > > tel: +39 010 4310115 > > fax: +39 02 30130311 > > cell: +39 329 5953944 > > ITnet Srl > > Societ? con socio unico > > Direzione e Coordinamento di Libero S.r.l. > > You could have some messages still in the queue of your MTA . grep enable_notifications /objects.cache What do you get? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From m.borsani at it.net Mon Oct 22 11:53:15 2012 From: m.borsani at it.net (Marco Borsani) Date: Mon, 22 Oct 2012 11:53:15 +0200 Subject: R: enable_notifications=0 In-Reply-To: <508510C9.2010201@flatto.net> References: <016301cdb02f$3c14f3d0$b43edb70$@it.net> <508510C9.2010201@flatto.net> Message-ID: <01aa01cdb03b$14642980$3d2c7c80$@it.net> Nothing finding enable_notifications It is a strange behaviour I put use_retained_program_state=0 and everything start work properly, but now I reset it to ?1? , and still work properly ! I set enable_notifications=0 or enable_notifications=1 and everytime a reload the conf , I see the Nagios panel change . I can?t understand why .. I am sure than before nothing was changed when I modify the enable_notifications variable. Marco Da: Assaf Flatto [mailto:nagios at flatto.net] Inviato: luned? 22 ottobre 2012 11:24 A: nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] enable_notifications=0 On 22/10/12 09:28, Marco Borsani wrote: Hi all I change the setting of ?enable_notifications? variable from ?1? to ?0?, but when I restart Nagios, I still receive notifications. Have I to set also ?use_retained_program_state? variable from ?1? to ?0? , or what ? regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di Libero S.r.l. You could have some messages still in the queue of your MTA . grep enable_notifications /objects.cache What do you get? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gilberto.nunes at selbetti.com.br Mon Oct 22 13:07:27 2012 From: gilberto.nunes at selbetti.com.br (Gilberto Ferreira) Date: Mon, 22 Oct 2012 09:07:27 -0200 (BRST) Subject: Monitoring a host behind VPN/Firewall In-Reply-To: <1798078480.366964.1350675720991.JavaMail.root@zimbra.selbetti.com.br> References: <1798078480.366964.1350675720991.JavaMail.root@zimbra.selbetti.com.br> Message-ID: <1385668219.373982.1350904047477.JavaMail.root@zimbra.selbetti.com.br> Nobody?? Gilberto Nunes Ferreira ----- Mensagem original ----- De: "Gilberto Ferreira" Para: "Nagios Users List" Enviadas: Sexta-feira, 19 de Outubro de 2012 16:42:01 Assunto: [Nagios-users] Monitoring a host behind VPN/Firewall Hi folks.. I'm trouble here... We have a thousand host behind VPN/Firewall. For now, we use NC_NET to collect WMI data from server, and send this datas to Nagios server, throught NSCA. We do it in passive mode... What happen here is that, even host came down, I still see the status ok for services on Nagios panel... I'm use FAN, Fully Automatic Nagios here... Using Centreon to configure hosts and services... Some one know another way to monitoring a hosts behind VPN/Firewall??? Thanks Gilberto Nunes Ferreira ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at flatto.net Mon Oct 22 13:36:56 2012 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 22 Oct 2012 12:36:56 +0100 Subject: Monitoring a host behind VPN/Firewall In-Reply-To: <1385668219.373982.1350904047477.JavaMail.root@zimbra.selbetti.com.br> References: <1385668219.373982.1350904047477.JavaMail.root@zimbra.selbetti.com.br> Message-ID: <50852FD8.9040905@flatto.net> On 22/10/12 12:07, Gilberto Ferreira wrote: > Nobody?? > > > > > > Gilberto Nunes Ferreira > > > > ----- Mensagem original ----- > > De: "Gilberto Ferreira" > Para: "Nagios Users List" > Enviadas: Sexta-feira, 19 de Outubro de 2012 16:42:01 > Assunto: [Nagios-users] Monitoring a host behind VPN/Firewall > > Hi folks.. > > I'm trouble here... > We have a thousand host behind VPN/Firewall. > For now, we use NC_NET to collect WMI data from server, and send this datas to Nagios server, throught NSCA. > We do it in passive mode... > What happen here is that, even host came down, I still see the status ok for services on Nagios panel... > I'm use FAN, Fully Automatic Nagios here... Using Centreon to configure hosts and services... > > Some one know another way to monitoring a hosts behind VPN/Firewall??? > > > Thanks > > > > > > > Gilberto Nunes Ferreira You can use a distributed setup (read docs on that) which is similar to what you have . ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mark.elsen at gmail.com Mon Oct 22 14:00:27 2012 From: mark.elsen at gmail.com (Mark Elsen) Date: Mon, 22 Oct 2012 14:00:27 +0200 Subject: Monitoring a host behind VPN/Firewall In-Reply-To: <1798078480.366964.1350675720991.JavaMail.root@zimbra.selbetti.com.br> References: <1891854632.366804.1350675508111.JavaMail.root@zimbra.selbetti.com.br> <1798078480.366964.1350675720991.JavaMail.root@zimbra.selbetti.com.br> Message-ID: > Hi folks.. > > I'm trouble here... > We have a thousand host behind VPN/Firewall. > For now, we use NC_NET to collect WMI data from server, and send this > datas to Nagios server, throught NSCA. > We do it in passive mode... > What happen here is that, even host came down, I still see the status ok > for services on Nagios panel... > I'm use FAN, Fully Automatic Nagios here... Using Centreon to configure > hosts and services... > Nobody, will gracefully except a few $ for a pint this evening ; If you use passive mode to acquire WMI data, you must sufficiently debate your freshness settings for the passive service defined, and or in this case negate wether you will, per default, go into a fault mode ,when nothing is received and the freshness timer is expired. Otherwise you get in the situation, you describe. M. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From leonardo at lbasolutions.com Mon Oct 22 14:08:19 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Mon, 22 Oct 2012 10:08:19 -0200 Subject: Force host assume up when services are up In-Reply-To: <191272103-1350671126-cardhu_decombobulator_blackberry.rim.net-43348818-@b28.c17.bise6.blackberry> References: <508133E9.2090302@flatto.net> <191272103-1350671126-cardhu_decombobulator_blackberry.rim.net-43348818-@b28.c17.bise6.blackberry> Message-ID: Hello guys, I have machines that icmp is blocked, so, nagios show the host is down and the services are up. I know that I can configure another plugin like check_http instead of check_host_alive (ping), however the problem is that if apache gong down nagios will show that the host also is down, and it will not correct. check dummy will show the result that I specify, so, image the machine going down. Nagios will keep showing the host is up for example. On Fri, Oct 19, 2012 at 4:25 PM, wrote: > It is actually a feature. Active checks of the host were expensive in > older versions of Nagios, so Nagios would correctly assume a host was up if > it was able to succesfully check a sercice associated with it. That code > changed and active checks are now part of the scheduling logic. > > Why don't you want Nagios to check if the host is up? > > You can use the check dummy plugin as the host check command and never > check the host but then you will defeat the logic that Nagios uses when a > service goes down to force check the host and supress the service > notifications till it comes back up and everything gets rechecked. > Sent on the Sprint? Now Network from my BlackBerry? > > -----Original Message----- > From: Leonardo Bacha Abrantes > Date: Fri, 19 Oct 2012 10:06:27 > To: Nagios Users List > Reply-To: Nagios Users List > Subject: Re: [Nagios-users] Force host assume up when services are up > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at flatto.net Mon Oct 22 14:13:54 2012 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 22 Oct 2012 13:13:54 +0100 Subject: Force host assume up when services are up In-Reply-To: References: <508133E9.2090302@flatto.net> <191272103-1350671126-cardhu_decombobulator_blackberry.rim.net-43348818-@b28.c17.bise6.blackberry> Message-ID: <50853882.2070106@flatto.net> On 22/10/12 13:08, Leonardo Bacha Abrantes wrote: > Hello guys, > > I have machines that icmp is blocked, so, nagios show the host is down > and the services are up. > I know that I can configure another plugin like check_http instead of > check_host_alive (ping), however the problem is that if apache gong > down nagios will show that the host also is down, and it will not correct. > > check dummy will show the result that I specify, so, image the machine > going down. Nagios will keep showing the host is up for example. > > > > > On Fri, Oct 19, 2012 at 4:25 PM, > wrote: > > It is actually a feature. Active checks of the host were expensive > in older versions of Nagios, so Nagios would correctly assume a > host was up if it was able to succesfully check a sercice > associated with it. That code changed and active checks are now > part of the scheduling logic. > > Why don't you want Nagios to check if the host is up? > > You can use the check dummy plugin as the host check command and > never check the host but then you will defeat the logic that > Nagios uses when a service goes down to force check the host and > supress the service notifications till it comes back up and > everything gets rechecked. > Sent on the Sprint? Now Network from my BlackBerry? > you can use check_ssh or check that the nrpe deamon is running as the "host" check, since if either one of those is not responding you have some issue that require intervention . -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gilberto.nunes at selbetti.com.br Mon Oct 22 14:51:06 2012 From: gilberto.nunes at selbetti.com.br (Gilberto Ferreira) Date: Mon, 22 Oct 2012 10:51:06 -0200 (BRST) Subject: Monitoring a host behind VPN/Firewall In-Reply-To: References: Message-ID: <1073655253.450020.1350910266880.JavaMail.root@zimbra.selbetti.com.br> Hi I will check out freshness option.... Thanks a lot Gilberto Nunes Ferreira ----- Mensagem original ----- De: "Mark Elsen" Para: "Nagios Users List" Enviadas: Segunda-feira, 22 de Outubro de 2012 10:00:27 Assunto: Re: [Nagios-users] Monitoring a host behind VPN/Firewall Hi folks.. I'm trouble here... We have a thousand host behind VPN/Firewall. For now, we use NC_NET to collect WMI data from server, and send this datas to Nagios server, throught NSCA. We do it in passive mode... What happen here is that, even host came down, I still see the status ok for services on Nagios panel... I'm use FAN, Fully Automatic Nagios here... Using Centreon to configure hosts and services... Nobody, will gracefully except a few $ for a pint this evening ; If you use passive mode to acquire WMI data, you must sufficiently debate your freshness settings for the passive service defined, and or in this case negate wether you will, per default, go into a fault mode ,when nothing is received and the freshness timer is expired. Otherwise you get in the situation, you describe. M. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ffeijo at ffeijo.com Mon Oct 22 14:51:12 2012 From: ffeijo at ffeijo.com (Fernando Feijo) Date: Mon, 22 Oct 2012 07:51:12 -0500 Subject: Monitoring a host behind VPN/Firewall In-Reply-To: <1385668219.373982.1350904047477.JavaMail.root@zimbra.selbetti.com.br> References: <1385668219.373982.1350904047477.JavaMail.root@zimbra.selbetti.com.br> Message-ID: <7B527A54-CBC2-4592-8BBF-D2E61EAE7715@ffeijo.com> Gilberto, There is surely a more elegant way, but if you add an extra test in the client that returns OK plus the date and time, and call this test "_Last likely update" or something of that sort, you will at least know if the data is stale. It is a short batch file: ** @echo off echo OK: %DATE% %TIME% exit /B 0 ** Fernando ** On Oct 22, 2012, at 6:07 AM, Gilberto Ferreira wrote: > Nobody?? > > > > > > Gilberto Nunes Ferreira > > > > ----- Mensagem original ----- > > De: "Gilberto Ferreira" > Para: "Nagios Users List" > Enviadas: Sexta-feira, 19 de Outubro de 2012 16:42:01 > Assunto: [Nagios-users] Monitoring a host behind VPN/Firewall > > Hi folks.. > > I'm trouble here... > We have a thousand host behind VPN/Firewall. > For now, we use NC_NET to collect WMI data from server, and send this datas to Nagios server, throught NSCA. > We do it in passive mode... > What happen here is that, even host came down, I still see the status ok for services on Nagios panel... > I'm use FAN, Fully Automatic Nagios here... Using Centreon to configure hosts and services... > > Some one know another way to monitoring a hosts behind VPN/Firewall??? > > > Thanks > > > > > > > Gilberto Nunes Ferreira > > > > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jc at info-systems.de Mon Oct 22 14:34:39 2012 From: jc at info-systems.de (Jakob Curdes) Date: Mon, 22 Oct 2012 14:34:39 +0200 Subject: Force host assume up when services are up In-Reply-To: References: <508133E9.2090302@flatto.net> <191272103-1350671126-cardhu_decombobulator_blackberry.rim.net-43348818-@b28.c17.bise6.blackberry> Message-ID: <50853D5F.6090209@info-systems.de> Am 22.10.2012 14:08, schrieb Leonardo Bacha Abrantes: > Hello guys, > > I have machines that icmp is blocked, so, nagios show the host is down > and the services are up. > I know that I can configure another plugin like check_http instead of > check_host_alive (ping), however the problem is that if apache gong > down nagios will show that the host also is down, and it will not correct. > Well ich ICMP is blocked, the only thing that you can do is check a certain service and use that result as "host up" information. You could write a check using NMAP and use the reult of that, but for a host with only 1 service running it will be very difficult to decide whether the host or the service is down without using icmp (or having the host send ist own check results via NSCA) HTH, Jakob Curdes ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gilberto.nunes at selbetti.com.br Mon Oct 22 14:54:00 2012 From: gilberto.nunes at selbetti.com.br (Gilberto Ferreira) Date: Mon, 22 Oct 2012 10:54:00 -0200 (BRST) Subject: Monitoring a host behind VPN/Firewall In-Reply-To: References: Message-ID: <295244951.455947.1350910440983.JavaMail.root@zimbra.selbetti.com.br> Hi Mark, I check freshness configuration and it's set like that: Check Freshness Yes Freshness Threshold 4800 seconds Any suggestions??? Thanks Gilberto Nunes Ferreira ----- Mensagem original ----- De: "Mark Elsen" Para: "Nagios Users List" Enviadas: Segunda-feira, 22 de Outubro de 2012 10:00:27 Assunto: Re: [Nagios-users] Monitoring a host behind VPN/Firewall Hi folks.. I'm trouble here... We have a thousand host behind VPN/Firewall. For now, we use NC_NET to collect WMI data from server, and send this datas to Nagios server, throught NSCA. We do it in passive mode... What happen here is that, even host came down, I still see the status ok for services on Nagios panel... I'm use FAN, Fully Automatic Nagios here... Using Centreon to configure hosts and services... Nobody, will gracefully except a few $ for a pint this evening ; If you use passive mode to acquire WMI data, you must sufficiently debate your freshness settings for the passive service defined, and or in this case negate wether you will, per default, go into a fault mode ,when nothing is received and the freshness timer is expired. Otherwise you get in the situation, you describe. M. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sjcarr at gmail.com Mon Oct 22 14:59:58 2012 From: sjcarr at gmail.com (Steven Carr) Date: Mon, 22 Oct 2012 13:59:58 +0100 Subject: Monitoring a host behind VPN/Firewall In-Reply-To: <295244951.455947.1350910440983.JavaMail.root@zimbra.selbetti.com.br> References: <295244951.455947.1350910440983.JavaMail.root@zimbra.selbetti.com.br> Message-ID: So 4800 will allow your tests to go stale for 80mins before reporting them as stale, you might wanna drop that down to just abit more than when you expect them to update, e.g. if your tests run every 5 mins then set the staleness to >5<10. But in passive mode you are never going to get even close to realtime notification. Like others have suggested, perhaps looks at a more distributed setup with a poller on the other side of the firewall. Steve On 22 October 2012 13:54, Gilberto Ferreira wrote: > Hi > > Mark, I check freshness configuration and it's set like that: > > Check Freshness Yes > Freshness Threshold 4800 seconds > > > Any suggestions??? > > Thanks > > Gilberto Nunes Ferreira > > > > > > > > ----- Mensagem original ----- > > De: "Mark Elsen" > Para: "Nagios Users List" > Enviadas: Segunda-feira, 22 de Outubro de 2012 10:00:27 > Assunto: Re: [Nagios-users] Monitoring a host behind VPN/Firewall > > > > > > > > Hi folks.. > > I'm trouble here... > We have a thousand host behind VPN/Firewall. > For now, we use NC_NET to collect WMI data from server, and send this datas to Nagios server, throught NSCA. > We do it in passive mode... > What happen here is that, even host came down, I still see the status ok for services on Nagios panel... > I'm use FAN, Fully Automatic Nagios here... Using Centreon to configure hosts and services... > > > > > Nobody, will gracefully except a few $ for a pint this evening ; > > If you use passive mode to acquire WMI data, you must sufficiently debate your freshness > settings for the passive service defined, and or in this case negate wether you will, per default, go into > a fault mode ,when nothing is received and the freshness timer is expired. > > Otherwise you get in the situation, you describe. > > M. > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From leonardo at lbasolutions.com Mon Oct 22 15:02:11 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Mon, 22 Oct 2012 11:02:11 -0200 Subject: Force host assume up when services are up In-Reply-To: <50853D5F.6090209@info-systems.de> References: <508133E9.2090302@flatto.net> <191272103-1350671126-cardhu_decombobulator_blackberry.rim.net-43348818-@b28.c17.bise6.blackberry> <50853D5F.6090209@info-systems.de> Message-ID: Hello, I know that is possible to use another plugin to check if host is up, however, I never did it on old version of nagios. now I'm using nmap, and it's working. http://systhread.net/texts/2010q3nmap_ping.php but I wold like that new nagios worked in this point as old versions. many thanks friends! On Mon, Oct 22, 2012 at 10:34 AM, Jakob Curdes wrote: > Am 22.10.2012 14:08, schrieb Leonardo Bacha Abrantes: > > Hello guys, > > > > I have machines that icmp is blocked, so, nagios show the host is down > > and the services are up. > > I know that I can configure another plugin like check_http instead of > > check_host_alive (ping), however the problem is that if apache gong > > down nagios will show that the host also is down, and it will not > correct. > > > Well ich ICMP is blocked, the only thing that you can do is check a > certain service and use that result as "host up" information. > > You could write a check using NMAP and use the reult of that, but for a > host with only 1 service running it will be very difficult to decide > whether the host or the service is down without using icmp (or having > the host send ist own check results via NSCA) > > > HTH, > Jakob Curdes > > > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jc at info-systems.de Mon Oct 22 16:21:31 2012 From: jc at info-systems.de (Jakob Curdes) Date: Mon, 22 Oct 2012 16:21:31 +0200 Subject: Force host assume up when services are up In-Reply-To: References: <508133E9.2090302@flatto.net> <191272103-1350671126-cardhu_decombobulator_blackberry.rim.net-43348818-@b28.c17.bise6.blackberry> <50853D5F.6090209@info-systems.de> Message-ID: <5085566B.7050401@info-systems.de> Am 22.10.2012 15:02, schrieb Leonardo Bacha Abrantes: > Hello, > > I know that is possible to use another plugin to check if host is up, > however, I never did it on old version of nagios. > now I'm using nmap, and it's working. > > http://systhread.net/texts/2010q3nmap_ping.php > It depends on the firewall if this solution works. NMAP tries ICMP and if that does not work it sends a "probe" TCP packet to an arbitrary port of the host, if it gets back anything (e.g. the host responds with RST- no service on this port), nmap sees the host as "up". If you have a firewall that is acutally dropping incoming packets (and not sending back a RST/SYN/ACK), then also this technique will fail in a similar manner as the ICMP ping. A Firewall might also ALWAYS send an RST packet for a certain port, so nmap would assume that the host is up while it was the firewall that sent the answer. So, in short: it is very difficult to determine the actual status of a host behind an arbitrary firewall/using packets sent from the monitoring server/; in this case it is much safer to use passive checks (i.e. sending results from the host side). jc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From wbashlor at atcnetworks.net Mon Oct 22 18:35:56 2012 From: wbashlor at atcnetworks.net (Will Bashlor) Date: Mon, 22 Oct 2012 12:35:56 -0400 Subject: nuvola theme install problems In-Reply-To: References: <02A4AA33-AB16-476A-86AA-2D4F3A9F232E@ffeijo.com><283C882E-6454-4AE0-8D8A-AB134AFDFC59@ederdrom.de> Message-ID: I found the problem. /etc/nagios3/apache2.conf DirectoryIndex index.php Changed to: DirectoryIndex index.html Now it works great. -Will From: Will Bashlor [mailto:wbashlor at atcnetworks.net] Sent: Monday, October 22, 2012 12:28 AM To: Nagios Users List Subject: [Nagios-users] nuvola theme install problems I love the nuvola theme but can?t get it to work. I?ve tried several guides online to no avail. I have a fresh install of Debian stable (squeeze) with apt-get installed Webmin, ssh, apache2, and Nagios 3.2.1, nagiosql, and whatever dependencies. The problem is I?m guessing the stylesheets are not loading? All I see is a white background, Times Roman type fonts, and no images. It looks terrible lol. I?ve also went into config.js and changed the var cgipath to /cgi-bin/nagios3. Could it be a permissions problem? I copied the files using root and all files should have read access. Any suggestions? Thanks. -Will -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mike-nagios at 5dninja.net Mon Oct 22 21:17:42 2012 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Mon, 22 Oct 2012 12:17:42 -0700 Subject: Segmentation Fault on config verification Message-ID: <50859BD6.2040607@5dninja.net> Seeing this on 3.3.1, and 3.4.1. Tried to reproduce with 4, but can't build from the current git repository. Migrating from obj_file to obj_dir style nagios.cfg, and on validation of my Master configuration I get a Segmentation fault, that looks to be coming right after Nagios closes nagios.cfg. The same format of configuration, generated from the same script works fine for poller nodes. The main differences in the poller node configuration is size, no escalations, and no dependencies. The end of the truss output: mmap(0x0,783,PROT_READ,MAP_PRIVATE,5,0x0) = 34365812736 (0x8005cb000) munmap(0x8005cb000,783) = 0 (0x0) close(5) = 0 (0x0) stat("/usr/local/ironport/akeos/bin/tmp/ops-mon-nagios1.vega/timeperiods/workhours.cfg",{ mode=-rw-r--r-- ,inode=829664,size=389,blksize=4096 }) = 0 (0x0) open("/usr/local/ironport/akeos/bin/tmp/ops-mon-nagios1.vega/timeperiods/workhours.cfg",O_RDONLY,00) = 5 (0x5) fstat(5,{ mode=-rw-r--r-- ,inode=829664,size=389,blksize=4096 }) = 0 (0x0) mmap(0x0,389,PROT_READ,MAP_PRIVATE,5,0x0) = 34365812736 (0x8005cb000) munmap(0x8005cb000,389) = 0 (0x0) close(5) = 0 (0x0) getdirentries(0x4,0x800d27000,0x1000,0x800d15668,0xffffffff80aece00,0x7fffffffe410) = 0 (0x0) lseek(4,0x0,SEEK_SET) = 0 (0x0) close(4) = 0 (0x0) munmap(0x8005c9000,4444) = 0 (0x0) close(3) = 0 (0x0) SIGNAL 11 (SIGSEGV) process exit, rval = 0 I'm digging into the source, but if anyone has any ideas, I'm ears. -- Mike Lindsey ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From wbashlor at atcnetworks.net Mon Oct 22 22:28:49 2012 From: wbashlor at atcnetworks.net (Will Bashlor) Date: Mon, 22 Oct 2012 16:28:49 -0400 Subject: ping, telnet, ssh, from nagios-core website In-Reply-To: <50859BD6.2040607@5dninja.net> References: <50859BD6.2040607@5dninja.net> Message-ID: Hi List, I want to be able to click on an icon or link on the Nagios core website and ping, telnet, ssh, etc. to each host. What's the easiest way to accomplish this? I've researched and haven't found much that's solid. I've seen the action_url. Seems like that may work if I modify how windows responds to certain urls, (i.e. CustomURL) like ping://, telnet://, ssh://, etc. I'm not sure how it would handle $HOSTADDRESS$, or I guess that would be translated by Nagios? And I think I'm limited to 1 action_url? Then I read something about using notes...? I'm not sure about that one. Someone also mentioned Nagios var? I'm not a programmer. I would even be happy with a windows Nagios app is I had to, but would rather it be within the website. This is a basic function of most commercial monitoring tools, hopefully there's an easy way. Thoughts anyone? Thanks in advance. -Will ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mguthrie at nagios.com Mon Oct 22 22:40:20 2012 From: mguthrie at nagios.com (Mike Guthrie) Date: Mon, 22 Oct 2012 15:40:20 -0500 Subject: ping, telnet, ssh, from nagios-core website In-Reply-To: References: <50859BD6.2040607@5dninja.net> Message-ID: <5085AF34.2070003@nagios.com> Looks like someone did come up with a patch for the CGI's that would allow multiple action URL's, but it may take some playing around to get it to do what you want it to do. Although there may be other addon projects that do this already that I'm unaware of. To my knowledge you can't use a browser to access ssh, ping, telnet etc. You'd need some sort of a custom API to be able to run those commands for you from the command line. Nagios XI (commercial version of Nagios) does have some of these quick actions. Image is attached. On 10/22/2012 3:28 PM, Will Bashlor wrote: > Hi List, > > I want to be able to click on an icon or link on the Nagios core website > and ping, telnet, ssh, etc. to each host. What's the easiest way to > accomplish this? I've researched and haven't found much that's solid. > > I've seen the action_url. Seems like that may work if I modify how > windows responds to certain urls, (i.e. CustomURL) like ping://, > telnet://, ssh://, etc. I'm not sure how it would handle $HOSTADDRESS$, > or I guess that would be translated by Nagios? And I think I'm limited > to 1 action_url? > > Then I read something about using notes...? I'm not sure about that one. > > Someone also mentioned Nagios var? I'm not a programmer. > > I would even be happy with a windows Nagios app is I had to, but would > rather it be within the website. > > This is a basic function of most commercial monitoring tools, hopefully > there's an easy way. > > Thoughts anyone? Thanks in advance. > > -Will > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com -------------- next part -------------- A non-text attachment was scrubbed... Name: quickActions.jpg Type: image/jpeg Size: 103159 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mike-nagios at 5dninja.net Mon Oct 22 23:28:23 2012 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Mon, 22 Oct 2012 14:28:23 -0700 Subject: Segmentation Fault on config verification In-Reply-To: <50859BD6.2040607@5dninja.net> References: <50859BD6.2040607@5dninja.net> Message-ID: <5085BA77.4000303@5dninja.net> Looks I had a hostgroup that listed itself as a hostgroup member. There were 11 other hostgroup members, and 4220 char temp_hostgroup->members and newmembers strings. In xdata/xodtemplate.c, in xodtemplate_recombobulate_hostgroup_subgroups() the error was occurring in the while loop at: """ strcat(temp_hostgroup->members, newmembers); """ Not entirely sure what the root cause of the segmentation fault (fragmented memory?) might be, but updating my configuration to not include self-referential hostgroups has resolved the issue. On 10/22/12 12:17 PM, Mike Lindsey wrote: > Seeing this on 3.3.1, and 3.4.1. Tried to reproduce with 4, but can't > build from the current git repository. > > Migrating from obj_file to obj_dir style nagios.cfg, and on validation > of my Master configuration I get a Segmentation fault, that looks to be > coming right after Nagios closes nagios.cfg. > > The same format of configuration, generated from the same script works > fine for poller nodes. The main differences in the poller node > configuration is size, no escalations, and no dependencies. > > The end of the truss output: > mmap(0x0,783,PROT_READ,MAP_PRIVATE,5,0x0) = 34365812736 (0x8005cb000) > munmap(0x8005cb000,783) = 0 (0x0) > close(5) = 0 (0x0) > stat("/usr/local/ironport/akeos/bin/tmp/ops-mon-nagios1.vega/timeperiods/workhours.cfg",{ > mode=-rw-r--r-- ,inode=829664,size=389,blksize=4096 }) = 0 (0x0) > open("/usr/local/ironport/akeos/bin/tmp/ops-mon-nagios1.vega/timeperiods/workhours.cfg",O_RDONLY,00) > = 5 (0x5) > fstat(5,{ mode=-rw-r--r-- ,inode=829664,size=389,blksize=4096 }) = 0 (0x0) > mmap(0x0,389,PROT_READ,MAP_PRIVATE,5,0x0) = 34365812736 (0x8005cb000) > munmap(0x8005cb000,389) = 0 (0x0) > close(5) = 0 (0x0) > getdirentries(0x4,0x800d27000,0x1000,0x800d15668,0xffffffff80aece00,0x7fffffffe410) > = 0 (0x0) > lseek(4,0x0,SEEK_SET) = 0 (0x0) > close(4) = 0 (0x0) > munmap(0x8005c9000,4444) = 0 (0x0) > close(3) = 0 (0x0) > SIGNAL 11 (SIGSEGV) > process exit, rval = 0 > > I'm digging into the source, but if anyone has any ideas, I'm ears. > -- Mike Lindsey ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From wbashlor at atcnetworks.net Tue Oct 23 00:14:28 2012 From: wbashlor at atcnetworks.net (Will Bashlor) Date: Mon, 22 Oct 2012 18:14:28 -0400 Subject: ping, telnet, ssh, from nagios-core website In-Reply-To: <5085AF34.2070003@nagios.com> References: <50859BD6.2040607@5dninja.net> <5085AF34.2070003@nagios.com> Message-ID: Thanks Mike. If macro's can be used in action_urls I think I can get it to work with CustomURL . Would you happen to have the link to the patch allowing multiple URLs? I can't find it but will look more when I get home. -Will -----Original Message----- From: Mike Guthrie [mailto:mguthrie at nagios.com] Sent: Monday, October 22, 2012 4:40 PM To: Nagios Users List Subject: Re: [Nagios-users] ping, telnet, ssh, from nagios-core website Looks like someone did come up with a patch for the CGI's that would allow multiple action URL's, but it may take some playing around to get it to do what you want it to do. Although there may be other addon projects that do this already that I'm unaware of. To my knowledge you can't use a browser to access ssh, ping, telnet etc. You'd need some sort of a custom API to be able to run those commands for you from the command line. Nagios XI (commercial version of Nagios) does have some of these quick actions. Image is attached. On 10/22/2012 3:28 PM, Will Bashlor wrote: > Hi List, > > I want to be able to click on an icon or link on the Nagios core website > and ping, telnet, ssh, etc. to each host. What's the easiest way to > accomplish this? I've researched and haven't found much that's solid. > > I've seen the action_url. Seems like that may work if I modify how > windows responds to certain urls, (i.e. CustomURL) like ping://, > telnet:// , ssh://, etc. I'm not sure how it would handle $HOSTADDRESS$, > or I guess that would be translated by Nagios? And I think I'm limited > to 1 action_url? > > Then I read something about using notes...? I'm not sure about that one. > > Someone also mentioned Nagios var? I'm not a programmer. > > I would even be happy with a windows Nagios app is I had to, but would > rather it be within the website. > > This is a basic function of most commercial monitoring tools, hopefully > there's an easy way. > > Thoughts anyone? Thanks in advance. > > -Will > > > ------------------------------------------------------------------------ ------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From wbashlor at atcnetworks.net Tue Oct 23 03:20:09 2012 From: wbashlor at atcnetworks.net (Will Bashlor) Date: Mon, 22 Oct 2012 21:20:09 -0400 Subject: ping, telnet, ssh, from nagios-core website In-Reply-To: References: <50859BD6.2040607@5dninja.net><5085AF34.2070003@nagios.com> Message-ID: Using CustomURL I can get telnet, ssh, and ping -t working using action_url with no problem. It works great! One problem though, the hosts I have in multiple groups only show the IP when hovering over the star in 1 group only. For example "Test Switch" will show "ssh://192.168.1.200" in 1 group but the other group the same host shows "ssh://". Not sure how to fix that yet. If I can get that worked out and find a way for multiple action_urls or another way to slide a link in there using a macro that will be great! Stay tuned... -Will From: Will Bashlor [mailto:wbashlor at atcnetworks.net] Sent: Monday, October 22, 2012 6:14 PM To: mguthrie at nagios.com; Nagios Users List Subject: Re: [Nagios-users] ping, telnet, ssh, from nagios-core website Thanks Mike. If macro's can be used in action_urls I think I can get it to work with CustomURL . Would you happen to have the link to the patch allowing multiple URLs? I can't find it but will look more when I get home. -Will -----Original Message----- From: Mike Guthrie [mailto:mguthrie at nagios.com] Sent: Monday, October 22, 2012 4:40 PM To: Nagios Users List Subject: Re: [Nagios-users] ping, telnet, ssh, from nagios-core website Looks like someone did come up with a patch for the CGI's that would allow multiple action URL's, but it may take some playing around to get it to do what you want it to do. Although there may be other addon projects that do this already that I'm unaware of. To my knowledge you can't use a browser to access ssh, ping, telnet etc. You'd need some sort of a custom API to be able to run those commands for you from the command line. Nagios XI (commercial version of Nagios) does have some of these quick actions. Image is attached. On 10/22/2012 3:28 PM, Will Bashlor wrote: > Hi List, > > I want to be able to click on an icon or link on the Nagios core website > and ping, telnet, ssh, etc. to each host. What's the easiest way to > accomplish this? I've researched and haven't found much that's solid. > > I've seen the action_url. Seems like that may work if I modify how > windows responds to certain urls, (i.e. CustomURL) like ping://, > telnet:// , ssh://, etc. I'm not sure how it would handle $HOSTADDRESS$, > or I guess that would be translated by Nagios? And I think I'm limited > to 1 action_url? > > Then I read something about using notes...? I'm not sure about that one. > > Someone also mentioned Nagios var? I'm not a programmer. > > I would even be happy with a windows Nagios app is I had to, but would > rather it be within the website. > > This is a basic function of most commercial monitoring tools, hopefully > there's an easy way. > > Thoughts anyone? Thanks in advance. > > -Will > > > ------------------------------------------------------------------------ ------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From booleanenator at gmail.com Tue Oct 23 05:24:59 2012 From: booleanenator at gmail.com (booleanenator at gmail.com) Date: Tue, 23 Oct 2012 03:24:59 +0000 Subject: Force host assume up when services are up In-Reply-To: References: <508133E9.2090302@flatto.net> <191272103-1350671126-cardhu_decombobulator_blackberry.rim.net-43348818-@b28.c17.bise6.blackberry> Message-ID: <658626661-1350962701-cardhu_decombobulator_blackberry.rim.net-685355264-@b28.c17.bise6.blackberry> In that situation I would use a command other than ping that would be more indicative of the host being down. Like ssh/telnet, or for windows a check_tcp against the remote desktop port, anything that will send a response back indicates the host is up. Sent on the Sprint? Now Network from my BlackBerry? -----Original Message----- From: Leonardo Bacha Abrantes Date: Mon, 22 Oct 2012 10:08:19 To: Nagios Users List Reply-To: Nagios Users List Subject: Re: [Nagios-users] Force host assume up when services are up ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From wbashlor at atcnetworks.net Tue Oct 23 05:33:12 2012 From: wbashlor at atcnetworks.net (Will Bashlor) Date: Mon, 22 Oct 2012 23:33:12 -0400 Subject: ping, telnet, ssh, from nagios-core website In-Reply-To: References: <50859BD6.2040607@5dninja.net><5085AF34.2070003@nagios.com> Message-ID: I figured it out. Quite simple actually and works great, Here's my steps: 1.) Download CustomURL and install in system folder (it will ask you). Setup each url protocol you desire. Overwrite telnet if you want. You can test in Firefox or whatever browser you use (i.e. by entering telnet://x.x.x.x replacing the x's with the IP you want to telnet to). 2.) Go into the Nagios host template that you are using for hosts you need ping -t, telnet, and ssh for and enter this in the notes field (not notes_url): ping telnet ssh To my surprise the notes field supports html code. Once you add this code, restart Nagios and now in the extended info are of the host you will find the 3 links for all hosts using that template. I may even add some cool mini icons later, but for now the simple text links work fine. Example: define host { name critical check_command check-host-alive max_check_attempts 1 check_interval 1 retry_interval 1 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r,f,s notes ping telnet ssh register 0 } Maybe this will help someone. Cheers... -Will From: Will Bashlor [mailto:wbashlor at atcnetworks.net] Sent: Monday, October 22, 2012 9:20 PM To: Nagios Users List Subject: Re: [Nagios-users] ping, telnet, ssh, from nagios-core website Using CustomURL I can get telnet, ssh, and ping -t working using action_url with no problem. It works great! One problem though, the hosts I have in multiple groups only show the IP when hovering over the star in 1 group only. For example "Test Switch" will show "ssh://192.168.1.200" in 1 group but the other group the same host shows "ssh://". Not sure how to fix that yet. If I can get that worked out and find a way for multiple action_urls or another way to slide a link in there using a macro that will be great! Stay tuned... -Will From: Will Bashlor [mailto:wbashlor at atcnetworks.net] Sent: Monday, October 22, 2012 6:14 PM To: mguthrie at nagios.com; Nagios Users List Subject: Re: [Nagios-users] ping, telnet, ssh, from nagios-core website Thanks Mike. If macro's can be used in action_urls I think I can get it to work with CustomURL . Would you happen to have the link to the patch allowing multiple URLs? I can't find it but will look more when I get home. -Will -----Original Message----- From: Mike Guthrie [mailto:mguthrie at nagios.com] Sent: Monday, October 22, 2012 4:40 PM To: Nagios Users List Subject: Re: [Nagios-users] ping, telnet, ssh, from nagios-core website Looks like someone did come up with a patch for the CGI's that would allow multiple action URL's, but it may take some playing around to get it to do what you want it to do. Although there may be other addon projects that do this already that I'm unaware of. To my knowledge you can't use a browser to access ssh, ping, telnet etc. You'd need some sort of a custom API to be able to run those commands for you from the command line. Nagios XI (commercial version of Nagios) does have some of these quick actions. Image is attached. On 10/22/2012 3:28 PM, Will Bashlor wrote: > Hi List, > > I want to be able to click on an icon or link on the Nagios core website > and ping, telnet, ssh, etc. to each host. What's the easiest way to > accomplish this? I've researched and haven't found much that's solid. > > I've seen the action_url. Seems like that may work if I modify how > windows responds to certain urls, (i.e. CustomURL) like ping://, > telnet:// , ssh://, etc. I'm not sure how it would handle $HOSTADDRESS$, > or I guess that would be translated by Nagios? And I think I'm limited > to 1 action_url? > > Then I read something about using notes...? I'm not sure about that one. > > Someone also mentioned Nagios var? I'm not a programmer. > > I would even be happy with a windows Nagios app is I had to, but would > rather it be within the website. > > This is a basic function of most commercial monitoring tools, hopefully > there's an easy way. > > Thoughts anyone? Thanks in advance. > > -Will > > > ------------------------------------------------------------------------ ------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 12080 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cosmin.neagu at omnilogic.ro Tue Oct 23 15:59:56 2012 From: cosmin.neagu at omnilogic.ro (Cosmin Neagu) Date: Tue, 23 Oct 2012 16:59:56 +0300 Subject: Plugin check_oracle_health In-Reply-To: References: <506AD7E5.1050807@omnilogic.ro> <506AED26.3060807@seres.es> <506BD7AF.1080307@omnilogic.ro> Message-ID: <5086A2DC.90505@omnilogic.ro> Hi all, I manage to install the oracle client on nagios machine after all (google is the best) and making all the necesary setting so that check_oracle_health is working from command line as nagios user: nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health --connect IGAS --username abc --password abc --mode=tnsping Use of qw(...) as parentheses is deprecated at ./check_oracle_health line 4163. Use of qw(...) as parentheses is deprecated at ./check_oracle_health line 6167. OK - connection established to IGAS. nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health --connect IGAS --username abc --password abc --mode=connection-time Use of qw(...) as parentheses is deprecated at ./check_oracle_health line 4163. Use of qw(...) as parentheses is deprecated at ./check_oracle_health line 6167. OK - 0.10 seconds to connect as iapc_etl | connection_time=0.0968;1;5 nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health --connect IGAS --username abc --password abc --mode=connected-users Use of qw(...) as parentheses is deprecated at ./check_oracle_health line 4163. Use of qw(...) as parentheses is deprecated at ./check_oracle_health line 6167. OK - 31 connected users | connected_users=31;50;100 The command is defined like this: define command{ command_name check_oracle_health command_line $USER1$/check_oracle_health $ARG1$ } And the services: define service { use generic-service host_name DBIGASDS service_description Reachability via tnsping check_command check_oracle_health! --connect IGAS --username abc --password abc --mode=tnsping contacts cosmin } define service { use generic-service host_name DBIGASDS service_description Connection time to DB check_command check_oracle_health!--connect IGAS --username abc --password abc mode=connection-time contacts cosmin } define service { use generic-service host_name DBIGASDS service_description Connected users to DB check_command check_oracle_health!--connect IGAS --username abc --password abc mode=connected-users contacts cosmin I also set in .bashrc the enviroment variables: export ORACLE_HOME=/usr/lib/oracle/11.2/client export PATH=$PATH:$ORACLE_HOME/bin export LD_LIBRARY_PATH=$ORACLE_HOME/lib But, in Nagios 3.4.1, i do not receive the corect status for those services: For all 3 services i receive: CRITICAL - cannot connect to IGAS. install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC (@INC contains: /usr/local/nagios/libexec /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 13) line 3. I realy don't know what to check anymore and why does it say that, so any help would be apreciated. More info: nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health -V check_oracle_health (1.7.3) nagios at monitor:/usr/local/nagios/etc$ uname -a Linux monitor 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012 i686 i686 i386 GNU/Linux nagios at monitor:/usr/local/nagios/etc$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.1 LTS Release: 12.04 Codename: precise Cosmin Neagu NOC Team Leader Str. I. G. Duca nr. 36 Otopeni, Judetul Ilfov, 075100 Romania Tel: 021 303 3159 / 0732 669 193 www.omnilogic.ro On 10/03/2012 09:34 AM, Claudio Kuenzler wrote: > It's not that hard and a lot of things are written in the > documentation of check_oracle_health. > I even wrote an article about this in September 2011 explaining the steps: > http://www.claudiokuenzler.com/blog/192/install-perl-dbd-oracle-DBD::Oracle-on-SuSE-SLES10-without-cpan > > > You should do it the way you prefer of course. But in my setup I > wanted to run check_oracle_health on a standalone Nagios server. That > way I also see if there's a latency in the remote sql query. Real life > applications rarely use localhost connections. > > On Wed, Oct 3, 2012 at 8:14 AM, Cosmin Neagu > > wrote: > > Well, thats the hard part for me, installing those ORA files - > didnt find yet how to do that. I think installing the plugin on > DBServer and using NRPE is easier. > > Cosmin Neagu > NOC Team Leader > Str. I. G. Duca nr. 36 > Otopeni, Judetul Ilfov, 075100 Romania > Tel: 021 303 3159 / 0732 669 193 > www.omnilogic.ro > > On 10/02/2012 06:05 PM, Claudio Kuenzler wrote: >> >> The plugin needs to be installed on the Oracle Database server. >> >> >> That's not entirely correct. It can also run on a standalone >> Nagios server. >> But you need to install the ora files to be able to launch the >> plugin against an Oracle DB server. >> I did that successfully on Nagios 3.3.1 against ORA11. >> >> >> >> ------------------------------------------------------------------------------ >> Don't let slow site performance ruin your business. Deploy New Relic APM >> Deploy New Relic app performance management and know exactly >> what is happening inside your Ruby, Python, PHP, Java, and .NET app >> Try New Relic at no cost today and get our sweet Data Nerd shirt too! >> http://p.sf.net/sfu/newrelic-dev2dev >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New > Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mike-nagios at 5dninja.net Tue Oct 23 23:00:36 2012 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Tue, 23 Oct 2012 14:00:36 -0700 Subject: Passive-only master still pinging Message-ID: <50870574.2060303@5dninja.net> I've got a passive-only master that is configured to never execute checks. Yet it's still performing ping checks for some hosts at some times. This is mostly just annoying, but when it decides to ping hosts that it doesn't have a route to, pagers go off. I've got 30k services in this config, so debug isn't really an easy option. Seeing this on 3.3.1. Any ideas? # excerpt from nagios.cfg accept_passive_host_checks=1 cached_host_check_horizon=15 check_for_orphaned_hosts=0 check_host_freshness=0 enable_predictive_host_dependency_checks=0 execute_host_checks=0 host_inter_check_delay_method=s max_host_check_spread=30 obsess_over_hosts=0 passive_host_checks_are_soft=1 translate_passive_host_checks=0 use_aggressive_host_checking=0 -- Mike Lindsey ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From booleanenator at gmail.com Wed Oct 24 04:34:16 2012 From: booleanenator at gmail.com (booleanenator at gmail.com) Date: Wed, 24 Oct 2012 02:34:16 +0000 Subject: Passive-only master still pinging In-Reply-To: <50870574.2060303@5dninja.net> References: <50870574.2060303@5dninja.net> Message-ID: <1726304028-1351046059-cardhu_decombobulator_blackberry.rim.net-744303340-@b28.c17.bise6.blackberry> You can always set the check command for the host to execute the check_dummy plugin so that if it doesn't get the result and decides to run an active check check_dummy will force it to be in an up state. Sent on the Sprint? Now Network from my BlackBerry? -----Original Message----- From: Mike Lindsey Date: Tue, 23 Oct 2012 14:00:36 To: Nagios Users List Reply-To: Nagios Users List Subject: [Nagios-users] Passive-only master still pinging I've got a passive-only master that is configured to never execute checks. Yet it's still performing ping checks for some hosts at some times. This is mostly just annoying, but when it decides to ping hosts that it doesn't have a route to, pagers go off. I've got 30k services in this config, so debug isn't really an easy option. Seeing this on 3.3.1. Any ideas? # excerpt from nagios.cfg accept_passive_host_checks=1 cached_host_check_horizon=15 check_for_orphaned_hosts=0 check_host_freshness=0 enable_predictive_host_dependency_checks=0 execute_host_checks=0 host_inter_check_delay_method=s max_host_check_spread=30 obsess_over_hosts=0 passive_host_checks_are_soft=1 translate_passive_host_checks=0 use_aggressive_host_checking=0 -- Mike Lindsey ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mike-nagios at 5dninja.net Wed Oct 24 18:59:21 2012 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Wed, 24 Oct 2012 09:59:21 -0700 Subject: Passive-only master still pinging In-Reply-To: <1726304028-1351046059-cardhu_decombobulator_blackberry.rim.net-744303340-@b28.c17.bise6.blackberry> References: <50870574.2060303@5dninja.net> <1726304028-1351046059-cardhu_decombobulator_blackberry.rim.net-744303340-@b28.c17.bise6.blackberry> Message-ID: <50881E69.90505@5dninja.net> In about a month I'll be getting an official request to have freshness checking turned on, with all the commands being something like: echo "Stale check!";exit 2 So, unfortunately ensuring that the master never ever accidentally runs a check is important, even beyond the current issue of hosts without routes. On 10/23/12 7:34 PM, booleanenator at gmail.com wrote: > You can always set the check command for the host to execute the check_dummy plugin so that if it doesn't get the result and decides to run an active check check_dummy will force it to be in an up state. > Sent on the Sprint? Now Network from my BlackBerry? > > -----Original Message----- > From: Mike Lindsey > Date: Tue, 23 Oct 2012 14:00:36 > To: Nagios Users List > Reply-To: Nagios Users List > Subject: [Nagios-users] Passive-only master still pinging > > I've got a passive-only master that is configured to never execute > checks. Yet it's still performing ping checks for some hosts at some > times. This is mostly just annoying, but when it decides to ping hosts > that it doesn't have a route to, pagers go off. > > I've got 30k services in this config, so debug isn't really an easy option. > > Seeing this on 3.3.1. Any ideas? > > # excerpt from nagios.cfg > accept_passive_host_checks=1 > cached_host_check_horizon=15 > check_for_orphaned_hosts=0 > check_host_freshness=0 > enable_predictive_host_dependency_checks=0 > execute_host_checks=0 > host_inter_check_delay_method=s > max_host_check_spread=30 > obsess_over_hosts=0 > passive_host_checks_are_soft=1 > translate_passive_host_checks=0 > use_aggressive_host_checking=0 > -- Mike Lindsey ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sathish.dayalan at tcs.com Wed Oct 24 12:29:30 2012 From: sathish.dayalan at tcs.com (Sathish Dayalan) Date: Wed, 24 Oct 2012 15:59:30 +0530 Subject: Nagios pgsql problem Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bmomartins at gmail.com Wed Oct 24 22:13:37 2012 From: bmomartins at gmail.com (Bruno Martins) Date: Wed, 24 Oct 2012 21:13:37 +0100 Subject: Nagios pgsql problem In-Reply-To: References: Message-ID: <1351109617.2741.6.camel@g62.lan> On Wed, 2012-10-24 at 15:59 +0530, Sathish Dayalan wrote: > > "/opt/nagios/libexec/check_pgsql: error while loading shared > libraries: libpq.so.5: cannot open shared object file: No such file or > directory" > I would suspect that your system is missing some PostgreSQL libraries. On a CentOS system you can issue the following command: yum provides */libpq.so.5 This will tell you which packages provide that missing library. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Oct 25 00:21:00 2012 From: ae at op5.se (Andreas Ericsson) Date: Thu, 25 Oct 2012 00:21:00 +0200 Subject: Passive-only master still pinging In-Reply-To: <50870574.2060303@5dninja.net> References: <50870574.2060303@5dninja.net> Message-ID: <508869CC.5020404@op5.se> On 10/23/2012 11:00 PM, Mike Lindsey wrote: > I've got a passive-only master that is configured to never execute > checks. Yet it's still performing ping checks for some hosts at some > times. This is mostly just annoying, but when it decides to ping hosts > that it doesn't have a route to, pagers go off. > > I've got 30k services in this config, so debug isn't really an easy option. > > Seeing this on 3.3.1. Any ideas? > If the master accepts passive checks, it's impossible to disable host checks completely, since some dependency checks are done without any care to whether or not modules say "I've got this. You go back to sleep". The only way I know of to completely block out host checks from a master is to use Merlin as pollers, leave all the checks to pollers and set "takeover = no" for all pollers while avoiding sending passive checks to the master. That means the master will never be the point of origin for any problems in the network, and dependency checks never happen. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From m.borsani at it.net Thu Oct 25 16:06:11 2012 From: m.borsani at it.net (Marco Borsani) Date: Thu, 25 Oct 2012 16:06:11 +0200 Subject: use the check_dummy Message-ID: <007701cdb2b9$e9797f00$bc6c7d00$@it.net> Hi I have a distributed configuration between the Nagios secondary server (server B) and the Nagios main server (server A). In the server A I configured many passive services that are active in server B, using the command check_dummy. I use also freshness_threshold = 300 , so after 5 minutes I load the new configuration , all passive services are in OK state. I don't want to see all the passive service in PENDING state until receive (when ?) the first data. To send information from server B to server A I use event_handler and send_nsca. My problem is that if I receive an error from server B, the check_dummy will override it after 5 minutes . how can I solve it ? Event_handler send data only when state not are OK Regards Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nvalera at gmail.com Fri Oct 26 16:17:09 2012 From: nvalera at gmail.com (=?ISO-8859-1?Q?Nicol=E1s_Valera?=) Date: Fri, 26 Oct 2012 11:17:09 -0300 Subject: Using "contacts" in host definition -- Bug ? In-Reply-To: <007701cdb2b9$e9797f00$bc6c7d00$@it.net> References: <007701cdb2b9$e9797f00$bc6c7d00$@it.net> Message-ID: <508A9B65.4050107@gmail.com> Hi, can you tell me how to disabling object inheritance completely? the services inherit the contact_groups defined in host thanks in advance! On 09/27/2012 02:37 PM, Frost, Mark {BIS} wrote: > > >> -----Original Message----- >> From: Andreas Ericsson [mailto:a... at op5.se] >> Sent: Thursday, September 27, 2012 3:08 PM >> To: Nagios Users List >> Cc: Frost, Mark {BIS} >> Subject: Re: [Nagios-users] Using "contacts" in host definition -- Bug ? > >> On 09/26/2012 09:25 AM, Frost, Mark {BIS} wrote: >>> I believe this is a "feature" introduced in 3.3 or thereabouts. I've >>> always found it very irritating and wish there was some way to turn >>> off inheriting host contacts/contactgroups to services as it's never >>> what I want. >>> > >> It's a half misfeature. The intention was (and is) that services with no >> contactgroups OR contacts should inherit the ones from the host, but it >> was coded up so that if the service had contactgroups (but not contacts) >> it would inherit contacts (but not contactgroups) from the host. The same >> applied when the service had contacts but no contactgroups and the host >> had contactgroups. > >> In 4.0 this is fixed so only services with neither contacts nor contact- >> groups inherit them from the host. > >> -- >> Andreas Ericsson andreas.erics... at op5.se > > I still see that as a misfeature. I would rather have the preflight > check tell me there's an error because I forgot to define contacts > for the service than for it to assume that what I want is anything to > be inherited from a host definition. I'd be OK if that were the default > behavior and was configurable, but I'd be the first to disable that > in nagios.cfg if it were a configurable preference. Yeah, I know, > patches gleefully accepted :-). > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lgantchev at adie.org Fri Oct 26 16:04:45 2012 From: lgantchev at adie.org (Lubomir GANTCHEV) Date: Fri, 26 Oct 2012 16:04:45 +0200 Subject: check_openmanage error Message-ID: Hello, We have updated our servers today and after updating the plugin check_openmanage began to display an error message: *Problem running 'omreport storage controller': Error! Invalid name=value pair: controller* If we launch the plugin, without disk checks, all is well: *root at dell:~# /usr/lib/nagios/plugins/check_openmanage --no-storage * *OK - System: 'PowerEdge R710', SN: 'XXXXXXX', 6 GB ram (3 dimms), not checking storage * Do you have any tips to fix the problem? Plugin version: *# Version and similar info * *$NAME = 'check_openmanage'; * *$VERSION = '3.7.6'; * *$AUTHOR = 'Trond H. Amundsen'; * *$CONTACT = 't.h.amundsen at usit.uio.no'; * Omreport version and options: *root at dell:~# omreport about * * * *Product name : Server Administrator * *Version : 7.1.0 * *Copyright : Copyright (C) Dell Inc. 1995-2012 All rights reserved. * *Company : Dell Inc. * *root at dell:~# omreport -? * * * *omreport Reports component properties. * * * *The available command(s) are: * * * *Command Description * *about Product and version properties. * *preferences Report system preferences. * *system System component properties. * *chassis Chassis component properties. * * * *Usage: omreport [name=value...] ... [option...] * * * *Valid command line options are: * * * *-? Print available command(s) or command help. * *-fmt Format for output results, default is lst. * *Where: lst List format. * *tbl Table format. * *ssv Semicolon separated format. * *cdv Custom delimiter separated format. * *xml Raw XML format. * *-outc Redirect output to file, delete old if exists. * *OR * *-outa Redirect output to file, append to old if exists. * *OR * *Output may also be redirected using Operating System facilities (e.g. |more). * Thank you in advance Lubomir -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From leonardo at lbasolutions.com Fri Oct 26 17:25:15 2012 From: leonardo at lbasolutions.com (Leonardo Bacha Abrantes) Date: Fri, 26 Oct 2012 13:25:15 -0200 Subject: monitoring windows print server Message-ID: Hi guys! I have a windows server working as print server. How can I monitore printers health, queue, etc.. ? is possible to do it with the plugin check_nt ? many thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The Windows 8 Center In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From palli at ok.is Fri Oct 26 17:41:47 2012 From: palli at ok.is (=?utf-8?Q?P=C3=A1ll_Gu=C3=B0j=C3=B3n_Sigur=C3=B0sson?=) Date: Fri, 26 Oct 2012 15:41:47 -0000 (GMT) Subject: Introducing Adagios - Another web configuration interface to Nagios In-Reply-To: References: Message-ID: <67f5a7aa-8118-4825-9c21-648b437fc323@zimbra.okhysing.is> Hello everyone, This is a call for testers on our new Nagios web configuration utility. We use pynag as our underlying library to configure nagios in-place. We would love feedback from any interested party to help us iron out bugs and ideas on what Nagios tasks currently take to much of your time and could be made easier with a web interface. Features * Edit nagios configs in-place without a database backend (thanks pynag) * Audit of configuration changes (aka git integration) * Bulk Edit/Copy/Delete of objects * Value-add for both novices and nagios gurus * Rest Interface * Start/Stop/Reload of Nagios Service Adagios also integrates nicely with okconfig offering features such as: * Template support * Preconfigured templates (windows,linux,oracle,brocade,etc) * Remotely push agent to client (windows,rhel,debian,suse are supported) * Network scan to find unmonitored hosts * Easy changes to plugin thresholds via nagios macros As with any configuration utility. Please make sure you take backups before installing in a live environment. Install instruction for Centos/RHEL: https://github.com/opinkerfi/adagios/blob/master/README.md Live demo here: http://adagios.opensource.is ------------------------------------------------------------------------------ The Windows 8 Center In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From support at voipbusiness.us Fri Oct 26 21:14:37 2012 From: support at voipbusiness.us (Tech Support) Date: Fri, 26 Oct 2012 15:14:37 -0400 Subject: Printing multi-line output from status.cgi Message-ID: <004201cdb3ae$24b1dcd0$6e159670$@us> All; I've been looking for a way to print multi-line output from the Nagios web interface. What I mean by that is that the output from status.cgi only displays a single line of output, even though extinfo.cgi will display all of the information. What I did to solve this was to edit the Nagios source code file cgi/status.c and make a single change in two places (I'm running Nagios V. 3.4.1). Change line 1893 from this: printf("%s ", (temp_status->plugin_output == NULL) ? "" : html_encode(temp_status->plugin_output, TRUE)); to this: if( temp_status->long_plugin_output != NULL ) printf( "
%s", html_encode( temp_status->long_plugin_output, TRUE ) ); else printf( "%s ", html_encode( temp_status->plugin_output, TRUE ) ); and then do the same thing on line 2332. Type 'make' at the prompt, and it should compile just the binary status.cgi. Of course, it's simple enough to undo. Just save the original status.cgi and then copy it back if you want. On my system, I copied it to /usr/local/Nagios/sbin. That solved the problem for me, so I thought I would share my results with the mailing list. Regards; John. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From NOC at eurofmc.com Sat Oct 27 09:53:03 2012 From: NOC at eurofmc.com (Network Operation Center FMC Luxemburg) Date: Sat, 27 Oct 2012 09:53:03 +0200 Subject: Chage/add colors for alerts display Message-ID: <508B92DF.1070805@eurofmc.com> Hi Everybody It's possible to have more colors of 'red', green', 'orange' for displaying the alerts ? The principe should be so in the en plugins : - The variable STATE_WARNING = 1 gives an orange colorfor the display - It's possible to create a new variable (i.e. STATE_SOMETHING) valorised by a particular evenement, and associated with a blue color for example? Thanks alot, Fran?ois NOC FMC Luxemburg -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Sat Oct 27 14:33:26 2012 From: ae at op5.se (Andreas Ericsson) Date: Sat, 27 Oct 2012 14:33:26 +0200 Subject: Chage/add colors for alerts display In-Reply-To: <508B92DF.1070805@eurofmc.com> References: <508B92DF.1070805@eurofmc.com> Message-ID: <508BD496.9080903@op5.se> On 10/27/2012 09:53 AM, Network Operation Center FMC Luxemburg wrote: > Hi Everybody > > It's possible to have more colors of 'red', green', 'orange' for > displaying the alerts ? > > The principe should be so in the en plugins : > > - The variable STATE_WARNING = 1 gives an orange colorfor the > display - It's possible to create a new variable (i.e. > STATE_SOMETHING) valorised by a particular evenement, and associated > with a blue color for example? > No, it's not. It would be possible to assign a particular color to denote that something is amiss due to a particular dependency or some such, but adding a new exit code isn't very likelt to happen. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cosmin.neagu at omnilogic.ro Mon Oct 29 09:50:12 2012 From: cosmin.neagu at omnilogic.ro (Cosmin Neagu) Date: Mon, 29 Oct 2012 10:50:12 +0200 Subject: Plugin check_oracle_health In-Reply-To: <5086A2DC.90505@omnilogic.ro> References: <506AD7E5.1050807@omnilogic.ro> <506AED26.3060807@seres.es> <506BD7AF.1080307@omnilogic.ro> <5086A2DC.90505@omnilogic.ro> Message-ID: <508E4344.80200@omnilogic.ro> Hi Nagios Users, Can someone help me or give a hint on why check_oracle_health does not work (as describe below) ? On 10/23/2012 04:59 PM, Cosmin Neagu wrote: > Hi all, > > I manage to install the oracle client on nagios machine after all > (google is the best) and making all the necesary setting so that > check_oracle_health is working from command line as nagios user: > > nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health > --connect IGAS --username abc --password abc --mode=tnsping > Use of qw(...) as parentheses is deprecated at ./check_oracle_health > line 4163. > Use of qw(...) as parentheses is deprecated at ./check_oracle_health > line 6167. > OK - connection established to IGAS. > nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health > --connect IGAS --username abc --password abc --mode=connection-time > Use of qw(...) as parentheses is deprecated at ./check_oracle_health > line 4163. > Use of qw(...) as parentheses is deprecated at ./check_oracle_health > line 6167. > OK - 0.10 seconds to connect as iapc_etl | connection_time=0.0968;1;5 > nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health > --connect IGAS --username abc --password abc --mode=connected-users > Use of qw(...) as parentheses is deprecated at ./check_oracle_health > line 4163. > Use of qw(...) as parentheses is deprecated at ./check_oracle_health > line 6167. > OK - 31 connected users | connected_users=31;50;100 > > > The command is defined like this: > define command{ > command_name check_oracle_health > command_line $USER1$/check_oracle_health $ARG1$ > } > > And the services: > define service { > use generic-service > host_name DBIGASDS > service_description Reachability via tnsping > check_command check_oracle_health! --connect IGAS > --username abc --password abc --mode=tnsping > contacts cosmin > } > > define service { > use generic-service > host_name DBIGASDS > service_description Connection time to DB > check_command check_oracle_health!--connect IGAS > --username abc --password abc mode=connection-time > contacts cosmin > } > define service { > use generic-service > host_name DBIGASDS > service_description Connected users to DB > check_command check_oracle_health!--connect IGAS > --username abc --password abc mode=connected-users > contacts cosmin > > > I also set in .bashrc the enviroment variables: > export ORACLE_HOME=/usr/lib/oracle/11.2/client > export PATH=$PATH:$ORACLE_HOME/bin > export LD_LIBRARY_PATH=$ORACLE_HOME/lib > > > But, in Nagios 3.4.1, i do not receive the corect status for those > services: > For all 3 services i receive: > CRITICAL - cannot connect to IGAS. install_driver(Oracle) failed: > Can't locate DBD/Oracle.pm in @INC (@INC contains: > /usr/local/nagios/libexec /etc/perl /usr/local/lib/perl/5.14.2 > /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 > /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at > (eval 13) line 3. > > > I realy don't know what to check anymore and why does it say that, so > any help would be apreciated. > > More info: > nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health -V > check_oracle_health (1.7.3) > nagios at monitor:/usr/local/nagios/etc$ uname -a > Linux monitor 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 17:25:43 > UTC 2012 i686 i686 i386 GNU/Linux > nagios at monitor:/usr/local/nagios/etc$ lsb_release -a > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 12.04.1 LTS > Release: 12.04 > Codename: precise > > Cosmin Neagu > NOC Team Leader > Str. I. G. Duca nr. 36 > Otopeni, Judetul Ilfov, 075100 Romania > Tel: 021 303 3159 / 0732 669 193 > www.omnilogic.ro > On 10/03/2012 09:34 AM, Claudio Kuenzler wrote: >> It's not that hard and a lot of things are written in the >> documentation of check_oracle_health. >> I even wrote an article about this in September 2011 explaining the >> steps: >> http://www.claudiokuenzler.com/blog/192/install-perl-dbd-oracle-DBD::Oracle-on-SuSE-SLES10-without-cpan >> >> >> You should do it the way you prefer of course. But in my setup I >> wanted to run check_oracle_health on a standalone Nagios server. That >> way I also see if there's a latency in the remote sql query. Real >> life applications rarely use localhost connections. >> >> On Wed, Oct 3, 2012 at 8:14 AM, Cosmin Neagu >> > wrote: >> >> Well, thats the hard part for me, installing those ORA files - >> didnt find yet how to do that. I think installing the plugin on >> DBServer and using NRPE is easier. >> >> Cosmin Neagu >> NOC Team Leader >> Str. I. G. Duca nr. 36 >> Otopeni, Judetul Ilfov, 075100 Romania >> Tel: 021 303 3159 / 0732 669 193 >> www.omnilogic.ro >> >> On 10/02/2012 06:05 PM, Claudio Kuenzler wrote: >>> >>> The plugin needs to be installed on the Oracle Database server. >>> >>> >>> That's not entirely correct. It can also run on a standalone >>> Nagios server. >>> But you need to install the ora files to be able to launch the >>> plugin against an Oracle DB server. >>> I did that successfully on Nagios 3.3.1 against ORA11. >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Don't let slow site performance ruin your business. Deploy New Relic APM >>> Deploy New Relic app performance management and know exactly >>> what is happening inside your Ruby, Python, PHP, Java, and .NET app >>> Try New Relic at no cost today and get our sweet Data Nerd shirt too! >>> http://p.sf.net/sfu/newrelic-dev2dev >>> >>> >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at 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 >> >> >> ------------------------------------------------------------------------------ >> Don't let slow site performance ruin your business. Deploy New >> Relic APM >> Deploy New Relic app performance management and know exactly >> what is happening inside your Ruby, Python, PHP, Java, and .NET app >> Try New Relic at no cost today and get our sweet Data Nerd shirt too! >> http://p.sf.net/sfu/newrelic-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> >> >> >> >> ------------------------------------------------------------------------------ >> Don't let slow site performance ruin your business. Deploy New Relic APM >> Deploy New Relic app performance management and know exactly >> what is happening inside your Ruby, Python, PHP, Java, and .NET app >> Try New Relic at no cost today and get our sweet Data Nerd shirt too! >> http://p.sf.net/sfu/newrelic-dev2dev >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ck at claudiokuenzler.com Mon Oct 29 10:06:57 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Mon, 29 Oct 2012 10:06:57 +0100 Subject: Plugin check_oracle_health In-Reply-To: <508E4344.80200@omnilogic.ro> References: <506AD7E5.1050807@omnilogic.ro> <506AED26.3060807@seres.es> <506BD7AF.1080307@omnilogic.ro> <5086A2DC.90505@omnilogic.ro> <508E4344.80200@omnilogic.ro> Message-ID: You didn't correctly install the DBD::Oracle or your env variables are not correct, as your error message shows it: Can't locate DBD/Oracle.pm in @INC (@INC contains: /usr/local/nagios/libexec /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 13) line 3. You said that you have set the paths in .bashrc: I also set in .bashrc the enviroment variables: export ORACLE_HOME=/usr/lib/oracle/11.2/client export PATH=$PATH:$ORACLE_HOME/bin export LD_LIBRARY_PATH=$ORACLE_HOME/lib You probably set this as root. Don't forget that Nagios runs under its own user! (by default: nagios). On Mon, Oct 29, 2012 at 9:50 AM, Cosmin Neagu wrote: > Hi Nagios Users, > Can someone help me or give a hint on why check_oracle_health does not > work (as describe below) ? > > On 10/23/2012 04:59 PM, Cosmin Neagu wrote: > > Hi all, > > I manage to install the oracle client on nagios machine after all (google > is the best) and making all the necesary setting so that > check_oracle_health is working from command line as nagios user: > > nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health --connect > IGAS --username abc --password abc --mode=tnsping > Use of qw(...) as parentheses is deprecated at ./check_oracle_health line > 4163. > Use of qw(...) as parentheses is deprecated at ./check_oracle_health line > 6167. > OK - connection established to IGAS. > nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health --connect > IGAS --username abc --password abc --mode=connection-time > Use of qw(...) as parentheses is deprecated at ./check_oracle_health line > 4163. > Use of qw(...) as parentheses is deprecated at ./check_oracle_health line > 6167. > OK - 0.10 seconds to connect as iapc_etl | connection_time=0.0968;1;5 > nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health --connect > IGAS --username abc --password abc --mode=connected-users > Use of qw(...) as parentheses is deprecated at ./check_oracle_health line > 4163. > Use of qw(...) as parentheses is deprecated at ./check_oracle_health line > 6167. > OK - 31 connected users | connected_users=31;50;100 > > > The command is defined like this: > define command{ > command_name check_oracle_health > command_line $USER1$/check_oracle_health $ARG1$ > } > > And the services: > define service { > use generic-service > host_name DBIGASDS > service_description Reachability via tnsping > check_command check_oracle_health! --connect IGAS > --username abc --password abc --mode=tnsping > contacts cosmin > } > > define service { > use generic-service > host_name DBIGASDS > service_description Connection time to DB > check_command check_oracle_health!--connect IGAS > --username abc --password abc mode=connection-time > contacts cosmin > } > define service { > use generic-service > host_name DBIGASDS > service_description Connected users to DB > check_command check_oracle_health!--connect IGAS > --username abc --password abc mode=connected-users > contacts cosmin > > > I also set in .bashrc the enviroment variables: > export ORACLE_HOME=/usr/lib/oracle/11.2/client > export PATH=$PATH:$ORACLE_HOME/bin > export LD_LIBRARY_PATH=$ORACLE_HOME/lib > > > But, in Nagios 3.4.1, i do not receive the corect status for those > services: > For all 3 services i receive: > CRITICAL - cannot connect to IGAS. install_driver(Oracle) failed: Can't > locate DBD/Oracle.pm in @INC (@INC contains: /usr/local/nagios/libexec > /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 > /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 > /usr/local/lib/site_perl .) at (eval 13) line 3. > > > I realy don't know what to check anymore and why does it say that, so any > help would be apreciated. > > More info: > nagios at monitor:/usr/local/nagios/libexec$ ./check_oracle_health -V > check_oracle_health (1.7.3) > nagios at monitor:/usr/local/nagios/etc$ uname -a > Linux monitor 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC > 2012 i686 i686 i386 GNU/Linux > nagios at monitor:/usr/local/nagios/etc$ lsb_release -a > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 12.04.1 LTS > Release: 12.04 > Codename: precise > > Cosmin Neagu > NOC Team Leader > Str. I. G. Duca nr. 36 > Otopeni, Judetul Ilfov, 075100 Romania > Tel: 021 303 3159 / 0732 669 193 > www.omnilogic.ro > > On 10/03/2012 09:34 AM, Claudio Kuenzler wrote: > > It's not that hard and a lot of things are written in the documentation of > check_oracle_health. > I even wrote an article about this in September 2011 explaining the steps: > > http://www.claudiokuenzler.com/blog/192/install-perl-dbd-oracle-DBD::Oracle-on-SuSE-SLES10-without-cpan > > You should do it the way you prefer of course. But in my setup I wanted to > run check_oracle_health on a standalone Nagios server. That way I also see > if there's a latency in the remote sql query. Real life applications rarely > use localhost connections. > > On Wed, Oct 3, 2012 at 8:14 AM, Cosmin Neagu wrote: > >> Well, thats the hard part for me, installing those ORA files - didnt >> find yet how to do that. I think installing the plugin on DBServer and >> using NRPE is easier. >> >> Cosmin Neagu >> NOC Team Leader >> Str. I. G. Duca nr. 36 >> Otopeni, Judetul Ilfov, 075100 Romania >> Tel: 021 303 3159 / 0732 669 193 >> www.omnilogic.ro >> >> On 10/02/2012 06:05 PM, Claudio Kuenzler wrote: >> >> >> The plugin needs to be installed on the Oracle Database server. >>> >> >> That's not entirely correct. It can also run on a standalone Nagios >> server. >> But you need to install the ora files to be able to launch the plugin >> against an Oracle DB server. >> I did that successfully on Nagios 3.3.1 against ORA11. >> >> >> >> >> ------------------------------------------------------------------------------ >> Don't let slow site performance ruin your business. Deploy New Relic APM >> Deploy New Relic app performance management and know exactly >> what is happening inside your Ruby, Python, PHP, Java, and .NET app >> Try New Relic at no cost today and get our sweet Data Nerd shirt too!http://p.sf.net/sfu/newrelic-dev2dev >> >> >> >> _______________________________________________ >> Nagios-users mailing listNagios-users at 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 >> >> >> >> >> ------------------------------------------------------------------------------ >> Don't let slow site performance ruin your business. Deploy New Relic APM >> Deploy New Relic app performance management and know exactly >> what is happening inside your Ruby, Python, PHP, Java, and .NET app >> Try New Relic at no cost today and get our sweet Data Nerd shirt too! >> http://p.sf.net/sfu/newrelic-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> > > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too!http://p.sf.net/sfu/newrelic-dev2dev > > > > _______________________________________________ > Nagios-users mailing listNagios-users at 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 > > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today:http://p.sf.net/sfu/appdyn_sfd2d_oct > > > > _______________________________________________ > Nagios-users mailing listNagios-users at 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 > > > > > ------------------------------------------------------------------------------ > The Windows 8 Center - In partnership with Sourceforge > Your idea - your app - 30 days. > Get started! > http://windows8center.sourceforge.net/ > what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From m.borsani at it.net Mon Oct 29 10:12:25 2012 From: m.borsani at it.net (Marco Borsani) Date: Mon, 29 Oct 2012 10:12:25 +0100 Subject: send SMS to BlackBerry Message-ID: <006601cdb5b5$8957e7c0$9c07b740$@it.net> Hi all ! >From six months , all our technicians used BB phone. I noticed that if someone of them shut the phone, the radiomodem used by Nagios to send SMS receive an error signal. I develop some procedure to be sure than all SMS are sent (verify the GSM network , radiomodem on, etc.), but this BB behaviour can hang my radiomodem did you meet same problems in your environments? regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di Libero S.r.l. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sjcarr at gmail.com Mon Oct 29 10:54:28 2012 From: sjcarr at gmail.com (Steven Carr) Date: Mon, 29 Oct 2012 09:54:28 +0000 Subject: send SMS to BlackBerry In-Reply-To: <006601cdb5b5$8957e7c0$9c07b740$@it.net> References: <006601cdb5b5$8957e7c0$9c07b740$@it.net> Message-ID: A user switching off their Blackberry should not have any impact to your GSM modem sending SMS messages to the phone which is switched off, the messages will be stored by their cell provider and then forwarded to the Blackberry when it's powered back on. Steve On 29 October 2012 09:12, Marco Borsani wrote: > Hi all ! > > > > From six months , all our technicians used BB phone. > > > > I noticed that if someone of them shut the phone, the radiomodem used by > Nagios to send SMS receive an error signal. > > I develop some procedure to be sure than all SMS are sent (verify the GSM > network , radiomodem on, etc.), but this BB behaviour can hang my radiomodem > ? did you meet same problems in your environments? > > > > regards > > > > Marco Borsani > > Unix and Monitoring Sysadmin > > Technical Operations Dpt. > > tel: +39 010 4310115 > > fax: +39 02 30130311 > > cell: +39 329 5953944 > > ITnet Srl > > Societ? con socio unico > > Direzione e Coordinamento di Libero S.r.l. > > > > > ------------------------------------------------------------------------------ > The Windows 8 Center - In partnership with Sourceforge > Your idea - your app - 30 days. > Get started! > http://windows8center.sourceforge.net/ > what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From amit.anjarlekar at gmail.com Mon Oct 29 11:03:42 2012 From: amit.anjarlekar at gmail.com (Amit Anjarlekar) Date: Mon, 29 Oct 2012 13:03:42 +0300 Subject: Nagios Graph Issue Message-ID: Dear All, Nagios graphs scale is improper. Also i added few remote servers for monitoring. For them weekly or monthly data reflecting properly. But not for last 4 hours or 24 hours? Any body have idea on this then plz suggest. Thanks & Regards Amit Linux Admin, TCS. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ck at claudiokuenzler.com Mon Oct 29 11:11:30 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Mon, 29 Oct 2012 11:11:30 +0100 Subject: Nagios Graph Issue In-Reply-To: References: Message-ID: What Nagios Graphing solution do you use? In case of Nagiosgraph, it does what you tell Nagiosgraph to do. Check your map file, you might have to adjust some of the entries to match special plugins/perfdata. On Mon, Oct 29, 2012 at 11:03 AM, Amit Anjarlekar wrote: > Dear All, > > Nagios graphs scale is improper. Also i added few remote servers for > monitoring. For them weekly or monthly data reflecting properly. But not > for last 4 hours or 24 hours? > > Any body have idea on this then plz suggest. > > Thanks & Regards > Amit > Linux Admin, TCS. > > > ------------------------------------------------------------------------------ > The Windows 8 Center - In partnership with Sourceforge > Your idea - your app - 30 days. > Get started! > http://windows8center.sourceforge.net/ > what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From m.borsani at it.net Mon Oct 29 11:15:26 2012 From: m.borsani at it.net (Marco Borsani) Date: Mon, 29 Oct 2012 11:15:26 +0100 Subject: R: send SMS to BlackBerry In-Reply-To: References: <006601cdb5b5$8957e7c0$9c07b740$@it.net> Message-ID: <009301cdb5be$567f4f10$037ded30$@it.net> HI Steve I wrote what I see ;-) When we used other kind of mobile we never had these problems. I make some test...shut my BB, send some SMS..at the beginning no problem...after some time (I don't know exactly) the problems start. Could depend on our BB contract ? We have BlackBerry Internet Service, NOT BlackBerry Enterprise Server Marco -----Messaggio originale----- Da: Steven Carr [mailto:sjcarr at gmail.com] Inviato: luned? 29 ottobre 2012 10:54 A: Nagios Users List Oggetto: Re: [Nagios-users] send SMS to BlackBerry A user switching off their Blackberry should not have any impact to your GSM modem sending SMS messages to the phone which is switched off, the messages will be stored by their cell provider and then forwarded to the Blackberry when it's powered back on. Steve On 29 October 2012 09:12, Marco Borsani wrote: > Hi all ! > > > > From six months , all our technicians used BB phone. > > > > I noticed that if someone of them shut the phone, the radiomodem used > by Nagios to send SMS receive an error signal. > > I develop some procedure to be sure than all SMS are sent (verify the > GSM network , radiomodem on, etc.), but this BB behaviour can hang my > radiomodem did you meet same problems in your environments? > > > > regards > > > > Marco Borsani > > Unix and Monitoring Sysadmin > > Technical Operations Dpt. > > tel: +39 010 4310115 > > fax: +39 02 30130311 > > cell: +39 329 5953944 > > ITnet Srl > > Societ con socio unico > > Direzione e Coordinamento di Libero S.r.l. > > > > > ---------------------------------------------------------------------- > -------- The Windows 8 Center - In partnership with Sourceforge Your > idea - your app - 30 days. > Get started! > http://windows8center.sourceforge.net/ > what-html-developers-need-to-know-about-coding-windows-8-metro-style-a > pps/ _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rochak41 at hotmail.com Mon Oct 29 11:17:49 2012 From: rochak41 at hotmail.com (Roch Akanor) Date: Mon, 29 Oct 2012 10:17:49 +0000 Subject: NGRT4N 2.1.0 is Now Available for Beta Testing Message-ID: Hi,We are happy to announce that 2.1.0 is now available for beta testing. Codenamed M-Sylvie, this release brings new features in many areas and stabilizes previous versions: better performance thanks to optimized network communications, more robustness in message exchanges, bug fixes, tested on the latest Windows 7 and Windows 8 operating systems. See Release notes or jump to the Download page. NGRT4N also named RealOpInsight is an open source engine enabling advanced dashboard management capabilities on top of Nagios?. The Solution brings Novel Concepts along with a Powerful Technology that allow operators to be effective in challenging operating environments such as Network Operations Centers (NOC) and large data centers. For more info: http://ngrt4n.com, http://RealOpInsight.com. NGRT4N is also listed in Nagios Exchange (Addons -> Maps and Diagram, ). Enjoy!--Roch AkanorSenior Contributor | http://ngrt4n.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From amit.anjarlekar at gmail.com Mon Oct 29 11:44:56 2012 From: amit.anjarlekar at gmail.com (Amit Anjarlekar) Date: Mon, 29 Oct 2012 13:44:56 +0300 Subject: Nagios Graph Issue In-Reply-To: References: Message-ID: Hi , I am using pnp4nagios. Could you please let me know as which exactly file i need to check as i am new to nagios.. Also if you have any url where i will get exact idea on which files are called from collecting data till graph creation, it will be gr8 help for m to understand nagios architecture. Thanks Amit On Mon, Oct 29, 2012 at 1:11 PM, Claudio Kuenzler wrote: > What Nagios Graphing solution do you use? > In case of Nagiosgraph, it does what you tell Nagiosgraph to do. Check > your map file, you might have to adjust some of the entries to match > special plugins/perfdata. > > On Mon, Oct 29, 2012 at 11:03 AM, Amit Anjarlekar < > amit.anjarlekar at gmail.com> wrote: > >> Dear All, >> >> Nagios graphs scale is improper. Also i added few remote servers for >> monitoring. For them weekly or monthly data reflecting properly. But not >> for last 4 hours or 24 hours? >> >> Any body have idea on this then plz suggest. >> >> Thanks & Regards >> Amit >> Linux Admin, TCS. >> >> >> ------------------------------------------------------------------------------ >> The Windows 8 Center - In partnership with Sourceforge >> Your idea - your app - 30 days. >> Get started! >> http://windows8center.sourceforge.net/ >> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> > > > > ------------------------------------------------------------------------------ > The Windows 8 Center - In partnership with Sourceforge > Your idea - your app - 30 days. > Get started! > http://windows8center.sourceforge.net/ > what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sjcarr at gmail.com Mon Oct 29 11:57:20 2012 From: sjcarr at gmail.com (Steven Carr) Date: Mon, 29 Oct 2012 10:57:20 +0000 Subject: R: send SMS to BlackBerry In-Reply-To: <009301cdb5be$567f4f10$037ded30$@it.net> References: <006601cdb5b5$8957e7c0$9c07b740$@it.net> <009301cdb5be$567f4f10$037ded30$@it.net> Message-ID: I think it's more of a co-incidence than actually a problem with the Blackberry. SMS is a cell provider service, not a Blackberry specific service, so it wouldn't make any difference what contract you are on as it isn't dependant in any way on Blackberry. What is the actual error message that you are getting back from the GSM modem? (you're probably going to have to turn on full debugs to get the raw commands/responses) Steve On 29 October 2012 10:15, Marco Borsani wrote: > HI Steve > > I wrote what I see ;-) > When we used other kind of mobile we never had these problems. > I make some test...shut my BB, send some SMS..at the beginning no problem...after some time (I don't know exactly) the problems start. > > Could depend on our BB contract ? We have BlackBerry Internet Service, NOT BlackBerry Enterprise Server > > Marco ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ck at claudiokuenzler.com Mon Oct 29 12:06:37 2012 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Mon, 29 Oct 2012 12:06:37 +0100 Subject: Nagios Graph Issue In-Reply-To: References: Message-ID: Sorry, don't really know pnp4nagios, but from other message mails the graphs seem to be handled by templates. You might want to check the pnp4nagios template documentation http://docs.pnp4nagios.org/pnp-0.6/tpl Also take a look at http://www.monitoring-portal.org/wbb/index.php?page=Board&boardID=58 . The pnp4nagios developer is often in that bulletin board. On Mon, Oct 29, 2012 at 11:44 AM, Amit Anjarlekar wrote: > Hi , > > I am using pnp4nagios. Could you please let me know as which exactly file > i need to check as i am new to nagios.. Also if you have any url where i > will get exact idea on which files are called from collecting data till > graph creation, it will be gr8 help for m to understand nagios architecture. > > Thanks > Amit > > > On Mon, Oct 29, 2012 at 1:11 PM, Claudio Kuenzler wrote: > >> What Nagios Graphing solution do you use? >> In case of Nagiosgraph, it does what you tell Nagiosgraph to do. Check >> your map file, you might have to adjust some of the entries to match >> special plugins/perfdata. >> >> On Mon, Oct 29, 2012 at 11:03 AM, Amit Anjarlekar < >> amit.anjarlekar at gmail.com> wrote: >> >>> Dear All, >>> >>> Nagios graphs scale is improper. Also i added few remote servers for >>> monitoring. For them weekly or monthly data reflecting properly. But not >>> for last 4 hours or 24 hours? >>> >>> Any body have idea on this then plz suggest. >>> >>> Thanks & Regards >>> Amit >>> Linux Admin, TCS. >>> >>> >>> ------------------------------------------------------------------------------ >>> The Windows 8 Center - In partnership with Sourceforge >>> Your idea - your app - 30 days. >>> Get started! >>> http://windows8center.sourceforge.net/ >>> >>> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at 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 >>> >> >> >> >> ------------------------------------------------------------------------------ >> The Windows 8 Center - In partnership with Sourceforge >> Your idea - your app - 30 days. >> Get started! >> http://windows8center.sourceforge.net/ >> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> > > > > ------------------------------------------------------------------------------ > The Windows 8 Center - In partnership with Sourceforge > Your idea - your app - 30 days. > Get started! > http://windows8center.sourceforge.net/ > what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nvalera at gmail.com Mon Oct 29 15:25:22 2012 From: nvalera at gmail.com (=?ISO-8859-1?Q?Nicol=E1s_Valera?=) Date: Mon, 29 Oct 2012 11:25:22 -0300 Subject: service inheritance contacts defined in host Message-ID: <508E91D2.5050108@gmail.com> hi! i have a problem with contacts inheritance. when i defined one group (it) with two contacts (user1,user2) and a host with two services. when i put "contact_groups it" in the definition of host, services inherit the contact group. i would like the group to see the host and the contacts see only one service like this: define host{ host_name sw1 alias SW1 address x.x.x.x parents sw0 use generic-host contact_groups it } define service { service_description f0/1 host_name sw1 check_command check_snmp_int_v2!FastEthernet0.1$ use generic-service contacts user1 } define service { service_description f0/2 host_name sw1 check_command check_snmp_int_v2!FastEthernet0.2$ use generic-service contacts user2 } sorry about my english. Thanks in advance! Nicol?s. ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From amit.anjarlekar at gmail.com Mon Oct 29 15:51:03 2012 From: amit.anjarlekar at gmail.com (Amit Anjarlekar) Date: Mon, 29 Oct 2012 17:51:03 +0300 Subject: Nagios Graph Issue In-Reply-To: References: Message-ID: Is files under /usr/local/pnp4nagios/var/perfdata/hostname/* should get updated? In my case nagios is running but files are not updating. What may be reason? Note - I upgraded from 3.3.1 ver to 3.4.1. From that day it stopped updating. Can any body help to resolve the same. Regards Amit On Mon, Oct 29, 2012 at 2:06 PM, Claudio Kuenzler wrote: > Sorry, don't really know pnp4nagios, but from other message mails the > graphs seem to be handled by templates. > You might want to check the pnp4nagios template documentation > http://docs.pnp4nagios.org/pnp-0.6/tpl > > Also take a look at > http://www.monitoring-portal.org/wbb/index.php?page=Board&boardID=58 . > The pnp4nagios developer is often in that bulletin board. > > > > On Mon, Oct 29, 2012 at 11:44 AM, Amit Anjarlekar < > amit.anjarlekar at gmail.com> wrote: > >> Hi , >> >> I am using pnp4nagios. Could you please let me know as which exactly file >> i need to check as i am new to nagios.. Also if you have any url where i >> will get exact idea on which files are called from collecting data till >> graph creation, it will be gr8 help for m to understand nagios architecture. >> >> Thanks >> Amit >> >> >> On Mon, Oct 29, 2012 at 1:11 PM, Claudio Kuenzler > > wrote: >> >>> What Nagios Graphing solution do you use? >>> In case of Nagiosgraph, it does what you tell Nagiosgraph to do. Check >>> your map file, you might have to adjust some of the entries to match >>> special plugins/perfdata. >>> >>> On Mon, Oct 29, 2012 at 11:03 AM, Amit Anjarlekar < >>> amit.anjarlekar at gmail.com> wrote: >>> >>>> Dear All, >>>> >>>> Nagios graphs scale is improper. Also i added few remote servers for >>>> monitoring. For them weekly or monthly data reflecting properly. But not >>>> for last 4 hours or 24 hours? >>>> >>>> Any body have idea on this then plz suggest. >>>> >>>> Thanks & Regards >>>> Amit >>>> Linux Admin, TCS. >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> The Windows 8 Center - In partnership with Sourceforge >>>> Your idea - your app - 30 days. >>>> Get started! >>>> http://windows8center.sourceforge.net/ >>>> >>>> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at 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 >>>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> The Windows 8 Center - In partnership with Sourceforge >>> Your idea - your app - 30 days. >>> Get started! >>> http://windows8center.sourceforge.net/ >>> >>> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at 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 >>> >> >> >> >> ------------------------------------------------------------------------------ >> The Windows 8 Center - In partnership with Sourceforge >> Your idea - your app - 30 days. >> Get started! >> http://windows8center.sourceforge.net/ >> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> > > > > ------------------------------------------------------------------------------ > The Windows 8 Center - In partnership with Sourceforge > Your idea - your app - 30 days. > Get started! > http://windows8center.sourceforge.net/ > what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jairosaravia93 at gmail.com Mon Oct 29 18:42:29 2012 From: jairosaravia93 at gmail.com (Jairo Saravia) Date: Mon, 29 Oct 2012 11:42:29 -0600 Subject: Problems with check_cisco_ping_ssh Message-ID: Hello, I have problems with check_cisco_ping_ssh pluglin Code: Select all " #!/usr/bin/perl # # Usa la libreria Net::SSH de http://www.stupidfool.org/perl/net-ssh/ # # Uso: /usr/local/sbin//usr/local/sbin/check_cisco_ping_ssh # # use strict; use Net::SSH::Perl; $ENV{'HOME'} = '/var/lib/nagios/'; my $router=$ARGV[0]; my $puerto=$ARGV[1]; my $usuariort=$ARGV[2]; my $clave=$ARGV[3]; my $ip=$ARGV[4]; my $warn=$ARGV[5]; my $crit=$ARGV[6]; my $sesion_ssh = Net::SSH::Perl->new($router, protocol=>1, cipher=>'DES', port=>$puerto, debug=> 'false'); $sesion_ssh->login($usuariort, $clave); my $comando="ping $ip"; my($salida, $salida_error, $valor_exit) = $sesion_ssh->cmd($comando); $salida =~ /Success rate is (\d*) (.*)/; my $rate=$1; if ( $rate <= $crit ) { print "PROBLEMA: Rate=$rate%\n"; exit 2; } if ( $rate <= $warn ) { print "WARNING: Rate=$rate%\n"; exit 1; } if ( $rate <= 100 ) { print "OK: Rate=$rate%\n"; exit 0; } exit 3; " becasuse when I execute the plugin it presente me this error "Waiting for server public key. Connection closed by remote host. at /usr/share/perl5/vendor_perl/Net/SSH/Perl/SSH1.pm line 78" I install: Code: Select allyum install perl-Net-Telnet-Cisco.noarch yum install perl-Net-SSH-Perl.noarch yum install perl-Net-OpenSSH-Parallel.noarch but the problem persists, somebody have any idea of this error -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marcelofenner at gmail.com Tue Oct 30 13:55:29 2012 From: marcelofenner at gmail.com (Marcelo Fenner Bitencourt) Date: Tue, 30 Oct 2012 10:55:29 -0200 Subject: Monitoring BGP Session - Mikrotik and Nagios Message-ID: Hi, my name is Marcelo i?m wireless enginner mikrotik certifield. Today i need monitor my bgp session. i have 3 links. If somebody knows a plugins for nagios, please send me news. thanks -- ______________________________ Marcelo Fenner Bitencourt -- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dgrgicevic at gmail.com Tue Oct 30 14:12:53 2012 From: dgrgicevic at gmail.com (davor grgicevic) Date: Tue, 30 Oct 2012 14:12:53 +0100 Subject: Monitoring BGP Session - Mikrotik and Nagios In-Reply-To: References: Message-ID: http://exchange.nagios.org/directory/Plugins/Network-Protocols/SNMP/check_bgp_neighbors/details http://exchange.nagios.org/directory/Plugins/Network-Protocols/BGP-2D4/check_bgp/details cheers davor On Tue, Oct 30, 2012 at 1:55 PM, Marcelo Fenner Bitencourt < marcelofenner at gmail.com> wrote: > Hi, my name is Marcelo i?m wireless enginner mikrotik certifield. > Today i need monitor my bgp session. i have 3 links. > > If somebody knows a plugins for nagios, please send me news. > > thanks > > -- > ______________________________ > Marcelo Fenner Bitencourt > > > -- > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Davor Grgicevic -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From benny at bennyvision.com Tue Oct 30 18:30:37 2012 From: benny at bennyvision.com (C. Bensend) Date: Tue, 30 Oct 2012 12:30:37 -0500 Subject: Distributed monitoring: v3.4.1 not translating host states like it should Message-ID: <6dc16b6976161d9aafcdc5a92b74813f.squirrel@webmail.stinkweasel.net> Hey folks, I am in the process of implementing a distributed monitoring architecture, and I'm having some problems with host state. Here are the specs: Nagios v3.4.1 RHEL 6.3 Using NSCA to send results to passive collector Yes, I have 'translate_passive_host_checks' set on the collector. :) So, the system is up and running, and I do see host alerts in /var/log/messages on the collector. However, in the web interface, all hosts remain "up". I can go into the host details for a host that's offline because of Sandy, and it reports a host status of "UP", with the status information "PING CRITICAL - Packet loss 100%". Obviously, the host states coming from the passive monitors are not being translated. Active host and service checks are disabled on the collector, and enabled on the monitors. Passive host and service checks are enabled everywhere, and the collector *is* receiving them. I'd appreciate it if someone can help me out here... I'll provide whatever details are necessary... Thanks much! Benny -- "Unless you're a lawyer, you don't understand Oracle licensing. That applies equally to Oracle employees as well as customers." -- Me, 2012-05-10 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bruno.martins at gruporumos.com Wed Oct 31 19:10:12 2012 From: bruno.martins at gruporumos.com (Bruno Martins) Date: Wed, 31 Oct 2012 18:10:12 +0000 Subject: Notifications question Message-ID: <044E5B27D6C7E844B90EC93525278C343EE0D2E5@grexc01.rumos.com.pt> Hello list, I have a server running Nagios 3.4.1 under CentOS 6.3 and I have spent some hours trying to find why some (but not all) service notifications simply don't get to my mailbox, even though they appear in nagios.log file. This is my contact definition: define contact { contact_name helpdesk alias Helpdesk User host_notifications_enabled 1 service_notifications_enabled 1 host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,r service_notification_options w,c,r host_notification_commands host-notify-by-email service_notification_commands notify-by-email can_submit_commands 1 email user at domain.com register 1 } This contact is part of WISESRV-critical group. This host is sending out notifications: define host { host_name FLAGSRV_imagina alias DC da Flag address x.y.z.q parents RUMOSRD_rlxfw01-rumos use Server register 1 } And this host is not: define host { host_name RUMOSSRV_rlxfs01 alias Servidor de partilha de ficheiros address x.y.z.q parents RUMOSRD_FLXSWCORE01 check_command check-host-alive use Server contact_groups WISESRV-critical notes rlxfs01 icon_image_alt rlxfs01 vrml_image FileServer.png register 1 } And this is the host template used by both hosts: define host { name Server alias Server Template check_command check-host-alive use advance24x7-host max_check_attempts 5 contact_groups WISESRV-critical notification_interval 60 notification_period 24x7 notification_options d,u,r notifications_enabled 1 icon_image FileServer.png vrml_image FileServer.png statusmap_image FileServer.png register 0 } This host template uses other host templates, as the 'use' parameter states. define host { name advance24x7-host use generic-host event_handler_enabled 1 notification_interval 60 notification_period 24x7 notification_options d,r notifications_enabled 1 register 0 } ...and this is also using another host template: define host { name advance8x5-host use generic-host event_handler_enabled 1 contacts helpdesk notification_interval 60 notification_period 8x5 notification_options d,r notifications_enabled 1 register 0 } Regarding to services, I have this two set: define service { #NAGIOSQL_CONFIG_NAME FLAGSRV_imagina host_name FLAGSRV_imagina service_description PING use service-WISESRV check_command check_ping!100.0,20%!500.0,60% register 1 } define service { #NAGIOSQL_CONFIG_NAME RUMOSSRV_rlxfs01 host_name RUMOSSRV_rlxfs01 service_description Disk Space Usage use service-WISESRV check_command check_nt_disk!secret!C!95!99 contact_groups WISESRV-critical register 1 } Using this service templates: define service { name service-WISESRV service_description Template de servicos use advance24x7-service max_check_attempts 3 check_interval 3 retry_interval 1 notification_interval 45 notification_period 24x7 notification_options w,c,r notifications_enabled 1 contact_groups WISESRV-critical register 0 } define service { name advance24x7-service use generic-service max_check_attempts 5 check_interval 5 retry_interval 1 check_period 24x7 notification_interval 60 notification_period 24x7 notification_options w,c,r notifications_enabled 1 contact_groups WISESRV-critical stalking_options w,c register 0 } define service { name generic-service is_volatile 0 max_check_attempts 5 check_interval 60 retry_interval 15 active_checks_enabled 1 passive_checks_enabled 1 check_period none parallelize_check 1 obsess_over_service 1 check_freshness 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 notification_period none notification_options w,u,c,r notifications_enabled 1 contact_groups admins stalking_options o,w,u,c failure_prediction_enabled 1 register 0 } Can you please point me in the right direction? Am I misreading something? And sorry for the long post. I should have used some web "pasting" tool. Just remembered. :) Best regards, Bruno Martins -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dey.ranjib at gmail.com Wed Oct 31 20:09:07 2012 From: dey.ranjib at gmail.com (Ranjib Dey) Date: Thu, 1 Nov 2012 00:39:07 +0530 Subject: Notifications question In-Reply-To: <044E5B27D6C7E844B90EC93525278C343EE0D2E5@grexc01.rumos.com.pt> References: <044E5B27D6C7E844B90EC93525278C343EE0D2E5@grexc01.rumos.com.pt> Message-ID: Whats the corresponding maillog output? On Nov 1, 2012 12:13 AM, "Bruno Martins" wrote: > Hello list,**** > > ** ** > > I have a server running Nagios 3.4.1 under CentOS 6.3 and I have spent > some hours trying to find why some (but not all) service notifications > simply don?t get to my mailbox, even though they appear in nagios.log file. > **** > > ** ** > > This is my contact definition:**** > > define contact {**** > > contact_name helpdesk**** > > alias Helpdesk User** > ** > > host_notifications_enabled 1**** > > service_notifications_enabled 1**** > > host_notification_period 24x7**** > > service_notification_period 24x7**** > > host_notification_options d,r**** > > service_notification_options w,c,r**** > > host_notification_commands > host-notify-by-email**** > > service_notification_commands notify-by-email > **** > > can_submit_commands 1**** > > email user at domain.com** > ** > > register 1**** > > } **** > > ** ** > > This contact is part of WISESRV-critical group.**** > > ** ** > > This host is sending out notifications:**** > > define host {**** > > host_name FLAGSRV_imagina**** > > alias DC da Flag**** > > address x.y.z.q**** > > parents > RUMOSRD_rlxfw01-rumos**** > > use Server**** > > register 1**** > > } > *** > * > > ** ** > > And this host is not:**** > > define host {**** > > host_name > RUMOSSRV_rlxfs01**** > > alias > Servidor de partilha de ficheiros**** > > address > x.y.z.q**** > > parents > RUMOSRD_FLXSWCORE01**** > > check_command > check-host-alive**** > > use > Server**** > > contact_groups > WISESRV-critical**** > > notes > rlxfs01**** > > icon_image_alt > rlxfs01**** > > vrml_image > FileServer.png**** > > register > 1**** > > } **** > > And this is the host template used by both hosts:**** > > define host {**** > > name > Server**** > > alias > Server Template**** > > check_command > check-host-alive**** > > use > advance24x7-host**** > > max_check_attempts 5**** > > contact_groups > WISESRV-critical**** > > notification_interval 60**** > > notification_period 24x7** > ** > > notification_options d,u,r** > ** > > notifications_enabled 1**** > > icon_image > FileServer.png**** > > vrml_image > FileServer.png**** > > statusmap_image > FileServer.png**** > > register > 0**** > > }**** > > ** ** > > This host template uses other host templates, as the ?use? parameter > states.**** > > define host {**** > > name > advance24x7-host**** > > use > generic-host**** > > event_handler_enabled 1**** > > notification_interval 60**** > > notification_period 24x7** > ** > > notification_options d,r**** > > notifications_enabled 1**** > > register > 0**** > > }**** > > ** ** > > ?and this is also using another host template:**** > > define host {**** > > name > advance8x5-host**** > > use > generic-host**** > > event_handler_enabled 1**** > > contacts > helpdesk**** > > notification_interval 60**** > > notification_period 8x5*** > * > > notification_options d,r**** > > notifications_enabled 1**** > > register > 0**** > > }**** > > ** ** > > Regarding to services, I have this two set:**** > > define service {**** > > #NAGIOSQL_CONFIG_NAME FLAGSRV_imagina**** > > host_name > FLAGSRV_imagina**** > > service_description PING** > ** > > use > service-WISESRV**** > > check_command > check_ping!100.0,20%!500.0,60%**** > > register > 1**** > > } **** > > ** ** > > define service {**** > > #NAGIOSQL_CONFIG_NAME RUMOSSRV_rlxfs01**** > > host_name > RUMOSSRV_rlxfs01**** > > service_description Disk > Space Usage**** > > use > service-WISESRV**** > > check_command > check_nt_disk!secret!C!95!99**** > > contact_groups > WISESRV-critical**** > > register > 1**** > > } **** > > ** ** > > Using this service templates:**** > > define service {**** > > name > service-WISESRV**** > > service_description > Template de servicos**** > > use > advance24x7-service**** > > max_check_attempts 3**** > > check_interval 3 > **** > > retry_interval 1 > **** > > notification_interval 45**** > > notification_period 24x7** > ** > > notification_options w,c,r** > ** > > notifications_enabled 1**** > > contact_groups > WISESRV-critical**** > > register > 0**** > > } **** > > ** ** > > define service {**** > > name > advance24x7-service**** > > use > generic-service**** > > max_check_attempts 5**** > > check_interval 5 > **** > > retry_interval 1 > **** > > check_period > 24x7**** > > notification_interval 60**** > > notification_period 24x7** > ** > > notification_options w,c,r** > ** > > notifications_enabled 1**** > > contact_groups > WISESRV-critical**** > > stalking_options w,c* > *** > > register > 0**** > > } **** > > ** ** > > define service {**** > > name > generic-service**** > > is_volatile > 0**** > > max_check_attempts 5**** > > check_interval 60 > **** > > retry_interval > 15**** > > active_checks_enabled 1**** > > passive_checks_enabled 1**** > > check_period > none**** > > parallelize_check 1** > ** > > obsess_over_service 1**** > > check_freshness 0**** > > event_handler_enabled 1**** > > flap_detection_enabled 1**** > > process_perf_data 1**** > > retain_status_information 1**** > > retain_nonstatus_information 1**** > > notification_interval 60**** > > notification_period none** > ** > > notification_options w,u,c,r > **** > > notifications_enabled 1**** > > contact_groups > admins**** > > stalking_options > o,w,u,c**** > > failure_prediction_enabled 1**** > > register > 0**** > > } **** > > ** ** > > Can you please point me in the right direction? Am I misreading something? > **** > > ** ** > > And sorry for the long post. I should have used some web ?pasting? tool. > Just remembered. J**** > > ** ** > > Best regards,**** > > ** ** > > Bruno Martins**** > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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