Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-12-05 Thread Andreas Ericsson
On 12/04/2012 02:29 PM, Supporto Tecnico - Crazy Network wrote:
   Here from object.cache
 
 define servicegroup {
  servicegroup_name   ftp-server
  alias   FTP Server
  }
 
 define service {
  host_name   Server.SysAdminDiary.it
  service_description Server FTP
  check_period24x7
  check_command   check_ftp
  contact_groups  sysadmindiary.it
  notification_period 24x7
  initial_state   o
  hourly_value1
  check_interval  5.00
  retry_interval  2.00
  max_check_attempts  3
  is_volatile 0
  parallelize_check   1
  active_checks_enabled   1
  passive_checks_enabled  1
  obsess  1
  event_handler_enabled   1
  low_flap_threshold  0.00
  high_flap_threshold 0.00
  flap_detection_enabled  1
  flap_detection_options  a
  freshness_threshold 0
  check_freshness 0
  notification_optionsr,c
  notifications_enabled   1
  notification_interval   60.00
  first_notification_delay0.00
  stalking_optionsn
  process_perf_data   1
  icon_image  ftp.png
  retain_status_information   1
  retain_nonstatus_information1
  }
 
 
 define contact {
  contact_nameandrea.iannucci
  alias   Andrea Iannucci
  service_notification_period 24x7
  host_notification_period24x7
  service_notification_optionsr,c
 
  host_notification_options   r,d,u
  service_notification_commands 
 notify-service-by-email,notify-service-by-sms
  host_notification_commands notify-host-by-email,notify-host-by-sms
  email   supp...@crazynetwork.it
  pager   00393388552885
  minimum_value   1
  host_notifications_enabled  1
  service_notifications_enabled   1
  can_submit_commands 1
  retain_status_information   1
  retain_nonstatus_information1
  }
 
 
 
 Apparently in contact definition the contact_groups disappear and it come 
 with an empty line.
 

In objects.cache the contacts are always written to the contactgroup's
members variable. If it's available there, Nagios knows about it. If
not, then there's something seriously wrong.

 Im preparing the box to send privatly login data so you can check by yourself.
 

Much appreciated. Many thanks.

-- 
Andreas Ericsson   andreas.erics...@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.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-12-05 Thread Supporto Tecnico - Crazy Network
  define contactgroup {
 contactgroup_name   sysadmindiary.it
 alias   SysAdminDiary.it Staff
 }

The only contactgroup i can see in object.cache

I did send you a private mail with login data for the box.

Regards, and thanks

Il 05/12/2012 14:20, Andreas Ericsson ha scritto:
 On 12/04/2012 02:29 PM, Supporto Tecnico - Crazy Network wrote:
Here from object.cache

 define servicegroup {
   servicegroup_name   ftp-server
   alias   FTP Server
   }

 define service {
   host_name   Server.SysAdminDiary.it
   service_description Server FTP
   check_period24x7
   check_command   check_ftp
   contact_groups  sysadmindiary.it
   notification_period 24x7
   initial_state   o
   hourly_value1
   check_interval  5.00
   retry_interval  2.00
   max_check_attempts  3
   is_volatile 0
   parallelize_check   1
   active_checks_enabled   1
   passive_checks_enabled  1
   obsess  1
   event_handler_enabled   1
   low_flap_threshold  0.00
   high_flap_threshold 0.00
   flap_detection_enabled  1
   flap_detection_options  a
   freshness_threshold 0
   check_freshness 0
   notification_optionsr,c
   notifications_enabled   1
   notification_interval   60.00
   first_notification_delay0.00
   stalking_optionsn
   process_perf_data   1
   icon_image  ftp.png
   retain_status_information   1
   retain_nonstatus_information1
   }


 define contact {
   contact_nameandrea.iannucci
   alias   Andrea Iannucci
   service_notification_period 24x7
   host_notification_period24x7
   service_notification_optionsr,c

   host_notification_options   r,d,u
   service_notification_commands 
 notify-service-by-email,notify-service-by-sms
   host_notification_commands notify-host-by-email,notify-host-by-sms
   email   supp...@crazynetwork.it
   pager   00393388552885
   minimum_value   1
   host_notifications_enabled  1
   service_notifications_enabled   1
   can_submit_commands 1
   retain_status_information   1
   retain_nonstatus_information1
   }



 Apparently in contact definition the contact_groups disappear and it come 
 with an empty line.

 In objects.cache the contacts are always written to the contactgroup's
 members variable. If it's available there, Nagios knows about it. If
 not, then there's something seriously wrong.

 Im preparing the box to send privatly login data so you can check by 
 yourself.

 Much appreciated. Many thanks.



-- 
Andrea Iannucci



Crazy Network di Iannucci Andrea
Viale G.B. Lulli, 24
00050 Cerveteri - RM
(w) www.crazynetwork.it
(e) andrea.iannu...@crazynetwork.it
(t) +39 06 62279876
(f) +39 06 62298767
(m) +39 338 8552885

---
Please consider our enviromental responsabilità before printing this 
E-Mail. Thank you.
---
Questo messaggio di posta elettronica contiene informazioni di carattere 
confidenziale rivolte esclusivamente al destinatario sopra indicato.
E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte 
di ogni altra persona. Nel caso aveste ricevuto questo messaggio di 
posta elettronica per errore, siete pregati di segnalarlo immediatamente 
al mittente e distruggere quanto ricevuto (compresi i file allegati) 
senza farne copia.
Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio 
costituisce violazione dell'obbligo di non prendere cognizione della 
corrispondenza tra altri soggetti, salvo più grave illecito, ed espone 
il responsabile alle relative conseguenze.

This e-mail is confidential and may also contain privileged information. 
If you are not the intended recipient you are not authorised to read, 
print, save, process or disclose this message. If you have received this 
message by mistake, please inform the sender immediately and delete this 
e-mail, its attachments and any copies.
Any use, distribution, reproduction or disclosure by any person other 
than the intended recipient is strictly prohibited and the person 
responsible may incur penalties.

 



--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. 

Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-12-05 Thread Andreas Ericsson
On 12/05/2012 02:28 PM, Supporto Tecnico - Crazy Network wrote:
   define contactgroup {
  contactgroup_name   sysadmindiary.it
  alias   SysAdminDiary.it Staff
  }
 
 The only contactgroup i can see in object.cache
 
 I did send you a private mail with login data for the box.
 

You did, and I'm perplexed.

The problem arises when precaching objects (which is discouraged in
Nagios 4, since it actually makes config loading slower rather than
faster for almost all cases).

The objects.precache file has you as a member of the contactgroup,
but the objects.cache file does not.

If I don't precache objects, it doesn't matter how I specify that
you should be a member of the group. You still get notifications.

If I do use the precache file, you don't get notifications no matter
how I specify it.

Now that I noticed this discrepancy, it appears there are other
issues with group membership parsing as well, and they only appear
when reading the precached object file. I'm working on a patch as
we speak and it appears I've got things fixed. I'll just run some
more tests and then send it out muy pronto.

