Hi All, I have configured nagios. Can any body file regarding nagios-plugin. Actually i have configured windows system using nsclient++. How to monitor remote linux boxes like cpu load,disk...etc.
Regards, Mangesh Dhamale ----------------------------------------------------------------- System Administrator Suma Soft Pvt. Ltd. Suma Center, IInd Floor, Opp. Himali Society, Near Mangeshkar Hospital, Erandwane, Pune - 411004 Ph : +91-20-2542 5655 Extn : 327 Cell : +91-98508 87775 Email : [EMAIL PROTECTED] www.sumasoft.com ------------------------------------------------------------------ ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, November 14, 2007 1:07 AM Subject: Nagios-users Digest, Vol 18, Issue 20 > Send Nagios-users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/nagios-users > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Nagios-users digest..." > > > Today's Topics: > > 1. Nagios time format (Jerad Riggin) > 2. Re: Nagios time format (Marc Powell) > 3. Re: Two instances of ndo2db running... (GT4NE1) > 4. Date/Time and Additional Info Shows as $ (Robert Gil) > 5. Re: Date/Time and Additional Info Shows as $ (Haydn Solomon) > 6. Status display colors (Israel Brewster) > 7. Re: Status display colors (Marc Powell) > 8. Host monitoring (Jerad Riggin) > 9. Re: Host monitoring (Marc Powell) > 10. Re: check_snmp_storage fails on 2003 box, works manually > (chris serafin) > 11. Re: Plugin for monitoring FreeBSD for updates (like > check_apt)? (Matthias Kellermann) > 12. Re: Status display colors (Giles Coochey) > 13. RE : Nagios CGI modification (Florent HOUBART) > 14. Re: Plugin for monitoring FreeBSD for updates (like > check_apt)? (Michael W. Lucas) > 15. Re: Plugin for monitoring FreeBSD for updates (like > check_apt)? (Brian A. Seklecki) > 16. Re: Plugin for monitoring FreeBSD for updates (like > check_apt)? (Matthias Kellermann) > 17. nagios.log format (Kuang-Chun Cheng) > 18. Re: nagios.log format (Marc Powell) > 19. Old state information randomly appearing (Shawn Kovalchick) > 20. Re: Old state information randomly appearing (Shawn Kovalchick) > 21. Re: no newlines in notification emails ? (SCHAER Frederic) > 22. Re: Old state information randomly appearing (Marc Powell) > 23. Re: Old state information randomly appearing (Shawn Kovalchick) > 24. Monitoring a process (Jerad Riggin) > 25. Were can I find the check_snmp plugin ([EMAIL PROTECTED]) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 12 Nov 2007 15:15:40 -0600 > From: "Jerad Riggin" <[EMAIL PROTECTED]> > Subject: [Nagios-users] Nagios time format > To: [email protected] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > Is there a way to change the time format that nagios uses? CST would > make the logs easier to read. > > > > ------------------------------ > > Message: 2 > Date: Mon, 12 Nov 2007 15:24:05 -0600 > From: "Marc Powell" <[EMAIL PROTECTED]> > Subject: Re: [Nagios-users] Nagios time format > To: <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="US-ASCII" > > > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:nagios-users- >> [EMAIL PROTECTED] On Behalf Of Jerad Riggin >> Sent: Monday, November 12, 2007 3:16 PM >> To: [email protected] >> Subject: [Nagios-users] Nagios time format >> >> Is there a way to change the time format that nagios uses? CST would >> make the logs easier to read. > > Not within the logfiles themselves (and you don't want to change them) > but this FAQ covers a couple of different ways to display them with > localtime -- http://www.nagios.org/faqs/viewfaq.php?faq_id=70 > > -- > Marc > > > > > ------------------------------ > > Message: 3 > Date: Mon, 12 Nov 2007 13:24:53 -0800 > From: GT4NE1 <[EMAIL PROTECTED]> > Subject: Re: [Nagios-users] Two instances of ndo2db running... > To: "Valdinger, Stephen (DOV, MSX)" <[EMAIL PROTECTED]> > Cc: Patrick Morris <[EMAIL PROTECTED]>, > [email protected] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > Okay, maybe you are right. > > I just rechecked my database and their are recent entries in there. > > Sorry and thanks. > > -GT > > On 11/12/07, Valdinger, Stephen (DOV, MSX) <[EMAIL PROTECTED]> wrote: >> This is correct, I just verified to make sure that mine behaves the same >> way, and alas, it does. >> >> >> >> -----Original Message----- >> From: Patrick Morris [mailto:[EMAIL PROTECTED] >> Sent: Monday, November 12, 2007 2:48 PM >> To: GT4NE1 >> Cc: [email protected] >> Subject: Re: [Nagios-users] Two instances of ndo2db running... >> >> On Mon, 12 Nov 2007, GT4NE1 wrote: >> >> > Any ideas why two ndo2db process are starting? >> >> That's just the way it works. If you only saw one, it'd mean it wasn't >> working. >> >> You'll see one when you start it up, and a second will appear when >> Nagios uses it. It's not a problem. >> >> ------------------------------------------------------------------------ >> - >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Nagios-users mailing list >> [email protected] >> 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 >> >> > > > > ------------------------------ > > Message: 4 > Date: Mon, 12 Nov 2007 16:52:16 -0500 > From: "Robert Gil" <[EMAIL PROTECTED]> > Subject: [Nagios-users] Date/Time and Additional Info Shows as $ > To: <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="us-ascii" > > For some reason the Date/Time and Additional Info don't show up. Any > thoughts as to why this might be? I couldn't find anything about it > online. > > > > ***** Nagios ***** > > > > Notification Type: PROBLEM > > > > Service: Storage / > > Host: Unix Server > > Address: xxx.xxx.xxx.xxx > > State: CRITICAL > > > > Date/Time: $ > > > > Additional Info: > > > > $ > > > > Thanks, > > Rob > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 5 > Date: Mon, 12 Nov 2007 17:07:08 -0500 > From: "Haydn Solomon" <[EMAIL PROTECTED]> > Subject: Re: [Nagios-users] Date/Time and Additional Info Shows as $ > To: "Robert Gil" <[EMAIL PROTECTED]> > Cc: [email protected] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > You're probably using wrong/outdated macros. Check the documentation for > version of nagios you're using and update your commands configuration > files. > > > On Nov 12, 2007 4:52 PM, Robert Gil <[EMAIL PROTECTED]> wrote: > >> For some reason the Date/Time and Additional Info don't show up. Any >> thoughts as to why this might be? I couldn't find anything about it >> online. >> >> >> >> ***** Nagios ***** >> >> >> >> Notification Type: PROBLEM >> >> >> >> Service: Storage / >> >> Host: Unix Server >> >> Address: xxx.xxx.xxx.xxx >> >> State: CRITICAL >> >> >> >> Date/Time: $ >> >> >> >> Additional Info: >> >> >> >> $ >> >> >> >> Thanks, >> >> Rob >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Nagios-users mailing list >> [email protected] >> 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 >> > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 6 > Date: Mon, 12 Nov 2007 13:27:23 -0900 > From: Israel Brewster <[EMAIL PROTECTED]> > Subject: [Nagios-users] Status display colors > To: Nagios Users mailinglist <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > Is there any way to change the colors generated by status.cgi? My > boss is complaining that it is really hard for him to read the dark > blue hostname on the dark red background you get when a host is down. > Thanks! > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > > > > > ------------------------------ > > Message: 7 > Date: Mon, 12 Nov 2007 16:35:23 -0600 > From: "Marc Powell" <[EMAIL PROTECTED]> > Subject: Re: [Nagios-users] Status display colors > To: "Nagios Users mailinglist" <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="US-ASCII" > > > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:nagios-users- >> [EMAIL PROTECTED] On Behalf Of Israel Brewster >> Sent: Monday, November 12, 2007 4:27 PM >> To: Nagios Users mailinglist >> Subject: [Nagios-users] Status display colors >> >> Is there any way to change the colors generated by status.cgi? My >> boss is complaining that it is really hard for him to read the dark >> blue hostname on the dark red background you get when a host is down. > > Haven't done it myself but status.css in ~nagios/share looks to be the > ticket. > > -- > Marc > > > > ------------------------------ > > Message: 8 > Date: Mon, 12 Nov 2007 16:52:24 -0600 > From: "Jerad Riggin" <[EMAIL PROTECTED]> > Subject: [Nagios-users] Host monitoring > To: [email protected] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > So what would be the best way to monitor in this situation? > > I have Host A, hosting two websites. > > Currently I have both websites configured as separate hosts, so in > nagios it shows up as ServerA - site.com, and another host ServerA - > siteb.com > > This doesn't seem efficient since I am pinging both sites, but it's > the same host. Ideally I would want to just ping the host, and check > strings on each site under that host. Any recommendations? > > > > ------------------------------ > > Message: 9 > Date: Mon, 12 Nov 2007 17:13:50 -0600 > From: "Marc Powell" <[EMAIL PROTECTED]> > Subject: Re: [Nagios-users] Host monitoring > To: <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="US-ASCII" > > > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:nagios-users- >> [EMAIL PROTECTED] On Behalf Of Jerad Riggin >> Sent: Monday, November 12, 2007 4:52 PM >> To: [email protected] >> Subject: [Nagios-users] Host monitoring >> >> So what would be the best way to monitor in this situation? >> >> I have Host A, hosting two websites. >> >> Currently I have both websites configured as separate hosts, so in >> nagios it shows up as ServerA - site.com, and another host ServerA - >> siteb.com >> >> This doesn't seem efficient since I am pinging both sites, but it's >> the same host. Ideally I would want to just ping the host, and check >> strings on each site under that host. Any recommendations? > > Unless I'm missing something obvious, this seems pretty straightforward. > host{} definition for the web server machine, service{} definitions for > each vhost using check_http to check them. You can craft a command{} > definition to pass the variable parameters like vhost name, uri and > search string like so -- > > define command { > command_name check_http_url > command_line $USER1$/check_http -I $HOSTADDRESS$ > -H $ARG1$ -u $ARG2$ -wt 20 -ct 30 -to 35 -s $ARG3$ > } > > To check to vhosts -- > > define service { > use generic-service > host_name my_webserver > service_description HTTP VHOST site1 > check_command > check_http_url!www.site1.com!/mypage!/html > } > > define service { > use generic-service > host_name my_webserver > service_description HTTP VHOST site2 > check_command > check_http_url!www.site2.com!/someotherpage!/html > } > > -- > Marc > > > > ------------------------------ > > Message: 10 > Date: Mon, 12 Nov 2007 20:11:22 -0600 > From: "chris serafin" <[EMAIL PROTECTED]> > Subject: Re: [Nagios-users] check_snmp_storage fails on 2003 box, > works manually > To: "Nagios Users Mailinglist" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > AAhhhh, after over 6+ hours of editing CLI code, my eyes failed me. I > changed these simple flags and it works great. Sorry for the newb > false alarm. > > Chris Serafin > Security Engineer > [EMAIL PROTECTED] > > > On Nov 12, 2007 12:58 AM, Hugo van der Kooij <[EMAIL PROTECTED]> > wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> chris serafin wrote: >> > I'm having an issue with getting some SNMP commands to work. >> > >> > When issuing the check_snmp_storage.pl manually, I get perfect results, >> > but once I put it in Nagios 3.0b5, I get critical alerts: (Return code >> > of 127 is out of bounds - plugin may be missing) >> > >> > This is the manual command I enter and the result: >> > >> > $ sudo ./check_snmp_storage.pl -H 192.168.1.200 -C pUBLIC -m C -w 80 -c >> > 95 >> >> Great for root. But what about the account that Nagios is running as? >> Did you test it too? And where did you put check_snmp_storage.pl exactly? >> ./ is a rather relative distinction. But I think it does not matter .... >> >> > This is how I defined the command and service: >> > define command{ >> > command_name check_snmp_storage_windrive >> > command_line $USER1$/check_snmp_storage -H $HOSTADDRESS$ -C >> > $ARG1$ -m $ARG2$ -w $ARG3$ -c $ARG4$ >> >> Hold on. Why are you afraid to come out and tell nagios it is a perl >> script? >> $USER1$/check_snmp_storage !!= ./check_snmp_storage.pl >> >> For those unaware of pseudo code: !!= stands for 'is most definitly >> NOT'. Pretty much as !~= stands for 'almost but not quite unlike`;-) >> >> Hugo. >> >> - -- >> [EMAIL PROTECTED] http://hugo.vanderkooij.org/ >> PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc >> >> A: Yes. >> >Q: Are you sure? >> >>A: Because it reverses the logical flow of conversation. >> >>>Q: Why is top posting frowned upon? >> >> Bored? Click on http://spamornot.org/ and rate those images. >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.7 (GNU/Linux) >> >> iD8DBQFHN/mgBvzDRVjxmYERAmt3AKCD35Rz1k7aT3POzEvQPYUNEQXo4ACfUa0H >> Mg/Qj9Pt1/o0/6T4xxwwxZg= >> =GD0Z >> -----END PGP SIGNATURE----- >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Nagios-users mailing list >> [email protected] >> 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 >> > > > > ------------------------------ > > Message: 11 > Date: Tue, 13 Nov 2007 08:06:08 +0100 > From: Matthias Kellermann <[EMAIL PROTECTED]> > Subject: Re: [Nagios-users] Plugin for monitoring FreeBSD for updates > (like check_apt)? > To: "Michael W. Lucas" <[EMAIL PROTECTED]> > Cc: Nagios Users <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > Michael W. Lucas schrieb: >> On Mon, Nov 12, 2007 at 04:42:40PM +0100, Matthias Kellermann wrote: >>> Hi list, >>> >>> anyone knows of a Nagios plugin to check the FreeBSD ports and base >>> system for updates? I'm searching for something like check_apt for >>> Debian/Ubuntu. >>> >>> One important thing is that I also want to monitor all the FreeBSD jails >>> for updates, too. Any help/hint appreciated :) >> >> None exists today. >> >> It should be fairly simple to write a NRPE wrapper around portmaster, >> however. >> >> I believe (but might be wrong) that net-snmp also has the ability to >> read the FreeBSD package database; you could run a snmpwalk on the >> target machine and compare that to a master package database. >> >> Good luck, and if you implement something be sure to let us know about >> it. > > Thanks for your answer Michael. I will see what I can do. If I have > found/implemented something useful I will let you know. > > BTW: Looking forward for your new book coming out these days. Hope it > will be released in Europe also on November 14th :) > > Matthias > >> ==ml > > > > ------------------------------ > > Message: 12 > Date: Tue, 13 Nov 2007 09:10:44 +0100 > From: "Giles Coochey" <[EMAIL PROTECTED]> > Subject: Re: [Nagios-users] Status display colors > To: "Israel Brewster" <[EMAIL PROTECTED]>, "Nagios Users > mailinglist" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="us-ascii" > > > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:nagios-users- >> [EMAIL PROTECTED] On Behalf Of Israel Brewster >> Sent: 12 November 2007 23:27 >> To: Nagios Users mailinglist >> Subject: [Nagios-users] Status display colors >> >> Is there any way to change the colors generated by status.cgi? My >> boss is complaining that it is really hard for him to read the dark >> blue hostname on the dark red background you get when a host is down. >> Thanks! >> > > I use the Nuvola style from the NagiosExchange website, for me it's an > instant improvement in the look and feel of the Nagios frontend. > > > > ------------------------------ > > Message: 13 > Date: Tue, 13 Nov 2007 14:42:18 +0100 > From: "Florent HOUBART" <[EMAIL PROTECTED]> > Subject: [Nagios-users] RE : Nagios CGI modification > To: <[EMAIL PROTECTED]>, <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > > Content-Type: text/plain; charset="iso-8859-1" > > Hello, > > >>Changing the link is no big deal of course. My big question is, how do I >>get a list of all the hosts in that host group passed? > > > You may find exemple of such tasks in status.cgi. You need to loop over > all the hosts and check for each if the belong to the hostgroup or not. > > Below is an extract of status.c where I only keep what would be relevant > for you (extract from function show_hostgroup_overview). > > -------------------------- > > /* find all the hosts that belong to the hostgroup */ > for(temp_hoststatus=hoststatus_list;temp_hoststatus!=NULL;temp_hoststatus=temp_hoststatus->next){ > > /* find the host... */ > temp_host=find_host(temp_hoststatus->host_name,NULL); > > /* make sure this host a member of the hostgroup */ > if(!is_host_member_of_hostgroup(hstgrp,temp_host)) > continue; > > /* make sure the user is authorized to see this host */ > if(is_authorized_for_host(temp_host,¤t_authdata)==FALSE) > continue; > > > /* Do something with the host temp_host */ > } > > --------------------------- > > Regards, > > Florent Houbart > > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 14 > Date: Tue, 13 Nov 2007 10:09:03 -0500 > From: "Michael W. Lucas" <[EMAIL PROTECTED]> > Subject: Re: [Nagios-users] Plugin for monitoring FreeBSD for updates > (like check_apt)? > To: Matthias Kellermann <[EMAIL PROTECTED]> > Cc: Nagios Users <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=us-ascii > > On Tue, Nov 13, 2007 at 08:06:08AM +0100, Matthias Kellermann wrote: >> Michael W. Lucas schrieb: >> > On Mon, Nov 12, 2007 at 04:42:40PM +0100, Matthias Kellermann wrote: >> >> Hi list, >> >> >> >> anyone knows of a Nagios plugin to check the FreeBSD ports and base >> >> system for updates? I'm searching for something like check_apt for >> >> Debian/Ubuntu. >> >> >> >> One important thing is that I also want to monitor all the FreeBSD >> >> jails >> >> for updates, too. Any help/hint appreciated :) >> > >> > None exists today. >> > >> > It should be fairly simple to write a NRPE wrapper around portmaster, >> > however. >> > >> > I believe (but might be wrong) that net-snmp also has the ability to >> > read the FreeBSD package database; you could run a snmpwalk on the >> > target machine and compare that to a master package database. >> > >> > Good luck, and if you implement something be sure to let us know about >> > it. >> >> Thanks for your answer Michael. I will see what I can do. If I have >> found/implemented something useful I will let you know. >> >> BTW: Looking forward for your new book coming out these days. Hope it >> will be released in Europe also on November 14th :) > > The book physically exists, and is being shipped to stores now. You > should be able to find it any day now. > > I really need to change my .sig... > > ==ml > -- > Michael W. Lucas [EMAIL PROTECTED], [EMAIL PROTECTED] > http://www.BlackHelicopters.org/~mwlucas/ > Coming Soon: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com > On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security > reasons." > > > > ------------------------------ > > Message: 15 > Date: Tue, 13 Nov 2007 10:19:31 -0500 > From: "Brian A. Seklecki" <[EMAIL PROTECTED]> > Subject: Re: [Nagios-users] Plugin for monitoring FreeBSD for updates > (like check_apt)? > To: Matthias Kellermann <[EMAIL PROTECTED]> > Cc: [email protected] > Message-ID: > <[EMAIL PROTECTED]> > > Content-Type: text/plain; charset=iso-8859-1 > > > On Mon, 2007-11-12 at 16:42 +0100, Matthias Kellermann wrote: >> Hi list, >> >> anyone knows of a Nagios plugin to check the FreeBSD ports and base >> system for updates? I'm searching for something like check_apt for >> Debian/Ubuntu. > > All that you need to do is exec portaudit and trap the output. However, > mapping this into warn/crit status will get tricky. > > Most big shops have software release engineer processes that prevent > them from, as a NetBSD friend of mine calls it, "implementing massive > rolling in-place binary upgrades". > > In the hope that security will somehow be derived from that (Linux > credo, I suppose). I like the idea ether way. Let me know if you need > help testing/coding. > > ~BAS > > $ pkg_version -vL "=" > apache-2.2.4_2 < needs updating (port has 2.2.6_2) > apr-nothr-db4-1.0.1_1 < needs updating (port has 1.2.8_2) > arj-3.10.22 < needs updating (port has 3.10.22_1) > autoconf-2.59_3 < needs updating (port has 2.61_2) > autoconf-wrapper-20070404 < needs updating (port has 20071109) > > $ sudo portaudit > Affected package: perl-5.8.8 > Type of problem: perl -- regular expressions unicode data buffer > overflow. Reference: <http://www.FreeBSD.org/ ... > > Affected package: nagios-plugins-1.4.9,1 > Type of problem: nagios-plugins -- Long Location Header Buffer > Overflow Vulnerability. > > ~BAS > >> >> One important thing is that I also want to monitor all the FreeBSD jails >> for updates, too. Any help/hint appreciated :) >> >> Matthias >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Nagios-users mailing list >> [email protected] >> 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 >> >> >> >> >> >> > > > > > ------------------------------ > > Message: 16 > Date: Tue, 13 Nov 2007 17:27:38 +0100 > From: Matthias Kellermann <[EMAIL PROTECTED]> > Subject: Re: [Nagios-users] Plugin for monitoring FreeBSD for updates > (like check_apt)? > To: "Brian A. Seklecki" <[EMAIL PROTECTED]> > Cc: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > Brian A. Seklecki schrieb: >> On Mon, 2007-11-12 at 16:42 +0100, Matthias Kellermann wrote: >>> Hi list, >>> >>> anyone knows of a Nagios plugin to check the FreeBSD ports and base >>> system for updates? I'm searching for something like check_apt for >>> Debian/Ubuntu. >> >> All that you need to do is exec portaudit and trap the output. However, >> mapping this into warn/crit status will get tricky. >> >> Most big shops have software release engineer processes that prevent >> them from, as a NetBSD friend of mine calls it, "implementing massive >> rolling in-place binary upgrades". >> >> In the hope that security will somehow be derived from that (Linux >> credo, I suppose). I like the idea ether way. Let me know if you need >> help testing/coding. >> >> ~BAS >> >> $ pkg_version -vL "=" >> apache-2.2.4_2 < needs updating (port has 2.2.6_2) >> apr-nothr-db4-1.0.1_1 < needs updating (port has 1.2.8_2) >> arj-3.10.22 < needs updating (port has 3.10.22_1) >> autoconf-2.59_3 < needs updating (port has 2.61_2) >> autoconf-wrapper-20070404 < needs updating (port has 20071109) >> >> $ sudo portaudit >> Affected package: perl-5.8.8 >> Type of problem: perl -- regular expressions unicode data buffer >> overflow. Reference: <http://www.FreeBSD.org/ ... >> >> Affected package: nagios-plugins-1.4.9,1 >> Type of problem: nagios-plugins -- Long Location Header Buffer >> Overflow Vulnerability. >> >> ~BAS > > Thanks for your answer Brian. > > I've found ports-mgmt/jailaudit in the Ports. Seems quite useful yet. > I'll see how this tool can help on monitoring the installed ports for > security holes. > > Monitoring the jails for updates should work with pkg_version -vL "=" > > I'll let you know if I've made something useful. > > Matthias > > > > ------------------------------ > > Message: 17 > Date: Wed, 14 Nov 2007 00:32:43 +0800 > From: "Kuang-Chun Cheng" <[EMAIL PROTECTED]> > Subject: [Nagios-users] nagios.log format > To: [email protected] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi, > > I want to do post-analysis of nagios.log and save the filtered result to > DB. > The format look like this: > [1194969600] CURRENT SERVICE STATE: localhost;Current > Load;OK;HARD;1;OK - load average: 0.17, 0.23, 0.20 > [1194969600] CURRENT SERVICE STATE: localhost;Current > Users;OK;HARD;1;USERS OK - 14 users currently logged in > [1194969600] CURRENT SERVICE STATE: localhost;HTTP;OK;HARD;1;HTTP OK > HTTP/1.1 200 OK - 7590 bytes in 0.006 seconds > [1194969600] CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - > Packet loss = 0%, RTA = 0.04 ms > [1194969600] CURRENT SERVICE STATE: localhost;Root > Partition;OK;HARD;1;DISK OK - free space: / 37567 MB (53% inode=96%): > [1194969600] CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - > OpenSSH_4.3 (protocol 2.0) > [1194969600] CURRENT SERVICE STATE: localhost;Swap > Usage;OK;HARD;1;SWAP OK - 78% free (1542 MB out of 1983 MB) > [1194969600] CURRENT SERVICE STATE: localhost;Total > Processes;OK;HARD;1;PROCS OK: 110 processes with STATE = RSZDT > > Could someone tell me what's the fields means ? > What kind of message will be log into nagios.log. Sometime I found > "SERVICE ALERT" message ... > any complete list existed for possible message ? Thanks > > Regards > KC > > > > ------------------------------ > > Message: 18 > Date: Tue, 13 Nov 2007 10:56:40 -0600 > From: "Marc Powell" <[EMAIL PROTECTED]> > Subject: Re: [Nagios-users] nagios.log format > To: <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="US-ASCII" > > > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:nagios-users- >> [EMAIL PROTECTED] On Behalf Of Kuang-Chun Cheng >> Sent: Tuesday, November 13, 2007 10:33 AM >> To: [email protected] >> Subject: [Nagios-users] nagios.log format >> >> Hi, >> >> I want to do post-analysis of nagios.log and save the filtered result > to >> DB. >> The format look like this: > > >> >> Could someone tell me what's the fields means ? >> What kind of message will be log into nagios.log. Sometime I found >> "SERVICE ALERT" message ... >> any complete list existed for possible message ? Thanks > > The only documentation I am aware of is the source code itself > (nagios-src/base/logging.c). For anything that starts with MACRO_, you > can find more information about that in the Macros documentation. -- > > $ grep snprintf logging.c > snprintf(temp_buffer,sizeof(temp_buffer),"SERVICE ALERT: > %s;%s;%s;%s;%s;%s\n",svc->host_name,svc->description,macro_x[MACRO_SERVI > CESTATE],macro_x[MACRO_SERVICESTATETYPE],macro_x[MACRO_SERVICEATTEMPT],s > vc->plugin_output); > > [timestamp] SERVICE ALERT: > host_name;service_description;servicestate,servicestatetype,serviceattem > pt;plugin_output > > snprintf(temp_buffer,sizeof(temp_buffer),"HOST ALERT: > %s;%s;%s;%s;%s\n",hst->name,macro_x[MACRO_HOSTSTATE],macro_x[MACRO_HOSTS > TATETYPE],macro_x[MACRO_HOSTATTEMPT],hst->plugin_output); > > [timestamp] HOST ALERT: > host_name,hoststate;hoststatetype;hostattempt;plugin_output > > snprintf(temp_buffer,sizeof(temp_buffer),"%s HOST STATE: > %s;%s;%s;%s;%s\n",(type==INITIAL_STATES)?"INITIAL":"CURRENT",temp_host-> > name,macro_x[MACRO_HOSTSTATE],macro_x[MACRO_HOSTSTATETYPE],macro_x[MACRO > _HOSTATTEMPT],temp_host->plugin_output); > > [timestamp] (INITIAL|CURRENT) HOST STATE: > host_name;hoststate;hoststatetype;hostattempt;plugin_output > > snprintf(temp_buffer,sizeof(temp_buffer),"%s SERVICE > STATE: > %s;%s;%s;%s;%s;%s\n",(type==INITIAL_STATES)?"INITIAL":"CURRENT",temp_ser > vice->host_name,temp_service->description,macro_x[MACRO_SERVICESTATE],ma > cro_x[MACRO_SERVICESTATETYPE],macro_x[MACRO_SERVICEATTEMPT],temp_service > ->plugin_output); > > [timestamp] (INITIAL|CURRENT) SERVICE STATE: > host_name;service_description;servicestate;servicestatetype;serviceattem > pt;plugin_output > > snprintf(temp_buffer,sizeof(temp_buffer),"LOG ROTATION: > %s\n",method_string); > > [timestamp] LOG ROTATION (daily|weekly|monthly, etc) > > snprintf(temp_buffer,sizeof(temp_buffer),"LOG VERSION: > %s\n",LOG_VERSION_2); > > [timestamp] LOG VERION: [log version string] > > Hth, > > -- > Marc > > > > ------------------------------ > > Message: 19 > Date: Tue, 13 Nov 2007 12:50:17 -0500 > From: "Shawn Kovalchick" <[EMAIL PROTECTED]> > Subject: [Nagios-users] Old state information randomly appearing > To: "Nagios Users Mailinglist" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > I have 2 hosts and 4 services that I added Friday to my nagios > configuration. They were misconfigured (wrong IP addresses), and rightly > sent out notifications. I disabled notifications and active checks via > the > web interface while I was diagnosing the problem. I fixed the problems > (the > IP addresses) and reenabled the checks and notifications. Now, every once > in a while (roughly once per minute), the old data appears on the tac.cgi, > status.cgi, and extinfo.cgi pages. They will show as down/critical, and > will have the icons for disabled notifications and disabled active checks. > Then, moments later, they will show normal (OK state, with no icons for > disabled notifications/checks). I have tried purging the bad data from > the > log files, retention.dat, etc. while the Nagios daemon was stopped, but > the > bad data still shows. Is this a bug, or is there something I can do to > flush this old data? > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 20 > Date: Tue, 13 Nov 2007 12:54:02 -0500 > From: "Shawn Kovalchick" <[EMAIL PROTECTED]> > Subject: Re: [Nagios-users] Old state information randomly appearing > To: "Nagios Users Mailinglist" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Actually, the timing is a bit different than what I described below. > Refreshing once per second, I was able to determining that the correct > state > shows for 5 seconds, then the incorrect state shows for 10 seconds, then > the > process repeats. > > On 11/13/07, Shawn Kovalchick <[EMAIL PROTECTED]> wrote: >> >> I have 2 hosts and 4 services that I added Friday to my nagios >> configuration. They were misconfigured (wrong IP addresses), and rightly >> sent out notifications. I disabled notifications and active checks via >> the >> web interface while I was diagnosing the problem. I fixed the problems >> (the >> IP addresses) and reenabled the checks and notifications. Now, every >> once >> in a while (roughly once per minute), the old data appears on the >> tac.cgi, >> status.cgi, and extinfo.cgi pages. They will show as down/critical, and >> will have the icons for disabled notifications and disabled active >> checks. >> Then, moments later, they will show normal (OK state, with no icons for >> disabled notifications/checks). I have tried purging the bad data from >> the >> log files, retention.dat, etc. while the Nagios daemon was stopped, but >> the bad data still shows. Is this a bug, or is there something I can do >> to >> flush this old data? >> > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 21 > Date: Tue, 13 Nov 2007 19:03:50 +0100 > From: "SCHAER Frederic" <[EMAIL PROTECTED]> > Subject: Re: [Nagios-users] no newlines in notification emails ? > To: "Jaimie Livingston" <[EMAIL PROTECTED]>, > <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="us-ascii" > > Hi, > > Maybe a stupid question, but did you solve the problem ? > I upgraded to nagiosb6 beta and I still get no newlines in the service > notifications (host notifications are fine)... wondering if that's me or > something else. > > Cheers > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:nagios-users- >> [EMAIL PROTECTED] On Behalf Of Jaimie Livingston >> Sent: Thursday, November 01, 2007 2:24 AM >> To: [email protected] >> Subject: Re: [Nagios-users] no newlines in notification emails ? >> >> I had the same problem when I was testing 3.0b4 on CentOS. I thought > it was just me at the time... >> >> >> - Jaimie Livingston (jaimielives) >> > > > > ------------------------------ > > Message: 22 > Date: Tue, 13 Nov 2007 12:07:06 -0600 > From: "Marc Powell" <[EMAIL PROTECTED]> > Subject: Re: [Nagios-users] Old state information randomly appearing > To: "Nagios Users Mailinglist" <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="US-ASCII" > > > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:nagios-users- >> [EMAIL PROTECTED] On Behalf Of Shawn Kovalchick >> Sent: Tuesday, November 13, 2007 11:50 AM >> To: Nagios Users Mailinglist >> Subject: [Nagios-users] Old state information randomly appearing >> >> I have 2 hosts and 4 services that I added Friday to my nagios >> configuration. They were misconfigured (wrong IP addresses), and > rightly >> sent out notifications. I disabled notifications and active checks > via >> the web interface while I was diagnosing the problem. I fixed the >> problems (the IP addresses) and reenabled the checks and > notifications. >> Now, every once in a while (roughly once per minute), the old data > appears >> on the tac.cgi, status.cgi, and extinfo.cgi pages. They will show as > > FAQ in disguise: http://www.nagios.org/faqs/viewfaq.php?faq_id=21 > > -- > Marc > > > > > > > ------------------------------ > > Message: 23 > Date: Tue, 13 Nov 2007 13:18:46 -0500 > From: "Shawn Kovalchick" <[EMAIL PROTECTED]> > Subject: Re: [Nagios-users] Old state information randomly appearing > To: "Marc Powell" <[EMAIL PROTECTED]> > Cc: Nagios Users Mailinglist <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > The hosts weren't disappearing, just showing inconsistant states. Anyway, > that fixed the problem. Thanks, Marc! > > > On 11/13/07, Marc Powell <[EMAIL PROTECTED]> wrote: >> >> >> >> > -----Original Message----- >> > From: [EMAIL PROTECTED] [mailto:nagios-users- >> > [EMAIL PROTECTED] On Behalf Of Shawn Kovalchick >> > Sent: Tuesday, November 13, 2007 11:50 AM >> > To: Nagios Users Mailinglist >> > Subject: [Nagios-users] Old state information randomly appearing >> > >> > I have 2 hosts and 4 services that I added Friday to my nagios >> > configuration. They were misconfigured (wrong IP addresses), and >> rightly >> > sent out notifications. I disabled notifications and active checks >> via >> > the web interface while I was diagnosing the problem. I fixed the >> > problems (the IP addresses) and reenabled the checks and >> notifications. >> > Now, every once in a while (roughly once per minute), the old data >> appears >> > on the tac.cgi, status.cgi, and extinfo.cgi pages. They will show as >> >> FAQ in disguise: http://www.nagios.org/faqs/viewfaq.php?faq_id=21 >> >> -- >> Marc >> >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Nagios-users mailing list >> [email protected] >> 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 >> > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 24 > Date: Tue, 13 Nov 2007 13:30:33 -0600 > From: "Jerad Riggin" <[EMAIL PROTECTED]> > Subject: [Nagios-users] Monitoring a process > To: [email protected] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > Would it be possible using Nsclient++ to monitor for a process name? > We need to make sure Outlook.exe is running on the server and if it > isn't, send out notifications. > > Thanks, > > Jerad > > > > ------------------------------ > > Message: 25 > Date: Tue, 13 Nov 2007 14:36:47 -0500 > From: [EMAIL PROTECTED] > Subject: [Nagios-users] Were can I find the check_snmp plugin > To: [email protected] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=US-ASCII > > > I need to download the check_snmp plugin for Ubuntu for Nagios. > > Very Respectfully, > Chris > > > > > ------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > ------------------------------ > > _______________________________________________ > Nagios-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > End of Nagios-users Digest, Vol 18, Issue 20 > ******************************************** > ---------------------------------------------- Confidentiality Note: This e-mail message and any attachments to it are intended only for the named recipients and may contain legally privileged and/or confidential information. If you are not one of the intended recipients, please forward this mail to [EMAIL PROTECTED] and do not duplicate or forward this e-mail message and immediately delete it from your computer. ---------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list [email protected] 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
