Re: [Nagios-users] New user with nagios 3.0.3 hanging.
Hello David, I think I haven't. How can I know if i have defined a pipe. If I have done I didn't it in purpose, I promise :-) Thanks a lot Jose Luis 2008/8/1 David Ford [EMAIL PROTECTED] Do you by chance have a pipe output defined, such as the nagios irc bot? And, is that bot not running on the other side of the pipe to read what is written through the pipe? If you have a pipe defined for an output, 3.x will hang if nothing is reading from the other side of the pipe. -david Jose Luis Garcia wrote: Hello again, Has anybody else experienced this behaviour? I'm suffering it every few days. Thank you very much Jose Luis - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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] New user with nagios 3.0.3 hanging.
Hello again, Has anybody else experienced this behaviour? I'm suffering it every few days. Thank you very much Jose Luis 2008/7/14 Jose Luis Garcia [EMAIL PROTECTED] Hello agian, I'm experiencing right now the same problem. And I'm trying to doing some forensic. It's working in a 2 CPU system and main daemon is taking one of them. With truss I just get many many lines like this /2: poll(0xFEF79F88, 1, 500)= 1 /2: poll(0xFEF79F88, 1, 500)= 1 /2: poll(0xFEF79F88, 1, 500)= 1 /2: poll(0xFEF79F88, 1, 500)= 1 /2: poll(0xFEF79F88, 1, 500)= 1 /2: poll(0xFEF79F88, 1, 500)= 1 /2: poll(0xFEF79F88, 1, 500)= 1 /2: poll(0xFEF79F88, 1, 500)= 1 /2: poll(0xFEF79F88, 1, 500)= 1 And the only pool entry in code is in utill.c, function void * command_file_worker_thread(void *arg){ And the output (1) match this #define EPERM 1 /* Not super-user */ But although with this error it should write to nagios.log, nothing is written. I have also checked the external command file # ls -l /usr/local/nagios/var/rw/nagios.cmd prw-rw 1 nagios nagcmd 47675 Jul 14 09:08 /usr/local/nagios/var/rw/nagios.cmd And I've seen than this code is the same than in 3.0.1. Any idea? Trying to stop nagios (/etc/init.d/nagios stop) I can't. I just get Warning - nagios did not exit in a timely manner And 3 nagios processes are still running. So I had to kill -9 them Thanks a lot Jose Luis 2008/7/11 Jose Luis Garcia [EMAIL PROTECTED]: Hello, My name is Jose Luis and I'm wrinting from Spain. I have recently installed Nagios in a Solaris 9 box. While I was in version 3.0.1, 1 month or so, everything has been working smoothly, but now, with version 3.0.3 Nagios has hanged twice (once a week more or less). Nagios daemon is running but neither checks are performed nor external commands processed. So I have to restart it. Anyone else have experienced this behaviour? Any suggestions? We are thinking of setting up a cron check to detect this situation (no entries in nagios.log), but perhaps we are experiencing some kind of bug that should be solved in new releases. Thank you very much indded Jose Luis - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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] compile problems on Solairs 5
This seems to be a library problem. The libraries where dirname and sprintf are suposed to be defined is not in the lib path. Perhaps you gcc libs are not in the lib path (I don't remember the env var, ¿LD_LIBRARY_PATH?) Good luck 2008/7/24, stan [EMAIL PROTECTED]: Yes, I know it's archaic, but I still have machines runing SunOS 5.5.1. I am trying to compile 3.0.2 on one of these machines, and it is failing like this: /usr/include/dlfcn.h:83: warning: `RTLD_NOW' redefined ../include/config.h:111: warning: this is the location of the previous definition /usr/include/dlfcn.h:86: warning: `RTLD_GLOBAL' redefined ../include/config.h:107: warning: this is the location of the previous definition Undefined first referenced symbol in file dirname xobjects-base.o snprintfutils.o ld: fatal: Symbol referencing errors. No output written to nagios *** Error code 1 make: Fatal error: Command failed for target `nagios' I already copied snprintf.o from base to commn, but it is aparantly not found at link time, and these is alos the issue with dirname. Any ideas? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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] compile problems on Solairs 5
Well, I don't know if this definitions are in gcc lib or somewhere else. Try to identify the lib anc check it. Cheers 2008/7/24, stan [EMAIL PROTECTED]: On Thu, Jul 24, 2008 at 07:03:07PM +0200, Jose Luis Garcia wrote: This seems to be a library problem. The libraries where dirname and sprintf are suposed to be defined is not in the lib path. Perhaps you gcc libs are not in the lib path (I don't remember the env var, ?LD_LIBRARY_PATH?) Hmm, AP0502# echo $LD_LIBRARY_PATH /opt/piapi/lib:/usr/openwin/lib:/usr/dt/lib:/opt/windu/lib:/opt/windu/fox:/opt/gms/lib:/usr/local/lib:/usr/local/ssl/lib AP0502# ls /usr/local/lib expect5.26 libnfsPlugin.so gcc-lib libnfsPlugin.so.1 libarpPlugin.a libnfsPlugin.so.1.0.0 libarpPlugin.so libntop-1.3.so.1 libarpPlugin.so.1libntop-1.3.so.1.0.0 libarpPlugin.so.1.0.0libntop.a libcrypto.a libntop.la libcrypto.so libntop.so libcrypto.so.0 libntopreport-1.3.so.1 libcrypto.so.0.9.6 libntopreport-1.3.so.1.0.0 libcurses.so libntopreport.a libexpect5.26.a libntopreport.la libform.alibntopreport.so . So, that would appear to indicate that the ggc-libs are in the approriate environment variable, right? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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] V3 compile issues on Solaris 8
You will fing snprintf.o in the base directory instead of common. Just make a soft link and make again. It worked for me Cheers 2008/7/23, stan [EMAIL PROTECTED]: I am trying to build 3.0.2 on SunOS 5.8 (Solaris 8). The comile is failing like this: gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o notifications.o sehandlers.o skiplist.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o ../common/snprintf.o -lm -lpthread -lltdl -lrt gcc: ../common/snprintf.o: No such file or directory *** Error code 1 make: Fatal error: Command failed for target `nagios' Can anyone give me some guidance on this? If I recall corectly, and it's been a long time since I built things on this machine, snprintf is indeed not in the Sun supplied libraries. Seems like I go a library with it from SunFreeware at one time. Maybe I just need to fix the linker line? Thanks. The build on Solaris 5 should be fun :-( -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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] CPU Usage for Linux
Hello, I prefere to use load, but it's your decission Cheers 18 Jul 2008 10:20:40 -, Nair [EMAIL PROTECTED]: But, I think having CPU usage trend will help us to know whether we need to upgrade the CPU proactively. On Thu, 17 Jul 2008 Jose Luis Garcia wrote : Why don't you like check_load? I wouldn't mind a CPU at 100% if no process is waiting to be run, would you? Cheers 17 Jul 2008 15:31:02 -, Nair [EMAIL PROTECTED]: Hi Friends, I would love to have thoughts on monitoring CPU for Linux.(without using check_load). Looking for some output like SAR output. Thank you, Nair [image: Rediff Shopping] http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/signature-default.htm/[EMAIL PROTECTED]/2206641_2199021/2201651/1?PARTNER=3OAS_QUERY=null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 [image: Rediff Shopping]http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/signature-default.htm/[EMAIL PROTECTED]/2206641_2199021/2201651/1?PARTNER=3OAS_QUERY=null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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] CPU Usage for Linux
Why don't you like check_load? I wouldn't mind a CPU at 100% if no process is waiting to be run, would you? Cheers 17 Jul 2008 15:31:02 -, Nair [EMAIL PROTECTED]: Hi Friends, I would love to have thoughts on monitoring CPU for Linux.(without using check_load). Looking for some output like SAR output. Thank you, Nair [image: Rediff Shopping]http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/signature-default.htm/[EMAIL PROTECTED]/2206641_2199021/2201651/1?PARTNER=3OAS_QUERY=null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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
[Nagios-users] Alert or notification history refresh in Nagios 3.0.3
Hello, Is there any way to make alert or notification history automatically refresh? Thanks a lot Jose Luis - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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] Alert or notification history refresh in Nagios 3.0.3
Thank you Thomas, Unfortunately I'm using Mozilla for Solaris, and I haven't found this extension. Why Host overview, for instance, is refreshing and this other options are not? I guess is a cgi option or something like this. Thank you again jose Luis 2008/7/15 Thomas Guyot-Sionnest [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15/07/08 04:46 AM, Jose Luis Garcia wrote: Hello, Is there any way to make alert or notification history automatically refresh? There's a ReloadEvery extension or something similar for Firefox... The name say it all :) Thomas -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIfHob6dZ+Kt5BchYRAgMvAKDopAx2Cd1US9sUSgynVnnG0CPlTgCeLA39 O6qFc9Vtw46ln8Z3H/w8FNg= =uMVj -END PGP SIGNATURE- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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] New user with nagios 3.0.3 hanging.
Hello agian, I'm experiencing right now the same problem. And I'm trying to doing some forensic. It's working in a 2 CPU system and main daemon is taking one of them. With truss I just get many many lines like this /2: poll(0xFEF79F88, 1, 500)= 1 /2: poll(0xFEF79F88, 1, 500)= 1 /2: poll(0xFEF79F88, 1, 500)= 1 /2: poll(0xFEF79F88, 1, 500)= 1 /2: poll(0xFEF79F88, 1, 500)= 1 /2: poll(0xFEF79F88, 1, 500)= 1 /2: poll(0xFEF79F88, 1, 500)= 1 /2: poll(0xFEF79F88, 1, 500)= 1 /2: poll(0xFEF79F88, 1, 500)= 1 And the only pool entry in code is in utill.c, function void * command_file_worker_thread(void *arg){ And the output (1) match this #define EPERM 1 /* Not super-user */ But although with this error it should write to nagios.log, nothing is written. I have also checked the external command file # ls -l /usr/local/nagios/var/rw/nagios.cmd prw-rw 1 nagios nagcmd 47675 Jul 14 09:08 /usr/local/nagios/var/rw/nagios.cmd And I've seen than this code is the same than in 3.0.1. Any idea? Trying to stop nagios (/etc/init.d/nagios stop) I can't. I just get Warning - nagios did not exit in a timely manner And 3 nagios processes are still running. So I had to kill -9 them Thanks a lot Jose Luis 2008/7/11 Jose Luis Garcia [EMAIL PROTECTED]: Hello, My name is Jose Luis and I'm wrinting from Spain. I have recently installed Nagios in a Solaris 9 box. While I was in version 3.0.1, 1 month or so, everything has been working smoothly, but now, with version 3.0.3 Nagios has hanged twice (once a week more or less). Nagios daemon is running but neither checks are performed nor external commands processed. So I have to restart it. Anyone else have experienced this behaviour? Any suggestions? We are thinking of setting up a cron check to detect this situation (no entries in nagios.log), but perhaps we are experiencing some kind of bug that should be solved in new releases. Thank you very much indded Jose Luis - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08___ 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] New user with nagios 3.0.3 hanging.
Hello, My name is Jose Luis and I'm wrinting from Spain. I have recently installed Nagios in a Solaris 9 box. While I was in version 3.0.1, 1 month or so, everything has been working smoothly, but now, with version 3.0.3 Nagios has hanged twice (once a week more or less). Nagios daemon is running but neither checks are performed nor external commands processed. So I have to restart it. Anyone else have experienced this behaviour? Any suggestions? We are thinking of setting up a cron check to detect this situation (no entries in nagios.log), but perhaps we are experiencing some kind of bug that should be solved in new releases. Thank you very much indded Jose Luis - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08___ 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