Thanks for letting me sneak a peak at your server. This one would
most likely have baffled me for quite some time otherwise.

This should sort out many of the Nagios doesn't send notifications
issues that have cropped up here and there and that I've been unable
to reproduce.

-- 
Andreas Ericsson   andreas.erics...@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.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-12-05 Thread Supporto Tecnico - Crazy Network
  Nice to know is not my config way problem..

Let me know once i can re-try to install and when i can reset the 
testbox provided.

For now, thanks :)

Regards

Il 05/12/2012 15:51, Andreas Ericsson ha scritto:
 On 12/05/2012 02:28 PM, Supporto Tecnico - Crazy Network wrote:
define contactgroup {
   contactgroup_name   sysadmindiary.it
   alias   SysAdminDiary.it Staff
   }

 The only contactgroup i can see in object.cache

 I did send you a private mail with login data for the box.

 You did, and I'm perplexed.

 The problem arises when precaching objects (which is discouraged in
 Nagios 4, since it actually makes config loading slower rather than
 faster for almost all cases).

 The objects.precache file has you as a member of the contactgroup,
 but the objects.cache file does not.

 If I don't precache objects, it doesn't matter how I specify that
 you should be a member of the group. You still get notifications.

 If I do use the precache file, you don't get notifications no matter
 how I specify it.

 Now that I noticed this discrepancy, it appears there are other
 issues with group membership parsing as well, and they only appear
 when reading the precached object file. I'm working on a patch as
 we speak and it appears I've got things fixed. I'll just run some
 more tests and then send it out muy pronto.

 Thanks for letting me sneak a peak at your server. This one would
 most likely have baffled me for quite some time otherwise.

 This should sort out many of the Nagios doesn't send notifications
 issues that have cropped up here and there and that I've been unable
 to reproduce.



-- 
Andrea Iannucci



Crazy Network di Iannucci Andrea
Viale G.B. Lulli, 24
00050 Cerveteri - RM
(w) www.crazynetwork.it
(e) andrea.iannu...@crazynetwork.it
(t) +39 06 62279876
(f) +39 06 62298767
(m) +39 338 8552885

---
Please consider our enviromental responsabilità before printing this 
E-Mail. Thank you.
---
Questo messaggio di posta elettronica contiene informazioni di carattere 
confidenziale rivolte esclusivamente al destinatario sopra indicato.
E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte 
di ogni altra persona. Nel caso aveste ricevuto questo messaggio di 
posta elettronica per errore, siete pregati di segnalarlo immediatamente 
al mittente e distruggere quanto ricevuto (compresi i file allegati) 
senza farne copia.
Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio 
costituisce violazione dell'obbligo di non prendere cognizione della 
corrispondenza tra altri soggetti, salvo più grave illecito, ed espone 
il responsabile alle relative conseguenze.

This e-mail is confidential and may also contain privileged information. 
If you are not the intended recipient you are not authorised to read, 
print, save, process or disclose this message. If you have received this 
message by mistake, please inform the sender immediately and delete this 
e-mail, its attachments and any copies.
Any use, distribution, reproduction or disclosure by any person other 
than the intended recipient is strictly prohibited and the person 
responsible may incur penalties.

 



--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-12-05 Thread Andreas Ericsson
On 12/05/2012 04:12 PM, Supporto Tecnico - Crazy Network wrote:
   Nice to know is not my config way problem..
 
 Let me know once i can re-try to install and when i can reset the testbox 
 provided.
 

You can test it now.

 For now, thanks :)
 

You're welcome, and thanks you too :)

-- 
Andreas Ericsson   andreas.erics...@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.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-12-05 Thread Supporto Tecnico - Crazy Network
  Ok, seems is working!

Recompiled, restarted nagios and...

[1354722485.871976] [032.1] [pid=22807] Service notification will NOT be 
escalated.
[1354722485.871983] [032.1] [pid=22807] Adding normal contacts for 
service to notification list.
[1354722485.871990] [032.0] [pid=22807] No contacts were found for 
notification purposes.  No notification was sent out.
[1354722682.351821] [032.0] [pid=25265] ** Service Notification Attempt 
** Host: 'Server.SysAdminDiary.it', Service: 'Server FTP', Type: 0, 
Options: 0, Current State: 2, Last Notification: Thu Jan  1 01:00:00 1970
[1354722682.351891] [032.0] [pid=25265] Notification viability test passed.
[1354722682.351903] [032.1] [pid=25265] Current notification number: 1 
(incremented)
[1354722682.351914] [032.1] [pid=25265] Service notification will NOT be 
escalated.
[1354722682.351925] [032.1] [pid=25265] Adding normal contacts for 
service to notification list.
[1354722682.352187] [032.0] [pid=25265] 1 contacts were notified.  Next 
possible notification time: Wed Dec  5 17:51:22 2012
[1354722682.352203] [032.0] [pid=25265] 1 contacts were notified.

And email are arriving now!

Thanks a lot Andreas

Il 05/12/2012 16:47, Andreas Ericsson ha scritto:
 On 12/05/2012 04:12 PM, Supporto Tecnico - Crazy Network wrote:
Nice to know is not my config way problem..

 Let me know once i can re-try to install and when i can reset the testbox 
 provided.

 You can test it now.

 For now, thanks :)

 You're welcome, and thanks you too :)



-- 
Andrea Iannucci



Crazy Network di Iannucci Andrea
Viale G.B. Lulli, 24
00050 Cerveteri - RM
(w) www.crazynetwork.it
(e) andrea.iannu...@crazynetwork.it
(t) +39 06 62279876
(f) +39 06 62298767
(m) +39 338 8552885

---
Please consider our enviromental responsabilità before printing this 
E-Mail. Thank you.
---
Questo messaggio di posta elettronica contiene informazioni di carattere 
confidenziale rivolte esclusivamente al destinatario sopra indicato.
E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte 
di ogni altra persona. Nel caso aveste ricevuto questo messaggio di 
posta elettronica per errore, siete pregati di segnalarlo immediatamente 
al mittente e distruggere quanto ricevuto (compresi i file allegati) 
senza farne copia.
Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio 
costituisce violazione dell'obbligo di non prendere cognizione della 
corrispondenza tra altri soggetti, salvo più grave illecito, ed espone 
il responsabile alle relative conseguenze.

This e-mail is confidential and may also contain privileged information. 
If you are not the intended recipient you are not authorised to read, 
print, save, process or disclose this message. If you have received this 
message by mistake, please inform the sender immediately and delete this 
e-mail, its attachments and any copies.
Any use, distribution, reproduction or disclosure by any person other 
than the intended recipient is strictly prohibited and the person 
responsible may incur penalties.

 



