[Nagios-users] Log time stamps

2008-07-13 Thread Jeff Koch
Can somebody please explain what these timestamps mean in the logs: [1215955229.159192] [032.0] [pid=885] Notification viability test failed. Does nagios have an option to use normal y:m:d:h:m:s or some other human readable timestamps in the logs? Best Regards, Jeff Koch, Intersessions

Re: [Nagios-users] check-ping

2008-07-13 Thread Jeff Koch
Hi Philipp: Thanks for your help. When we ran ping as nagios it bombed. Permissions on ping needed to be set SUID root so that an ICMP socket could be opened. We had changed that for security reasons. We'll make nagios sudo root for ping. That should solve the problem. At 12:56 PM

Re: [Nagios-users] Log time stamps

2008-07-13 Thread Marc Powell
On Jul 13, 2008, at 10:57 AM, Jeff Koch wrote: Can somebody please explain what these timestamps mean in the logs: [1215955229.159192] [032.0] [pid=885] Notification viability test failed. http://www.nagios.org/faqs/viewfaq.php?faq_id=68 http://www.nagios.org/faqs/viewfaq.php?faq_id=70

Re: [Nagios-users] Log time stamps

2008-07-13 Thread Janet Post
Hello, If you would like to see the log files with a human-readable timestamp: perl -pe 's/(\d+)/localtime($1)/e' logfile Janet (Mark: sorry for the double emails...I didn't hit reply-to-all the first time.) On Sun, Jul 13, 2008 at 4:24 PM, Marc Powell [EMAIL PROTECTED] wrote: On Jul

[Nagios-users] checking https

2008-07-13 Thread Jeff Koch
Hi: Does anyone know of a plugin or method of checking that the https service is working on a server? We're already checking for http but need to be sure that https is functioning also. Thanks Best Regards, Jeff Koch

Re: [Nagios-users] checking https

2008-07-13 Thread Matthew Jurgens
The check_http plugin with the --ssl option will do what you need Jeff Koch wrote: Hi: Does anyone know of a plugin or method of checking that the https service is working on a server? We're already checking for http but need to be sure that https is functioning also. Thanks Best

Re: [Nagios-users] checking https

2008-07-13 Thread Jeff Koch
Hi Aaron: Thanks - but how do I pass the --ssl option to check_http? I have: define service{ nameHTTP-Service service_description HTTP check_command check_http max_check_attempts 1 normal_check_interval 10

Re: [Nagios-users] checking https

2008-07-13 Thread Matthew Jurgens
If your check_http command is defined like: define command{ command_namecheck_http command_line$USER1$/check_http -H $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ $ARG9$ } Then you can just modify your service definition: replacing

Re: [Nagios-users] checking https

2008-07-13 Thread Jeff Koch
Thanks - that worked!! At 11:46 PM 7/13/2008, Matthew Jurgens wrote: If your check_http command is defined like: define command{ command_namecheck_http command_line$USER1$/check_http -H $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ $ARG9$

Re: [Nagios-users] checking https

2008-07-13 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthew Jurgens wrote: | If your check_http command is defined like: | define command{ | command_namecheck_http | command_line$USER1$/check_http -H $HOSTADDRESS$ $ARG1$ | $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ $ARG9$