Refresh problem
Askar Ali
askarali at beaconet.net
Sun Mar 6 16:43:43 CET 2005
Subhendu Ghosh wrote:
> On Sun, 6 Mar 2005, Askar Ali wrote:
>
>> hi list,
>>
>> this is my second day with nagios Version 2.0b2, atm i'm monitoring 6
>> servers for different services.
>> I have a problem with web interface Refresh, nagios only shows me one
>> host and service sometime and after refresh few time it start showing
>> me other hosts and services.
>>
>> Is this a bug ?
>>
>> regards
>>
>
> you probably have multiple nagios daemons running and overwriting the
> status logs...
>
> stop all nagios daemons and start using the init scripts..
>
hi subhendu ghosh
thanks for the reply, now i have another problem that is mail
notificatons are not working, I stop a serivce for testign but i don't
get any mail in mail box, here the error..
Warning: Attempting to execute the command "/usr/bin/printf "%b" "*****
Nagios *****\n\nNotification Type: RECOVERY\n\nService: DNS\nHost:
ndns\nAddress: 202.165.255.22\nState: OK\n\nDate/Time: Sun Mar 6
20:19:46 PKT 2005\n\nAdditional Info:\n\nDNS OK: 0.024 seconds response
time www.yahoo.com returns
68.142.226.56,68.142.226.40,68.142.226.42,68.142.226.43,68.142.226.49,68.142.226.50,68.142.226.51,68.142.226.55"
| -s "** RECOVERY alert - ndns/DNS is OK **" askarali at beaconet.net"
resulted in a return code of 127. Make sure the script or binary you are
trying to execute actually
my misccommand.cfg file have
# 'notify-by-email' command definition
define command{
command_name notify-by-email
command_line /usr/bin/printf "%b" "***** Nagios
*****\n\nNotification Type: $NOTIFICATIONTYPE$\n\n
Service: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:
$HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDA
TETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | -s "**
$NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$
is $SERVICESTATE$ **" $CONTACTEMAIL$
}
its not using the /bin/mail ?
I can see there are notifcations by clicking the notification link, but
no notification in my mail box
regards
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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