--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-12-05 Thread Andreas Ericsson
On 12/05/2012 04:54 PM, Supporto Tecnico - Crazy Network wrote:
   Ok, seems is working!
 
 Recompiled, restarted nagios and...
 
 [1354722485.871976] [032.1] [pid=22807] Service notification will NOT be 
 escalated.
 [1354722485.871983] [032.1] [pid=22807] Adding normal contacts for service to 
 notification list.
 [1354722485.871990] [032.0] [pid=22807] No contacts were found for 
 notification purposes.  No notification was sent out.
 [1354722682.351821] [032.0] [pid=25265] ** Service Notification Attempt ** 
 Host: 'Server.SysAdminDiary.it', Service: 'Server FTP', Type: 0, Options: 0, 
 Current State: 2, Last Notification: Thu Jan  1 01:00:00 1970
 [1354722682.351891] [032.0] [pid=25265] Notification viability test passed.
 [1354722682.351903] [032.1] [pid=25265] Current notification number: 1 
 (incremented)
 [1354722682.351914] [032.1] [pid=25265] Service notification will NOT be 
 escalated.
 [1354722682.351925] [032.1] [pid=25265] Adding normal contacts for service to 
 notification list.
 [1354722682.352187] [032.0] [pid=25265] 1 contacts were notified.  Next 
 possible notification time: Wed Dec  5 17:51:22 2012
 [1354722682.352203] [032.0] [pid=25265] 1 contacts were notified.
 
 And email are arriving now!
 
 Thanks a lot Andreas
 

Excellent. Thanks for testing so promptly :)

-- 
Andreas Ericsson   andreas.erics...@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.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-12-04 Thread Andreas Ericsson
On 12/03/2012 04:41 PM, Supporto Tecnico - Crazy Network wrote:
Hi,
 
 i did re-install nagios again (from git repo) using: git clone
 git://github.com/ageric/nagios.git
 
 But still got same error from debug level 32:
 
 [1354549057.568949] [032.0] [pid=4151] ** Service Notification Attempt
 ** Host: 'Server.SysAdminDiary.it', Service: 'Server FTP', Type: 0,
 Options: 0, Current State: 2, Last Notification: Thu Jan  1 01:00:00 1970
 [1354549057.569017] [032.0] [pid=4151] Notification viability test passed.
 [1354549057.569029] [032.1] [pid=4151] Current notification number: 1
 (incremented)
 [1354549057.569040] [032.1] [pid=4151] Service notification will NOT be
 escalated.
 [1354549057.569049] [032.1] [pid=4151] Adding normal contacts for
 service to notification list.
 [1354549057.569056] [032.0] [pid=4151] No contacts were found for
 notification purposes.  No notification was sent out.
 
 Here contacts file:
 
 define contact{
   namecn-contacts
   service_notification_period 24x7
   host_notification_period24x7
   service_notification_optionsc,r
   host_notification_options   d,u,r
   service_notification_commands   notify-service-by-email
   host_notification_commands  notify-host-by-email
   register0
 }
 
 
 define contact{
   contact_nameandrea.iannucci
   use cn-contacts
   alias   Andrea Iannucci
   email   supp...@crazynetwork.it
   contact_groups  sysadmindiary.it
   service_notification_commands
 notify-service-by-email,notify-service-by-sms
   host_notification_commands
 notify-host-by-email,notify-host-by-sms
   pager   00391234567890
 }
 
 define contactgroup{
   contactgroup_name   sysadmindiary.it
   alias   SysAdminDiary.it Staff
 }
 
 Here service definition:
 
 define service{
   namecn-ftp-service
   active_checks_enabled   1
   passive_checks_enabled  1
   parallelize_check   1
   obsess_over_service 1
   check_freshness 0
   notifications_enabled   1
   event_handler_enabled   1
   flap_detection_enabled  1
   process_perf_data   1
   retain_status_information   1
   retain_nonstatus_information1
   is_volatile 0
   servicegroups   ftp-server
   service_description Server FTP
   check_command   check_ftp
   icon_image  ftp.png
   check_period24x7
   max_check_attempts  3
   normal_check_interval   5
   retry_check_interval2
   contact_groups  sysadmindiary.it
   notification_optionsc,r
   notification_interval   60
   notification_period 24x7
   register0
 }
 
 define servicegroup {
   servicegroup_name   ftp-server
   alias   FTP Server
 }
 
 Here service call in server host file.
 
 define service{
   use cn-ftp-service
   host_name   Server.SysAdminDiary.it
 }
 
 Any suggestions/hint?
 

So contactgroup is inherited from template. That might be a clue. Can
you verify if the contactgroup is present on the proper services in
your objects.cache file?

Also, if you're not keeping secrets in the configuration, it would
help if I could get my hands on it so I can see the problem for myself.
If template inheritance is broken for contacts and/or contactgroups,
that's a pretty serious issue.

-- 
Andreas Ericsson   andreas.erics...@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.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin 

Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-12-04 Thread Supporto Tecnico - Crazy Network
  Here from object.cache

define servicegroup {
 servicegroup_name   ftp-server
 alias   FTP Server
 }

define service {
 host_name   Server.SysAdminDiary.it
 service_description Server FTP
 check_period24x7
 check_command   check_ftp
 contact_groups  sysadmindiary.it
 notification_period 24x7
 initial_state   o
 hourly_value1
 check_interval  5.00
 retry_interval  2.00
 max_check_attempts  3
 is_volatile 0
 parallelize_check   1
 active_checks_enabled   1
 passive_checks_enabled  1
 obsess  1
 event_handler_enabled   1
 low_flap_threshold  0.00
 high_flap_threshold 0.00
 flap_detection_enabled  1
 flap_detection_options  a
 freshness_threshold 0
 check_freshness 0
 notification_optionsr,c
 notifications_enabled   1
 notification_interval   60.00
 first_notification_delay0.00
 stalking_optionsn
 process_perf_data   1
 icon_image  ftp.png
 retain_status_information   1
 retain_nonstatus_information1
 }


define contact {
 contact_nameandrea.iannucci
 alias   Andrea Iannucci
 service_notification_period 24x7
 host_notification_period24x7
 service_notification_optionsr,c

 host_notification_options   r,d,u
 service_notification_commands   
notify-service-by-email,notify-service-by-sms
 host_notification_commands  
notify-host-by-email,notify-host-by-sms
 email   supp...@crazynetwork.it
 pager   00393388552885
 minimum_value   1
 host_notifications_enabled  1
 service_notifications_enabled   1
 can_submit_commands 1
 retain_status_information   1
 retain_nonstatus_information1
 }



Apparently in contact definition the contact_groups disappear and it 
come with an empty line.

Im preparing the box to send privatly login data so you can check by 
yourself.

Thanks

