Search found 20 matches
- Thu Feb 27, 2014 6:05 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios 4.0 NetBSD 6.1.1
- Replies: 12
- Views: 3896
Re: Nagios 4.0 NetBSD 6.1.1
X86. Please note I have been able to compile all of the Nagios 3.x versions up to 3.5.1
- Thu Feb 27, 2014 4:51 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios 4.0 NetBSD 6.1.1
- Replies: 12
- Views: 3896
Re: Nagios 4.0 NetBSD 6.1.1
I just tried, 4.0.2 and it fails. BTW - the OS has been patched for 6.1.3
Attached are the configure and make logs.
Thanks
Mike
Attached are the configure and make logs.
Thanks
Mike
- Wed Feb 26, 2014 10:51 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios 4.0 NetBSD 6.1.1
- Replies: 12
- Views: 3896
Re: Nagios 4.0 NetBSD 6.1.1
Any update?
- Mon Oct 21, 2013 12:33 pm
- Forum: Open Source Nagios Projects
- Topic: Memory fault NetBSD 6.0 Sparc
- Replies: 11
- Views: 6402
Re: Memory fault NetBSD 6.0 Sparc
I am running 3.5.1 on NetBSD 6.1.2 on i386. Your configs look pretty small, if you zip them up I'd be willing try them on my server.
- Thu Oct 17, 2013 3:33 pm
- Forum: Open Source Nagios Projects
- Topic: nagios.log (null)
- Replies: 19
- Views: 4859
Re: nagios.log (null)
Done, ID 512.
Thanks for your help in troubleshooting.
Mike
Thanks for your help in troubleshooting.
Mike
- Thu Oct 17, 2013 1:30 pm
- Forum: Open Source Nagios Projects
- Topic: nagios.log (null)
- Replies: 19
- Views: 4859
Re: nagios.log (null)
google tells me that NetBSD 6 time_t is 64 bit and %lu is 32. I changed the print to %llu and logging is working. fprintf(fp, "[%llu] %s\n", log_time, buffer); I'm sure this is not the *right* way to do it for portability, but hopefully this can put someone knowledgeable in C on the right ...
- Thu Oct 17, 2013 1:04 pm
- Forum: Open Source Nagios Projects
- Topic: nagios.log (null)
- Replies: 19
- Views: 4859
Re: nagios.log (null)
I think if found something. If I add a line to logging.c, removing the printing of the log_time, I get the expected output. /* write the buffer to the log file */ fprintf(fp, "[%lu] %s\n", log_time, buffer); fprintf(fp, "here %s\n", buffer); I'm not a C programmer and do not know...
- Thu Oct 17, 2013 11:05 am
- Forum: Open Source Nagios Projects
- Topic: nagios.log (null)
- Replies: 19
- Views: 4859
Re: nagios.log (null)
I upgraded the OS from NetBSD 5.1.2 to 6.1.2 in June 2013. Looking back through my archives I don't have any of the nagios logs prior to the OS upgrade, so it does seem logical that this may have broke then. I find it interesting though that I can log to syslog but not to nagios.log. Well [timestamp...
- Wed Oct 16, 2013 12:20 pm
- Forum: Open Source Nagios Projects
- Topic: nagios.log (null)
- Replies: 19
- Views: 4859
Re: nagios.log (null)
vc70:/usr/local/nagios/var>ll nagios.log -rw-rw-r-- 1 nagios nagios 5040 Oct 16 12:17 nagios.log vc70:/usr/local/nagios/var>sudo /etc/rc.d/nagios restart Running configuration check...done. Stopping nagios: .done. Starting nagios: done. vc70:/usr/local/nagios/var>tail -4 nagios.log [1381943945] (nu...
- Tue Oct 15, 2013 5:17 pm
- Forum: Open Source Nagios Projects
- Topic: nagios.log (null)
- Replies: 19
- Views: 4859
Re: nagios.log (null)
Code: Select all
ls -la /usr/local/nagios/var/nagios.log
-rw-r--r-- 1 nagios nagios 4200 Oct 15 16:41 /usr/local/nagios/var/nagios.log