Re: [Nagios-users] Help with check_smb error message
On Wed, 15 Dec 2010 15:44:43 -0500, stan st...@panix.com wrote: r...@pm2v40:/etc/nagios3/conf.d# /usr/lib/nagios/plugins/check_disk_smb -H aw201b -s ia Result from smbclient not suitable Any idea, what I am doing wrong here? What happens if you use smbclient by hand to your localhost and a windows machine with identical parameters except the address? My guess is that they use different identification schemes so you smbclient is not able to login to the windows domain. Hugo. -- hvdko...@vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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] Fwd: check_disk_smb invalid share error on new version of nagiosp
nagios-users@lists.sourceforge.net Hello all, I have updraded nagios plugins to latest version 1.4.15 the check of a smb share doesn't work anymore, i use exactly the same commands as in check_disk_smb v1247 (nagios-plugins 1.4.12) is there a difference in the way the checks should be made, the help file is basically the same (check_disk_smb -H) on both version is identical.. the only error i have is 'invalid share.. how could I debug this? i can ofcourse copy and paste the old perl script but that's not the meaning of upgrading... here's the command used; /check_disk_smb -H hostname -s Bookings -u users-p passwd Domain=[DUMMY] OS=[Windows Server 200x 3790 Service Pack X] Server=[Windows Server 200x 5.x] Disk ok - 8.16G (54%) free on hostame\\Bookings in the new version i do exaclt yhe same and i get Invalid Share: Bookings kind regards Mario G. -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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] Fwd: check_disk_smb invalid share error on new version of nagiosp
On Thu, 16 Dec 2010 14:02:29 +0100, Mario Garcia Ortiz mar...@absi.be wrote: I have updraded nagios plugins to latest version 1.4.15 the check of a smb share doesn't work anymore, i use exactly the same commands as in check_disk_smb v1247 (nagios-plugins 1.4.12) Assuming you have both versions at hand I would say that a diff output might shed some light on this. Hugo. -- hvdko...@vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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] NSCA hangs?
Heya guys, i once more need your help :) It seems that my NSCA works absolutely perfect for 2-3 days, with 17 hosts monitored, all sending Passive checks on a 10 second intervall. (The problem may be here, I just want a second opinion) Anyway, it works really good for about 2-3 days but then it appears to shut down. This is the errormsg i get at the NSclient++: 2010-12-12 13:54:44: error:modules\NSCAAgent\NSCAThread.cpp:275: Could not connect to: (keeping IP a secret) 10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. And from the syslogfile i can only see that packet was dropped, 32 seconds old. I cant get real print out because uhm the syslogfile are to heavy to use so it hangs my putty..:) Any ideas? -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d___ 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] different contact groups depending on time of day
Hello list, is it possible to send notification to a certain contact group depending on the time, what i mean, send notification (sms) to certain people between working hours and to other people outside working hours and weekends. thank you -- Mario GARCIA ORTIZ System Engineer Neerstalsestwg. 42 chée. de Neerstalle B-1190 Brussels Tel.: +32(0)2 333 40 00 mar...@absi.be http://www.absi.be The information contained in or attached to this email is confidential and may be privileged. If you have received it by mistake,please notify the sender by return e-mail and delete it from your system. -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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 that processes run as more than one user
I need to check on a Windows server that a processes is running, but for two users. (So two instances should run, one as user1 and one as user2). I'm running nc_net on the server (which is running Win server 2008 R2) and can test for the process running using something like: check_command check_nt!PROCSTATE -l myprogram.exe This will say OK as long as at least one of the processes is running, but I need a warning/critical if not both of them are running. The -l parameter can take more than one process name, so I tried doubling it, (and even tripling it), but that seemed to work just as if it was only one. check_command check_nt!PROCSTATE -l myprogram.exe,myprogram.exe I cannot find anything in the docs about specifying user name. Any ideas of how I can accomplish what I need? -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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] Setting Scheduled Downtime Externally
Is it possible to set the schedule downtime value for hosts externally (curl for example)? I found some 2007 posts regarding this same topic, but the php script this individual wrote that would support such are no longer accessible. Thank you for your time and assistance -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d___ 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] $OUTPUT$
We are working on our first Nagios parent chiled system. As I understand it, on the chile I need to invoke something that looks like: /usr/share/nagios/sbin/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' That script then does something like this: /usr/bin/printf %s\t%s\t%s\t%s\n $1 $2 $return_code $4 | /usr/sbin/send_nsca pnoc -c /etc/send_nsca.cfg Ny current issue is that $OUTPUT$ does ot seem to be getting expanded. Insteadit is literaly showing up on the Nagios run time web screen as $OUTPUT$. Any thoughts as to what we may be doing wrong here? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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] different contact groups depending on time of day
Mario Garcia Ortiz wrote: Hello list, is it possible to send notification to a certain contact group depending on the time, what i mean, send notification (sms) to certain people between working hours and to other people outside working hours and weekends. thank you Yes. Define contact objects with different host_notification_period and service_notification_period specifications. http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contact -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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] NSCA hangs?
On Thu, 16 Dec 2010 13:57:38 +, Rikard Dahlberg wrote: It seems that my NSCA works absolutely perfect for 2-3 days, with 17 hosts monitored, all sending Passive checks on a 10 second intervall. (The problem may be here, I just want a second opinion) Anyway, it works really good for about 2-3 days but then it appears to shut down. This is the errormsg i get at the NSclient++: 2010-12-12 13:54:44: error:modulesNSCAAgentNSCAThread.cpp:275: -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d___ 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] different contact groups depending on time of day
On 12/16/2010 10:57 AM, Paul M. Dubuc wrote: Mario Garcia Ortiz wrote: what i mean, send notification (sms) to certain people between working hours and to other people outside working hours and weekends. Yes. Define contact objects with different host_notification_period and service_notification_period specifications. http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contact In addendum, also be sure to define your timeperiods as well (working_hours, weekends, after_hours, etc), so that you have the proper timeperiods defined for your notification_period entries in your contact objects. http://nagios.sourceforge.net/docs/3_0/timeperiods.html -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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] $OUTPUT$
On 12/16/2010 04:11 PM, stan wrote: We are working on our first Nagios parent chiled system. As I understand it, on the chile I need to invoke something that looks like: /usr/share/nagios/sbin/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' That script then does something like this: /usr/bin/printf %s\t%s\t%s\t%s\n $1 $2 $return_code $4 | /usr/sbin/send_nsca pnoc -c /etc/send_nsca.cfg Ny current issue is that $OUTPUT$ does ot seem to be getting expanded. Insteadit is literaly showing up on the Nagios run time web screen as $OUTPUT$. Check the docs for what macros are available for obsessive host and service check commands. Or use merlin. It was designed for things like this. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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] JVM Monitoring
On Tue, 2010-12-14 at 17:04 +, Jim Avery wrote: On 14 December 2010 14:11, Marc-André Doll m...@b-care.net wrote: Hi list, I have to monitor some JVM and I don't find plugins that fit exactly with what I want/imagine. I could use the check_jmx but I don't really want to install a JRE on my Nagios server. Currently, I'm monitoring Tomcat servers with check_jmx4perl and I'm quite happy with it. Is it possible to configure/tweek the JVM or the J4P war to use it on a non-JEE server? Or am I doomed to install java on my monitoring server? I would think you could continue to use check_jmx4perl on the Tomcat server and get it to send the results back to Nagios as a passive check using send_nsca. You can either use the send_nsca which is built in to NSClient++, or there is a standalone binary send_nsca which is quite easy to use ( http://exchange.nagios.org/directory/Addons/Passive-Checks/NSCA-Win32-Client/details ). You will of course need to configure the nsca daemon on your Nagios server if you haven't done that already. hth, Jim Thank you Jim for your answer. I will use passive checks with NSCA. Marc-André -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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] Setting Scheduled Downtime Externally
On Thu, 2010-12-16 at 09:47 -0500, Tom Tucker wrote: Is it possible to set the schedule downtime value for hosts externally (curl for example)? I found some 2007 posts regarding this same topic, but the php script this individual wrote that would support such are no longer accessible. Hi, Yes it is possible. I've done it to register periodic reboots. You have to execute a HTTP POST request to the right URL. See what are the HTTP data sent when you set a scheduled downtime in Nagios and mimic them with a wget/php script/curl/... Marc-André -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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] $OUTPUT$
On Thu, Dec 16, 2010 at 05:21:43PM +0100, Andreas Ericsson wrote: On 12/16/2010 04:11 PM, stan wrote: We are working on our first Nagios parent chiled system. As I understand it, on the chile I need to invoke something that looks like: /usr/share/nagios/sbin/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' That script then does something like this: /usr/bin/printf %s\t%s\t%s\t%s\n $1 $2 $return_code $4 | /usr/sbin/send_nsca pnoc -c /etc/send_nsca.cfg Ny current issue is that $OUTPUT$ does ot seem to be getting expanded. Insteadit is literaly showing up on the Nagios run time web screen as $OUTPUT$. Check the docs for what macros are available for obsessive host and service check commands. Or use merlin. It was designed for things like this. Yes, that has been recomended (Merlin). Having spent 2 or 3 days getting nsca (close to) working, and having only one parent, one (small) child setup, I woner of it is worth the time to change at this point? How much work is involved in setting Merlin up? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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] JVM Monitoring
Marc-André Doll wrote: Hi list, I have to monitor some JVM and I don't find plugins that fit exactly with what I want/imagine. I could use the check_jmx but I don't really want to install a JRE on my Nagios server. Currently, I'm monitoring Tomcat servers with check_jmx4perl and I'm quite happy with it. Is it possible to configure/tweek the JVM or the J4P war to use it on a non-JEE server? Or am I doomed to install java on my monitoring server? Thanks for your help. I was just looking at the web page for check_jmx4perl at http://exchange.nagios.org/directory/Plugins/Java-Applications-and-Servers/check_jmx4perl/details It says that it requires No Java installation required on the Nagios host. Is this not true? Paul Dubuc -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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] qpage - OT
Thanks for the response Benny, I appreciate any help I can get qpage error: 502 MESSAGE REJECTED - STX OR EOT EXPECTED It would have been nice to see your qpage.cf file... ;) That seems obvious, see below Be sure you have 'parity=even' in your config. When you run a test with verbose and interactive flags set, do you fail five or six times before you get that message? I've never tried the interactive flag, I will do so. As far as the failures go when I had the retry set to 20 it would to fail 5 times in a row and then reset the modem or something, I can't fully interpret the logs, and then retry again possible 20 times? as in 20 sets of 5. The interactive (-i) option seems to require a page to be sent right now. As of yet I have been unable to get a failure when sending a page manually but I think I've really only sent a small number 10-20 pages manually. The only times it has failed so far is when it's running in daemon mode. Do you guys use USB modems with qpage? These problems got much worse after switching to a USB modem. qpage.cf: # # QuickPage configuration file # administrator=xxx...@xxx.xxx queuedir=/var/spool/qpage pidfile=/var/spool/qpage/qpage.pid modem=modem1 device=/dev/modem service=att device=modem1 phone=9,18009094602 baudrate=9600 parity=even allowpid=yes #maxtries=6 maxtries=3 msgprefix=false #maxmsgsize=250 maxmsgsize=500 -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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] qpage - OT
It would have been nice to see your qpage.cf file... ;) That seems obvious, see below Be sure you have 'parity=even' in your config. When you run a test with verbose and interactive flags set, do you fail five or six times before you get that message? I've never tried the interactive flag, I will do so. As far as the failures go when I had the retry set to 20 it would to fail 5 times in a row and then reset the modem or something, I can't fully interpret the logs, and then retry again possible 20 times? as in 20 sets of 5. The interactive (-i) option seems to require a page to be sent right now. As of yet I have been unable to get a failure when sending a page manually but I think I've really only sent a small number 10-20 pages manually. The only times it has failed so far is when it's running in daemon mode. Do you guys use USB modems with qpage? These problems got much worse after switching to a USB modem. I didn't notice anything glaringly incorrect with your config... The reason I asked about parity is because I got the exact same error with Verizon and Sprint, except that qpage would decide that the page was not sent (when it had been), so it would retry five times (thereby sending five identical pages). That issue went away when I had a palm-forehead moment and added the 'parity=even' to my config. Benny -- I'm no meteorologist, but I'm pretty sure it's rainin' bitches! -- Cleveland, Family Guy -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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] $OUTPUT$
On Thu, Dec 16, 2010 at 05:21:43PM +0100, Andreas Ericsson wrote: On 12/16/2010 04:11 PM, stan wrote: We are working on our first Nagios parent chiled system. As I understand it, on the chile I need to invoke something that looks like: /usr/share/nagios/sbin/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' That script then does something like this: /usr/bin/printf %s\t%s\t%s\t%s\n $1 $2 $return_code $4 | /usr/sbin/send_nsca pnoc -c /etc/send_nsca.cfg Ny current issue is that $OUTPUT$ does ot seem to be getting expanded. Insteadit is literaly showing up on the Nagios run time web screen as $OUTPUT$. Check the docs for what macros are available for obsessive host and service check commands. Or use merlin. It was designed for things like this. losure for the list archives: THis sugestion led to a Google search for Nagios Macors Which led to a page listing the macros and where they are avail;able. Turns out that the actual macro is $HOSTOUTPT. Question, why does the Nagios parser not complain about invalid macros? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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] $OUTPUT$
On 12/16/2010 08:04 PM, stan wrote: On Thu, Dec 16, 2010 at 05:21:43PM +0100, Andreas Ericsson wrote: On 12/16/2010 04:11 PM, stan wrote: We are working on our first Nagios parent chiled system. As I understand it, on the chile I need to invoke something that looks like: /usr/share/nagios/sbin/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' That script then does something like this: /usr/bin/printf %s\t%s\t%s\t%s\n $1 $2 $return_code $4 | /usr/sbin/send_nsca pnoc -c /etc/send_nsca.cfg Ny current issue is that $OUTPUT$ does ot seem to be getting expanded. Insteadit is literaly showing up on the Nagios run time web screen as $OUTPUT$. Check the docs for what macros are available for obsessive host and service check commands. Or use merlin. It was designed for things like this. Yes, that has been recomended (Merlin). Having spent 2 or 3 days getting nsca (close to) working, and having only one parent, one (small) child setup, I woner of it is worth the time to change at this point? How much work is involved in setting Merlin up? Once the software is installed and you've configured one hostgroup to be handled by the poller, you type: mon node add fqdn-of-poller type=poller hostgroup=hostgroupname on the master, and mon node add fqdn-of-master type=master and then restarting monitor and merlin. There's a more in-depth README available online at http://git.op5.org/git/?p=nagios/merlin.git;a=blob;f=HOWTO;hb=master and plenty of documentation in the wiki as well. Just google op5 merlin and you'll find it all. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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] $OUTPUT$
On 12/16/2010 09:08 PM, stan wrote: On Thu, Dec 16, 2010 at 05:21:43PM +0100, Andreas Ericsson wrote: On 12/16/2010 04:11 PM, stan wrote: We are working on our first Nagios parent chiled system. As I understand it, on the chile I need to invoke something that looks like: /usr/share/nagios/sbin/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' That script then does something like this: /usr/bin/printf %s\t%s\t%s\t%s\n $1 $2 $return_code $4 | /usr/sbin/send_nsca pnoc -c /etc/send_nsca.cfg Ny current issue is that $OUTPUT$ does ot seem to be getting expanded. Insteadit is literaly showing up on the Nagios run time web screen as $OUTPUT$. Check the docs for what macros are available for obsessive host and service check commands. Or use merlin. It was designed for things like this. losure for the list archives: THis sugestion led to a Google search for Nagios Macors Which led to a page listing the macros and where they are avail;able. Turns out that the actual macro is $HOSTOUTPT. Question, why does the Nagios parser not complain about invalid macros? Because they could be environment variables. The syntax for describing macros is a bit fragile. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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 monitor for a single Linux user space process ?
On Wed, Dec 15, 2010 at 9:20 PM, Mike Lindsey mike-nag...@bettyscout.org wrote: On 12/15/10 5:05 PM, Bruce Edge wrote: Rookie question here. Trying to determine nagios suitability for an embedded app. Can I monitor the CPU utilization for a single user space process on a Linux box with nagios? And, can I define an action if it exceeds a threshold? Sounds like you need check_snmp_process.pl from here: http://nagios.manubulon.com/snmp_process.html I've been using it, it works quite well. It requires snmpd, but is basically the swiss army knife of user-space process monitoring. To define an action you need to set up an event handler. http://nagios.sourceforge.net/docs/3_0/eventhandlers.html That's exactly what I need. Would have taken me years to find that. Thanks! -Bruce -- Mike Lindsey -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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] JVM Monitoring
On 16 December 2010 19:04, Paul M. Dubuc w...@paul.dubuc.org wrote: I was just looking at the web page for check_jmx4perl at http://exchange.nagios.org/directory/Plugins/Java-Applications-and-Servers/check_jmx4perl/details It says that it requires No Java installation required on the Nagios host. Is this not true? Maybe it is. I can't say I've tried it! -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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] Antoher distributed config question
Sorry for the torment of questions on this. We are trying to get this working with end of year money, so we are supposed to have it working before Jan 1 :-) We have the parent and child talking to each other using NSCA. We are getting updates on the child system on both the host detail, and service detail screens. On the parent system only the service detail screen is updating. The host detail screen continues to show PENDING, with the red X thta indicates active checks are disabled. I am looking at the data stream coming in on the pipe, and all I see are messages like this: [1292539309] PROCESS_SERVICE_CHECK_RESULT;AW210B;RDP;0;PING OK - Packet loss = 0%, RTA = 0.37 ms Should I be seeing ones with something like HOST_SERVICE_CHECK_RESULT ? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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] Qugga BGP monitoring IPv6
Hey there, can anyone tell me if it is possible to monitor the state of a IPv6 BGP-Session inside a quagga? I Found some SNMP tools for nagios but they can only handle IPv4 sessions. -- Mit freundlichen Grüßen Daniel mailto:lis...@oberhausen-it.de -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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] Antoher distributed config question
On Thu, Dec 16, 2010 at 05:45:14PM -0500, stan wrote: Sorry for the torment of questions on this. We are trying to get this working with end of year money, so we are supposed to have it working before Jan 1 :-) We have the parent and child talking to each other using NSCA. We are getting updates on the child system on both the host detail, and service detail screens. On the parent system only the service detail screen is updating. The host detail screen continues to show PENDING, with the red X thta indicates active checks are disabled. I am looking at the data stream coming in on the pipe, and all I see are messages like this: [1292539309] PROCESS_SERVICE_CHECK_RESULT;AW210B;RDP;0;PING OK - Packet loss = 0%, RTA = 0.37 ms Should I be seeing ones with something like HOST_SERVICE_CHECK_RESULT ? Sorry to follow up to my own email, but I meant to add this to the orignal. If it helps to understand my configuration, the child is an Ubuntu system, and I started with thier default configuration files, and used them as examples. They look a lot different from the ones on the parent machine, whcih were originally hand coded, and later imported into nagiosql. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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 monitor for a single Linux user spaceprocess ?
I also modified one of the other plugins to do a user-space, check_ps.pl I think was it, so I added a -u user option that basically does a ps aux for all that user and then totals all the results. I can probably get a copy if you wanted it. Mainly because I don't use snmp for process checks is why I did it as a local check. Dan -Original Message- From: Bruce Edge [mailto:bruce.e...@gmail.com] Sent: Thursday, December 16, 2010 4:36 PM To: Mike Lindsey Cc: Nagios Users List Subject: Re: [Nagios-users] CPU monitor for a single Linux user spaceprocess ? On Wed, Dec 15, 2010 at 9:20 PM, Mike Lindsey mike-nag...@bettyscout.org wrote: On 12/15/10 5:05 PM, Bruce Edge wrote: Rookie question here. Trying to determine nagios suitability for an embedded app. Can I monitor the CPU utilization for a single user space process on a Linux box with nagios? And, can I define an action if it exceeds a threshold? Sounds like you need check_snmp_process.pl from here: http://nagios.manubulon.com/snmp_process.html I've been using it, it works quite well. It requires snmpd, but is basically the swiss army knife of user-space process monitoring. To define an action you need to set up an event handler. http://nagios.sourceforge.net/docs/3_0/eventhandlers.html That's exactly what I need. Would have taken me years to find that. Thanks! -Bruce -- Mike Lindsey -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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 -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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_snmp
Hi: i just install nagios and I am following the basic guide in the site to monitor a switch i create the file and work well, but all switch ports are reported in OK status always i check the output ok the command: check_snmp -C public -H switch -r 1 etc and even when the port reports status of 2 ( down) the -r 1 parameter is not working and the report send SNMP OK for down ports I read the instruccions but i can not find any information regarding the -r (regex) parameter I Found a workaround changing the -r 1 for the -c 1:1 but I do not know if the documentation in the site is out-dated or i am making something wrong any ideas thanks in advance Jorge Arenas CSA Mexico-- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d___ 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_snmp
you could try these instead of check_snmp , i always found check_snmp to be too limited... :\ http://nagios.manubulon.com From: Jorge Arenas [mailto:jorge...@hotmail.com] Sent: Thursday, December 16, 2010 9:16 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_snmp Hi: i just install nagios and I am following the basic guide in the site to monitor a switch i create the file and work well, but all switch ports are reported in OK status always i check the output ok the command: check_snmp -C public -H switch -r 1 etc and even when the port reports status of 2 ( down) the -r 1 parameter is not working and the report send SNMP OK for down ports I read the instruccions but i can not find any information regarding the -r (regex) parameter I Found a workaround changing the -r 1 for the -c 1:1 but I do not know if the documentation in the site is out-dated or i am making something wrong any ideas thanks in advance Jorge Arenas CSA Mexico -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d___ 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] JVM Monitoring
On Thu, 2010-12-16 at 22:41 +, Jim Avery wrote: On 16 December 2010 19:04, Paul M. Dubuc w...@paul.dubuc.org wrote: I was just looking at the web page for check_jmx4perl at http://exchange.nagios.org/directory/Plugins/Java-Applications-and-Servers/check_jmx4perl/details It says that it requires No Java installation required on the Nagios host. Is this not true? Hi, Yes it is true. You don't need to install Java on your Nagios server to use check_jmx4perl. You just have to deploy a .war on your TomCat (and certainly GlassFish, I didn't try it) servers and then you just have to send some HTTP request to your server to obtain readings about your JVM. That's why I choose it. But for now, it seems it is only capable to check Java on JEE servers and not Java on its own as I need right now. Marc-André -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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