Il 04/12/2012 11:47, Andreas Ericsson ha scritto:
 On 12/03/2012 04:41 PM, Supporto Tecnico - Crazy Network wrote:
 Hi,

 i did re-install nagios again (from git repo) using: git clone
 git://github.com/ageric/nagios.git

 But still got same error from debug level 32:

 [1354549057.568949] [032.0] [pid=4151] ** Service Notification Attempt
 ** Host: 'Server.SysAdminDiary.it', Service: 'Server FTP', Type: 0,
 Options: 0, Current State: 2, Last Notification: Thu Jan  1 01:00:00 1970
 [1354549057.569017] [032.0] [pid=4151] Notification viability test passed.
 [1354549057.569029] [032.1] [pid=4151] Current notification number: 1
 (incremented)
 [1354549057.569040] [032.1] [pid=4151] Service notification will NOT be
 escalated.
 [1354549057.569049] [032.1] [pid=4151] Adding normal contacts for
 service to notification list.
 [1354549057.569056] [032.0] [pid=4151] No contacts were found for
 notification purposes.  No notification was sent out.

 Here contacts file:

 define contact{
namecn-contacts
service_notification_period 24x7
host_notification_period24x7
service_notification_optionsc,r
host_notification_options   d,u,r
service_notification_commands   notify-service-by-email
host_notification_commands  notify-host-by-email
register0
 }


 define contact{
contact_nameandrea.iannucci
use cn-contacts
alias   Andrea Iannucci
email   supp...@crazynetwork.it
contact_groups  sysadmindiary.it
service_notification_commands
 notify-service-by-email,notify-service-by-sms
host_notification_commands
 notify-host-by-email,notify-host-by-sms
pager   00391234567890
 }

 define contactgroup{
contactgroup_name   sysadmindiary.it
alias   SysAdminDiary.it Staff
 }

 Here service definition:

 define service{
namecn-ftp-service
active_checks_enabled   1
passive_checks_enabled  1
parallelize_check   1
obsess_over_service 1
check_freshness 0
notifications_enabled   1
event_handler_enabled   1
flap_detection_enabled  1
process_perf_data   1
retain_status_information   1

Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-12-03 Thread Supporto Tecnico - Crazy Network
  Hi,

i did re-install nagios again (from git repo) using: git clone 
git://github.com/ageric/nagios.git

But still got same error from debug level 32:

[1354549057.568949] [032.0] [pid=4151] ** Service Notification Attempt 
** Host: 'Server.SysAdminDiary.it', Service: 'Server FTP', Type: 0, 
Options: 0, Current State: 2, Last Notification: Thu Jan  1 01:00:00 1970
[1354549057.569017] [032.0] [pid=4151] Notification viability test passed.
[1354549057.569029] [032.1] [pid=4151] Current notification number: 1 
(incremented)
[1354549057.569040] [032.1] [pid=4151] Service notification will NOT be 
escalated.
[1354549057.569049] [032.1] [pid=4151] Adding normal contacts for 
service to notification list.
[1354549057.569056] [032.0] [pid=4151] No contacts were found for 
notification purposes.  No notification was sent out.

Here contacts file:

define contact{
 namecn-contacts
 service_notification_period 24x7
 host_notification_period24x7
 service_notification_optionsc,r
 host_notification_options   d,u,r
 service_notification_commands   notify-service-by-email
 host_notification_commands  notify-host-by-email
 register0
}


define contact{
 contact_nameandrea.iannucci
 use cn-contacts
 alias   Andrea Iannucci
 email   supp...@crazynetwork.it
 contact_groups  sysadmindiary.it
 service_notification_commands   
notify-service-by-email,notify-service-by-sms
 host_notification_commands  
notify-host-by-email,notify-host-by-sms
 pager   00391234567890
}

define contactgroup{
 contactgroup_name   sysadmindiary.it
 alias   SysAdminDiary.it Staff
}

Here service definition:

define service{
 namecn-ftp-service
 active_checks_enabled   1
 passive_checks_enabled  1
 parallelize_check   1
 obsess_over_service 1
 check_freshness 0
 notifications_enabled   1
 event_handler_enabled   1
 flap_detection_enabled  1
 process_perf_data   1
 retain_status_information   1
 retain_nonstatus_information1
 is_volatile 0
 servicegroups   ftp-server
 service_description Server FTP
 check_command   check_ftp
 icon_image  ftp.png
 check_period24x7
 max_check_attempts  3
 normal_check_interval   5
 retry_check_interval2
 contact_groups  sysadmindiary.it
 notification_optionsc,r
 notification_interval   60
 notification_period 24x7
 register0
}

define servicegroup {
 servicegroup_name   ftp-server
 alias   FTP Server
}

Here service call in server host file.

define service{
 use cn-ftp-service
 host_name   Server.SysAdminDiary.it
}

Any suggestions/hint?

Thanks

Il 20/11/2012 15:01, Supporto Tecnico - Crazy Network ha scritto:
Hi,

 i did update Nagios to this alpha release for test purpose using working
 configurations (on Nagios 3.4.1).

 The only big trouble im having is that i dont receive any notification.

 Here contacts.cfg

 define contact{
   namecn-contacts
   service_notification_period 24x7
   host_notification_period24x7
   service_notification_optionsc,r
   host_notification_options   d,u,r
   service_notification_commands   notify-service-by-email
   host_notification_commands  notify-host-by-email
   register0
 }

 define contact{
   contact_nameandrea.iannucci
   use cn-contacts
   alias   Andrea Iannucci
   email   supp...@crazynetwork.it
   contact_groups   crazynetwork.it
   service_notification_commands
 notify-service-by-email,notify-service-by-sms
   host_notification_commands
 notify-host-by-email,notify-host-by-sms
   pager   *
 }

 define contactgroup{
   contactgroup_name   crazynetwork.it
   alias   CrazyNetwork.it Staff
 }


 I did try to use contactgroups and contact_groups in contact 

Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-11-30 Thread Andreas Ericsson
On 11/29/2012 07:17 PM, Supporto Tecnico - Crazy Network wrote:
 Thanks a lot :)
 
 Just two questions:
 
 1 - Where i can find the patch you menthioned?

In git, soon.

 2 - I will get latest (patched) version with git clone from repository?
 

In a (very) short while, yes.

 Tomorrow i'll grep latest git repo and try to recompile and test
 

Since today was tomorrow yesterday that might be hard, unless you're
working late. It'll be something you can try on monday though.

-- 
Andreas Ericsson   andreas.erics...@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.

--
Keep yourself connected to Go Parallel: 
TUNE You got it built. Now make it sing. Tune shows you how.
http://goparallel.sourceforge.net
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-11-30 Thread Supporto Tecnico - Crazy Network
Thanks Andreas,

actually i did try 1hr ago and the problem seems to be still there so 
somehow the git is not updated i suppose :)

Regarding the yesterday/today/tomorrow i think is just a timezone issue :)

Regards

Il 30/11/2012 15:42, Andreas Ericsson ha scritto:
 On 11/29/2012 07:17 PM, Supporto Tecnico - Crazy Network wrote:
 Thanks a lot :)

 Just two questions:

 1 - Where i can find the patch you menthioned?
 In git, soon.

 2 - I will get latest (patched) version with git clone from repository?

 In a (very) short while, yes.

 Tomorrow i'll grep latest git repo and try to recompile and test

 Since today was tomorrow yesterday that might be hard, unless you're
 working late. It'll be something you can try on monday though.



-- 

Andrea Iannucci
---

