Can't seem to get paging to work

Martijn Lievaart m at rtij.nl
Sat Aug 21 01:04:25 CEST 2004


Hi,

Paging on my system consists of sending an email to <number>@sms.gin.nl. 
This is obviously not an ideal situation, but hey.

I have this in my contacts.cfg (trivially munged):

define contact{
    contact_name            martijn
    alias                Me myself and I
    service_notification_period    24x7
    host_notification_period    24x7
    service_notification_options    w,u,c,r
    host_notification_options    d,u,r
    service_notification_commands    notify-by-email
    host_notification_commands    host-notify-by-email
    email                nagios-admin<AT>rtij.nl
    }

define contact{
    contact_name            martijn-pager
    alias                Me myself and I
    service_notification_period    24x7
    host_notification_period    24x7
    service_notification_options    c
    host_notification_options    d,u
    service_notification_commands    notify-by-email
    host_notification_commands    host-notify-by-email
#    email                +31624674302<AT>sms.gin.nl
    email                pager<AT>rtij.nl
    }

In my contactgroups.cfg I have:
define contactgroup{
    contactgroup_name    rtij-admins
    alias            Rtij admins
    members            martijn, martijn-pager
    }

Now alerts get sent to martijn, but not to martijn-pager. Some relevant 
log entries:

Aug 21 00:21:33 chicken nagios: SERVICE ALERT: 
hercules-vpn;imaps;CRITICAL;HARD;3;(No output!)
Aug 21 00:21:33 chicken nagios: SERVICE NOTIFICATION: 
martijn-pager;hercules-vpn;imaps;CRITICAL;notify-by-email;(No output!)
Aug 21 00:21:33 chicken nagios: SERVICE NOTIFICATION: 
martijn;hercules-vpn;imaps;CRITICAL;notify-by-email;(No output!)
Aug 21 00:21:36 chicken courieresmtp: 
id=002F821B.4126796D.00007D7C,from=<nagios<AT>chicken.rtij.nl>,addr=<nagios-admin<AT>rtij.nl>: 
250 Ok. 41267970.000078B3
Aug 21 00:21:36 chicken courieresmtp: 
id=002F821B.4126796D.00007D7C,from=<nagios<AT>chicken.rtij.nl>,addr=<nagios-admin<AT>rtij.nl>,size=584,success: 
delivered: ma.rtij.nl [10.0.2.1]
Aug 21 00:21:36 chicken courieresmtp: 
id=002F821B.4126796D.00007D7C,from=<nagios<AT>chicken.rtij.nl>,addr=<nagios-admin<AT>rtij.nl>,size=584,status: 
success
Aug 21 00:21:36 chicken courierd: completed,id=002F821B.4126796D.00007D7C
Aug 21 00:21:36 chicken courierd: Waiting.  shutdown time=Sat Aug 21 
00:26:36 2004, wakeup time=Sat Aug 21 00:26:36 2004, queuedelivering=0, 
inprogress=0

(That is a service I configured incorrectly, I left it that way to debug 
this problem).

Anyone have a clue why this is not working?

M4




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list