search for: service_descript

Displaying 12 results from an estimated 12 matches for "service_descript".

2009 Apr 22
3
Exported Resources with keyword undef
Hello ! I''m using a lot of nagios_ commands in my puppet manifests and I saw a problem when using ''undef'' in exported resources : Here is a simple example : define nagios::service::distributed ($ensure=present, $service_description, $host_name=false, $contact_groups=false) { nagios_service {$name: ensure => $ensure, use => "generic-service-active", host_name => $host_name ? {false => $hostname, default => $host_name}, check_command => $name, tag => "nagios",...
2012 Oct 17
6
NoMethodError (undefined method `service_options' for nil:NilClass)
...uby-1.8.7-p370/lib/ruby/1.8/webrick/server.rb:82:in `start'' in "vendor/extensions/smartmove/app/controllers/quote_requests_controller.rb" line no:136 is @regions = ServiceDescription.find_by_name(''region'').service_options in my database table is there service_descriptions and service_options. is there related to mysql or controller? please guide me i am very much confuse. this is existing application i have to configure in local as well as on server Thank you in advance Thanking You Nirav -- You received this message because you are subscribed to the Googl...
2015 May 24
2
specify port on check_memcached.pl
...d I have my service definitions setup like this: # Define a service to check memcached on web1 (just the basics for right now). define service{ use local-service ; Name of service template to use host_name web1 service_description Check Memcached 11211 contact_groups linux-admins check_command check_memcached!web1.example.com !11211 notifications_enabled 1 } # Define a service to check memcached on web1 (just the basics for righ...
2007 Apr 11
10
Nagios asterisk monitoring
...s my nagios check_sip plugin configuration. define command{ command_name check_sip command_line $USER1$/check_sip -u $ARG1$ -H $HOSTADDRESS$ -w 5 } define service{ use generic-service host_name -PBX service_description SIP test check_command check_sip!sip:108@192.168.30.10 contact_groups admins max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 notification_interval...
2015 May 14
3
nagios check_local_disk failing
...-r path ] [-t timeout] [-u unit] [-v] [-X type] [-N type] [-n] I have a local check setup like this in the server's config: define service{ use local-service ; Name of service template to use host_name monitor1 service_description Root Partition check_command check_local_disk!20%!10%!/ } It's attempting to do a local disk check on the nagios server itself. Not an NRPE check. This is the command definition: # 'check_local_disk' command definition define command{...
2006 Jan 02
0
Service.open
Hi all, At the suggestion of a user, I''ve added a Service.open method in CVS. Looks like this: service = Service.open("ClipSrv") puts service.display_name puts service.service_description # or Service.open("myservice") do |s| s.service_description = "test" s.display_name = "new display" s.configure_service end What do you think? Dan
2011 Aug 11
6
need urgent help with including Ruby DSL class from puppet manifests
Hi, I have a Ruby class in "nagios" module - it''s located in nagios/ manifests/ssa_nagios_checks.rb and looks like this hostclass :ssa_nagios_checks do ... end In nagios/manifests/init.pp I have class nagios::server { ... include ssa_nagios_checks ... } And I get the following error .... debug: importing ''/etc/puppet/modules/nagios/manifests/
2009 Feb 13
10
Nagios: Error: Service check command ... not defined anywhere!
...use linux-server host_name ablpdm01 alias ablpdm01 address 10.121.42.100 } define service{ use local-service host_name ablpdm01 service_description HTTP check_command check_http3!8090 notifications_enabled 0 } .......... define host{ use linux-server host_name ablprx01 alias ablprx01 address...
2015 May 14
0
nagios check_local_disk failing
...type] [-N type] [-n] > > I have a local check setup like this in the server's config: > > define service{ > use local-service ; Name of > service template to use > host_name monitor1 > service_description Root Partition > check_command check_local_disk!20%!10%!/ > } > > It's attempting to do a local disk check on the nagios server itself. Not > an NRPE check. > > This is the command definition: > > # 'check_local_d...
2006 Jun 18
0
[ win32utils-Bugs-4699 ] Service dependencies are not being created properly
...using # s.dependencies = ["Tcpip", "Afd"] # Sample code: require ''win32/service'' Win32::Service::VERSION # => 0.5.0 svc = Win32::Service.new() svc.create_service{ |s| s.service_name = "MyApache" s.display_name = "MyApacheSvc" s.service_description = "My Apache Svc Description" s.binary_path_name = "C:\Apache\2.0.52\bin\Apache.exe -k runservice" s.start_type = Win32::Service::AUTO_START s.dependencies = ["Tcpip", "Afd"] # both are valid } svc.close # REG_MULTI_SZ value created for DependOnSer...
2010 Oct 20
2
nagios_service types and "name"
It seems that the nagios_service type will not write out the "name" property of nagios service objects. I had thought this was an oversight or a bug, till I saw this thread: http://www.mail-archive.com/puppet-bugs@googlegroups.com/msg10387.html which seems to imply that this is a deliberate "feature". Is this prohibition on "name" really the desired behaviour?
2011 Apr 04
4
Puppet nagios integration problem
...Puppet config, and the Nagios configs were written out properly. I''ve now added loads of Nagios host and service checks like this: @@nagios_service { "check_smtp_${hostname}": check_command => "check_nrpe!check_smtp", host_name => "$fqdn", service_description => "SMTP", } and then I collect them like this: Nagios_host <<||>> Nagios_service <<||>> Nagios_hostextinfo <<||>> Nagios_servicedependency <<||>> But today I spotted that my Nagios configs in /etc/nagios/ haven''t actually...