---
Crazy Network di Iannucci Andrea
Viale G.B. Lulli, 24
00050 Cerveteri - RM
(w) www.crazynetwork.it
(e) andrea.iannu...@crazynetwork.it
(t) +39 06 62279876
(f) +39 06 62298767
(m) +39 338 8552885
---
Please consider our enviromental responsability before printing this 
E-Mail. Thank you.
---
Questo messaggio di posta elettronica contiene informazioni di carattere 
confidenziale rivolte esclusivamente al destinatario sopra indicato.
E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte 
di ogni altra persona. Nel caso aveste ricevuto questo messaggio di 
posta elettronica per errore, siete pregati di segnalarlo immediatamente 
al mittente e distruggere quanto ricevuto (compresi i file allegati) 
senza farne copia.
Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio 
costituisce violazione dell'obbligo di non prendere cognizione della 
corrispondenza tra altri soggetti, salvo più grave illecito, ed espone 
il responsabile alle relative conseguenze.

This e-mail is confidential and may also contain privileged information. 
If you are not the intended recipient you are not authorised to read, 
print, save, process or disclose this message. If you have received this 
message by mistake, please inform the sender immediately and delete this 
e-mail, its attachments and any copies.
Any use, distribution, reproduction or disclosure by any person other 
than the intended recipient is strictly prohibited and the person 
responsible may incur penalties.

 



--
Keep yourself connected to Go Parallel: 
TUNE You got it built. Now make it sing. Tune shows you how.
http://goparallel.sourceforge.net
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-11-29 Thread Robin Sonefors
So, I think I just found the issue you're experiencing (though I failed 
to mention you in the commit message, sorry) - see the patches I sent 
out to nagios-devel the other minute.

On 2012-11-28 23:56, Supporto Tecnico - Crazy Network wrote:
 no one have any hint on my issue?

 Il 20/11/2012 15:01, Supporto Tecnico - Crazy Network ha scritto:
 Hi,

 i did update Nagios to this alpha release for test purpose using working
 configurations (on Nagios 3.4.1).

 The only big trouble im having is that i dont receive any notification.

 Here contacts.cfg

 define contact{
namecn-contacts
service_notification_period 24x7
host_notification_period24x7
service_notification_optionsc,r
host_notification_options   d,u,r
service_notification_commands   notify-service-by-email
host_notification_commands  notify-host-by-email
register0
 }

 define contact{
contact_nameandrea.iannucci
use cn-contacts
alias   Andrea Iannucci
email   supp...@crazynetwork.it
contact_groups   crazynetwork.it
service_notification_commands
 notify-service-by-email,notify-service-by-sms
host_notification_commands
 notify-host-by-email,notify-host-by-sms
pager   *
 }

 define contactgroup{
contactgroup_name   crazynetwork.it
alias   CrazyNetwork.it Staff
 }


 I did try to use contactgroups and contact_groups in contact definition
 I did try to add members andrea.iannucci in contactgroup definition

 The error on debug_level=32 i can see is that for group crazynetwork.it
 he cant fine any member (in any case).

 Setting contacts instead of contact_groups to services definition make
 notification work.

 Here debug output:

 [1353420007.497082] [032.0] [pid=14604] ** Service Notification Attempt
 ** Host: 'Test.CrazyNetwork.it', Service: 'MySQL', Type: 0, Options: 0,
 Current State: 0, Last Notification: Thu Jan  1 01:00:00 1970
 [1353420007.497154] [032.0] [pid=14604] Notification viability test passed.
 [1353420007.497181] [032.1] [pid=14604] Current notification number: 2
 (incremented)
 [1353420007.497195] [032.2] [pid=14604] Creating list of contacts to be
 notified.
 [1353420007.497206] [032.1] [pid=14604] Service notification will NOT be
 escalated.
 [1353420007.497217] [032.1] [pid=14604] Adding normal contacts for
 service to notification list.
 [1353420007.497233] [032.2] [pid=14604] Adding members of contact group
 'crazynetwork.it' for service to notification list.
 [1353420007.497245] [032.0] [pid=14604] No contacts were found for
 notification purposes.  No notification was sent out.


 Hope someone can help me fix this cause on older version was working at
 actually it look like a bug to me.

 Thanks




--
Keep yourself connected to Go Parallel: 
VERIFY Test and improve your parallel project with help from experts 
and peers. http://goparallel.sourceforge.net
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-11-29 Thread Ryan Edwards
Shouldnt your contract group definition include contacts??  Maybe I'm part
of the old school way but there should be a members line in there.

define contactgroup{
contactgroup_name crazynetwork.it
alias CrazyNetwork.it Staff
members andrea.innucci
}

Least thats how my Nagios Core ones are setup

Cheers!
On Nov 28, 2012 5:01 PM, Supporto Tecnico - Crazy Network 
supp...@crazynetwork.it wrote:

 no one have any hint on my issue?

 Il 20/11/2012 15:01, Supporto Tecnico - Crazy Network ha scritto:
 Hi,
 
  i did update Nagios to this alpha release for test purpose using working
  configurations (on Nagios 3.4.1).
 
  The only big trouble im having is that i dont receive any notification.
 
  Here contacts.cfg
 
  define contact{
namecn-contacts
service_notification_period 24x7
host_notification_period24x7
service_notification_optionsc,r
host_notification_options   d,u,r
service_notification_commands   notify-service-by-email
host_notification_commands  notify-host-by-email
register0
  }
 
  define contact{
contact_nameandrea.iannucci
use cn-contacts
alias   Andrea Iannucci
email   supp...@crazynetwork.it
contact_groups   crazynetwork.it
service_notification_commands
  notify-service-by-email,notify-service-by-sms
host_notification_commands
  notify-host-by-email,notify-host-by-sms
pager   *
  }
 
  define contactgroup{
contactgroup_name   crazynetwork.it
alias   CrazyNetwork.it Staff
  }
 
 
  I did try to use contactgroups and contact_groups in contact definition
  I did try to add members andrea.iannucci in contactgroup definition
 
  The error on debug_level=32 i can see is that for group crazynetwork.it
  he cant fine any member (in any case).
 
  Setting contacts instead of contact_groups to services definition make
  notification work.
 
  Here debug output:
 
  [1353420007.497082] [032.0] [pid=14604] ** Service Notification Attempt
  ** Host: 'Test.CrazyNetwork.it', Service: 'MySQL', Type: 0, Options: 0,
  Current State: 0, Last Notification: Thu Jan  1 01:00:00 1970
  [1353420007.497154] [032.0] [pid=14604] Notification viability test
 passed.
  [1353420007.497181] [032.1] [pid=14604] Current notification number: 2
  (incremented)
  [1353420007.497195] [032.2] [pid=14604] Creating list of contacts to be
  notified.
  [1353420007.497206] [032.1] [pid=14604] Service notification will NOT be
  escalated.
  [1353420007.497217] [032.1] [pid=14604] Adding normal contacts for
  service to notification list.
  [1353420007.497233] [032.2] [pid=14604] Adding members of contact group
  'crazynetwork.it' for service to notification list.
  [1353420007.497245] [032.0] [pid=14604] No contacts were found for
  notification purposes.  No notification was sent out.
 
 
  Hope someone can help me fix this cause on older version was working at
  actually it look like a bug to me.
 
  Thanks


 --

 Andrea Iannucci
 ---

 ---
 Crazy Network di Iannucci Andrea
 Viale G.B. Lulli, 24
 00050 Cerveteri - RM
 (w) www.crazynetwork.it
 (e) andrea.iannu...@crazynetwork.it
 (t) +39 06 62279876
 (f) +39 06 62298767
 (m) +39 338 8552885

 ---
 Please consider our enviromental responsability before printing this
 E-Mail. Thank you.

 ---
 Questo messaggio di posta elettronica contiene informazioni di carattere
 confidenziale rivolte esclusivamente al destinatario sopra indicato.
 E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte
 di ogni altra persona. Nel caso aveste ricevuto questo messaggio di
 posta elettronica per errore, siete pregati di segnalarlo immediatamente
 al mittente e distruggere quanto ricevuto (compresi i file allegati)
 senza farne copia.
 Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio
 costituisce violazione dell'obbligo di non prendere cognizione della
 corrispondenza tra altri soggetti, salvo più grave illecito, ed espone
 il responsabile alle relative conseguenze.

 
 This e-mail is confidential and may also contain privileged information.
 If you are not the intended recipient you are not authorised to read,
 print, save, process or disclose this message. If you have received this
 message by mistake, please inform the sender immediately and delete this
 e-mail, its attachments and any copies.
 Any use, 

Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-11-29 Thread Supporto Tecnico - Crazy Network
Thanks a lot :)

