[Nagios-users] software raid monitoring
Hi all, Is there any way to monitor software raid on the remote server by nrpe ? thanks -- ~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~ - 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] System call sent warnings to stderr
Duncan Ferguson wrote: On 3 Sep 2008, at 12:43, J. Bakshi wrote: Here is the commands I am using from CLI of my nagios PC to check the remote server ./check_nrpe -H IP of remote server -p 5565 -c check_zombie_procs System call sent warnings to stderr /check_nrpe -H IP of remote server -p 5565 -c check_total_procs System call sent warnings to stderr Get the actual commands run for 'check_zombie_procs' and 'check_total_procs' out of the nrpe.cfg file on the remote server and run them by hand as the same user as the nrpe agent runs as to see what happens. Here are the actual command and out put on the remote server For Checking total process ~ /usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z System call sent warnings to stderr PROCS WARNING: 0 processes with STATE = Z For Zombie process ~~ # /usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z System call sent warnings to stderr PROCS WARNING: 0 processes with STATE = Z thanks Duncs --Duncan Ferguson Senior Developer, Altinity Limited http://www.altinity.com Tel: +44 (0)870 787 9243 US: +1 866 879 9184 Fax: +44 (0)845 280 1725 Skype: duncan_j_ferguson MSN: [EMAIL PROTECTED] The contents of this email and any files transmitted with it are confidential and intended solely for the use of the individuals to whom it is addressed. If you are not the intended recipient or have received this e-mail in error please notify the sender and delete this e-mail immediately. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly prohibited. Altinity Limited | 404 Seven Sisters Road | London | N4 2LX | United Kingdom Registered in England and Wales under company number 4743767 -- ~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~ - 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] software raid monitoring
Lars Stavholm wrote: J. Bakshi wrote: Hi all, Is there any way to monitor software raid on the remote server by nrpe ? From nagios-plugins-1.4.11: contrib/check_adptraid contrib/check_linux_raid /L Hi Lars, Thanks a lot to let me know about the contrib. Yes the mentioned script is there in my nagios monitoring system, but I have not found it in my remote server where nrpe is running. I think I hace install there the nagios-plugin thanks -- ~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~ - 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] Problems with NDOUtils
Hi again! I have already checked all files permissions and ownership. I've changed it and was still not working, anyway, I found and solved the problem... I just remade everything and when I was creating the files to compile, using ./configure, I saw that there were some statements with no. The list is shown below: checking ltdl.h usability... no checking ltdl.h presence... no checking socket.h usability... no checking socket.h presence... no checking tcpd.h usability... no checking tcpd.h presence... no checking for socket in -lsocket... no checking for main in -lwrap... no checking for mysql_connect in -lmysqlclient... no To solve it, I installed the following libs using apt-get: libltdl3-dev libmysqlclient15-dev libwrap0-dev I just deleted the files and created it again using ./configure For now, there are still errors (no statements) on my output. Before I had problems with tcpd.h and socket.h. Now I have only the socket error, as you can see below: checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking for mysql_connect in -lmysqlclient... no the problem above to connect to lmysqlclient, is because it uses socket to connect. All I did was to change the ndo2db.cfg and ndomod.cfg within /usr/local/nagios/etc/ to use tcp in socket_type. It works!!! Notice thar I am still not able to use unix in socket_type due the problem when generating the files. (did not find socket.h) I found it on my debian the following socket.h /usr/include/asm-x86_64/socket.h /usr/include/sys/socket.h /usr/include/asm/socket.h /usr/include/linux/socket.h /usr/include/bits/socket.h /usr/include/asm-i486/socket.h Using diff, I see that all files are different from each other so I just left it as it is. If you know some lib that contains the socket.h or if you know how can I do to NDO find it, I appreciate. Anyway, now it is working under tcp socket_type. My hint is: Take a look on the ./configure output. If there is any no, find the lib, install it and issue again ./configure. Thanks -- Ronaldo A. Bueno Filho - Mensagem Original De: Mikael Fridh [EMAIL PROTECTED] Para: Ronaldo A. Bueno Filho [EMAIL PROTECTED] Cópia: nagios-users@lists.sourceforge.net Assunto: Re: [Nagios-users] Problems with NDOUtils Data: 03/09/08 23:23 On Wed, Sep 3, 2008 at 10:25 PM, Ronaldo A. Bueno Filho lt;[EMAIL PROTECTED]gt; wrote: gt; gt; Hi people! gt; gt; I've installed Nagios 3.0.2 on my Debian 4. I also installed NDOUtils 1.4b7. gt; The problem is related with NDOUtils. I can not populate the nagios gt; database. I followed all steps and rechecked everything. According to my gt; serach, probably there is a bug. (Not sure). [...] gt; [1220472069] ndomod: Error writing to data sink! Some output may get gt; lost... gt; [1220472085] ndomod: Successfully reconnected to data sink! 0 items lost, gt; 84 queued items to flush. gt; [1220472085] ndomod: Successfully flushed 84 queued items to data sink. gt; [1220472085] ndomod: Error writing to data sink! Some output may get gt; lost... gt; [1220472101] ndomod: Successfully reconnected to data sink! 0 items lost, gt; 80 queued items to flush. gt; [1220472101] ndomod: Successfully flushed 80 queued items to data sink. gt; [1220472101] ndomod: Error writing to data sink! Some output may get gt; lost... gt; [1220472117] ndomod: Successfully reconnected to data sink! 0 items lost, gt; 80 queued items to flush. gt; [1220472117] ndomod: Successfully flushed 80 queued items to data sink. gt; [1220472117] ndomod: Error writing to data sink! Some output may get gt; lost... gt; Check the permissions/ownership on your ndo configuration files, I'd created an rpm the other day with too strict permissions on these files that made ndo unable to read them. It doesn't really alert you about it, it just goes along with default values. -- Fridh -- Essa mensagem foi verificada contra vírus e conteúdo malicioso pelo Lisa Antivírus. - 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] Nagvis alternatives
thanks mate, good overview. I have had the same issues with nagvis, it crashing every now and then; ndo2db issues. I will give nexsm a try. Please be expecting emails from me about nexsm, lol. thanks again Lex On Wed, Sep 3, 2008 at 11:45 PM, Israel Brewster [EMAIL PROTECTED]wrote: On Sep 3, 2008, at 1:25 AM, Alex Dehaini wrote: Have you used it in production environment before. What are the disadvantages and advantages over nagvis? Yeah, we were running nexsm on our network of about 300 devices - not huge, but not tiny. The main advantage that I found was ease of configuration. With nexsm, it starts with the map fully populated with all network devices and links, and you can simply drag the devices around to where you want them. With nagvis, it starts off with an empty map, and you have to manually place every device AND every link. If you are just trying to populate a server room or something, this is fine, and probably even easer than the nexsm approach (where you would have to tell it to hide all the unwanted hosts), but when you are trying to map 300 or so devices, plus links, it quickly becomes prohibitively time consuming. And while you can reposition devices in nagvis by dragging (although I have had no end of trouble getting that to work), they aren't attached to their links, so you have to manually reposition BOTH the device and any links to/from the device. This isn't an issue with nexsm. I also found the display in nexsm to be easier to use- you can easily zoom in and out to see more or less of the map (if you can do this in nagvis, I haven't discovered how), and the map can be as large as you want- nagvis (from what I can tell) is limited to the size of the background image you choose. Although I do prefer the icon sets with nagvis over nexsm- nexsm uses the image you set in the nagios config. Finally, I prefer nexsm over nagvis for performance issues, although admittedly I suspect this is due to mysql, not nagvis itself. On the system I am using, I have found that when nagios is dumping stuff to the database, mysql uses pretty much all available processing power, and nagios hangs waiting for it to complete. Nexsm just reads the nagios logs directly, and while it is java, which uses a fair amount of processor, it's not as bad as mysql, at least on my OS. Also, when running nagvis, nagios has a tendency to stop updating completely every day or two, and can't be restarted until I kill the ndo2db daemon. I never had issues like that with nexsm- probably because it was just passively reading the log files, rather than trying to use an active event broker in nagios. Nexsm also just feels simpler to me- nagvis consists of an event broker module, a ndo2db daemon, the mysql server (although that might already be running somewhere for something else) and the web front end. nexsm is just a single java applet. Keep in mind though that my opinions may be at least partially based on incomplete or incorrect knowledge of nagvis. While I used nexsm extensively until we moved to nagios 3, I have never actually managed to get nagvis running acceptably. The three separate occasions I tried it have all been non-starters. The last time I got it running for a couple of days, but between the above mentioned performance issues, and never really being able to get the maps configured the way I wanted, we quickly took it offline. Also it is entirely possible that my desired usage (as a full-network overview) is better suited for nexsm than nagvis, and a different usage might work better with nagvis. But so far, for us, nagvis has proven to not be sutable. --- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 --- Lex On Tue, Sep 2, 2008 at 11:20 PM, Israel Brewster [EMAIL PROTECTED] wrote: On Sep 2, 2008, at 8:34 AM, Alex Dehaini wrote: Hi Guys, Are there other projects like nagvis? If you are still running nagios 2, nexsm ( http://nexsm.sf.net ) is an excellent option, one that I highly preferred over nagvis for a number of reasons. Doesn't work with nagios 3, however. I Don't know how hard it would be to fix (I suspect it is just a log parsing issue, but I don't know), but it is written in java, which I don't know, and the developer hasn't had time to work on it lately. Oh well. --- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 --- -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
[Nagios-users] notify-{host, service}-by-email command resistant to changes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Folks, I just tried to get the Macro $HOSTNOTESURL$ below my notification-email for an enhanced usability experience. However, the changes I made to the command-definition are not taken into account, when nagios makes my mta send me a mail. Example: I just changed State to german Status just to see if it works, then restarted nagios and klicked on Send custom host notification for one of the servers. However, I still see State instead of Status, and I don't see a URL-representation anywhere. I grepped for Date/Time, to see if there are maybe overlapping commands defined, but there aren't. I use the generic-contact template: service_notification_commands notify-service-by-email host_notification_commands notify-host-by-email and the custom mail-commands, slightly enhanced for URL-sending: The command-definitions are: # 'notify-host-by-email' command definition define command{ command_namenotify-host-by-email command_line/usr/bin/printf %b * Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nStatus: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\nURL: $HOSTNOTESURL$\n | /usr/bin/mail -s ** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ ** $CONTACTEMAIL$ } # 'notify-service-by-email' command definition define command{ command_namenotify-service-by-email command_line/usr/bin/printf %b * Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nStatus: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\n $HOSTNOTESURL$\n $SERVICENOTESURL$ | /usr/bin/mail -s ** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** $CONTACTEMAIL$ } The mail then looks like this: * Nagios * Notification Type: RECOVERY Host: OpenVPN1 State: UP Address: ovpn1.somedomain.de Info: WARNING - ovpn1.somedomain.de: rta 0.839ms, lost 0% Date/Time: Thu Sept 4 09:44:01 CEST 2008 No URL anywhere, ... Please be so kind to guide me to the solution of this occurence. Thanks in advance, Marcus P.S.: using Nagios 3.03 with pnp4nagios -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIv5ey+qVaNRZYOakRAhkzAKCatHjlYqQDw+WIcIC2o94xeivH6gCgkhEQ WP9YupLEtSj4cikwhjIg4K8= =vWKX -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] software raid monitoring
Lars Stavholm wrote: J. Bakshi wrote: Lars Stavholm wrote: J. Bakshi wrote: Hi all, Is there any way to monitor software raid on the remote server by nrpe ? From nagios-plugins-1.4.11: contrib/check_adptraid contrib/check_linux_raid /L Hi Lars, Thanks a lot to let me know about the contrib. Yes the mentioned script is there in my nagios monitoring system, but I have not found it in my remote server where nrpe is running. I think I hace install there the nagios-plugin Well, you'd better verify what you've installed on the remote machine, and how it was installed. The contrib directory might not be included. The contrib directory is however included in the nagios-plugin source, i.e. you might have to pick up the check_linux_raid and put it on to the target machine yourself. /L I'll do that. with best wishes -- ~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~ - 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] software raid monitoring
J. Bakshi wrote: Hi all, Is there any way to monitor software raid on the remote server by nrpe http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2418.html;d=1 -h -- Hari Sekhon - 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] System call sent warnings to stderr
On 4 Sep 2008, at 06:56, J. Bakshi wrote: Here are the actual command and out put on the remote server For Checking total process ~ /usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z System call sent warnings to stderr PROCS WARNING: 0 processes with STATE = Z For Zombie process ~~ # /usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z System call sent warnings to stderr PROCS WARNING: 0 processes with STATE = Z This potentially looks like a bug in check_procs - what version of Nagios Plugins are you using and what OS is the remote server? I would suggest posting to the plugins devel list - https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel Duncs -- Duncan Ferguson Senior Developer, Altinity Limited http://www.altinity.com Tel: +44 (0)870 787 9243 US: +1 866 879 9184 Fax: +44 (0)845 280 1725 Skype: duncan_j_ferguson MSN: [EMAIL PROTECTED] The contents of this email and any files transmitted with it are confidential and intended solely for the use of the individuals to whom it is addressed. If you are not the intended recipient or have received this e-mail in error please notify the sender and delete this e-mail immediately. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly prohibited. Altinity Limited | 404 Seven Sisters Road | London | N4 2LX | United Kingdom Registered in England and Wales under company number 4743767 - 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] System call sent warnings to stderr
Duncan Ferguson wrote: On 4 Sep 2008, at 06:56, J. Bakshi wrote: Here are the actual command and out put on the remote server For Checking total process ~ /usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z System call sent warnings to stderr PROCS WARNING: 0 processes with STATE = Z For Zombie process ~~ # /usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z System call sent warnings to stderr PROCS WARNING: 0 processes with STATE = Z This potentially looks like a bug in check_procs - what version of Nagios Plugins are you using and what OS is the remote server? I would suggest posting to the plugins devel list - https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel The os is suse 9.3 and nrpe is nagios-nrpe-2.0-111 thanks Duncs --Duncan Ferguson Senior Developer, Altinity Limited http://www.altinity.com Tel: +44 (0)870 787 9243 US: +1 866 879 9184 Fax: +44 (0)845 280 1725 Skype: duncan_j_ferguson MSN: [EMAIL PROTECTED] The contents of this email and any files transmitted with it are confidential and intended solely for the use of the individuals to whom it is addressed. If you are not the intended recipient or have received this e-mail in error please notify the sender and delete this e-mail immediately. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly prohibited. Altinity Limited | 404 Seven Sisters Road | London | N4 2LX | United Kingdom Registered in England and Wales under company number 4743767 -- ~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~ - 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] software raid monitoring
Hari Sekhon wrote: J. Bakshi wrote: Hi all, Is there any way to monitor software raid on the remote server by nrpe http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2418.html;d=1 -h Thanks Hari. with best wishes -- ~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~ - 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] notify-{host, service}-by-email command resistant to changes
On Sep 4, 2008, at 3:09 AM, Marcus wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Folks, I just tried to get the Macro $HOSTNOTESURL$ below my notification- email for an enhanced usability experience. However, the changes I made to the command-definition are not taken into account, when nagios makes my mta send me a mail Sounds like you have multiple nagios daemons running at the same time. -- Marc - 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] check_procs from Nagios plugins 1.4.12 is veeery slow on Solaris 10 5/08
Hi, Something bad happened to the check_proc plugin between version 1.45 and v1991. For counting ca 1700 processes on a Sun Enterprise M4000 it takes 45 seconds and sometimes longer. An older version was much faster qirh 0.3 seconds. I compiled Nagios plugins 1.4.12 on a Solaris 9 with GCC 3.4.6 to get binaries that can run on Solaris 8, 9 and 10. [EMAIL PROTECTED] ~]$ /opt/adnnagios/libexec/check_procs-1.45 -V check_procs (nagios-plugins 1.4.1) 1.45 [EMAIL PROTECTED] ~]$ /opt/adnnagios/libexec/check_procs -V check_procs v1991 (nagios-plugins 1.4.12) [EMAIL PROTECTED] ~]$ time /opt/adnnagios/libexec/check_procs-1.45 PROCS OK: 1695 processes real0m0.320s user0m0.051s sys 0m0.296s [EMAIL PROTECTED] ~]$ time /opt/adnnagios/libexec/check_procs -t 60 PROCS OK: 1664 processes real0m45.543s user0m2.851s sys 0m41.231s Any ideas what's going wrong? Bye Bernd - 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] check_procs from Nagios plugins 1.4.12 is veeery slow on Solaris 10 5/08
Can you please try a recent snapshot? The I rewrote the pst3 binary to enable to work faster and be zone aware (to allow use in in the global and sub zones). Its been fine for me, but I don't think there has been a release since the code was committed. CC'ing in the nagiosplug-devel list (probably best place for this thread). Duncs On 4 Sep 2008, at 14:02, Bernd Nies wrote: Hi, Something bad happened to the check_proc plugin between version 1.45 and v1991. For counting ca 1700 processes on a Sun Enterprise M4000 it takes 45 seconds and sometimes longer. An older version was much faster qirh 0.3 seconds. I compiled Nagios plugins 1.4.12 on a Solaris 9 with GCC 3.4.6 to get binaries that can run on Solaris 8, 9 and 10. [EMAIL PROTECTED] ~]$ /opt/adnnagios/libexec/check_procs-1.45 -V check_procs (nagios-plugins 1.4.1) 1.45 [EMAIL PROTECTED] ~]$ /opt/adnnagios/libexec/check_procs -V check_procs v1991 (nagios-plugins 1.4.12) [EMAIL PROTECTED] ~]$ time /opt/adnnagios/libexec/check_procs-1.45 PROCS OK: 1695 processes real0m0.320s user0m0.051s sys 0m0.296s [EMAIL PROTECTED] ~]$ time /opt/adnnagios/libexec/check_procs -t 60 PROCS OK: 1664 processes real0m45.543s user0m2.851s sys 0m41.231s Any ideas what's going wrong? Bye Bernd - 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 -- Duncan Ferguson Senior Developer, Altinity Limited http://www.altinity.com Tel: +44 (0)870 787 9243 US: +1 866 879 9184 Fax: +44 (0)845 280 1725 Skype: duncan_j_ferguson MSN: [EMAIL PROTECTED] The contents of this email and any files transmitted with it are confidential and intended solely for the use of the individuals to whom it is addressed. If you are not the intended recipient or have received this e-mail in error please notify the sender and delete this e-mail immediately. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly prohibited. Altinity Limited | 404 Seven Sisters Road | London | N4 2LX | United Kingdom Registered in England and Wales under company number 4743767 - 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] Nagios gets stuck
Yes I have. And it is very annoying. A service check goes defunct and the thread hangs, which makes Nagios hang. The defunct service check, its thread parent remain as unkillable zombies until the server is rebooted. No one has offered any sort of solution other than Have you tried Nagios 3? (Which I have not) Jonathan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Horsfall Sent: Wednesday, September 03, 2008 5:40 PM To: Nagios Users Subject: [Nagios-users] Nagios gets stuck Nagios 2.12 with 1.4.11 plugins, on FreeBSD 7.0. Sometimes Nagios hangs, and does not accept external commands etc; it's necessary to kill -9 the process. Has anyone else seen this? Next time I'll try and get a coredump of the process. -- Dave Horsfall DTM VK2KFU Ph: +61 2 9552-5509 (direct) +61 2 9552-5500 (switch) Corinthian Eng'ng P/L, Ste 54 Jones Bay Whf, 26-32 Pirrama Rd, Pyrmont 2009, AU - 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 email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you. - 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] Nagios gets stuck
Jonathan Call wrote: Yes I have. And it is very annoying. A service check goes defunct and the thread hangs, which makes Nagios hang. The defunct service check, its thread parent remain as unkillable zombies until the server is rebooted. No one has offered any sort of solution other than Have you tried Nagios 3? (Which I have not) Jonathan Jonathan, are you running BSD as well? If so, what scheduler are you using? How about you Dave? Sean McAfee System Engineer Collaborative Fusion, Inc. [EMAIL PROTECTED] 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - 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] notify-{host, service}-by-email command resistant to changes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Marc, thanks for the hint. Marc Powell schrieb: On Sep 4, 2008, at 3:09 AM, Marcus wrote: I just tried to get the Macro $HOSTNOTESURL$ below my notification- email for an enhanced usability experience. However, the changes I made to the command-definition are not taken into account, when nagios makes my mta send me a mail Sounds like you have multiple nagios daemons running at the same time. I doubt that I actually had two instances running, but who knows. Maybe there is an issue with my restart-script (from init.d)... I just killed nagios thoroughly (blood everywhere), and now, the test-mail I just initiated after restarting shows me the changes. I even almost got the desired result (a link to host or service) by building the linkification manually, by combining the servername and $HOSTNAME$-variable. But, for services that contain spaces, it doesn't work. By the way, the $HOSTNOTESURL$ definitely doesn't produce any output on my system, same goes for the $SERVICENOTESURL$. Is it supposed to produce a valid html-link or something like that? I didn't quite understand that part of the current documentation. Thanks, Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIv/Tt+qVaNRZYOakRAoT7AKCsBviDLe7gtVta8gG5kQMKGZ0phACfWNXv mW2tnCzHjGj7thSsfdWdNnc= =rzjv -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] CHECK_NRPE: Socket timeout after 10 seconds.
On Sep 2, 2008, at 11:21 PM, J. Bakshi wrote: I'm not using xinetd. I'm using nrpe daemon instead. May be my firewall is responsible for the problem but I'm not sure Even after increasing the time with -t 20 the commands still report socket time out :-( Why not try xinetd with a simple firewall rule? I believe most people use xinetd or inetd and thus you should be able to get the most help that way. I set it up the same way the documentation states. http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf Have you successfully installed NRPE before? If not, it may be time to move to a testing environment that you can have full control over. That being said... Are you running SElinux? Have you checked out your relevant logs for nrpe, iptables, selinux, etc (/var/log/messages, make sure debugging is turned on with NRPE)... It may be give you some interesting information. I like to run tail on the problem server then try NRPE from the monitoring server to see what is going on. # REMOTE SERVER running NRPE daemon continuosly running tail $ tail -f /var/log/messages Sep 4 09:35:03 dev2 nrpe[7118]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Sep 4 09:35:03 dev2 xinetd[32709]: EXIT: nrpe status=0 pid=7118 duration=2(sec) ... # NAGIOS SERVER running 'check_nrpe -H REMOTEHOST' or have nagios run checks till they start to timeout. $ ./check_npre -H REMOTEHOST NRPE v2.11 Good luck! Mark Young ___ Nagios Enterprises, LLC Web:www.nagios.com - 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] notify-{host, service}-by-email command resistant to changes
By the way, the $HOSTNOTESURL$ definitely doesn't produce any output on my system, same goes for the $SERVICENOTESURL$. Is it supposed to produce a valid html-link or something like that? I didn't quite understand that part of the current documentation. If you have those defined for your hosts and/or services (see the extended info docs), they work. - 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] Nagios gets stuck
Jonathan Call wrote: I am running the default scheduler (SCHED_4BSD) with SMP. I have one box running FreeBSD 7.0-amd64 and three others running FreeBSD 6.3-i386 in a distributed model. The FreeBSD 6.3 boxes had issues in the past with service checks hanging but once Nagios was libmapped to libthr instead of libpthread those issues went away. I've been tempted to try that on the amd64 system but I'm waiting for Nagios to hang/fail again. Jonathan I orginally replied to Dave off-list, but I saw a couple of hangups on our 6.3/amd64/SMP/4BSD master during/after some NSCA result submission bombs caused by some wide outages. There was really no impact in terms of resource consumption or race conditions, just unresponsive daemons (the debug log just kept cycling through the nothing to do! routine.) I wasn't too worried about it since it was caused by extremely atypical events so I didn't do much troubleshooting, but I can at least confirm the behavior. Sean McAfee System Engineer Collaborative Fusion, Inc. [EMAIL PROTECTED] 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - 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] Nagios gets stuck
I am running the default scheduler (SCHED_4BSD) with SMP. I have one box running FreeBSD 7.0-amd64 and three others running FreeBSD 6.3-i386 in a distributed model. The FreeBSD 6.3 boxes had issues in the past with service checks hanging but once Nagios was libmapped to libthr instead of libpthread those issues went away. I've been tempted to try that on the amd64 system but I'm waiting for Nagios to hang/fail again. Jonathan -Original Message- From: Sean McAfee [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2008 8:16 AM To: Jonathan Call Cc: Dave Horsfall; Nagios Users Subject: Re: [Nagios-users] Nagios gets stuck Jonathan Call wrote: Yes I have. And it is very annoying. A service check goes defunct and the thread hangs, which makes Nagios hang. The defunct service check, its thread parent remain as unkillable zombies until the server is rebooted. No one has offered any sort of solution other than Have you tried Nagios 3? (Which I have not) Jonathan Jonathan, are you running BSD as well? If so, what scheduler are you using? How about you Dave? Sean McAfee System Engineer Collaborative Fusion, Inc. [EMAIL PROTECTED] 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you. - 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] mysql reporting from nagios
Hi all: Running Nagios 2.9 on a Linux system with MySQL 5.0 I have the database running and the nagios data is put into the MySQL. Are there any examples, tips or resources available to writing reports that will access the nagios data from the database? Many thanks Rick Garland --- The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum Corporation. Furthermore, Quantum Corporation is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt. - 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] mysql reporting from nagios
Are there any examples, tips or resources available to writing reports that will access the nagios data from the database? Replying in this cross-post as well for completeness: Examples in: ndoutils-1.4b7/db/queries/ -- Fridh - 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] using nagios in my own website
hi,i'm using the nagios to monitor the service,and i just want to get the data of nagios module,and don't want to using the website of nagios,how can i display the data in my own website, how can i get the data with the interface of nagios,can any one give some suggestion. your kind help would be great appreciated. 2008-09-05 localyee - 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] using nagios in my own website
The host/service status is stored in /usr/local/nagios/var/status.dat (or wherever you nagios install is). This is a plain text file with the status of every host and service in it. You can read it yourself however you want, but some languages may have a module for reading the file -- perl has a Nagios::StatusLog module in cpan, or often via your distribution (With ubuntu apt-get install libnagios-object-perl) You could also, I believe, look at NDO, which sends nagios data out to a mysql database. -- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 Paul Weaver Systems Development Engineer News Production Facilities, BBC News Work: 020 8225 8109 Mobile: 07736 481006 Room 1244, BBC Television Centre, Wood Lane, London, W12 7RJ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of localyee Sent: 04 September 2008 19:13 To: nagios-users Subject: [Nagios-users] using nagios in my own website hi,i'm using the nagios to monitor the service,and i just want to get the data of nagios module,and don't want to using the website of nagios,how can i display the data in my own website, how can i get the data with the interface of nagios,can any one give some suggestion. your kind help would be great appreciated. 2008-09-05 localyee http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. - 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] Problems while trying to configure Nagios
Hi every: I've downloaded and compiled Nagios 3.0.3. Reading the documentation I try to configure it for monitoring services and hosts. When I access to Nagios and pick Service Detail I get this error: It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. Can any help me with this? Cheers and thanks in advance Ing. Reynier Pérez Mira Grupo de Soporte al Desarrollo - Dirección Técnica IP - 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] Service Escalations
Ok, I¹ve manage to thoroughly confuse my self with service escalations. Here is an example of my configs: --service_definitation: define service{ use generic-service host_name box1,box2 service_description disk_space check_command check_nrpe!check_disks contact_groups oncall,developers,backup,tech-team,management notifications_enabled 1 } My escalations config: define serviceescalation{ host_name box1,box2 service_descriptiondisk_space first_notification 1 last_notification 10 notification_interval 4 contact_groupsoncall } define serviceescalation{ host_namebox1,box2 service_description disk_space first_notification 11 last_notification 20 notification_interval 4 contact_groups oncall,backup } define serviceescalation{ host_name box1,box2 service_description disk_space first_notification21 last_notification 30 notification_interval 4 contact_groups oncall,backup,tech-team } define serviceescalation{ host_name box1,box2 service_description disk_space first_notification 31 last_notification notification_interval 4 contact_groups oncall,backup,tech-team,management } My first question: There have been two times in the past 24 hours when a service went down, and within a minute was acknowledged, and everybody got the acknowledgement, not just the oncall person. And secondly, if I added and everyone¹ to my service contact_groups¹, and utilized the time_period option in the escalations config for after hours, would everyone get the notification during the day? Thanks! Robert - 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] Problems while trying to configure Nagios
On Sep 4, 2008, at 1:23 PM, Reynier Perez Mira wrote: Hi every: I've downloaded and compiled Nagios 3.0.3. Reading the documentation I try to configure it for monitoring services and hosts. When I access to Nagios and pick Service Detail I get this error: It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. Can any help me with this? It seems you may have enabled authorization for the CGIs but didn't configure htaccess or otherwise complete the configuration? Otherwise the username you are logged in as isn't a contact for any hosts/ services or hasn't been granted extended authorized_for permissions in cgi.cfg. http://nagios.sourceforge.net/docs/3_0/cgiauth.html -- Marc - 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] ocsp_command option unable to complete - Code 127
Hi, We are configuring distributed monitoring using send_nsca. I am seeing following error from Nagios.log when ocsp_command executed by nagios service. But I can run manually the same command as nagios user successful. $ /usr/local/nagios/libexec/test_nsca rome.baytree.com 'Current Users' 0 'USERS OK - 4 users currently logged in' 1 data packet(s) sent to host successfully. Please help me what I am missing and why Nagios service giving me Code 127. Even though script is existed in /usr/local/nagios/libexec See the following setup files. ===Nagios.log [1220559119] INITIAL SERVICE STATE: rome.baytree.com;Current Users;OK;HARD;1;USERS OK - 4 users currently logged in [1220559429] Warning: Attempting to execute the command /usr/local/nagios/libexec/test_nsca rome.baytree.com 'Current Users' 0 'USERS OK - 4 users currently logged in' resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... ===commands.cfg define command{ command_namesend-service-check command_line/usr/local/nagios/libexec/test_nsca $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATEID$ '$SERVICEOUTPUT$' } === nagios.cfg obsess_over_services=1 ocsp_command=send-service-check ochp_command=send-host-check === localhost.cfg define service{ use local-service ; Name of service template to use host_name rome.baytree.com service_description Current Users check_command check_local_users!20!50 } Thank you Murali Edula - 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] ocsp_command option unable to complete - Code 127
On Sep 4, 2008, at 3:48 PM, Murali Edula wrote: Hi, We are configuring distributed monitoring using send_nsca. I am seeing following error from Nagios.log when ocsp_command executed by nagios service. But I can run manually the same command as nagios user successful. $ /usr/local/nagios/libexec/test_nsca rome.baytree.com 'Current Users' 0 'USERS OK - 4 users currently logged in' 1 data packet(s) sent to host successfully. Please help me what I am missing and why Nagios service giving me Code 127. Even though script is existed in /usr/local/nagios/libexec Thanks for providing the appropriate config snippets. Looks good. Make sure that any programs used within the test_nsca script exist and use / fully/qualified/paths. The environment available when the daemon executes the script is restricted. -- Marc - 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] Service Escalations
On Thu, 04 Sep 2008 14:26:04 -0500, Robert Small [EMAIL PROTECTED] wrote: Ok, I¹ve manage to thoroughly confuse my self with service escalations. Here is an example of my configs: --service_definitation: define service{ use generic-service host_name box1,box2 service_description disk_space check_command check_nrpe!check_disks contact_groups oncall,developers,backup,tech-team,management notifications_enabled 1 } My escalations config: define serviceescalation{ [..] contact_groupsoncall } define serviceescalation{ [..] contact_groups oncall,backup } define serviceescalation{ [..] contact_groups oncall,backup,tech-team } define serviceescalation{ [..] contact_groups oncall,backup,tech-team,management } My first question: There have been two times in the past 24 hours when a service went down, and within a minute was acknowledged, and everybody got the acknowledgement, not just the oncall person. I'm a little confused as to why you have everybody in the service definition, and then break it down in the escallations. It seems a slightly unusual way of doing it, but based on the verbiage from the docs, should work... http://nagios.sourceforge.net/docs/3_0/escalations.html The way the docs have it laid out, and using your samples, it'd have the contact_groups for the service as just oncall. Then for the first service escallation, which would be from 11, to 20 (not 1 to 10), the groups would be oncall, and backup. Then on the 21-30, it'd be oncall, backup, and tech-team, etc etc etc. And secondly, if I added and everyone¹ to my service contact_groups¹, and utilized the time_period option in the escalations config for after hours, would everyone get the notification during the day? It doesn't seem to mention it that way, but yes, it'd appear to behave that way. -- Jon Angliss - 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] CHECK_NRPE: Socket timeout after 10 seconds.
Mark Young wrote: On Sep 2, 2008, at 11:21 PM, J. Bakshi wrote: I'm not using xinetd. I'm using nrpe daemon instead. May be my firewall is responsible for the problem but I'm not sure Even after increasing the time with -t 20 the commands still report socket time out :-( Why not try xinetd with a simple firewall rule? I believe most people use xinetd or inetd and thus you should be able to get the most help that way. I set it up the same way the documentation states. http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf Have you successfully installed NRPE before? If not, it may be time to move to a testing environment that you can have full control over. That being said... Are you running SElinux? Have you checked out your relevant logs for nrpe, iptables, selinux, etc (/var/log/messages, make sure debugging is turned on with NRPE)... It may be give you some interesting information. I like to run tail on the problem server then try NRPE from the monitoring server to see what is going on. # REMOTE SERVER running NRPE daemon continuosly running tail $ tail -f /var/log/messages Sep 4 09:35:03 dev2 nrpe[7118]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Sep 4 09:35:03 dev2 xinetd[32709]: EXIT: nrpe status=0 pid=7118 duration=2(sec) ... # NAGIOS SERVER running 'check_nrpe -H REMOTEHOST' or have nagios run checks till they start to timeout. $ ./check_npre -H REMOTEHOST NRPE v2.11 Good luck! Hi, I have not found anything interesting through logs. My problem has been solved by increasing the time to 30 [ -t 30 ] . Even 20 sec time gave me trouble. But I have no clue yet why any thing less than 30 sec did not work. with regards Mark Young ___ Nagios Enterprises, LLC Web:www.nagios.com - 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 -- ~~ Joydeep Bakshi, Linux System Admin Kolkatainfoservices Pvt Ltd, 23A Royd Street, Kolkata 700016, India Work Phone 91 033 40014784 http://infoservices.in/ ~~~ - 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