Just two questions:

1 - Where i can find the patch you menthioned?
2 - I will get latest (patched) version with git clone from repository?

Tomorrow i'll grep latest git repo and try to recompile and test

Thanks

Il 29/11/2012 18:59, Robin Sonefors ha scritto:
 So, I think I just found the issue you're experiencing (though I 
 failed to mention you in the commit message, sorry) - see the patches 
 I sent out to nagios-devel the other minute.

 On 2012-11-28 23:56, Supporto Tecnico - Crazy Network wrote:
 no one have any hint on my issue?

 Il 20/11/2012 15:01, Supporto Tecnico - Crazy Network ha scritto:
 Hi,

 i did update Nagios to this alpha release for test purpose using 
 working
 configurations (on Nagios 3.4.1).

 The only big trouble im having is that i dont receive any notification.

 Here contacts.cfg

 define contact{
namecn-contacts
service_notification_period 24x7
host_notification_period24x7
service_notification_optionsc,r
host_notification_options   d,u,r
service_notification_commands   notify-service-by-email
host_notification_commands  notify-host-by-email
register0
 }

 define contact{
contact_nameandrea.iannucci
use cn-contacts
alias   Andrea Iannucci
email   supp...@crazynetwork.it
contact_groups   crazynetwork.it
service_notification_commands
 notify-service-by-email,notify-service-by-sms
host_notification_commands
 notify-host-by-email,notify-host-by-sms
pager   *
 }

 define contactgroup{
contactgroup_name   crazynetwork.it
alias   CrazyNetwork.it Staff
 }


 I did try to use contactgroups and contact_groups in contact definition
 I did try to add members andrea.iannucci in contactgroup definition

 The error on debug_level=32 i can see is that for group crazynetwork.it
 he cant fine any member (in any case).

 Setting contacts instead of contact_groups to services definition make
 notification work.

 Here debug output:

 [1353420007.497082] [032.0] [pid=14604] ** Service Notification Attempt
 ** Host: 'Test.CrazyNetwork.it', Service: 'MySQL', Type: 0, Options: 0,
 Current State: 0, Last Notification: Thu Jan  1 01:00:00 1970
 [1353420007.497154] [032.0] [pid=14604] Notification viability test 
 passed.
 [1353420007.497181] [032.1] [pid=14604] Current notification number: 2
 (incremented)
 [1353420007.497195] [032.2] [pid=14604] Creating list of contacts to be
 notified.
 [1353420007.497206] [032.1] [pid=14604] Service notification will 
 NOT be
 escalated.
 [1353420007.497217] [032.1] [pid=14604] Adding normal contacts for
 service to notification list.
 [1353420007.497233] [032.2] [pid=14604] Adding members of contact group
 'crazynetwork.it' for service to notification list.
 [1353420007.497245] [032.0] [pid=14604] No contacts were found for
 notification purposes.  No notification was sent out.


 Hope someone can help me fix this cause on older version was working at
 actually it look like a bug to me.

 Thanks






-- 

Andrea Iannucci
---

---
Crazy Network di Iannucci Andrea
Viale G.B. Lulli, 24
00050 Cerveteri - RM
(w) www.crazynetwork.it
(e) andrea.iannu...@crazynetwork.it
(t) +39 06 62279876
(f) +39 06 62298767
(m) +39 338 8552885
---
Please consider our enviromental responsability before printing this 
E-Mail. Thank you.
---
Questo messaggio di posta elettronica contiene informazioni di carattere 
confidenziale rivolte esclusivamente al destinatario sopra indicato.
E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte 
di ogni altra persona. Nel caso aveste ricevuto questo messaggio di 
posta elettronica per errore, siete pregati di segnalarlo immediatamente 
al mittente e distruggere quanto ricevuto (compresi i file allegati) 
senza farne copia.
Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio 
costituisce violazione dell'obbligo di non prendere cognizione della 
corrispondenza tra altri soggetti, salvo più grave illecito, ed espone 
il responsabile alle relative conseguenze.

This e-mail is confidential and may also contain privileged information. 
If you are not the intended recipient you are not authorised to read, 
print, save, process or disclose this message. If you have received this 
message by mistake, please inform the sender immediately and 

Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-11-29 Thread Supporto Tecnico - Crazy Network
Hi,

i did try that way too, but doesnt change so much.

On Nagios 3.4.1 this way does work, i prefer to specify contact_groups 
for each users instead create user and than fill members in different 
groups, same thing of course.. but was working so i guess should still 
work :)

Lets see tomorrow

Thanks

Il 29/11/2012 19:06, Ryan Edwards ha scritto:

 Shouldnt your contract group definition include contacts??  Maybe I'm 
 part of the old school way but there should be a members line in there.

 define contactgroup{
 contactgroup_name crazynetwork.it http://crazynetwork.it
 alias CrazyNetwork.it Staff
 members andrea.innucci
 }

 Least thats how my Nagios Core ones are setup

 Cheers!

 On Nov 28, 2012 5:01 PM, Supporto Tecnico - Crazy Network 
 supp...@crazynetwork.it mailto:supp...@crazynetwork.it wrote:

 no one have any hint on my issue?

 Il 20/11/2012 15:01, Supporto Tecnico - Crazy Network ha scritto:
 Hi,
 
  i did update Nagios to this alpha release for test purpose using
 working
  configurations (on Nagios 3.4.1).
 
  The only big trouble im having is that i dont receive any
 notification.
 
  Here contacts.cfg
 
  define contact{
namecn-contacts
service_notification_period 24x7
host_notification_period24x7
service_notification_optionsc,r
host_notification_options   d,u,r
service_notification_commands   notify-service-by-email
host_notification_commands  notify-host-by-email
register0
  }
 
  define contact{
contact_nameandrea.iannucci
use cn-contacts
alias   Andrea Iannucci
email supp...@crazynetwork.it
 mailto:supp...@crazynetwork.it
contact_groups crazynetwork.it http://crazynetwork.it
service_notification_commands
  notify-service-by-email,notify-service-by-sms
host_notification_commands
  notify-host-by-email,notify-host-by-sms
pager   *
  }
 
  define contactgroup{
contactgroup_name crazynetwork.it http://crazynetwork.it
alias   CrazyNetwork.it Staff
  }
 
 
  I did try to use contactgroups and contact_groups in contact
 definition
  I did try to add members andrea.iannucci in contactgroup definition
 
  The error on debug_level=32 i can see is that for group
 crazynetwork.it http://crazynetwork.it
  he cant fine any member (in any case).
 
  Setting contacts instead of contact_groups to services
 definition make
  notification work.
 
  Here debug output:
 
  [1353420007.497082] [032.0] [pid=14604] ** Service Notification
 Attempt
  ** Host: 'Test.CrazyNetwork.it http://Test.CrazyNetwork.it',
 Service: 'MySQL', Type: 0, Options: 0,
  Current State: 0, Last Notification: Thu Jan  1 01:00:00 1970
  [1353420007.497154] [032.0] [pid=14604] Notification viability
 test passed.
  [1353420007.497181] [032.1] [pid=14604] Current notification
 number: 2
  (incremented)
  [1353420007.497195] [032.2] [pid=14604] Creating list of
 contacts to be
  notified.
  [1353420007.497206] [032.1] [pid=14604] Service notification
 will NOT be
  escalated.
  [1353420007.497217] [032.1] [pid=14604] Adding normal contacts for
  service to notification list.
  [1353420007.497233] [032.2] [pid=14604] Adding members of
 contact group
  'crazynetwork.it http://crazynetwork.it' for service to
 notification list.
  [1353420007.497245] [032.0] [pid=14604] No contacts were found for
  notification purposes.  No notification was sent out.
 
 
  Hope someone can help me fix this cause on older version was
 working at
  actually it look like a bug to me.
 
  Thanks


 --

 Andrea Iannucci
 ---

 ---
 Crazy Network di Iannucci Andrea
 Viale G.B. Lulli, 24
 00050 Cerveteri - RM
 (w) www.crazynetwork.it http://www.crazynetwork.it
 (e) andrea.iannu...@crazynetwork.it
 mailto:andrea.iannu...@crazynetwork.it
 (t) +39 06 62279876 tel:%2B39%2006%2062279876
 (f) +39 06 62298767 tel:%2B39%2006%2062298767
 (m) +39 338 8552885 tel:%2B39%20338%208552885
 
 ---
 Please consider our enviromental responsability before printing this
 E-Mail. Thank you.
 
 ---
 Questo messaggio di posta 

Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-11-28 Thread Supporto Tecnico - Crazy Network
no one have any hint on my issue?

Il 20/11/2012 15:01, Supporto Tecnico - Crazy Network ha scritto:
Hi,

 i did update Nagios to this alpha release for test purpose using working
 configurations (on Nagios 3.4.1).

 The only big trouble im having is that i dont receive any notification.

 Here contacts.cfg

 define contact{
   namecn-contacts
   service_notification_period 24x7
   host_notification_period24x7
   service_notification_optionsc,r
   host_notification_options   d,u,r
   service_notification_commands   notify-service-by-email
   host_notification_commands  notify-host-by-email
   register0
 }

 define contact{
   contact_nameandrea.iannucci
   use cn-contacts
   alias   Andrea Iannucci
   email   supp...@crazynetwork.it
   contact_groups   crazynetwork.it
   service_notification_commands
 notify-service-by-email,notify-service-by-sms
   host_notification_commands
 notify-host-by-email,notify-host-by-sms
   pager   *
 }

 define contactgroup{
   contactgroup_name   crazynetwork.it
   alias   CrazyNetwork.it Staff
 }


 I did try to use contactgroups and contact_groups in contact definition
 I did try to add members andrea.iannucci in contactgroup definition

 The error on debug_level=32 i can see is that for group crazynetwork.it
 he cant fine any member (in any case).

 Setting contacts instead of contact_groups to services definition make
 notification work.

 Here debug output:

 [1353420007.497082] [032.0] [pid=14604] ** Service Notification Attempt
 ** Host: 'Test.CrazyNetwork.it', Service: 'MySQL', Type: 0, Options: 0,
 Current State: 0, Last Notification: Thu Jan  1 01:00:00 1970
 [1353420007.497154] [032.0] [pid=14604] Notification viability test passed.
 [1353420007.497181] [032.1] [pid=14604] Current notification number: 2
 (incremented)
 [1353420007.497195] [032.2] [pid=14604] Creating list of contacts to be
 notified.
 [1353420007.497206] [032.1] [pid=14604] Service notification will NOT be
 escalated.
 [1353420007.497217] [032.1] [pid=14604] Adding normal contacts for
 service to notification list.
 [1353420007.497233] [032.2] [pid=14604] Adding members of contact group
 'crazynetwork.it' for service to notification list.
 [1353420007.497245] [032.0] [pid=14604] No contacts were found for
 notification purposes.  No notification was sent out.


 Hope someone can help me fix this cause on older version was working at
 actually it look like a bug to me.

 Thanks


-- 

Andrea Iannucci
---

---
Crazy Network di Iannucci Andrea
Viale G.B. Lulli, 24
00050 Cerveteri - RM
(w) www.crazynetwork.it
(e) andrea.iannu...@crazynetwork.it
(t) +39 06 62279876
(f) +39 06 62298767
(m) +39 338 8552885
---
Please consider our enviromental responsability before printing this 
E-Mail. Thank you.
---
Questo messaggio di posta elettronica contiene informazioni di carattere 
confidenziale rivolte esclusivamente al destinatario sopra indicato.
E' vietato l'uso, la diffusione, distribuzione o riproduzione da parte 
di ogni altra persona. Nel caso aveste ricevuto questo messaggio di 
posta elettronica per errore, siete pregati di segnalarlo immediatamente 
al mittente e distruggere quanto ricevuto (compresi i file allegati) 
senza farne copia.
Qualsivoglia utilizzo non autorizzato del contenuto di questo messaggio 
costituisce violazione dell'obbligo di non prendere cognizione della 
corrispondenza tra altri soggetti, salvo più grave illecito, ed espone 
il responsabile alle relative conseguenze.

This e-mail is confidential and may also contain privileged information. 
If you are not the intended recipient you are not authorised to read, 
print, save, process or disclose this message. If you have received this 
message by mistake, please inform the sender immediately and delete this 
e-mail, its attachments and any copies.
Any use, distribution, reproduction or disclosure by any person other 
than the intended recipient is strictly prohibited and the person 
responsible may incur penalties.

 



--
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of 

Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-11-20 Thread Robin Sonefors
Hi Crazy Network,

Using bleeding edge code, I've tried copying your contacts.cfg (with my 
own email instead), put crazynetwork.it as the contact_group for a 
service, and I do receive notifications for it. So there must be 
something else at play here that affects you.

What does your services/hosts look like?

On 2012-11-20 15:01, Supporto Tecnico - Crazy Network wrote:
Hi,

 i did update Nagios to this alpha release for test purpose using working
 configurations (on Nagios 3.4.1).

 The only big trouble im having is that i dont receive any notification.

 Here contacts.cfg

 define contact{
   namecn-contacts
   service_notification_period 24x7
   host_notification_period24x7
   service_notification_optionsc,r
   host_notification_options   d,u,r
   service_notification_commands   notify-service-by-email
   host_notification_commands  notify-host-by-email
   register0
 }

 define contact{
   contact_nameandrea.iannucci
   use cn-contacts
   alias   Andrea Iannucci
   email   supp...@crazynetwork.it
   contact_groups   crazynetwork.it
   service_notification_commands
 notify-service-by-email,notify-service-by-sms
   host_notification_commands
 notify-host-by-email,notify-host-by-sms
   pager   *
 }

 define contactgroup{
   contactgroup_name   crazynetwork.it
   alias   CrazyNetwork.it Staff
 }


 I did try to use contactgroups and contact_groups in contact definition
 I did try to add members andrea.iannucci in contactgroup definition

 The error on debug_level=32 i can see is that for group crazynetwork.it
 he cant fine any member (in any case).

 Setting contacts instead of contact_groups to services definition make
 notification work.

 Here debug output:

 [1353420007.497082] [032.0] [pid=14604] ** Service Notification Attempt
 ** Host: 'Test.CrazyNetwork.it', Service: 'MySQL', Type: 0, Options: 0,
 Current State: 0, Last Notification: Thu Jan  1 01:00:00 1970
 [1353420007.497154] [032.0] [pid=14604] Notification viability test passed.
 [1353420007.497181] [032.1] [pid=14604] Current notification number: 2
 (incremented)
 [1353420007.497195] [032.2] [pid=14604] Creating list of contacts to be
 notified.
 [1353420007.497206] [032.1] [pid=14604] Service notification will NOT be
 escalated.
 [1353420007.497217] [032.1] [pid=14604] Adding normal contacts for
 service to notification list.
 [1353420007.497233] [032.2] [pid=14604] Adding members of contact group
 'crazynetwork.it' for service to notification list.
 [1353420007.497245] [032.0] [pid=14604] No contacts were found for
 notification purposes.  No notification was sent out.


 Hope someone can help me fix this cause on older version was working at
 actually it look like a bug to me.

 Thanks



--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-11-20 Thread Supporto Tecnico - Crazy Network
Hi Robin

sorry, dont know why my signature has been cutted out :) My name is Andrea.

This is a sample services definition.

define service{
 namecn-ftp-service
 active_checks_enabled   1
 passive_checks_enabled  1
 parallelize_check   1
 obsess_over_service 1
 check_freshness 0
 notifications_enabled   1
 event_handler_enabled   1
 flap_detection_enabled  1
 process_perf_data   1
 retain_status_information   1
 retain_nonstatus_information1
 is_volatile 0
 servicegroups   ftp-server
 service_description Server FTP
 check_command   check_ftp
 icon_image ftp.png
 check_period24x7
 max_check_attempts  3
 normal_check_interval   5
 retry_check_interval2
 contact_groups  crazynetwork.it
 notification_optionsc,r
 notification_interval   60
 notification_period 24x7
 register0
}

Courios is, if here i replace contact_groups with contacts and put 
andrea.iannucci instead of crazynetwork.it it does work.. but just for 
the single person of course.

Thanks

Regards

Il 20/11/2012 17:23, Robin Sonefors ha scritto:
 Hi Crazy Network,

 Using bleeding edge code, I've tried copying your contacts.cfg (with 
 my own email instead), put crazynetwork.it as the contact_group for 
 a service, and I do receive notifications for it. So there must be 
 something else at play here that affects you.

 What does your services/hosts look like?

 On 2012-11-20 15:01, Supporto Tecnico - Crazy Network wrote:
Hi,

 i did update Nagios to this alpha release for test purpose using working
 configurations (on Nagios 3.4.1).

 The only big trouble im having is that i dont receive any notification.

 Here contacts.cfg

 define contact{
   namecn-contacts
   service_notification_period 24x7
   host_notification_period24x7
   service_notification_optionsc,r
   host_notification_options   d,u,r
   service_notification_commands   notify-service-by-email
   host_notification_commands  notify-host-by-email
   register0
 }

 define contact{
   contact_nameandrea.iannucci
   use cn-contacts
   alias   Andrea Iannucci
   email   supp...@crazynetwork.it
   contact_groups   crazynetwork.it
   service_notification_commands
 notify-service-by-email,notify-service-by-sms
   host_notification_commands
 notify-host-by-email,notify-host-by-sms
   pager   *
 }

 define contactgroup{
   contactgroup_name   crazynetwork.it
   alias   CrazyNetwork.it Staff
 }


 I did try to use contactgroups and contact_groups in contact definition
 I did try to add members andrea.iannucci in contactgroup definition

 The error on debug_level=32 i can see is that for group crazynetwork.it
 he cant fine any member (in any case).

 Setting contacts instead of contact_groups to services definition make
 notification work.

 Here debug output:

 [1353420007.497082] [032.0] [pid=14604] ** Service Notification Attempt
 ** Host: 'Test.CrazyNetwork.it', Service: 'MySQL', Type: 0, Options: 0,
 Current State: 0, Last Notification: Thu Jan  1 01:00:00 1970
 [1353420007.497154] [032.0] [pid=14604] Notification viability test 
 passed.
 [1353420007.497181] [032.1] [pid=14604] Current notification number: 2
 (incremented)
 [1353420007.497195] [032.2] [pid=14604] Creating list of contacts to be
 notified.
 [1353420007.497206] [032.1] [pid=14604] Service notification will NOT be
 escalated.
 [1353420007.497217] [032.1] [pid=14604] Adding normal contacts for
 service to notification list.
 [1353420007.497233] [032.2] [pid=14604] Adding members of contact group
 'crazynetwork.it' for service to notification list.
 [1353420007.497245] [032.0] [pid=14604] No contacts were found for
 notification purposes.  No notification was sent out.


 Hope someone can help me fix this cause on older version was working at
 actually it look like a bug to me.

 Thanks





-- 

Andrea Iannucci
---

---
Crazy Network di Iannucci Andrea
Viale G.B. Lulli, 24
00050 Cerveteri - RM
(w) www.crazynetwork.it
(e) andrea.iannu...@crazynetwork.it
(t) +39 06 62279876
(f) +39 06 62298767
(m) +39 338 8552885