From marc at ena.com Wed Apr 1 00:01:27 2009 From: marc at ena.com (Marc Powell) Date: Tue, 31 Mar 2009 17:01:27 -0500 Subject: Using nagios for multiple data centers In-Reply-To: References: Message-ID: <7F343148-5E7B-4DB3-8002-029DD82AD999@ena.com> On Mar 31, 2009, at 4:11 PM, Matthew Litwin wrote: > I would like to pose a more advanced question to everyone here on > how I might use our current implementation of nagios to monitor > multiple data centers without having to set up multiple nagios > servers for each. The reason for doing is to have the ability to > view all nagios alerts from a single incidents page, generate > integrated graphs and reports, and reduce the number of servers in > general. However, while doing this, I want to also be able to be > able to view the just the alerts that are relevant to a single data > center at a time, thus limiting the view to just those alerts. > > The function of our data centers will be that one is a mirror of the > other and will act as failover. While we need to make sure both are > up and healthy, one will be in an active state and one will be in an > standby state, and our NOC will need to be able to focus on just one > or the other. Thus, aside from assigning each datacenter with active > and standby state, one concern is to be able to view just the alerts > for the hosts and services relevant to a single data center. This > means having a main screen like nagios has for alerts, but one for > data center A and the other for data center B. I was thinking that I > could delineate which hardware was part of which data center by > using hostgroups, dependencies, or a mix of both. The point of this > would be to be able to view and report data from hosts and services > from a single data center as well as all of them. > > Are there any documented methods for doing this that you know of? While hostgroups are useful to group related devices together, the view restriction you want is a natural extension of configuring authorization for the CGI's (documented). We use it to limit views by State where we have hundreds of devices and dedicated Helpdesks. You can create specific user contacts or role contacts that can be associated with the hosts they should see. I would suggest the role account path, one per data center with a master contact that sees everything. Associate contact 'DataCenterA' with all hosts at Data Center A. Associcate contact 'DataCenterB' with all hosts at Data Center B. Associate the contact 'Master' with all hosts (or use authorized_for_* options in cgi.cfg). When someone logs in with one of those contacts usernames, they'll only be able to see hosts/services for which they are a contact. You can continue to use more personal contact addresses for notifications if you like. If you don't want them logging in with that personal contact name, don't create an htaccess account for it. -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mlitwin at stubhub.com Wed Apr 1 01:25:29 2009 From: mlitwin at stubhub.com (Matthew Litwin) Date: Tue, 31 Mar 2009 16:25:29 -0700 Subject: Using nagios for multiple data centers In-Reply-To: <7F343148-5E7B-4DB3-8002-029DD82AD999@ena.com> References: <7F343148-5E7B-4DB3-8002-029DD82AD999@ena.com> Message-ID: On 3/31/09 3:01 PM, "Marc Powell" wrote: > > On Mar 31, 2009, at 4:11 PM, Matthew Litwin wrote: > >> I would like to pose a more advanced question to everyone here on >> how I might use our current implementation of nagios to monitor >> multiple data centers without having to set up multiple nagios >> servers for each. The reason for doing is to have the ability to >> view all nagios alerts from a single incidents page, generate >> integrated graphs and reports, and reduce the number of servers in >> general. However, while doing this, I want to also be able to be >> able to view the just the alerts that are relevant to a single data >> center at a time, thus limiting the view to just those alerts. >> >> The function of our data centers will be that one is a mirror of the >> other and will act as failover. While we need to make sure both are >> up and healthy, one will be in an active state and one will be in an >> standby state, and our NOC will need to be able to focus on just one >> or the other. Thus, aside from assigning each datacenter with active >> and standby state, one concern is to be able to view just the alerts >> for the hosts and services relevant to a single data center. This >> means having a main screen like nagios has for alerts, but one for >> data center A and the other for data center B. I was thinking that I >> could delineate which hardware was part of which data center by >> using hostgroups, dependencies, or a mix of both. The point of this >> would be to be able to view and report data from hosts and services >> from a single data center as well as all of them. >> >> Are there any documented methods for doing this that you know of? > > While hostgroups are useful to group related devices together, the > view restriction you want is a natural extension of configuring > authorization for the CGI's (documented). We use it to limit views by > State where we have hundreds of devices and dedicated Helpdesks. You > can create specific user contacts or role contacts that can be > associated with the hosts they should see. I would suggest the role > account path, one per data center with a master contact that sees > everything. Associate contact 'DataCenterA' with all hosts at Data > Center A. Associcate contact 'DataCenterB' with all hosts at Data > Center B. Associate the contact 'Master' with all hosts (or use > authorized_for_* options in cgi.cfg). When someone logs in with one of > those contacts usernames, they'll only be able to see hosts/services > for which they are a contact. You can continue to use more personal > contact addresses for notifications if you like. If you don't want > them logging in with that personal contact name, don't create an > htaccess account for it. > > -- > Marc > Marc, thanks for the suggestion. While the role contacts is certainly useful as you described, I don't necessarily want to permanently limit users to not seeing hosts at all. Another way to think about what I am looking for is that I want to have a way to designate servers to be either "active" or "standby" servers. All servers have full monitoring set up but only "active" servers will appear in the "active" servers' alerts view that the NOC sees. I want to create some organizational objects that I can easily send as arguments to the CGIs to create some some set alert views. Does that make sense? Is this something that is a documented function of the CGIs as well? ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Apr 1 09:53:48 2009 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Apr 2009 09:53:48 +0200 Subject: Nagios Consultants/Commercial Support in Melbourne In-Reply-To: <2bb4107c0903311344x7e5ff415v30c70ee83e87b4c8@mail.gmail.com> References: <2bb4107c0903311344x7e5ff415v30c70ee83e87b4c8@mail.gmail.com> Message-ID: <49D31D8C.50303@op5.se> Ian Orszaczki wrote: > Hi, I work for a fairly large company looking for at replacing/upgrading our > monitoring system. We are now on Nagios 3.06 monitoring 1300 hosts and 8500 > services via ssh (all from one server). > > Does anybody know of any company offering Nagios consultancy or support in > Melbourne (or elsewhere in Australia) ? Its something that upper management > need before they will consider sticking with Nagios longer term. > > I look forward to any responses including feedback on good/bad experiences > with them. > I've had fairly good experience with op5. They pay me money to write programs and stuff. It's awesomely fun ;-) On a more serious note, http://www.nagios.org/support/servicepartners/ lists all the support partners that are serious enough to have contacted Ethan to let him know they're providing support. It seems Australia lack any professional Nagios support providers at the moment. op5 (where I work) can provide Nagios support world wide, although not yet with ad-hoc phone support outside european office hours (it's under way). Groundworks Opensource claims to work worldwide, but insofar as I know they have no customers outside the US. NetWays also claim to work worldwide. I do not know if they have customers in your timezone as I'm not that up-to-date on their customer list. Groundworks and NetWays work mainly on consultancy basis, tailoring solutions for each customer. op5 work mainly as a support company, although we do provide a wide range of addons that make our customers require very little help with their monitoring systems. I've forwarded your email to our sales manager, so I'm sure someone will contact you later on. Sorry if you didn't want that, but since you asked for professional support I'd be sort of neglecting my job obligations if I didn't. Besides, with a little luck I might be sent to Australia at some point if we team up, and free trips are always nice ;-) -- Andreas Ericsson andreas.ericsson at 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. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tdondich at gmail.com Wed Apr 1 12:04:58 2009 From: tdondich at gmail.com (Taylor Dondich) Date: Wed, 1 Apr 2009 03:04:58 -0700 Subject: Lilac, a popular Nagios Configuration tool, has reached 1.0 stable status! Message-ID: <3d2eb72a0904010304o3ead0c92hbcdcbb42da76597d@mail.gmail.com> This is not an April Fools Joke. Lilac (www.lilacplatform.com) has reached 1.0 stable status and is available for download. Lilac is a popular configuration tool for Nagios 3, with features such as: - Enhanced Nagios 3 timeperiod support - Multiple template inheritance - Host templates able to contain services, dependencies, escalations - Importer which can import existing Nagios configurations and import from a Fruity installation - Exporter with Nagios process control and backup existing configuration files. - Auto-Discovery tool to quickly add your infrastructure into your Nagios installation. Download now at http://www.lilacplatform.com A big thanks to the Nagios and Lilac community for helping make this release great. -- Taylor Dondich Check out Lilac, a configuration tool for Nagios 3 at http://www.lilacplatform.com Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From frisvolj at lafayette.edu Wed Apr 1 12:15:43 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Wed, 01 Apr 2009 06:15:43 -0400 Subject: Moving apache authentication to ssl.conf Message-ID: <49D33ECF.5050905@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I've spent a while searching for this via the almighty Google, but either this isn't possible (I don't find this likely), or I'm using the wrong search terms. I moved the authentication parameters from the .htaccess file and placed them into the ssl.conf file for apache. Primary reason is to remain consistent with other installed apps. At any rate, authentication itself is working. I can enter my username and password and I am authenticated. However, nagios complains that I don't have permission to view information. Since this worked previously, and I merely moved the authentication parameters to another file, I expected this to continue working. Any idea how I can resolve this? I've removed authentication in cgi.cfg for the time being, but I'd like to re-enable it. Thanks, - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFJ0z7PO80o6DJ8UvkRAr9FAKCObFlQfdUxc2FNW/hNDkIY6YSJaQCfTZJn inEEHsXhNNOpMukZwpibtU8= =2Z3W -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Wed Apr 1 12:30:40 2009 From: joydeep at infoservices.in (J. Bakshi) Date: Wed, 01 Apr 2009 16:00:40 +0530 Subject: How to upgrade nagios Version 2.12 ? Message-ID: <49D34250.1040709@infoservices.in> Dear list, Hope you all are well. Nagios 3.x has been released :-) I'm running nagios Version 2.12 and like to upgrade it to 3.x Is there any script which can convert the nagios 2.12 configuration to 3.X ? I did the configuration manually and it was a huge work, that's why I'm looking for a converter program this time. Thanks ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Apr 1 14:11:38 2009 From: marc at ena.com (Marc Powell) Date: Wed, 1 Apr 2009 07:11:38 -0500 Subject: Moving apache authentication to ssl.conf In-Reply-To: <49D33ECF.5050905@lafayette.edu> References: <49D33ECF.5050905@lafayette.edu> Message-ID: <3F32961A-25B0-4221-9A83-15E4ED3F9AB9@ena.com> On Apr 1, 2009, at 5:15 AM, Jason Frisvold wrote: > However, nagios complains that I don't have > permission to view information. Since this worked previously, and I > merely moved the authentication parameters to another file, I expected > this to continue working. > > Any idea how I can resolve this? I've removed authentication in > cgi.cfg for the time being, but I'd like to re-enable it. Who does nagios show you logged in as? If it's '?', you haven't applied authentication against the sbin directory, the only place it really matters. -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From frisvolj at lafayette.edu Wed Apr 1 15:09:32 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Wed, 01 Apr 2009 09:09:32 -0400 Subject: Moving apache authentication to ssl.conf In-Reply-To: <3F32961A-25B0-4221-9A83-15E4ED3F9AB9@ena.com> References: <49D33ECF.5050905@lafayette.edu> <3F32961A-25B0-4221-9A83-15E4ED3F9AB9@ena.com> Message-ID: <49D3678C.6050309@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marc Powell wrote: > Who does nagios show you logged in as? If it's '?', you haven't > applied authentication against the sbin directory, the only place it > really matters. Aha! You are correct... I moved the auth parameters to cover all of /usr/local/nagios and everything works again. Thanks! > -- > Marc - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD4DBQFJ02eMO80o6DJ8UvkRAp5vAJsEQ7Ou2qbfZpOqMLCpAppSvy9zQgCXcmnl wdrCQIZ9nCtW4lvY1UvRQw== =xcL3 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Apr 1 15:49:08 2009 From: marc at ena.com (Marc Powell) Date: Wed, 1 Apr 2009 08:49:08 -0500 Subject: Using nagios for multiple data centers In-Reply-To: References: Message-ID: <75179B0D-46D1-4D1F-87A3-320EE6AAAB37@ena.com> On Mar 31, 2009, at 6:25 PM, Matthew Litwin wrote: > > On 3/31/09 3:01 PM, "Marc Powell" wrote: > Marc, thanks for the suggestion. While the role contacts is > certainly useful > as you described, I don't necessarily want to permanently limit > users to not > seeing hosts at all. It's not permanent; they would just need to log in with a username associated with the view they want to see. This presumes your original scenario where an entire data center is either active or passive. > Another way to think about what I am looking for is that I want to > have a > way to designate servers to be either "active" or "standby" servers. > All > servers have full monitoring set up but only "active" servers will > appear in > the "active" servers' alerts view that the NOC sees. I want to > create some > organizational objects that I can easily send as arguments to the > CGIs to > create some some set alert views. There's no way to do this natively that I know of, outside of recreating the cfg files dynamically and reloading. Perhaps I'm not thinking creatively enough but I just don't see a simple solution. If nagios is only checking the 'active' servers, or your only submitting passive results for those servers, those are the only ones that should show up in the Service Problems view, of course. You can send external commands to enable/disable active checks for specific hosts and services dynamically. That doesn't seem to entirely fit what you want though... -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nccomp at gmail.com Wed Apr 1 16:13:28 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 01 Apr 2009 10:13:28 -0400 Subject: Additional Info in email? In-Reply-To: <307AE687-452E-40BB-B519-8AE2345325C1@ena.com> References: <49D25857.1050201@gmail.com> <89F80424-67DE-47AB-9452-43C95D73E461@ena.com> <49D288C5.3000204@gmail.com> <307AE687-452E-40BB-B519-8AE2345325C1@ena.com> Message-ID: <49D37688.7060400@gmail.com> Perhaps I need to ask a clarification question... in my checkcommands.cfg, should I change $SERVICEOUTPUT$ to $LONGSERVICEOUTPUT$ or should I add the $LONGSERVICEOUTPUT$ macro to the notify-service-by-email command? I'm thinking that some tests will write some data to $SERVICEOUTPUT$, but others can include additional info with $LONGSERVICEOUTPUT$, so rather than change $SERVICEOUTPUT$ to $LONGSERVICEOUTPUT$, I should add it? Perhaps something like this: Before: ~\n\nAdditional Info:\n\n$SERVICEOUTPUT$ After: ~\n\nInfo:\n\n$SERVICEOUTPUT$\n\nAdditional Info:\n\n$LONGSERVICEOUTPUT$ A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Marc Powell wrote: > On Mar 31, 2009, at 4:19 PM, Andrew Davis wrote: > > >> This seems to have worked for the WARNING or CRITICAL notifications, >> but not for recovery emails. If I grep for "Additional Info" in my >> checkcommands.cfg, it only matches for the "notify-service-by-email" >> command definition, yet in recovery emails, I still see the >> "Additional Info" line at the bottom, but no content. Any ideas on >> how I would get the $LONGSERVICEOUPUT$ in a recovery email as well. >> > > It should just work. I'm not aware of, nor can I find any difference > in the code for handling macros differently based on the notification > type. Maybe I'm overlooking it but I haven't heard of the problem > before... > > -- > Marc > > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nccomp at gmail.com Wed Apr 1 16:16:44 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 01 Apr 2009 10:16:44 -0400 Subject: Common messages file strings? Message-ID: <49D3774C.1060006@gmail.com> I'm playing with the check_log and check_logs.pl tools and am curious... do any of you have a list of strings/reg exp that you commonly look for? Should I be looking for warn|WARN|error|ERROR, etc Perhaps someone has a list of common warnings I should be looking for? I'll be monitoring both Linux and Solaris, so /var/log/messages, /var/adm/messages, /var/log/secure, /var/log/wtmp, /var/log/utmp, etc... -- A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tothz68 at gmail.com Wed Apr 1 14:22:51 2009 From: tothz68 at gmail.com (Toth Zoltan) Date: Wed, 1 Apr 2009 14:22:51 +0200 Subject: traceroute.cgi Message-ID: <69e59dde0904010522q7d35a574jb866214551154ec4@mail.gmail.com> Dear Lists, I have installed Nagios V 3.1.0 . I use check_ping command with -L options. On the web site under Hosts-> Status Information there is a following entry PING OK - Packet loss = 0%, RTA = 12.16 ms I think this is missing.. How can I fix this problem? "Traceroute.cgi" is in the cgi directory.. If I copy to web browser a following site. http://10.128.15.15/nagios/cgi-bin/traceroute.cgi?10.128.54.20 is working fine.. Thanks totya -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Apr 1 17:05:07 2009 From: marc at ena.com (Marc Powell) Date: Wed, 1 Apr 2009 10:05:07 -0500 Subject: Additional Info in email? In-Reply-To: <49D37688.7060400@gmail.com> References: <49D25857.1050201@gmail.com> <89F80424-67DE-47AB-9452-43C95D73E461@ena.com> <49D288C5.3000204@gmail.com> <307AE687-452E-40BB-B519-8AE2345325C1@ena.com> <49D37688.7060400@gmail.com> Message-ID: On Apr 1, 2009, at 9:13 AM, Andrew Davis wrote: > Perhaps I need to ask a clarification question... in my > checkcommands.cfg, should I change $SERVICEOUTPUT$ to > $LONGSERVICEOUTPUT$ or should I add the $LONGSERVICEOUTPUT$ macro to > the notify-service-by-email command? I'm thinking that some tests > will write some data to $SERVICEOUTPUT$, but others can include > additional info with $LONGSERVICEOUTPUT$, so rather than change > $SERVICEOUTPUT$ to $LONGSERVICEOUTPUT$, I should add it? Perhaps > something like this: > > Before: > ~\n\nAdditional Info:\n\n$SERVICEOUTPUT$ > > After: > ~\n\nInfo:\n\n$SERVICEOUTPUT$\n\nAdditional Info:\n\n > $LONGSERVICEOUTPUT$ The above is what you need. For clarification -- http://nagios.sourceforge.net/docs/3_0/whatsnew.html # Plugin Output: * Multiline plugin output is now supported for host and service checks. Hooray! The plugin API has been updated to support multiple lines of output in a manner that retains backward compatability with older plugins. Additional lines of output (aside from the first line) are now stored in new $LONGHOSTOUTPUT$ and $LONGSERVICEOUTPUT$ macros. -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Apr 1 17:10:28 2009 From: marc at ena.com (Marc Powell) Date: Wed, 1 Apr 2009 10:10:28 -0500 Subject: traceroute.cgi In-Reply-To: <69e59dde0904010522q7d35a574jb866214551154ec4@mail.gmail.com> References: <69e59dde0904010522q7d35a574jb866214551154ec4@mail.gmail.com> Message-ID: <4C6F5C6C-7C8B-4AD5-8770-A15874C8591B@ena.com> On Apr 1, 2009, at 7:22 AM, Toth Zoltan wrote: > Dear Lists, > > I have installed Nagios V 3.1.0 . I use check_ping command with -L > options. > On the web site under Hosts-> Status Information there is a > following entry > > PING OK - > Packet loss = 0%, RTA = 12.16 ms > > I think this is missing.. How can I fix this problem? > "Traceroute.cgi" is in the cgi directory.. > > If I copy to web browser a following site. > http://10.128.15.15/nagios/cgi-bin/traceroute.cgi?10.128.54.20 > is working fine.. You're not being clear, at least to me. What's broken? You say you think it's missing, but then you say that it works when you put it in the browser manually. What's different? The paths look the same to me (except the IP), so is the hostname part different? Does it work with the hostname used to access the nagios web interface? What does your web server error log show? -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From shadhin71 at gmail.com Wed Apr 1 17:07:49 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Wed, 1 Apr 2009 11:07:49 -0400 Subject: Dependency and performance question Message-ID: <6db4a4200904010807p3824655bx7c9a9d9943a020e3@mail.gmail.com> Hi, I am running nagios on a 2.5 GHZ 4-core 64 bit machine running RHEL5. I am seeing some performance issue in Nagios. I am doing failover setup. I have another similar machine which has identical config but not doing any active checks. My master machine sends check result using NSCA. Now I can not determine why my master machine is lacking in performace. I will paste my performance data below. I also have another question about dependency. 1) if a HOST is down, does the service checks still happens? I would like to setup a dependency where if host is down no service check should take place. How do I go about setting this up. An exapmple will be much appreciated. 2) How can I start troubleshooting my performance issue? Thanks in advance. Nagios Stats 3.0.6 Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org) Last Modified: 12-01-2008 License: GPL CURRENT STATUS DATA ------------------------------------------------------ Status File: /var/log/nagios/status.dat Status File Age: 0d 0h 0m 12s Status File Version: 3.0.6 Program Running Time: 0d 12h 12m 21s Nagios PID: 9719 Used/High/Total Command Buffers: 0 / 1 / 4096 Total Services: 3342 Services Checked: 3342 Services Scheduled: 3342 Services Actively Checked: 3342 Services Passively Checked: 0 Total Service State Change: 0.000 / 43.680 / 0.171 % Active Service Latency: 1574.556 / 1731.304 / 1684.508 sec Active Service Execution Time: 0.069 / 15.094 / 0.519 sec Active Service State Change: 0.000 / 43.680 / 0.171 % Active Services Last 1/5/15/60 min: 47 / 389 / 1287 / 3342 Passive Service Latency: 0.000 / 0.000 / 0.000 sec Passive Service State Change: 0.000 / 0.000 / 0.000 % Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 2955 / 23 / 351 / 13 Services Flapping: 8 Services In Downtime: 0 Total Hosts: 3037 Hosts Checked: 3005 Hosts Scheduled: 3030 Hosts Actively Checked: 3037 Host Passively Checked: 0 Total Host State Change: 0.000 / 39.210 / 0.146 % Active Host Latency: 0.000 / 1729.854 / 1569.654 sec Active Host Execution Time: 0.000 / 30.011 / 1.821 sec Active Host State Change: 0.000 / 39.210 / 0.146 % Active Hosts Last 1/5/15/60 min: 50 / 341 / 926 / 2387 Passive Host Latency: 0.000 / 0.000 / 0.000 sec Passive Host State Change: 0.000 / 0.000 / 0.000 % Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Hosts Up/Down/Unreach: 2852 / 185 / 0 Hosts Flapping: 12 Hosts In Downtime: 0 Active Host Checks Last 1/5/15 min: 77 / 376 / 1013 Scheduled: 68 / 346 / 940 On-demand: 9 / 30 / 73 Parallel: 69 / 349 / 944 Serial: 0 / 0 / 0 Cached: 7 / 27 / 69 Passive Host Checks Last 1/5/15 min: 0 / 0 / 0 Active Service Checks Last 1/5/15 min: 69 / 405 / 1308 Scheduled: 69 / 405 / 1308 On-demand: 0 / 0 / 0 Cached: 0 / 0 / 0 Passive Service Checks Last 1/5/15 min: 0 / 0 / 0 External Commands Last 1/5/15 min: 0 / 0 / 0 -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andre at startsiden.no Wed Apr 1 17:02:48 2009 From: andre at startsiden.no (=?ISO-8859-1?Q?Andr=E9_Bergei?=) Date: Wed, 01 Apr 2009 17:02:48 +0200 Subject: Can't get CHANGE_SVC_CHECK_COMMAND to work Message-ID: <49D38218.8060006@startsiden.no> Hi List Just wondering if somebody can confirm if this external command works in 3.0.6/3.1 ? I can get other external commands to work, but not this one. Here's my command: /usr/bin/printf "[%lu] CHANGE_SVC_CHECK_COMMAND;www.somehost.com;CONTENT_AGE;check_http_vhost_content_age_night\n" `date +%s` > /var/lib/nagios3/rw/nagios.cmd Nagios accepts this command. from log: [1238597810] EXTERNAL COMMAND: CHANGE_SVC_CHECK_COMMAND;www.overblikk.no;OVERBLIKK_CONTENT_AGE;check_http_vhost_content_age_night But the nagios deamon keeps executing my old check command like nothing happend. I've tested both 3.0.6 and 3.1 Cheers -- Andr? Bergei - Sysadmin ABC Startsiden AS http://www.startsiden.no ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joydeep at infoservices.in Wed Apr 1 14:19:40 2009 From: joydeep at infoservices.in (J. Bakshi) Date: Wed, 01 Apr 2009 17:49:40 +0530 Subject: How to upgrade nagios Version 2.12 ? In-Reply-To: <49D34FDA.9090802@op5.se> References: <49D34250.1040709@infoservices.in> <49D34FDA.9090802@op5.se> Message-ID: <49D35BDC.50708@infoservices.in> Andreas Ericsson wrote: > J. Bakshi wrote: >> Dear list, >> >> Hope you all are well. >> >> Nagios 3.x has been released :-) I'm running nagios Version 2.12 and >> like to upgrade it to 3.x >> Is there any script which can convert the nagios 2.12 configuration to >> 3.X ? >> >> I did the configuration manually and it was a huge work, that's why I'm >> looking for a converter program this time. >> > > No conversion should be necessary, but if you absolutely want something > and you have sed >= 4.0.9 you can run the following on all your object > configuration files > > sed -i -e 's/retry_check_interval/retry_interval/' \ > -e 's/max_check_attempts/check_attempts/' > $cfg_file > > Nagios will complain about some variables in nagios.cfg, but nothing > major. Insofar as object configuration goes, 2 > 3 upgrades are quite > painfree. > Ok, thanks then I'll go accordingly Have a nice time ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rijilv at riji.lv Wed Apr 1 17:33:48 2009 From: rijilv at riji.lv (RijilV) Date: Wed, 1 Apr 2009 08:33:48 -0700 Subject: Additional Info in email? In-Reply-To: <49D37688.7060400@gmail.com> References: <49D25857.1050201@gmail.com> <89F80424-67DE-47AB-9452-43C95D73E461@ena.com> <49D288C5.3000204@gmail.com> <307AE687-452E-40BB-B519-8AE2345325C1@ena.com> <49D37688.7060400@gmail.com> Message-ID: <5068c6420904010833k28352ba6re7a19db58b088016@mail.gmail.com> 2009/4/1 Andrew Davis : > Perhaps I need to ask a clarification question... in my checkcommands.cfg, > should I change $SERVICEOUTPUT$ to $LONGSERVICEOUTPUT$ or should I add the > $LONGSERVICEOUTPUT$ macro to the notify-service-by-email command? I'm > thinking that some tests will write some data to $SERVICEOUTPUT$, but others > can include additional info with $LONGSERVICEOUTPUT$, so rather than change > $SERVICEOUTPUT$ to $LONGSERVICEOUTPUT$, I should add it? Perhaps something > like this: > > Before: > ~\n\nAdditional Info:\n\n$SERVICEOUTPUT$ > > After: > ~\n\nInfo:\n\n$SERVICEOUTPUT$\n\nAdditional Info:\n\n$LONGSERVICEOUTPUT$ > > A. Davis > Email: nccomp at gmail.com > So, one of the great things about Nagios, IMHO, is it's documentation. Check out: http://nagios.sourceforge.net/docs/3_0/macrolist.html#serviceoutput In particular: $SERVICEOUTPUT$ The first line of text output from the last service check (i.e. "Ping OK"). $LONGSERVICEOUTPUT$ The full text output (aside from the first line) from the last service check. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rijilv at riji.lv Wed Apr 1 17:39:40 2009 From: rijilv at riji.lv (RijilV) Date: Wed, 1 Apr 2009 08:39:40 -0700 Subject: How to upgrade nagios Version 2.12 ? In-Reply-To: <49D34250.1040709@infoservices.in> References: <49D34250.1040709@infoservices.in> Message-ID: <5068c6420904010839m735a04e6w800054dc0017fc37@mail.gmail.com> 2009/4/1 J. Bakshi : > Dear list, > > Hope you all are well. > > Nagios 3.x has been released :-) I'm running nagios Version 2.12 and > like to upgrade it to 3.x > Is there any script ?which can convert the nagios 2.12 configuration to > 3.X ? > > I did the configuration manually and it was a huge work, that's why I'm > looking for a converter program this time. > > Thanks Really not much has changed in terms of your objective configration files. There are some new features you might want to take advantage of, but you're under no real obligation to use them. What really changed are a couple of new lines in nagios.cfg. Have you tried running your existing configs with a nagios 3.0.x binary yet? If you do that it'll spit out whats missing, which will be a couple of paths that need to be added (tmp, check result off the top of my head). .r' ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tdondich at gmail.com Wed Apr 1 18:52:38 2009 From: tdondich at gmail.com (Taylor Dondich) Date: Wed, 1 Apr 2009 09:52:38 -0700 Subject: How to upgrade nagios Version 2.12 ? In-Reply-To: <5068c6420904010839m735a04e6w800054dc0017fc37@mail.gmail.com> References: <49D34250.1040709@infoservices.in> <5068c6420904010839m735a04e6w800054dc0017fc37@mail.gmail.com> Message-ID: <3d2eb72a0904010952v6e48e6b1j42b06bd3a18ef238@mail.gmail.com> If you want to start using a web tool, Lilac can import Nagios 2.x configurations and export Nagios 3.x. www.lilacplatform.com Taylor On Wed, Apr 1, 2009 at 8:39 AM, RijilV wrote: > 2009/4/1 J. Bakshi : >> Dear list, >> >> Hope you all are well. >> >> Nagios 3.x has been released :-) I'm running nagios Version 2.12 and >> like to upgrade it to 3.x >> Is there any script ?which can convert the nagios 2.12 configuration to >> 3.X ? >> >> I did the configuration manually and it was a huge work, that's why I'm >> looking for a converter program this time. >> >> Thanks > > > Really not much has changed in terms of your objective configration > files. ?There are some new features you might want to take advantage > of, but you're under no real obligation to use them. > > What really changed are a couple of new lines in nagios.cfg. ?Have you > tried running your existing configs with a nagios 3.0.x binary yet? > If you do that it'll spit out whats missing, which will be a couple of > paths that need to be added (tmp, check result off the top of my > head). > > .r' > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Taylor Dondich Check out Lilac, a configuration tool for Nagios 3 at http://www.lilacplatform.com Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From echatham at broadvox.net Wed Apr 1 18:52:48 2009 From: echatham at broadvox.net (Eric Chatham) Date: Wed, 1 Apr 2009 12:52:48 -0400 Subject: check_snmp plugin stopped working Message-ID: <4ABA3E162F60624A949503A7F960245EB0E3AABD9B@CLEHBEXMS01.broadvox.local> Hello, Today, for some reason, the check_snmp plugin stopped working. SNMP is configured for this server and I'm able to run commands like smpget and snmpwalk to the remote host; however, when I try to run the check_snmp plugin, I keep getting "no data received from host." [root@ ~ libexec]# ./check_snmp -v 1 -H xxx.xxx.xxx.41 -C public -o dskAvail.1 /usr/local/bin/snmpget -t 1 -r 5 -m ALL -v 1 -c public xxx.xxx.xxx.41:161 dskAvail.1 SNMP problem - No data received from host CMD: /usr/local/bin/snmpget -t 1 -r 5 -m ALL -v 1 [authpriv] xxx.xxx.xxx.41:161 dskAvail.1 [root@ ~ libexec]# snmpget -v1 -c public 208.93.224.41 dskAvail.1 UCD-SNMP-MIB::dskAvail.1 = INTEGER: 65150524 Eric Chatham Broadvox MIS Department Phone: (216) 373-4683 Fax: (216) 373-4669 echatham at broadvox.net [cid:image001.jpg at 01C9B2C8.C2A47190] ________________________________ CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3734 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From plauda at csky.com Wed Apr 1 19:54:38 2009 From: plauda at csky.com (Peter Lauda) Date: Wed, 1 Apr 2009 13:54:38 -0400 Subject: Data is stale Message-ID: <007d01c9b2f2$ed672740$c83575c0$@com> I've got Nagios 3.0.2 running under the HP SIM software and I've encountered this problem. Several service checks give the result of "WARNING data is stale" using nrpe to check those services. There are no real indications of problems but these messages are consistent for certain services. Might anyone have any thoughts on what I can check to get these fixed? On some systems the same checks work just fine. Others, not so much. data is stale is all I ever see. Thanks for any input. Peter J. Lauda Senior Network Engineer Clear Sky Mobile Media, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Steve.Onotsky at broadridge.com Wed Apr 1 20:46:14 2009 From: Steve.Onotsky at broadridge.com (Onotsky, Steve x55328) Date: Wed, 1 Apr 2009 14:46:14 -0400 Subject: check_snmp plugin stopped working In-Reply-To: <4ABA3E162F60624A949503A7F960245EB0E3AABD9B@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB0E3AABD9B@CLEHBEXMS01.broadvox.local> Message-ID: <30A417B62E7EE448B3864ADC881CEFD6083783EB@missemsa01.bsg.ad.adp.com> > Today, for some reason, the check_snmp plugin stopped working. SNMP is configured for this server and I'm > able to run commands like smpget and snmpwalk to the remote host; however, when I try to run the > check_snmp plugin, I keep getting "no data received from host." > [root@ ~ libexec]# ./check_snmp -v 1 -H xxx.xxx.xxx.41 -C public -o dskAvail.1 > /usr/local/bin/snmpget -t 1 -r 5 -m ALL -v 1 -c public xxx.xxx.xxx.41:161 dskAvail.1 > SNMP problem - No data received from host > CMD: /usr/local/bin/snmpget -t 1 -r 5 -m ALL -v 1 [authpriv] xxx.xxx.xxx.41:161 dskAvail.1 > [root@ ~ libexec]# snmpget -v1 -c public 208.93.224.41 dskAvail.1 > UCD-SNMP-MIB::dskAvail.1 = INTEGER: 65150524 Maybe someone made a firewall change, between your Nagios box and the target host? Also, just a security-minded suggestion, you should probably change the community strings. SNMP - "Security? Not My Problem." :-) Cheers This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Apr 1 21:03:48 2009 From: marc at ena.com (Marc Powell) Date: Wed, 1 Apr 2009 14:03:48 -0500 Subject: Data is stale In-Reply-To: <007d01c9b2f2$ed672740$c83575c0$@com> References: <007d01c9b2f2$ed672740$c83575c0$@com> Message-ID: <598FBD8A-5B14-4FF0-8DED-F0AC1CF3D487@ena.com> On Apr 1, 2009, at 12:54 PM, Peter Lauda wrote: > I?ve got Nagios 3.0.2 running under the HP SIM software and I?ve > encountered this problem. > > Several service checks give the result of ?WARNING data is stale? > using nrpe to check those services. There are no real indications of > problems but these messages are consistent for certain services. > > Might anyone have any thoughts on what I can check to get these > fixed? On some systems the same checks work just fine. Others, not > so much? data is stale is all I ever see. > 'data is stale' is not an error message that either nagios or nrpe output. What is it coming from? The wording and apparent implementation implies it's the result of a freshness check but that's not possible with active NRPE checks. Please locate the source of that error and let us know what it is. We may be able to help if you provide the service{} definition, command{} definition it references and the NRPE command definition on the remote host it in turn references. If the final plugin being executed isn't a standard plugin, please provide information about where you got it or what it's doing. -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From echatham at broadvox.net Wed Apr 1 21:04:33 2009 From: echatham at broadvox.net (Eric Chatham) Date: Wed, 1 Apr 2009 15:04:33 -0400 Subject: check_snmp plugin stopped working In-Reply-To: <30A417B62E7EE448B3864ADC881CEFD6083783EB@missemsa01.bsg.ad.adp.com> References: <4ABA3E162F60624A949503A7F960245EB0E3AABD9B@CLEHBEXMS01.broadvox.local> <30A417B62E7EE448B3864ADC881CEFD6083783EB@missemsa01.bsg.ad.adp.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB0E3AABE3F@CLEHBEXMS01.broadvox.local> Thank you for the reply. I ended up re-installing the plugins. It seemed to fix the problem. I just found it rather strange that all of sudden the plugin stopped responding. ...and, changing the community string as well. Eric Chatham From: Onotsky, Steve x55328 [mailto:Steve.Onotsky at broadridge.com] Sent: Wednesday, April 01, 2009 14:46 To: Eric Chatham; Nagios Users Mailinglist Subject: RE: [Nagios-users] check_snmp plugin stopped working > Today, for some reason, the check_snmp plugin stopped working. SNMP is configured for this server and I'm > able to run commands like smpget and snmpwalk to the remote host; however, when I try to run the > check_snmp plugin, I keep getting "no data received from host." > [root@ ~ libexec]# ./check_snmp -v 1 -H xxx.xxx.xxx.41 -C public -o dskAvail.1 > /usr/local/bin/snmpget -t 1 -r 5 -m ALL -v 1 -c public xxx.xxx.xxx.41:161 dskAvail.1 > SNMP problem - No data received from host > CMD: /usr/local/bin/snmpget -t 1 -r 5 -m ALL -v 1 [authpriv] xxx.xxx.xxx.41:161 dskAvail.1 > [root@ ~ libexec]# snmpget -v1 -c public 208.93.224.41 dskAvail.1 > UCD-SNMP-MIB::dskAvail.1 = INTEGER: 65150524 Maybe someone made a firewall change, between your Nagios box and the target host? Also, just a security-minded suggestion, you should probably change the community strings. SNMP - "Security? Not My Problem." :) Cheers This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ________________________________ CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From aaron.largent at gmail.com Wed Apr 1 21:42:49 2009 From: aaron.largent at gmail.com (Aaron Largent) Date: Wed, 1 Apr 2009 15:42:49 -0400 Subject: NRPE vs local check_procs = different result? Message-ID: I am getting different results from NRPE than the local commands that NRPE is supopsed to be running. I am trying to understand if I am doing something wrong, or if I am hitting a bug. the process is NOT running, and the local command verifies this. the NRPE command from the server is saying it IS running, though. any help is appreciated! -------- from the client being monitored # grep alljunk /etc/nagios/nrpe.cfg command[procs_alljunka]=/usr/lib/nagios/plugins/check_procs -w 1: -c 1: -a '/usr/sbin/alljunk' # /usr/lib/nagios/plugins/check_procs -c 1: -c 1: -a '/usr/sbin/alljunk' PROCS CRITICAL: 0 processes with args '/usr/sbin/alljunk' -------- from the nagios server # /usr/lib/nagios/plugins/check_nrpe -H xx.xx.xx.xx -c procs_alljunka PROCS OK: 1 process with args '/usr/sbin/alljunk' -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Steve.Onotsky at broadridge.com Wed Apr 1 22:24:28 2009 From: Steve.Onotsky at broadridge.com (Onotsky, Steve x55328) Date: Wed, 1 Apr 2009 16:24:28 -0400 Subject: NRPE vs local check_procs = different result? In-Reply-To: References: Message-ID: <30A417B62E7EE448B3864ADC881CEFD608378440@missemsa01.bsg.ad.adp.com> Maybe I'm not understanding the problem, or the cold meds are clouding my thinking... but wouldn't the child process that NRPE fires off, have '/usr/sbin/alljunk' as a parameter? ________________________________ From: Aaron Largent [mailto:aaron.largent at gmail.com] Sent: April 1, 2009 15:43 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE vs local check_procs = different result? I am getting different results from NRPE than the local commands that NRPE is supopsed to be running. I am trying to understand if I am doing something wrong, or if I am hitting a bug. the process is NOT running, and the local command verifies this. the NRPE command from the server is saying it IS running, though. any help is appreciated! -------- from the client being monitored # grep alljunk /etc/nagios/nrpe.cfg command[procs_alljunka]=/usr/lib/nagios/plugins/check_procs -w 1: -c 1: -a '/usr/sbin/alljunk' # /usr/lib/nagios/plugins/check_procs -c 1: -c 1: -a '/usr/sbin/alljunk' PROCS CRITICAL: 0 processes with args '/usr/sbin/alljunk' -------- from the nagios server # /usr/lib/nagios/plugins/check_nrpe -H xx.xx.xx.xx -c procs_alljunka PROCS OK: 1 process with args '/usr/sbin/alljunk' This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From benamar.mohamed at free.fr Wed Apr 1 22:50:15 2009 From: benamar.mohamed at free.fr (ben amar) Date: Wed, 1 Apr 2009 22:50:15 +0200 Subject: configure Nagios to monitor the temperature of the server room In-Reply-To: References: Message-ID: <33675.0424154618$1238619641@news.gmane.org> Hello, How to configure Nagios to monitor the temperature of the server room? What plugin? Best regards Bonjour, Comment configurer nagios pour superviser la temp?rature de la salle serveur? Avec quel plugin? Cordialement ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mlitwin at stubhub.com Wed Apr 1 23:23:26 2009 From: mlitwin at stubhub.com (Matthew Litwin) Date: Wed, 01 Apr 2009 14:23:26 -0700 Subject: configure Nagios to monitor the temperature of the server room In-Reply-To: <000001c9b30b$7644c3c0$62ce4b40$@mohamed@free.fr> References: <000001c9b30b$7644c3c0$62ce4b40$@mohamed@free.fr> Message-ID: You would probably want to run the snmp plugin against devices that that have a thermometer in it. You will just need to know what the OID is for that data for the given device. It is a good idea to take readings from each cabinet in your room, both at the top and bottom of the cabinet, and if possible, the front and the back. Keep in mind hot and cool aisle considerations. On 4/1/09 1:50 PM, "ben amar" wrote: > Hello, > > How to configure Nagios to monitor the temperature of the server room? > What plugin? > > Best regards > > > Bonjour, > > Comment configurer nagios pour superviser la temp?rature de la salle > serveur? > Avec quel plugin? > > Cordialement > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 mailing list Nagios-users at 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 From marc at ena.com Wed Apr 1 23:28:57 2009 From: marc at ena.com (Marc Powell) Date: Wed, 1 Apr 2009 16:28:57 -0500 Subject: configure Nagios to monitor the temperature of the server room In-Reply-To: <000001c9b30b$7644c3c0$62ce4b40$@mohamed@free.fr> References: <000001c9b30b$7644c3c0$62ce4b40$@mohamed@free.fr> Message-ID: On Apr 1, 2009, at 3:50 PM, ben amar wrote: > Hello, > > How to configure Nagios to monitor the temperature of the server room? > What plugin? It depends on the very specific device are you monitoring the temperature through. There are few standards to fall back on here... I'd suggest figuring out if that device supports SNMP, identify the OID it exposes the temperature with and use check_snmp to monitor it. -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jmoseley at corp.xanadoo.com Wed Apr 1 23:20:55 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Wed, 1 Apr 2009 16:20:55 -0500 Subject: configure Nagios to monitor the temperature of the server room In-Reply-To: <000001c9b30b$7644c3c0$62ce4b40$@mohamed@free.fr> References: <000001c9b30b$7644c3c0$62ce4b40$@mohamed@free.fr> Message-ID: That all depends on how the temperature can be obtained from the temperature probe. Most likely, the temperature would be obtained via SNMP. If that's the case, use check_snmp along with appropriate warning and critical thresholds. James Moseley "ben amar" To PM cc Subject [Nagios-users] configure Nagios to monitor the temperature of the server room Hello, How to configure Nagios to monitor the temperature of the server room? What plugin? Best regards Bonjour, Comment configurer nagios pour superviser la temp?rature de la salle serveur? Avec quel plugin? Cordialement ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 mailing list Nagios-users at 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 From ssimmons at cymfony.com Thu Apr 2 00:06:49 2009 From: ssimmons at cymfony.com (Seth Simmons) Date: Wed, 1 Apr 2009 18:06:49 -0400 Subject: problem with check_yum Message-ID: <4881ECF1AB752843908A20CEE07A8EB1127D70@buf-ex01.cymfony.com> I'm running nagios 3.0.6 and using check_yum on my red hat/centos boxes. Today I've had all my centos boxes show yum warnings about needed updates; found out centos 5.3 was released. I have one red hat 5.2 box. The problem is, check_yum within nagios shows 'o/s is up to date' as of last check (10 min ago). If I run it manually from the machine, it gives a warning that updates are needed (verified through yum and rhn). How can nagios be reporting that yum is ok when it isn't? Seth Simmons Systems Administrator TNS Cymfony 125 Walnut Street, Suite 205 Watertown, MA 02472 Phone: 617.673.6024 | Fax: 617.924.6167 www.cymfony.com | blog: www.influence2.com "harnessing influence 2.0" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 1117 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nccomp at gmail.com Thu Apr 2 00:27:12 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 01 Apr 2009 18:27:12 -0400 Subject: Help please - test works fine EXCEPT over NRPE??? Message-ID: <49D3EA40.8080506@gmail.com> I setup the "check_logs.pl" (http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1752.html;d=1) test and its config file on some local Linux servers tested via NRPE. All other NRPE tests work fine (including some custom ones). The check_logs.pl works fine locally, but fails over NRPE. I've enabled debugging in NRPE, but its not telling me much more... Client local test: atum:/etc/init.d # /usr/local/nagios/libexec/check_logs.pl -c /etc/nagios/check_logs_linux.cfg faillog => OK; lastlog => OK; messages => OK; wtmp => OK; Server test to client via NRPE: /usr/local/nagios/libexec/check_nrpe -H atum -c check_logs CHECK_NRPE: No output returned from daemon. Local log (/var/log/messages) on client when test is run from server: Apr 1 18:05:52 atum nrpe[1412]: Added command[check_logs]=/usr/local/nagios/libexec/check_logs.pl -c /etc/nagios/check_logs_linux.cfg Apr 1 18:05:52 atum nrpe[1412]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Apr 1 18:05:52 atum nrpe[1412]: Handling the connection... Apr 1 18:05:52 atum nrpe[1412]: Host is asking for command 'check_logs' to be run... Apr 1 18:05:52 atum nrpe[1412]: Running command: /usr/local/nagios/libexec/check_logs.pl -c /etc/nagios/check_logs_linux.cfg Apr 1 18:05:52 atum nrpe[1412]: Command completed with return code 0 and output: Apr 1 18:05:52 atum nrpe[1412]: Return Code: 0, Output: The response is immediate, so its not a timeout issue. Other NRPE tests work fine: /usr/local/nagios/libexec/check_nrpe -H atum -c check_load OK - load average: 0.00, 0.00, 0.00|load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; load15=0.000;5.000;10.000;0; /usr/local/nagios/libexec/check_nrpe -H atum -c check_memory CHECK_MEMORY OK - 1702M free | free=1785552896b;210236620.8:;105118310.4: And on the client: Apr 1 18:09:25 atum nrpe[1799]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Apr 1 18:09:25 atum nrpe[1799]: Handling the connection... Apr 1 18:09:25 atum nrpe[1799]: Host is asking for command 'check_load' to be run... Apr 1 18:09:25 atum nrpe[1799]: Running command: /usr/local/nagios/libexec/check_load -r -w 5.0 -c 10.0 Apr 1 18:09:25 atum nrpe[1799]: Command completed with return code 0 and output: OK - load average: 0.00, 0.00, 0.00|load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; load15=0.000;5.000;10.000;0; Apr 1 18:09:25 atum nrpe[1799]: Return Code: 0, Output: OK - load average: 0.00, 0.00, 0.00|load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; load15=0.000;5.000;10.000;0; Apr 1 18:09:26 atum nrpe[1802]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Apr 1 18:09:26 atum nrpe[1802]: Handling the connection... Apr 1 18:09:26 atum nrpe[1802]: Host is asking for command 'check_memory' to be run... Apr 1 18:09:26 atum nrpe[1802]: Running command: /usr/local/nagios/libexec/check_memory.pl -w 10% -c 5% Apr 1 18:09:26 atum nrpe[1802]: Command completed with return code 0 and output: CHECK_MEMORY OK - 1703M free | free=1786134528b;210236620.8:;105118310.4: Apr 1 18:09:26 atum nrpe[1802]: Return Code: 0, Output: CHECK_MEMORY OK - 1703M free | free=1786134528b;210236620.8:;105118310.4: Here's the local command in my /etc/nagios/nrpe.cfg: command[check_logs]=/usr/local/nagios/libexec/check_logs.pl -c /etc/nagios/check_logs_linux.cfg And on the server (when done in services.cfg, though its failing with manual tests too): define service { hostgroup_name linux-servers service_description LOGS check_command check_nrpe!check_logs max_check_attempts 3 normal_check_interval 15 retry_check_interval 5 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options w, u, c, r, f, s contact_groups unixadmins } Considering it fails with a manual test (command line), I doubt its my services.cfg entry. It runs fine when called locally, so I'm thinking it could be an issue on the client in the nrpe.cfg, but if so I can't find it... I *do* see the obvious... namely, the other two tests that run over NRPE have something after "Output:" and the check_logs.pl does not. However, called at the command line it does... which is what stumps me. What would cause the test to run fine locally, but return nothing when called via NRPE??? (BTW: I'm running 3.x with the latest set of plugins and NRPE). One more thing: I know *someone* is going to ask why I don't just use the built-in check_log test. The answer is that check_logs.pl allows for multiple files and pattern matches and a "seek" file to speed things up. -- A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From john at stilen.com Thu Apr 2 01:18:32 2009 From: john at stilen.com (John Stile) Date: Wed, 01 Apr 2009 16:18:32 -0700 Subject: Help please - test works fine EXCEPT over NRPE??? In-Reply-To: <49D3EA40.8080506@gmail.com> References: <49D3EA40.8080506@gmail.com> Message-ID: <1238627912.13297.7.camel@genx.localdomain> On the client, if you look at 'ps aux |grep nrpe' what user does nrpe run as? You might have to configure sudo to allow that user to run the plugin. On Wed, 2009-04-01 at 18:27 -0400, Andrew Davis wrote: > I setup the > "check_logs.pl" (http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1752.html;d=1) test and its config file on some local Linux servers tested via NRPE. All other NRPE tests work fine (including some custom ones). The check_logs.pl works fine locally, but fails over NRPE. I've enabled debugging in NRPE, but its not telling me much more... > > Client local test: > > atum:/etc/init.d # /usr/local/nagios/libexec/check_logs.pl > -c /etc/nagios/check_logs_linux.cfg > faillog => OK; lastlog => OK; messages => OK; wtmp => OK; > > Server test to client via NRPE: > > /usr/local/nagios/libexec/check_nrpe -H atum -c check_logs > CHECK_NRPE: No output returned from daemon. > > Local log (/var/log/messages) on client when test is run from server: > > Apr 1 18:05:52 atum nrpe[1412]: Added > command[check_logs]=/usr/local/nagios/libexec/check_logs.pl > -c /etc/nagios/check_logs_linux.cfg > Apr 1 18:05:52 atum nrpe[1412]: INFO: SSL/TLS initialized. > All network traffic will be encrypted. > Apr 1 18:05:52 atum nrpe[1412]: Handling the connection... > Apr 1 18:05:52 atum nrpe[1412]: Host is asking for command > 'check_logs' to be run... > Apr 1 18:05:52 atum nrpe[1412]: Running > command: /usr/local/nagios/libexec/check_logs.pl > -c /etc/nagios/check_logs_linux.cfg > Apr 1 18:05:52 atum nrpe[1412]: Command completed with return > code 0 and output: > Apr 1 18:05:52 atum nrpe[1412]: Return Code: 0, Output: > > The response is immediate, so its not a timeout issue. Other NRPE > tests work fine: > > /usr/local/nagios/libexec/check_nrpe -H atum -c check_load > OK - load average: 0.00, 0.00, 0.00| > load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; > load15=0.000;5.000;10.000;0; > /usr/local/nagios/libexec/check_nrpe -H atum -c check_memory > CHECK_MEMORY OK - 1702M free | > free=1785552896b;210236620.8:;105118310.4: > > And on the client: > > Apr 1 18:09:25 atum nrpe[1799]: INFO: SSL/TLS initialized. > All network traffic will be encrypted. > Apr 1 18:09:25 atum nrpe[1799]: Handling the connection... > Apr 1 18:09:25 atum nrpe[1799]: Host is asking for command > 'check_load' to be run... > Apr 1 18:09:25 atum nrpe[1799]: Running > command: /usr/local/nagios/libexec/check_load -r -w 5.0 -c > 10.0 > Apr 1 18:09:25 atum nrpe[1799]: Command completed with return > code 0 and output: OK - load average: 0.00, 0.00, 0.00| > load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; > load15=0.000;5.000;10.000;0; > Apr 1 18:09:25 atum nrpe[1799]: Return Code: 0, Output: OK - > load average: 0.00, 0.00, 0.00|load1=0.000;5.000;10.000;0; > load5=0.000;5.000;10.000;0; load15=0.000;5.000;10.000;0; > Apr 1 18:09:26 atum nrpe[1802]: INFO: SSL/TLS initialized. > All network traffic will be encrypted. > Apr 1 18:09:26 atum nrpe[1802]: Handling the connection... > Apr 1 18:09:26 atum nrpe[1802]: Host is asking for command > 'check_memory' to be run... > Apr 1 18:09:26 atum nrpe[1802]: Running > command: /usr/local/nagios/libexec/check_memory.pl -w 10% -c > 5% > Apr 1 18:09:26 atum nrpe[1802]: Command completed with return > code 0 and output: CHECK_MEMORY OK - 1703M free | > free=1786134528b;210236620.8:;105118310.4: > Apr 1 18:09:26 atum nrpe[1802]: Return Code: 0, Output: > CHECK_MEMORY OK - 1703M free | > free=1786134528b;210236620.8:;105118310.4: > > Here's the local command in my /etc/nagios/nrpe.cfg: > > command[check_logs]=/usr/local/nagios/libexec/check_logs.pl > -c /etc/nagios/check_logs_linux.cfg > > And on the server (when done in services.cfg, though its failing with > manual tests too): > > define service { > hostgroup_name linux-servers > service_description LOGS > check_command check_nrpe!check_logs > max_check_attempts 3 > normal_check_interval 15 > retry_check_interval 5 > check_period 24x7 > notification_interval 120 > notification_period 24x7 > notification_options w, u, c, r, f, s > contact_groups unixadmins > } > > > Considering it fails with a manual test (command line), I doubt its my > services.cfg entry. It runs fine when called locally, so I'm thinking > it could be an issue on the client in the nrpe.cfg, but if so I can't > find it... > > I *do* see the obvious... namely, the other two tests that run over > NRPE have something after "Output:" and the check_logs.pl does not. > However, called at the command line it does... which is what stumps > me. > > What would cause the test to run fine locally, but return nothing when > called via NRPE??? (BTW: I'm running 3.x with the latest set of > plugins and NRPE). > > One more thing: I know *someone* is going to ask why I don't just use > the built-in check_log test. The answer is that check_logs.pl allows > for multiple files and pattern matches and a "seek" file to speed > things up. > -- > > > A. Davis > Email: nccomp at gmail.com > > "There is no limit to what a man can accomplish > if he doesn't care who gets the credit." - Ronald Reagan > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 mailing list Nagios-users at 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 From rodneyra at gmail.com Thu Apr 2 02:42:54 2009 From: rodneyra at gmail.com (Rodney Ramos) Date: Wed, 1 Apr 2009 21:42:54 -0300 Subject: NDO update delay In-Reply-To: References: Message-ID: Hi Lei. I?m using MyISAM engine. Thanks, Rodney. On Tue, Mar 31, 2009 at 4:59 AM, lei chen wrote: > The primary reason maybe the low performance in your mysql server with > innodb engine. > > Two solutions: > 1. tuning your my.cnf to improve the mysql performance; > 2. use MyISAM instead of InnoDB engine in your NODUtils db; > > 2009/3/26 Rodney Ramos : > > Hi everybody. > > > > I?ve installed NDOUtils (nodutils-1.4b7) whith Nagios (nagios-3.0.6) and > > it?s working. > > > > However I?ve noticed that it?s taking more than 30 minutes to update the > > MySQL tables. > > > > I?ve detected the problem making a query on the field "last_check" on > > "nagios_hoststatus" table. > > > > Can anyone help me? There is a parameter to make the update process > faster? > > > > Thanks, > > Rodney. > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > -- > Thanks, > Chenlei & ??++ > MSN Messenger: chnl at 163.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nccomp at gmail.com Thu Apr 2 05:01:41 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 01 Apr 2009 23:01:41 -0400 Subject: Help please - test works fine EXCEPT over NRPE??? In-Reply-To: <1238627912.13297.7.camel@genx.localdomain> References: <49D3EA40.8080506@gmail.com> <1238627912.13297.7.camel@genx.localdomain> Message-ID: <49D42A95.9080104@gmail.com> Its running under xinetd, so 'ps aux|grep nrpe' isn't showing the true user. However, the nrpe.cfg is set to use the nobody user. I've added the nobody user to sudo, and even tried it as the nagios user. What I see now from the server is: /usr/local/nagios/libexec/check_nrpe -H atum -c check_logs CHECK_NRPE: Socket timeout after 10 seconds. And in the messages file on the client: Apr 1 22:54:25 atum nrpe[25661]: Running command: /usr/bin/sudo /usr/local/nagios/libexec/check_logs.pl -c /etc/nagios/check_logs_linux.cfg Apr 1 22:54:25 atum /usr/bin/sudo: nobody : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/local/nagios/libexec/check_logs.pl -c /etc/nagios/check_logs_linux.cfg A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan John Stile wrote: > On the client, if you look at 'ps aux |grep nrpe' > what user does nrpe run as? > > You might have to configure sudo to allow that user to run the plugin. > > > On Wed, 2009-04-01 at 18:27 -0400, Andrew Davis wrote: > >> I setup the >> "check_logs.pl" (http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1752.html;d=1) test and its config file on some local Linux servers tested via NRPE. All other NRPE tests work fine (including some custom ones). The check_logs.pl works fine locally, but fails over NRPE. I've enabled debugging in NRPE, but its not telling me much more... >> >> Client local test: >> >> atum:/etc/init.d # /usr/local/nagios/libexec/check_logs.pl >> -c /etc/nagios/check_logs_linux.cfg >> faillog => OK; lastlog => OK; messages => OK; wtmp => OK; >> >> Server test to client via NRPE: >> >> /usr/local/nagios/libexec/check_nrpe -H atum -c check_logs >> CHECK_NRPE: No output returned from daemon. >> >> Local log (/var/log/messages) on client when test is run from server: >> >> Apr 1 18:05:52 atum nrpe[1412]: Added >> command[check_logs]=/usr/local/nagios/libexec/check_logs.pl >> -c /etc/nagios/check_logs_linux.cfg >> Apr 1 18:05:52 atum nrpe[1412]: INFO: SSL/TLS initialized. >> All network traffic will be encrypted. >> Apr 1 18:05:52 atum nrpe[1412]: Handling the connection... >> Apr 1 18:05:52 atum nrpe[1412]: Host is asking for command >> 'check_logs' to be run... >> Apr 1 18:05:52 atum nrpe[1412]: Running >> command: /usr/local/nagios/libexec/check_logs.pl >> -c /etc/nagios/check_logs_linux.cfg >> Apr 1 18:05:52 atum nrpe[1412]: Command completed with return >> code 0 and output: >> Apr 1 18:05:52 atum nrpe[1412]: Return Code: 0, Output: >> >> The response is immediate, so its not a timeout issue. Other NRPE >> tests work fine: >> >> /usr/local/nagios/libexec/check_nrpe -H atum -c check_load >> OK - load average: 0.00, 0.00, 0.00| >> load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; >> load15=0.000;5.000;10.000;0; >> /usr/local/nagios/libexec/check_nrpe -H atum -c check_memory >> CHECK_MEMORY OK - 1702M free | >> free=1785552896b;210236620.8:;105118310.4: >> >> And on the client: >> >> Apr 1 18:09:25 atum nrpe[1799]: INFO: SSL/TLS initialized. >> All network traffic will be encrypted. >> Apr 1 18:09:25 atum nrpe[1799]: Handling the connection... >> Apr 1 18:09:25 atum nrpe[1799]: Host is asking for command >> 'check_load' to be run... >> Apr 1 18:09:25 atum nrpe[1799]: Running >> command: /usr/local/nagios/libexec/check_load -r -w 5.0 -c >> 10.0 >> Apr 1 18:09:25 atum nrpe[1799]: Command completed with return >> code 0 and output: OK - load average: 0.00, 0.00, 0.00| >> load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; >> load15=0.000;5.000;10.000;0; >> Apr 1 18:09:25 atum nrpe[1799]: Return Code: 0, Output: OK - >> load average: 0.00, 0.00, 0.00|load1=0.000;5.000;10.000;0; >> load5=0.000;5.000;10.000;0; load15=0.000;5.000;10.000;0; >> Apr 1 18:09:26 atum nrpe[1802]: INFO: SSL/TLS initialized. >> All network traffic will be encrypted. >> Apr 1 18:09:26 atum nrpe[1802]: Handling the connection... >> Apr 1 18:09:26 atum nrpe[1802]: Host is asking for command >> 'check_memory' to be run... >> Apr 1 18:09:26 atum nrpe[1802]: Running >> command: /usr/local/nagios/libexec/check_memory.pl -w 10% -c >> 5% >> Apr 1 18:09:26 atum nrpe[1802]: Command completed with return >> code 0 and output: CHECK_MEMORY OK - 1703M free | >> free=1786134528b;210236620.8:;105118310.4: >> Apr 1 18:09:26 atum nrpe[1802]: Return Code: 0, Output: >> CHECK_MEMORY OK - 1703M free | >> free=1786134528b;210236620.8:;105118310.4: >> >> Here's the local command in my /etc/nagios/nrpe.cfg: >> >> command[check_logs]=/usr/local/nagios/libexec/check_logs.pl >> -c /etc/nagios/check_logs_linux.cfg >> >> And on the server (when done in services.cfg, though its failing with >> manual tests too): >> >> define service { >> hostgroup_name linux-servers >> service_description LOGS >> check_command check_nrpe!check_logs >> max_check_attempts 3 >> normal_check_interval 15 >> retry_check_interval 5 >> check_period 24x7 >> notification_interval 120 >> notification_period 24x7 >> notification_options w, u, c, r, f, s >> contact_groups unixadmins >> } >> >> >> Considering it fails with a manual test (command line), I doubt its my >> services.cfg entry. It runs fine when called locally, so I'm thinking >> it could be an issue on the client in the nrpe.cfg, but if so I can't >> find it... >> >> I *do* see the obvious... namely, the other two tests that run over >> NRPE have something after "Output:" and the check_logs.pl does not. >> However, called at the command line it does... which is what stumps >> me. >> >> What would cause the test to run fine locally, but return nothing when >> called via NRPE??? (BTW: I'm running 3.x with the latest set of >> plugins and NRPE). >> >> One more thing: I know *someone* is going to ask why I don't just use >> the built-in check_log test. The answer is that check_logs.pl allows >> for multiple files and pattern matches and a "seek" file to speed >> things up. >> -- >> >> >> A. Davis >> Email: nccomp at gmail.com >> >> "There is no limit to what a man can accomplish >> if he doesn't care who gets the credit." - Ronald Reagan >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ian at griggle.net Thu Apr 2 06:40:19 2009 From: ian at griggle.net (Ian Orszaczki) Date: Thu, 2 Apr 2009 15:40:19 +1100 Subject: Nagios Consultants/Commercial Support in Melbourne In-Reply-To: <49D31D8C.50303@op5.se> References: <2bb4107c0903311344x7e5ff415v30c70ee83e87b4c8@mail.gmail.com> <49D31D8C.50303@op5.se> Message-ID: <2bb4107c0904012140x32081d6dv998a5cf88975c771@mail.gmail.com> Thanks for the info, I have been contacted by your sales manager. I had drawn similar conclusions to what you have detailed. Unfortunately to get a nagios based product seriously considered in a large company they need to security of on-the-ground support if necessary. On Wed, Apr 1, 2009 at 6:53 PM, Andreas Ericsson wrote: > Ian Orszaczki wrote: > >> Hi, I work for a fairly large company looking for at replacing/upgrading >> our >> monitoring system. We are now on Nagios 3.06 monitoring 1300 hosts and >> 8500 >> services via ssh (all from one server). >> >> Does anybody know of any company offering Nagios consultancy or support in >> Melbourne (or elsewhere in Australia) ? Its something that upper >> management >> need before they will consider sticking with Nagios longer term. >> >> I look forward to any responses including feedback on good/bad experiences >> with them. >> >> > I've had fairly good experience with op5. They pay me money to write > programs > and stuff. It's awesomely fun ;-) > > On a more serious note, http://www.nagios.org/support/servicepartners/lists > all the support partners that are serious enough to have contacted Ethan to > let him know they're providing support. It seems Australia lack any > professional Nagios support providers at the moment. > > op5 (where I work) can provide Nagios support world wide, although not yet > with ad-hoc phone support outside european office hours (it's under way). > > Groundworks Opensource claims to work worldwide, but insofar as I know they > have no customers outside the US. > > NetWays also claim to work worldwide. I do not know if they have customers > in your timezone as I'm not that up-to-date on their customer list. > > Groundworks and NetWays work mainly on consultancy basis, tailoring > solutions for each customer. op5 work mainly as a support company, although > we do provide a wide range of addons that make our customers require very > little help with their monitoring systems. > > I've forwarded your email to our sales manager, so I'm sure someone will > contact you later on. Sorry if you didn't want that, but since you asked > for > professional support I'd be sort of neglecting my job obligations if I > didn't. Besides, with a little luck I might be sent to Australia at some > point if we team up, and free trips are always nice ;-) > > -- > Andreas Ericsson andreas.ericsson at 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. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From christian.masopust at siemens.com Thu Apr 2 08:33:30 2009 From: christian.masopust at siemens.com (Masopust, Christian) Date: Thu, 2 Apr 2009 08:33:30 +0200 Subject: problem with check_yum In-Reply-To: <4881ECF1AB752843908A20CEE07A8EB1127D70@buf-ex01.cymfony.com> References: <4881ECF1AB752843908A20CEE07A8EB1127D70@buf-ex01.cymfony.com> Message-ID: <60721B67EAF0994EAFFB561767B700140390917D@nets13ha.ww300.siemens.net> Hello Seth, I think that's not related to Nagios or check_yum. I had the same problem on one of my servers when running "yum check-update" from cmd-line. On one of my machines the "yum upgrade" was already running and the other one insisted on being up to date :-)) A few hours later and after playing around a little with repositories configured in /etc/yum.repos.d also the second machine was aware that it has to be updated.. christian -- "I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside." - Unknown Unix Jedi ________________________________ From: Seth Simmons [mailto:ssimmons at cymfony.com] Sent: Thursday, April 02, 2009 12:07 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] problem with check_yum I'm running nagios 3.0.6 and using check_yum on my red hat/centos boxes. Today I've had all my centos boxes show yum warnings about needed updates; found out centos 5.3 was released. I have one red hat 5.2 box. The problem is, check_yum within nagios shows 'o/s is up to date' as of last check (10 min ago). If I run it manually from the machine, it gives a warning that updates are needed (verified through yum and rhn). How can nagios be reporting that yum is ok when it isn't? Seth Simmons Systems Administrator TNS Cymfony 125 Walnut Street, Suite 205 Watertown, MA 02472 Phone: 617.673.6024 | Fax: 617.924.6167 www.cymfony.com | blog: www.influence2.com "harnessing influence 2.0" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 1117 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From xml.devel at gmail.com Thu Apr 2 09:11:58 2009 From: xml.devel at gmail.com (Kumar, Ashish) Date: Thu, 2 Apr 2009 12:41:58 +0530 Subject: NRPE vs local check_procs = different result? In-Reply-To: References: Message-ID: <633e02960904020011oe40bfe9m313674aedfe606e9@mail.gmail.com> > I am getting different results from NRPE than the local commands that NRPE > is supopsed to be running.? I am trying to understand if I am doing > something wrong, or if I am hitting a bug.? the process is NOT running, and > the local command verifies this.? the NRPE command from the server is saying > it IS running, though. > I have posted a similar e-mail last month with subject line "Interesting problem while trying to monitor Oracle RAC services" (http://article.gmane.org/gmane.network.nagios.user/60773) I doubt whether it's a bug since other scripts are responding properly. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cloved at gmail.com Thu Apr 2 09:52:21 2009 From: cloved at gmail.com (Lei Chen) Date: Thu, 2 Apr 2009 15:52:21 +0800 Subject: Help please - test works fine EXCEPT over NRPE??? In-Reply-To: <49D42A95.9080104@gmail.com> References: <49D3EA40.8080506@gmail.com> <1238627912.13297.7.camel@genx.localdomain> <49D42A95.9080104@gmail.com> Message-ID: use visudo command, comment the following line: Defaults requiretty and try again. 2009/4/2 Andrew Davis : > Its running under xinetd, so 'ps aux|grep nrpe' isn't showing the true user. > However, the nrpe.cfg is set to use the nobody user. I've added the nobody > user to sudo, and even tried it as the nagios user. What I see now from the > server is: > > /usr/local/nagios/libexec/check_nrpe -H atum -c check_logs > CHECK_NRPE: Socket timeout after 10 seconds. > > And in the messages file on the client: > > Apr 1 22:54:25 atum nrpe[25661]: Running command: /usr/bin/sudo > /usr/local/nagios/libexec/check_logs.pl -c /etc/nagios/check_logs_linux.cfg > Apr 1 22:54:25 atum /usr/bin/sudo: nobody : TTY=unknown ; PWD=/ ; > USER=root ; COMMAND=/usr/local/nagios/libexec/check_logs.pl -c > /etc/nagios/check_logs_linux.cfg > > A. Davis > Email: nccomp at gmail.com > > "There is no limit to what a man can accomplish > if he doesn't care who gets the credit." - Ronald Reagan > > > John Stile wrote: > > On the client, if you look at 'ps aux |grep nrpe' > what user does nrpe run as? > > You might have to configure sudo to allow that user to run the plugin. > > > On Wed, 2009-04-01 at 18:27 -0400, Andrew Davis wrote: > > > I setup the > "check_logs.pl" > (http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1752.html;d=1) > test and its config file on some local Linux servers tested via NRPE. All > other NRPE tests work fine (including some custom ones). The check_logs.pl > works fine locally, but fails over NRPE. I've enabled debugging in NRPE, but > its not telling me much more... > > Client local test: > > atum:/etc/init.d # /usr/local/nagios/libexec/check_logs.pl > -c /etc/nagios/check_logs_linux.cfg > faillog => OK; lastlog => OK; messages => OK; wtmp => OK; > > Server test to client via NRPE: > > /usr/local/nagios/libexec/check_nrpe -H atum -c check_logs > CHECK_NRPE: No output returned from daemon. > > Local log (/var/log/messages) on client when test is run from server: > > Apr 1 18:05:52 atum nrpe[1412]: Added > command[check_logs]=/usr/local/nagios/libexec/check_logs.pl > -c /etc/nagios/check_logs_linux.cfg > Apr 1 18:05:52 atum nrpe[1412]: INFO: SSL/TLS initialized. > All network traffic will be encrypted. > Apr 1 18:05:52 atum nrpe[1412]: Handling the connection... > Apr 1 18:05:52 atum nrpe[1412]: Host is asking for command > 'check_logs' to be run... > Apr 1 18:05:52 atum nrpe[1412]: Running > command: /usr/local/nagios/libexec/check_logs.pl > -c /etc/nagios/check_logs_linux.cfg > Apr 1 18:05:52 atum nrpe[1412]: Command completed with return > code 0 and output: > Apr 1 18:05:52 atum nrpe[1412]: Return Code: 0, Output: > > The response is immediate, so its not a timeout issue. Other NRPE > tests work fine: > > /usr/local/nagios/libexec/check_nrpe -H atum -c check_load > OK - load average: 0.00, 0.00, 0.00| > load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; > load15=0.000;5.000;10.000;0; > /usr/local/nagios/libexec/check_nrpe -H atum -c check_memory > CHECK_MEMORY OK - 1702M free | > free=1785552896b;210236620.8:;105118310.4: > > And on the client: > > Apr 1 18:09:25 atum nrpe[1799]: INFO: SSL/TLS initialized. > All network traffic will be encrypted. > Apr 1 18:09:25 atum nrpe[1799]: Handling the connection... > Apr 1 18:09:25 atum nrpe[1799]: Host is asking for command > 'check_load' to be run... > Apr 1 18:09:25 atum nrpe[1799]: Running > command: /usr/local/nagios/libexec/check_load -r -w 5.0 -c > 10.0 > Apr 1 18:09:25 atum nrpe[1799]: Command completed with return > code 0 and output: OK - load average: 0.00, 0.00, 0.00| > load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; > load15=0.000;5.000;10.000;0; > Apr 1 18:09:25 atum nrpe[1799]: Return Code: 0, Output: OK - > load average: 0.00, 0.00, 0.00|load1=0.000;5.000;10.000;0; > load5=0.000;5.000;10.000;0; load15=0.000;5.000;10.000;0; > Apr 1 18:09:26 atum nrpe[1802]: INFO: SSL/TLS initialized. > All network traffic will be encrypted. > Apr 1 18:09:26 atum nrpe[1802]: Handling the connection... > Apr 1 18:09:26 atum nrpe[1802]: Host is asking for command > 'check_memory' to be run... > Apr 1 18:09:26 atum nrpe[1802]: Running > command: /usr/local/nagios/libexec/check_memory.pl -w 10% -c > 5% > Apr 1 18:09:26 atum nrpe[1802]: Command completed with return > code 0 and output: CHECK_MEMORY OK - 1703M free | > free=1786134528b;210236620.8:;105118310.4: > Apr 1 18:09:26 atum nrpe[1802]: Return Code: 0, Output: > CHECK_MEMORY OK - 1703M free | > free=1786134528b;210236620.8:;105118310.4: > > Here's the local command in my /etc/nagios/nrpe.cfg: > > command[check_logs]=/usr/local/nagios/libexec/check_logs.pl > -c /etc/nagios/check_logs_linux.cfg > > And on the server (when done in services.cfg, though its failing with > manual tests too): > > define service { > hostgroup_name linux-servers > service_description LOGS > check_command check_nrpe!check_logs > max_check_attempts 3 > normal_check_interval 15 > retry_check_interval 5 > check_period 24x7 > notification_interval 120 > notification_period 24x7 > notification_options w, u, c, r, f, s > contact_groups unixadmins > } > > > Considering it fails with a manual test (command line), I doubt its my > services.cfg entry. It runs fine when called locally, so I'm thinking > it could be an issue on the client in the nrpe.cfg, but if so I can't > find it... > > I *do* see the obvious... namely, the other two tests that run over > NRPE have something after "Output:" and the check_logs.pl does not. > However, called at the command line it does... which is what stumps > me. > > What would cause the test to run fine locally, but return nothing when > called via NRPE??? (BTW: I'm running 3.x with the latest set of > plugins and NRPE). > > One more thing: I know *someone* is going to ask why I don't just use > the built-in check_log test. The answer is that check_logs.pl allows > for multiple files and pattern matches and a "seek" file to speed > things up. > -- > > > A. Davis > Email: nccomp at gmail.com > > "There is no limit to what a man can accomplish > if he doesn't care who gets the credit." - Ronald Reagan > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 mailing list > Nagios-users at 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 > -- Thanks, Chenlei & ??++ MSN Messenger: chnl at 163.com ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cloved at gmail.com Thu Apr 2 10:16:25 2009 From: cloved at gmail.com (Lei Chen) Date: Thu, 2 Apr 2009 16:16:25 +0800 Subject: NDO update delay In-Reply-To: References: Message-ID: Good luck. If any problem, reply to the list, or to me :) 2009/4/2 Rodney Ramos : > Hi Lei. > > I?m using MyISAM engine. > > Thanks, > Rodney. > > On Tue, Mar 31, 2009 at 4:59 AM, lei chen wrote: >> >> The primary reason maybe the low performance in your mysql server with >> innodb engine. >> >> Two solutions: >> 1. tuning your my.cnf to improve the mysql performance; >> 2. use MyISAM instead of InnoDB engine in your NODUtils db; >> >> 2009/3/26 Rodney Ramos : >> > Hi everybody. >> > >> > I?ve installed NDOUtils (nodutils-1.4b7) whith Nagios (nagios-3.0.6) and >> > it?s working. >> > >> > However I?ve noticed that it?s taking more than 30 minutes to update the >> > MySQL tables. >> > >> > I?ve?detected the problem?making a query on the field "last_check" on >> > "nagios_hoststatus" table. >> > >> > Can anyone help me? There is a parameter to make?the update process >> > faster? >> > >> > Thanks, >> > Rodney. >> > >> > ------------------------------------------------------------------------------ >> > >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at 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 >> > >> >> >> >> -- >> Thanks, >> Chenlei & ??++ >> MSN Messenger: chnl at 163.com > > -- Thanks, Chenlei & ??++ MSN Messenger: chnl at 163.com ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From benamar.mohamed at free.fr Thu Apr 2 11:38:03 2009 From: benamar.mohamed at free.fr (benamar.mohamed at free.fr) Date: Thu, 02 Apr 2009 11:38:03 +0200 Subject: configure Nagios to monitor the temperature of the server room In-Reply-To: References: Message-ID: <1238665083.49d4877b99e4a@imp.free.fr> Hello, Thank you for your answer, but is it possible to monitor the temperature of the server room by NRPE not SNMP? Best regards Selon jmoseley at corp.xanadoo.com: > That all depends on how the temperature can be obtained from the > temperature probe. Most likely, the temperature would be obtained via > SNMP. If that's the case, use check_snmp along with appropriate warning > and critical thresholds. > > > James Moseley > > > > > > "ben amar" > free.fr> To > 04/01/2009 03:50 > > PM cc > > Subject > [Nagios-users] configure Nagios to > monitor the temperature of the > server room > > > > > > > > > > > Hello, > > How to configure Nagios to monitor the temperature of the server room? > What plugin? > > Best regards > > > Bonjour, > > Comment configurer nagios pour superviser la temp?rature de la salle > serveur? > Avec quel plugin? > > Cordialement > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 mailing list Nagios-users at 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 From assaf.flatto at ssp-intl.com Thu Apr 2 12:36:24 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Thu, 2 Apr 2009 11:36:24 +0100 Subject: Dependency and performance question In-Reply-To: <6db4a4200904010807p3824655bx7c9a9d9943a020e3@mail.gmail.com> References: <6db4a4200904010807p3824655bx7c9a9d9943a020e3@mail.gmail.com> Message-ID: <200904021136.24739.assaf.flatto@ssp-intl.com> On Wednesday 01 April 2009 16:07:49 shadih rahman wrote: > Hi, > I am running nagios on a 2.5 GHZ 4-core 64 bit machine running RHEL5. I > am seeing some performance issue in Nagios. I am doing failover setup. I > have another similar machine which has identical config but not doing any > active checks. My master machine sends check result using NSCA. Now I can > not determine why my master machine is lacking in performace. I will paste > my performance data below. I also have another question about dependency. > > 1) if a HOST is down, does the service checks still happens? I would like > to setup a dependency where if host is down no service check should take > place. How do I go about setting this up. An exapmple will be much > appreciated. when a host is down - ping will not respond , so this is a basic assumption you can work from : define servicedependency{ host_name host service_description PING dependent_host_name host dependent_service_description load,disk,.... execution_failure_criteria c,u,w notification_failure_criteria c,u,w } Also i advise you to read this : http://nagios.telecity1.uk.ssp/docs/dependencies.html Be advised though a large number of dependencies will increase the load on the machine and will cause some preformance change. -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From exon at op5.com Thu Apr 2 12:59:33 2009 From: exon at op5.com (Andreas Ericsson) Date: Thu, 02 Apr 2009 12:59:33 +0200 Subject: configure Nagios to monitor the temperature of the server room In-Reply-To: <1238665083.49d4877b99e4a@imp.free.fr> References: <1238665083.49d4877b99e4a@imp.free.fr> Message-ID: <49D49A95.2080000@op5.se> benamar.mohamed at free.fr wrote: > Hello, > > Thank you for your answer, but is it possible to monitor the temperature of the > server room by NRPE not SNMP? > You need a device that can actually measure the room temperature first. Such devices rarely have a fully fledged OS with compiler etc installed on them. Until you grasp that rather important fact, you're far beyond help I'm afraid. -- Andreas Ericsson andreas.ericsson at 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. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jim at jimavery.me.uk Thu Apr 2 13:56:33 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 2 Apr 2009 12:56:33 +0100 Subject: configure Nagios to monitor the temperature of the server room In-Reply-To: <-8863442256670947533@unknownmsgid> References: <-8863442256670947533@unknownmsgid> Message-ID: <765d77c80904020456l708e2917y1c0513d0170e3f25@mail.gmail.com> 2009/4/1 ben amar : > How to configure Nagios to monitor the temperature of the server room? > What plugin? I can't say I've tried it myself, but this one is advertised on www.nagios.org :- http://www.nagios.org/products/environmental/esensors/em01b.php hth, Jim ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dit.dash at gmail.com Thu Apr 2 14:54:19 2009 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Thu, 2 Apr 2009 08:54:19 -0400 Subject: configure Nagios to monitor the temperature of the server room In-Reply-To: <765d77c80904020456l708e2917y1c0513d0170e3f25@mail.gmail.com> References: <-8863442256670947533@unknownmsgid> <765d77c80904020456l708e2917y1c0513d0170e3f25@mail.gmail.com> Message-ID: <7f62d2420904020554v6a3f15d0wc3c2c03946cf56f8@mail.gmail.com> We've had great success with devices from avtech eg http://avtech.com/LP/LP_RMA_1.htm Added benefit; they also sell industrial grade light bars (sorta like traffic lights) that can be triggered by nagios to show overall status http://avtech.com/Products/Environment_Monitors/Room_Alert_Signal_Tower_A.htm On Thu, Apr 2, 2009 at 7:56 AM, Jim Avery wrote: > 2009/4/1 ben amar : >> How to configure Nagios to monitor the temperature of the server room? >> What plugin? > > I can't say I've tried it myself, but this one is advertised on > www.nagios.org :- > > http://www.nagios.org/products/environmental/esensors/em01b.php > > hth, > > Jim > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 mailing list Nagios-users at 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 From AAlexiou at targetsite.com Thu Apr 2 15:28:47 2009 From: AAlexiou at targetsite.com (Alex Alexiou) Date: Thu, 2 Apr 2009 09:28:47 -0400 Subject: unable to use check_http with oracle application server Message-ID: <6FC687D54B43E4448D03E1291F260673013F9C2F@tgt-exch1.blackbaud.com> Hi everyone, I've been using the check_http plugin to scan websites hosted by Oracle Application Server. We recently changed OAS to use port 443 and SSLv3 only, and now check_http can't check the site. The plugin returns this: CRITICAL - Cannot make SSL connection GET / HTTP/1.0 User-Agent: check_http/1.99 (nagios-plugins 1.4.6) Error on receive On OAS, the error logs show this: [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL call to NZ function nzos_Handshake failed with error 28858 [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL protocol error [Hint: the client probably speaks HTTPS over HTTP protocol] I'm talking to Oracle about it right now, but they're not sure what's going on here. I haven't had any problems with the plugin until now, so I think it's really on their end, but have any of you ever seen this before? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jmoseley at corp.xanadoo.com Thu Apr 2 15:57:58 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Thu, 2 Apr 2009 08:57:58 -0500 Subject: configure Nagios to monitor the temperature of the server room In-Reply-To: <1238665083.49d4877b99e4a@imp.free.fr> References: <1238665083.49d4877b99e4a@imp.free.fr> Message-ID: benamar.mohamed at free.fr wrote: >Hello, > >Thank you for your answer, but is it possible to monitor the temperature of the >server room by NRPE not SNMP? > >Best regards As Andreas said, you are unlikely to find a temperature probe that has an OS capable of installing/compiling/running the NRPE daemon. Therefore, you will have to find a device that you can query by SNMP (or some other means) to obtain the temperature reading. APC makes environmental monitors capable of this. I'm sure there are others... James ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp-intl.com Thu Apr 2 15:58:21 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Thu, 2 Apr 2009 14:58:21 +0100 Subject: unable to use check_http with oracle application server In-Reply-To: <6FC687D54B43E4448D03E1291F260673013F9C2F@tgt-exch1.blackbaud.com> References: <6FC687D54B43E4448D03E1291F260673013F9C2F@tgt-exch1.blackbaud.com> Message-ID: <200904021458.21596.assaf.flatto@ssp-intl.com> can you post your command syntax ? it will help knwoing how you are preforming the test . Assaf On Thursday 02 April 2009 14:28:47 Alex Alexiou wrote: > Hi everyone, > > > > I've been using the check_http plugin to scan websites hosted by Oracle > Application Server. We recently changed OAS to use port 443 and SSLv3 > only, and now check_http can't check the site. The plugin returns this: > > > > CRITICAL - Cannot make SSL connection > > GET / HTTP/1.0 > > User-Agent: check_http/1.99 (nagios-plugins 1.4.6) > > > > Error on receive > > > > > > On OAS, the error logs show this: > > > > [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL call to NZ function > nzos_Handshake failed with error 28858 > > [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL protocol error [Hint: > the client probably speaks HTTPS over HTTP protocol] > > > > I'm talking to Oracle about it right now, but they're not sure what's > going on here. I haven't had any problems with the plugin until now, so > I think it's really on their end, but have any of you ever seen this > before? -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From matt at frozenatom.com Thu Apr 2 16:21:12 2009 From: matt at frozenatom.com (Matt Nelson) Date: Thu, 2 Apr 2009 08:21:12 -0600 Subject: check_command instant feedback Message-ID: <148f6bb30904020721m1d3816f8u8af2db57af03b183@mail.gmail.com> Hello, I'd like to be able to run a check_command from the command line and have it return feedback immediately (versus a forced-check from the webui). Is this possible? The reason for this is that I'm trying to throw together a simple web interface and when the user clicks 'recheck' a window will pop up with the results of that particular service's check_command. I thought about parsing the commands.cfg file for the command and then looping through the $ARGX$ fields and plugging in the correct values - but this seems extremely complicated (what with dealing with commands with variable-length fields, user macros, etc.). Any help is appreciated, Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From AAlexiou at targetsite.com Thu Apr 2 17:48:50 2009 From: AAlexiou at targetsite.com (Alex Alexiou) Date: Thu, 2 Apr 2009 11:48:50 -0400 Subject: unable to use check_http with oracle applicationserver In-Reply-To: <200904021458.21596.assaf.flatto@ssp-intl.com> References: <6FC687D54B43E4448D03E1291F260673013F9C2F@tgt-exch1.blackbaud.com> <200904021458.21596.assaf.flatto@ssp-intl.com> Message-ID: <6FC687D54B43E4448D03E1291F260673013F9D4D@tgt-exch1.blackbaud.com> Sure. I've removed the actual hostname, but the rest is the same: define command{ command_name check_oas command_line $USER1$/check_http -H -u /forms90/f90servlet?config=clientname -p 443 -S } -----Original Message----- From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] Sent: Thursday, April 02, 2009 9:58 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] unable to use check_http with oracle applicationserver can you post your command syntax ? it will help knwoing how you are preforming the test . Assaf On Thursday 02 April 2009 14:28:47 Alex Alexiou wrote: > Hi everyone, > > > > I've been using the check_http plugin to scan websites hosted by Oracle > Application Server. We recently changed OAS to use port 443 and SSLv3 > only, and now check_http can't check the site. The plugin returns this: > > > > CRITICAL - Cannot make SSL connection > > GET / HTTP/1.0 > > User-Agent: check_http/1.99 (nagios-plugins 1.4.6) > > > > Error on receive > > > > > > On OAS, the error logs show this: > > > > [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL call to NZ function > nzos_Handshake failed with error 28858 > > [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL protocol error [Hint: > the client probably speaks HTTPS over HTTP protocol] > > > > I'm talking to Oracle about it right now, but they're not sure what's > going on here. I haven't had any problems with the plugin until now, so > I think it's really on their end, but have any of you ever seen this > before? -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------ ------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 mailing list Nagios-users at 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 From shadhin71 at gmail.com Thu Apr 2 18:00:22 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Thu, 2 Apr 2009 12:00:22 -0400 Subject: check_nrpe help with multipple argument Message-ID: <6db4a4200904020900t58022fc9q95f4bee1f0c895d0@mail.gmail.com> I am trying to execute a check_nrpe with multiple argument and it is not working. I have the following definition in my nrpe.cfg command[check_users_x64]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 command[check_load_x64]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[check_hda1_x64]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/hda1 command[check_zombie_procs_x64]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z command[check_total_procs_x64]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200 command[check_disk_x64]=/usr/lib64/nagios/plugins/check_disk -w 15% -c 10% -p $ARG1$ command[check_disk_excluding_x64]=/usr/lib64/nagios/plugins/check_disk -w 15% -c 10% -p $ARG1$ -x $ARG2$ command[check_process_x64]=/usr/lib64/nagios/plugins/check_proc -w $ARG1$ -c $ARG2$ -C $ARG3$ command[restart-remote_x64]=/usr/lib64/nagios/eventhandlers/remote-restart.sh $ARG1$ $ARG2$ $ARG3$ $ARG4$ when I try to execute the following from command line I get an error. -bash-3.2$ ./check_nrpe -H localhost -c check_process_x64 -a 10 10 nagios NRPE: Unable to read output however single argument works fine. -bash-3.2$ ./check_nrpe -H localhost -c check_disk_x64 -a /var DISK OK - free space: /var 6674 MB (72% inode=99%);| /var=2513MB;8234;8719;0;9688 Please advise on this. Thanks -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp-intl.com Thu Apr 2 18:13:13 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Thu, 2 Apr 2009 17:13:13 +0100 Subject: check_nrpe help with multipple argument In-Reply-To: <6db4a4200904020900t58022fc9q95f4bee1f0c895d0@mail.gmail.com> References: <6db4a4200904020900t58022fc9q95f4bee1f0c895d0@mail.gmail.com> Message-ID: <200904021713.13419.assaf.flatto@ssp-intl.com> On Thursday 02 April 2009 17:00:22 shadih rahman wrote: > I am trying to execute a check_nrpe with multiple argument and it is not > working. I have the following definition in my nrpe.cfg > > command[check_users_x64]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 > command[check_load_x64]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c > 30,25,20 > command[check_hda1_x64]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% > -p /dev/hda1 > command[check_zombie_procs_x64]=/usr/lib64/nagios/plugins/check_procs -w 5 > -c 10 -s Z > command[check_total_procs_x64]=/usr/lib64/nagios/plugins/check_procs -w 150 > -c 200 > command[check_disk_x64]=/usr/lib64/nagios/plugins/check_disk -w 15% -c 10% > -p $ARG1$ > command[check_disk_excluding_x64]=/usr/lib64/nagios/plugins/check_disk -w > 15% -c 10% -p $ARG1$ -x $ARG2$ > command[check_process_x64]=/usr/lib64/nagios/plugins/check_proc -w $ARG1$ > -c $ARG2$ -C $ARG3$ > command[restart-remote_x64]=/usr/lib64/nagios/eventhandlers/remote-restart. >sh $ARG1$ $ARG2$ $ARG3$ $ARG4$ > > > when I try to execute the following from command line I get an error. > > -bash-3.2$ ./check_nrpe -H localhost -c check_process_x64 -a 10 10 nagios > NRPE: Unable to read output > > > however single argument works fine. > > -bash-3.2$ ./check_nrpe -H localhost -c check_disk_x64 -a /var > DISK OK - free space: /var 6674 MB (72% inode=99%);| > /var=2513MB;8234;8719;0;9688 > > Please advise on this. Thanks you are trying to compare output and behaviour of two different commands . check_proc and check_disk have different parameters and argument list run each with the -h and read more about how to use them. Assaf -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Apr 2 18:16:42 2009 From: marc at ena.com (Marc Powell) Date: Thu, 2 Apr 2009 11:16:42 -0500 Subject: unable to use check_http with oracle application server In-Reply-To: <6FC687D54B43E4448D03E1291F260673013F9C2F@tgt-exch1.blackbaud.com> References: <6FC687D54B43E4448D03E1291F260673013F9C2F@tgt-exch1.blackbaud.com> Message-ID: <50C11871-99E2-41E0-92C6-F196DBD1ADC0@ena.com> On Apr 2, 2009, at 8:28 AM, Alex Alexiou wrote: > On OAS, the error logs show this: > > [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL call to NZ function > nzos_Handshake failed with error 28858 Google does have hits on this specific error message. It's about 2.5 years old but may be the version you are using... http://kr.forums.oracle.com/forums/thread.jspa?threadID=73535&tstart=255 "I got this error in 10.1.2.0.2 and opened an SR. I was told that the problem is due to 'Internal bug:3824477'." > [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL protocol error > [Hint: the client probably speaks HTTPS over HTTP protocol] This tells me that check_http is speaking HTTPS, but :443 on your server is not. :443 is expecting standard HTTP protocol. Probably because of the broken SSL call. -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Apr 2 18:23:44 2009 From: marc at ena.com (Marc Powell) Date: Thu, 2 Apr 2009 11:23:44 -0500 Subject: check_nrpe help with multipple argument In-Reply-To: <6db4a4200904020900t58022fc9q95f4bee1f0c895d0@mail.gmail.com> References: <6db4a4200904020900t58022fc9q95f4bee1f0c895d0@mail.gmail.com> Message-ID: On Apr 2, 2009, at 11:00 AM, shadih rahman wrote: > command[check_process_x64]=/usr/lib64/nagios/plugins/check_proc -w > $ARG1$ -c $ARG2$ -C $ARG3$ Do you mean 'check_procs'? -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jboris at adphila.org Thu Apr 2 19:39:03 2009 From: jboris at adphila.org (John BORIS) Date: Thu, 02 Apr 2009 13:39:03 -0400 Subject: Help with installation past the first host/switch/service Message-ID: <49D4BFF7.2594.002B.0@adphila.org> I have nagios 3.x setup and installed on Fedora 10. Works fine but I only have 1 server, 1 switch, 1 printer, 1 windows server setup. How do you add more of the same type? The instructions (all that I could find) say "Do this for the first one" but then fall silent on what to do with the second, third etc. The same thing goes for the switches and any other device or "host" Any insight would be appreciated even a good pointer to a How-To. All of my searches have failed to provide any insight into this. TIA John J. Boris, Sr. JEN-A-SyS Administrator Archdiocese of Philadelphia "Remember! That light at the end of the tunnel Just might be the headlight of an oncoming train!" ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From renatokrause at gmail.com Thu Apr 2 20:02:31 2009 From: renatokrause at gmail.com (Renato Krause) Date: Thu, 2 Apr 2009 15:02:31 -0300 Subject: Each switch in a file .cfg Message-ID: <2f97bf3f0904021102u6222c38bo5bb041b427ad90d@mail.gmail.com> I started one job with a NAGIOS at a big network. My first ideia was monitoring all switchs on this network. I put all switch configuration in the file: /usr/local/nagios/etc/objects/switch.cfg I hope that I can create configuration files to each switch, one file per switch, and make a reference to switchs on this file: /usr/local/nagios/etc/nagios.cfg. In this file i uncomment a line /usr/local/nagios/etc/objects/switch.cfg to make use actual configuration. I tried made a reference to other files, that i had created but the Nagios don?t restarted with other references in /usr/local/nagios/etc/nagios.cfg. Thanks for all, Renato Krause ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Apr 2 20:13:21 2009 From: marc at ena.com (Marc Powell) Date: Thu, 2 Apr 2009 13:13:21 -0500 Subject: Each switch in a file .cfg In-Reply-To: <2f97bf3f0904021102u6222c38bo5bb041b427ad90d@mail.gmail.com> References: <2f97bf3f0904021102u6222c38bo5bb041b427ad90d@mail.gmail.com> Message-ID: On Apr 2, 2009, at 1:02 PM, Renato Krause wrote: > I started one job with a NAGIOS at a big network. My first ideia was > monitoring all switchs on this network. > I put all switch configuration in the file: > /usr/local/nagios/etc/objects/switch.cfg > I hope that I can create configuration files to each switch, one file > per switch, and make a reference to switchs on this file: > /usr/local/nagios/etc/nagios.cfg. Yes, you can, using either cfg_file directives (one per switch cfg file), or better yet, one cfg_dir directive pointing to the directory with all the switch cfg files. > In this file i uncomment a line > /usr/local/nagios/etc/objects/switch.cfg to make use actual > configuration. I tried made a reference to other files, that i had > created but the Nagios don?t restarted with other references in > /usr/local/nagios/etc/nagios.cfg. If you're reporting a problem here, it's necessary to include the actual error nagios is reporting. You can use '/path/to/nagios -v / path/to/nagios.cfg' for more verbose config checking... -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From renatokrause at gmail.com Thu Apr 2 20:36:20 2009 From: renatokrause at gmail.com (Renato Krause) Date: Thu, 2 Apr 2009 15:36:20 -0300 Subject: Fwd: Each switch in a file .cfg In-Reply-To: <2f97bf3f0904021135x1afdd076i134bd083b0ffff2f@mail.gmail.com> References: <2f97bf3f0904021102u6222c38bo5bb041b427ad90d@mail.gmail.com> <2f97bf3f0904021135x1afdd076i134bd083b0ffff2f@mail.gmail.com> Message-ID: <2f97bf3f0904021136l287bede9m6db4cc028dad6eb1@mail.gmail.com> Sorry, i forgot to sendo for the list. Renato Krause ---------- Forwarded message ---------- From: Renato Krause Date: Thu, Apr 2, 2009 at 15:35 Subject: Re: [Nagios-users] Each switch in a file .cfg To: Marc Powell Marc, first thank you for help me. I?m creating a script in python to generate .cfg to my switchs now. Son i will implement you solution. I only like know how reference a directory with all my switchs files. Thank for all one more time, Renato Krause On Thu, Apr 2, 2009 at 15:13, Marc Powell wrote: > > On Apr 2, 2009, at 1:02 PM, Renato Krause wrote: > >> I started one job with a NAGIOS at a big network. My first ideia was >> monitoring all switchs on this network. >> I put all switch configuration in the file: >> /usr/local/nagios/etc/objects/switch.cfg >> I hope that I can create configuration files to each switch, one file >> per switch, and make a reference ?to switchs on this file: >> /usr/local/nagios/etc/nagios.cfg. > > Yes, you can, using either cfg_file directives (one per switch cfg > file), or better yet, one cfg_dir directive pointing to the directory > with all the switch cfg files. > >> In this file i ?uncomment a line >> /usr/local/nagios/etc/objects/switch.cfg to make use actual >> configuration. I tried made a reference to other files, that i had >> created but the Nagios don?t restarted with other references in >> /usr/local/nagios/etc/nagios.cfg. > > If you're reporting a problem here, it's necessary to include the > actual error nagios is reporting. You can use '/path/to/nagios -v / > path/to/nagios.cfg' for more verbose config checking... > > -- > Marc > > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 mailing list Nagios-users at 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 From patrick.morris at hp.com Thu Apr 2 20:41:34 2009 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 2 Apr 2009 11:41:34 -0700 Subject: Fwd: Each switch in a file .cfg In-Reply-To: <2f97bf3f0904021136l287bede9m6db4cc028dad6eb1@mail.gmail.com> References: <2f97bf3f0904021102u6222c38bo5bb041b427ad90d@mail.gmail.com> <2f97bf3f0904021135x1afdd076i134bd083b0ffff2f@mail.gmail.com> <2f97bf3f0904021136l287bede9m6db4cc028dad6eb1@mail.gmail.com> Message-ID: <20090402184134.GA30298@bakgwai.americas.hpqcorp.net> http://nagios.sourceforge.net/docs/3_0/configmain.html#cfg_dir On Thu, 02 Apr 2009, Renato Krause wrote: > Sorry, i forgot to sendo for the list. > Renato Krause > > > > > ---------- Forwarded message ---------- > From: Renato Krause > Date: Thu, Apr 2, 2009 at 15:35 > Subject: Re: [Nagios-users] Each switch in a file .cfg > To: Marc Powell > > > Marc, first thank you for help me. I?m creating a script in python to > generate .cfg to my switchs now. Son i will implement you solution. I > only like know how reference a directory with all my switchs files. > Thank for all one more time, > Renato Krause > > > > On Thu, Apr 2, 2009 at 15:13, Marc Powell wrote: > > > > On Apr 2, 2009, at 1:02 PM, Renato Krause wrote: > > > >> I started one job with a NAGIOS at a big network. My first ideia was > >> monitoring all switchs on this network. > >> I put all switch configuration in the file: > >> /usr/local/nagios/etc/objects/switch.cfg > >> I hope that I can create configuration files to each switch, one file > >> per switch, and make a reference ?to switchs on this file: > >> /usr/local/nagios/etc/nagios.cfg. > > > > Yes, you can, using either cfg_file directives (one per switch cfg > > file), or better yet, one cfg_dir directive pointing to the directory > > with all the switch cfg files. > > > >> In this file i ?uncomment a line > >> /usr/local/nagios/etc/objects/switch.cfg to make use actual > >> configuration. I tried made a reference to other files, that i had > >> created but the Nagios don?t restarted with other references in > >> /usr/local/nagios/etc/nagios.cfg. > > > > If you're reporting a problem here, it's necessary to include the > > actual error nagios is reporting. You can use '/path/to/nagios -v / > > path/to/nagios.cfg' for more verbose config checking... > > > > -- > > Marc > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 mailing list > Nagios-users at 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 mailing list Nagios-users at 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 From jcall at verio.net Thu Apr 2 21:21:48 2009 From: jcall at verio.net (Jonathan Call) Date: Thu, 2 Apr 2009 15:21:48 -0400 Subject: nagios 3.0.3 on FreeBSD defunct process In-Reply-To: References: Message-ID: <04F3233F47E2714CB7431AE913E57E7703400C4D@IAD-WPRD-XCHB02.corp.verio.net> That sounds very familiar to the locking/contention issue FreeBSD 7.x has with Nagios 2.x. It has to do with how Nagios and FreeBSD handle threading. Unfortunately I don?t have any answers on how to fix it. I?ve had to leave my Nagios deployment on FreeBSD 6/Nagios 2 for the same reason: anything newer would lock up due to defunct Nagios processes. Jonathan From: Gian Paolo Buono [mailto:gpbuono at gmail.com] Sent: Tuesday, March 31, 2009 5:45 AM To: nagios-users at lists.sourceforge.net; lei chen Subject: Re: [Nagios-users] nagios 3.0.3 on FreeBSD defunct process Hi, I haven't NDOUtils and enable_embedded_perl is disable (enable_embedded_perl=0) :(.. any idea ? bye... 2009/3/31 lei chen Are you use NDOUtils here? Or use enable_embedded_perl option? 2009/3/27 Gian Paolo Buono : > Hi, Ihave a server with FreeBSD 7.1-RELEASE-p2 with 950 host and 4900 > service, Nagios 3.0.3 > > Sometimes nagios don't update the status and when i try to stop nagios don't > dies, i try to kill -9 the process but don't dies, there are many defunct > process of nagios so I have to reboot the server. I haven't any log. > > Any idea ? thank you for the support bye.. > > ------------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Thanks, Chenlei & ??++ MSN Messenger: chnl at 163.com 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From AAlexiou at targetsite.com Thu Apr 2 21:51:03 2009 From: AAlexiou at targetsite.com (Alex Alexiou) Date: Thu, 2 Apr 2009 15:51:03 -0400 Subject: unable to use check_http with oracle applicationserver In-Reply-To: <50C11871-99E2-41E0-92C6-F196DBD1ADC0@ena.com> References: <6FC687D54B43E4448D03E1291F260673013F9C2F@tgt-exch1.blackbaud.com> <50C11871-99E2-41E0-92C6-F196DBD1ADC0@ena.com> Message-ID: <6FC687D54B43E4448D03E1291F260673013F9F0B@tgt-exch1.blackbaud.com> Yeah I saw that, which is why I opened the ticket with Oracle. When I remove the -S switch, it just reports that it gets no data back from the server. And I know for a fact it actually is using SSL. I don't suppose there's a known issue with SSLv3 and the check_http plugin? -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Thursday, April 02, 2009 12:17 PM To: Nagios Users Subject: Re: [Nagios-users] unable to use check_http with oracle applicationserver On Apr 2, 2009, at 8:28 AM, Alex Alexiou wrote: > On OAS, the error logs show this: > > [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL call to NZ function > nzos_Handshake failed with error 28858 Google does have hits on this specific error message. It's about 2.5 years old but may be the version you are using... http://kr.forums.oracle.com/forums/thread.jspa?threadID=73535&tstart=255 "I got this error in 10.1.2.0.2 and opened an SR. I was told that the problem is due to 'Internal bug:3824477'." > [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL protocol error > [Hint: the client probably speaks HTTPS over HTTP protocol] This tells me that check_http is speaking HTTPS, but :443 on your server is not. :443 is expecting standard HTTP protocol. Probably because of the broken SSL call. -- Marc ------------------------------------------------------------------------ ------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 mailing list Nagios-users at 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 From naloi at experisdatacenters.com Thu Apr 2 22:11:05 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Thu, 02 Apr 2009 20:11:05 +0000 Subject: Help - minor issue (host detail vs. service detail) Message-ID: Hello, I am new to Nagios and this users list so forgive me if I am doing this incorrectly I just recently added a bunch of new hosts to our nagios config everthing seems to be working great :-) Except... when I display the Host Detail Page under the column Last Check it says NA and there is no Status Information BUT when I display the Services Detail Page the information for Last Check and Status Information is displayed for every host defined! I have looked & looked but am unsure where (which config file to check) or why this is the case this is only happening for my newly defined hosts the old hosts are each defined in their own .cfg files below are the config files I thought might be helpful... [root at nagios nagios]# more hosts.cfg define host{ host_name win2k3 alias Windows Server address 10.1.102.22 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name security_server_214 alias security Panel 1 address 65.205.26.214 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name security_server_215 alias security Panel 2 address 65.205.26.215 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name security_server_216 alias security Panel 3 address 65.205.26.216 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name security_server alias security server address 65.205.26.207 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name carrier_208 alias carrier control box rm15 address 65.205.26.208 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name carrier_209 alias carrier control box 2 rm15 address 65.205.26.209 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name carrier_210 alias carrier server address 65.205.26.210 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } [root at nagios nagios]# [root at nagios servers]# ls -lat total 936 drwxr-xr-x 2 root root 4096 2009-04-02 15:45 . -rw-r--r-- 1 root root 2301 2009-04-02 15:45 00_services.cfg drwxr-xr-x 11 root root 4096 2009-04-02 15:27 .. -rw-r--r-- 1 root root 932438 2009-04-02 13:25 mibwalk_win2k3 -rw-r--r-- 1 root root 135 2009-04-02 12:52 00_groups.cfg -rw-r--r-- 1 root root 1125 2008-07-26 12:54 01_localhost.cfg [root at nagios servers]# more 01_localhost.cfg define host{ use linux-server host_name localhost alias localhost address 127.0.0.1 } #Extra tests... define service{ use local-service host_name localhost service_description ssh check_command check_ssh_4 } thanks! Natalie Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:naloi at experisdatacenters.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Apr 2 22:21:35 2009 From: marc at ena.com (Marc Powell) Date: Thu, 2 Apr 2009 15:21:35 -0500 Subject: unable to use check_http with oracle applicationserver In-Reply-To: <6FC687D54B43E4448D03E1291F260673013F9F0B@tgt-exch1.blackbaud.com> References: <6FC687D54B43E4448D03E1291F260673013F9C2F@tgt-exch1.blackbaud.com> <50C11871-99E2-41E0-92C6-F196DBD1ADC0@ena.com> <6FC687D54B43E4448D03E1291F260673013F9F0B@tgt-exch1.blackbaud.com> Message-ID: On Apr 2, 2009, at 2:51 PM, Alex Alexiou wrote: > Yeah I saw that, which is why I opened the ticket with Oracle. When I > remove the -S switch, it just reports that it gets no data back from > the > server. And I know for a fact it actually is using SSL. I don't > suppose > there's a known issue with SSLv3 and the check_http plugin? None that I know of but the nagiosplug-users or -devel list might be a better resource. I don't see anything interesting in their tracker -- http://sourceforge.net/search/?group_artifact_id=397597&type_of_search=artifact&group_id=29880&words=ssl -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stevenshepherd at gmail.com Thu Apr 2 22:25:42 2009 From: stevenshepherd at gmail.com (Steve Shepherd) Date: Thu, 2 Apr 2009 16:25:42 -0400 Subject: NRPE Issue Message-ID: <309671b0904021325i50c4414dwe933a776cb52e2c0@mail.gmail.com> I'm trying to configure a service check via NRPE and having some difficulty. >From the monitoring server, I can successfully execute NRPE via CLI: [root at mon01 etc]# /usr/local/nagios/libexec/check_nrpe -H 10.140.122.51 -c check_prov FILE_AGE OK: /var/log/prov.log is 4 seconds old and 8033817 bytes All my hosts are in /usr/local/nagios/etc/hosts, with service_checks defined in them. I defined this NRPE check as: define service{ use generic-service host_name servername.serverdomain service_description check_prov is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_prov } within nagios.cfg, I have a commands.cfg file defined: cfg_file=/usr/local/nagios/etc/objects/commands.cfg within commands.cfg: # 'check_ccprov' command definition define command{ command_name check_prov command_line $USER1$/check_nrpe -H $HOSTADDRESS -c check_prov } Nagios is giving me an error: Checking services... Error: Service check command 'check_nrpe' specified in service 'check_ccprov' for host 'servername.serverdomain' not defined anywhere! But it is defined?! From the documentation the check_command should be "check_nrpe!$service" within service definition? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stevenshepherd at gmail.com Thu Apr 2 22:27:54 2009 From: stevenshepherd at gmail.com (Steve Shepherd) Date: Thu, 2 Apr 2009 16:27:54 -0400 Subject: NRPE Issue Message-ID: <309671b0904021327y5fc5c7b4q9a180113f023d237@mail.gmail.com> I'm trying to configure a service check via NRPE and having some difficulty. >From the monitoring server, I can successfully execute NRPE via CLI: [root at mon01 etc]# /usr/local/nagios/libexec/check_nrpe -H 10.140.122.51 -c check_prov FILE_AGE OK: /var/log/prov.log is 4 seconds old and 8033817 bytes All my hosts are in /usr/local/nagios/etc/hosts, with service_checks defined in them. I defined this NRPE check as: define service{ use generic-service host_name servername.serverdomain service_description check_prov is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_prov } within nagios.cfg, I have a commands.cfg file defined: cfg_file=/usr/local/nagios/etc/objects/commands.cfg within commands.cfg: # 'check_ccprov' command definition define command{ command_name check_prov command_line $USER1$/check_nrpe -H $HOSTADDRESS -c check_prov } Nagios is giving me an error: Checking services... Error: Service check command 'check_nrpe' specified in service 'check_ccprov' for host 'servername.serverdomain' not defined anywhere! But it is defined?! From the documentation the check_command should be "check_nrpe!$service" within service definition? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Apr 2 22:27:44 2009 From: marc at ena.com (Marc Powell) Date: Thu, 2 Apr 2009 15:27:44 -0500 Subject: Help - minor issue (host detail vs. service detail) In-Reply-To: References: Message-ID: On Apr 2, 2009, at 3:11 PM, Natalie Aloi wrote: > Hello, > > I am new to Nagios and this users list so forgive me if I am doing > this incorrectly > > I just recently added a bunch of new hosts to our nagios config > everthing seems to be working great :-) > > Except... > when I display the Host Detail Page under the column Last Check it > says NA and there is no Status Information BUT > when I display the Services Detail Page the information for Last > Check and Status Information is displayed for every host defined! If I understand what you're saying correctly, this is OK and expected. Based on your provided configuration, the status of the host will not be checked until a service on that host fails. The logic being that if a service is up on the host, the host itself must be up so there's no need to check it; just assume it's OK. Once a service failure happens, nagios then checks the host to make sure it wasn't the cause of the service failure and it's status, and Status Information will be updated appropriately. -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jim at jimavery.me.uk Thu Apr 2 22:45:50 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 2 Apr 2009 21:45:50 +0100 Subject: Help with installation past the first host/switch/service In-Reply-To: <49D4BFF7.2594.002B.0@adphila.org> References: <49D4BFF7.2594.002B.0@adphila.org> Message-ID: <765d77c80904021345y76cd023l42d0f837393f0945@mail.gmail.com> 2009/4/2 John BORIS : > I have nagios 3.x setup and installed on Fedora 10. Works fine but I > only have 1 server, 1 switch, 1 printer, 1 windows server setup. How do > you add more of the same type? The instructions (all that I could find) > say "Do this for the first one" but then fall silent on what to do with > the second, third etc. The same thing goes for the switches and any > other device or "host" ?Any insight would be appreciated even a good > pointer to a How-To. ?All of my searches have failed to provide any > insight into this. The 2nd, 3rd and so on are similar to the 1st except the host_name, alias and address will be different for each. A good way of getting a head start learning how to configure Nagios is to buy a book on the subject. I recommend "Nagios" by Wolfgang Barth - http://nostarch.com/nagios_2e.htm hth, Jim ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From john at stilen.com Thu Apr 2 23:03:09 2009 From: john at stilen.com (John Stile) Date: Thu, 02 Apr 2009 14:03:09 -0700 Subject: Help please - test works fine EXCEPT over NRPE??? In-Reply-To: References: <49D3EA40.8080506@gmail.com> <1238627912.13297.7.camel@genx.localdomain> <49D42A95.9080104@gmail.com> Message-ID: <1238706190.10841.136.camel@genx.localdomain> Can you add a line to your /etc/xinetd.d/nrpe to run as a different user. Something like like: user = nagios-nrpe Next create that user in /etc/passwd, /etc/shadow, and /etc/group The user doesn't need a passwd set or a login shell. Next add the user to the groups needed to see the logs, or set-up sudo for that user to see the logs? I think giving 'nobody' sudo rights isn't the best route. On Thu, 2009-04-02 at 15:52 +0800, Lei Chen wrote: > use visudo command, comment the following line: > Defaults requiretty > > and try again. > > > 2009/4/2 Andrew Davis : > > Its running under xinetd, so 'ps aux|grep nrpe' isn't showing the true user. > > However, the nrpe.cfg is set to use the nobody user. I've added the nobody > > user to sudo, and even tried it as the nagios user. What I see now from the > > server is: > > > > /usr/local/nagios/libexec/check_nrpe -H atum -c check_logs > > CHECK_NRPE: Socket timeout after 10 seconds. > > > > And in the messages file on the client: > > > > Apr 1 22:54:25 atum nrpe[25661]: Running command: /usr/bin/sudo > > /usr/local/nagios/libexec/check_logs.pl -c /etc/nagios/check_logs_linux.cfg > > Apr 1 22:54:25 atum /usr/bin/sudo: nobody : TTY=unknown ; PWD=/ ; > > USER=root ; COMMAND=/usr/local/nagios/libexec/check_logs.pl -c > > /etc/nagios/check_logs_linux.cfg > > > > A. Davis > > Email: nccomp at gmail.com > > > > "There is no limit to what a man can accomplish > > if he doesn't care who gets the credit." - Ronald Reagan > > > > > > John Stile wrote: > > > > On the client, if you look at 'ps aux |grep nrpe' > > what user does nrpe run as? > > > > You might have to configure sudo to allow that user to run the plugin. > > > > > > On Wed, 2009-04-01 at 18:27 -0400, Andrew Davis wrote: > > > > > > I setup the > > "check_logs.pl" > > (http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1752.html;d=1) > > test and its config file on some local Linux servers tested via NRPE. All > > other NRPE tests work fine (including some custom ones). The check_logs.pl > > works fine locally, but fails over NRPE. I've enabled debugging in NRPE, but > > its not telling me much more... > > > > Client local test: > > > > atum:/etc/init.d # /usr/local/nagios/libexec/check_logs.pl > > -c /etc/nagios/check_logs_linux.cfg > > faillog => OK; lastlog => OK; messages => OK; wtmp => OK; > > > > Server test to client via NRPE: > > > > /usr/local/nagios/libexec/check_nrpe -H atum -c check_logs > > CHECK_NRPE: No output returned from daemon. > > > > Local log (/var/log/messages) on client when test is run from server: > > > > Apr 1 18:05:52 atum nrpe[1412]: Added > > command[check_logs]=/usr/local/nagios/libexec/check_logs.pl > > -c /etc/nagios/check_logs_linux.cfg > > Apr 1 18:05:52 atum nrpe[1412]: INFO: SSL/TLS initialized. > > All network traffic will be encrypted. > > Apr 1 18:05:52 atum nrpe[1412]: Handling the connection... > > Apr 1 18:05:52 atum nrpe[1412]: Host is asking for command > > 'check_logs' to be run... > > Apr 1 18:05:52 atum nrpe[1412]: Running > > command: /usr/local/nagios/libexec/check_logs.pl > > -c /etc/nagios/check_logs_linux.cfg > > Apr 1 18:05:52 atum nrpe[1412]: Command completed with return > > code 0 and output: > > Apr 1 18:05:52 atum nrpe[1412]: Return Code: 0, Output: > > > > The response is immediate, so its not a timeout issue. Other NRPE > > tests work fine: > > > > /usr/local/nagios/libexec/check_nrpe -H atum -c check_load > > OK - load average: 0.00, 0.00, 0.00| > > load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; > > load15=0.000;5.000;10.000;0; > > /usr/local/nagios/libexec/check_nrpe -H atum -c check_memory > > CHECK_MEMORY OK - 1702M free | > > free=1785552896b;210236620.8:;105118310.4: > > > > And on the client: > > > > Apr 1 18:09:25 atum nrpe[1799]: INFO: SSL/TLS initialized. > > All network traffic will be encrypted. > > Apr 1 18:09:25 atum nrpe[1799]: Handling the connection... > > Apr 1 18:09:25 atum nrpe[1799]: Host is asking for command > > 'check_load' to be run... > > Apr 1 18:09:25 atum nrpe[1799]: Running > > command: /usr/local/nagios/libexec/check_load -r -w 5.0 -c > > 10.0 > > Apr 1 18:09:25 atum nrpe[1799]: Command completed with return > > code 0 and output: OK - load average: 0.00, 0.00, 0.00| > > load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; > > load15=0.000;5.000;10.000;0; > > Apr 1 18:09:25 atum nrpe[1799]: Return Code: 0, Output: OK - > > load average: 0.00, 0.00, 0.00|load1=0.000;5.000;10.000;0; > > load5=0.000;5.000;10.000;0; load15=0.000;5.000;10.000;0; > > Apr 1 18:09:26 atum nrpe[1802]: INFO: SSL/TLS initialized. > > All network traffic will be encrypted. > > Apr 1 18:09:26 atum nrpe[1802]: Handling the connection... > > Apr 1 18:09:26 atum nrpe[1802]: Host is asking for command > > 'check_memory' to be run... > > Apr 1 18:09:26 atum nrpe[1802]: Running > > command: /usr/local/nagios/libexec/check_memory.pl -w 10% -c > > 5% > > Apr 1 18:09:26 atum nrpe[1802]: Command completed with return > > code 0 and output: CHECK_MEMORY OK - 1703M free | > > free=1786134528b;210236620.8:;105118310.4: > > Apr 1 18:09:26 atum nrpe[1802]: Return Code: 0, Output: > > CHECK_MEMORY OK - 1703M free | > > free=1786134528b;210236620.8:;105118310.4: > > > > Here's the local command in my /etc/nagios/nrpe.cfg: > > > > command[check_logs]=/usr/local/nagios/libexec/check_logs.pl > > -c /etc/nagios/check_logs_linux.cfg > > > > And on the server (when done in services.cfg, though its failing with > > manual tests too): > > > > define service { > > hostgroup_name linux-servers > > service_description LOGS > > check_command check_nrpe!check_logs > > max_check_attempts 3 > > normal_check_interval 15 > > retry_check_interval 5 > > check_period 24x7 > > notification_interval 120 > > notification_period 24x7 > > notification_options w, u, c, r, f, s > > contact_groups unixadmins > > } > > > > > > Considering it fails with a manual test (command line), I doubt its my > > services.cfg entry. It runs fine when called locally, so I'm thinking > > it could be an issue on the client in the nrpe.cfg, but if so I can't > > find it... > > > > I *do* see the obvious... namely, the other two tests that run over > > NRPE have something after "Output:" and the check_logs.pl does not. > > However, called at the command line it does... which is what stumps > > me. > > > > What would cause the test to run fine locally, but return nothing when > > called via NRPE??? (BTW: I'm running 3.x with the latest set of > > plugins and NRPE). > > > > One more thing: I know *someone* is going to ask why I don't just use > > the built-in check_log test. The answer is that check_logs.pl allows > > for multiple files and pattern matches and a "seek" file to speed > > things up. > > -- > > > > > > A. Davis > > Email: nccomp at gmail.com > > > > "There is no limit to what a man can accomplish > > if he doesn't care who gets the credit." - Ronald Reagan > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 mailing list > > Nagios-users at 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 > > > > > > -- > Thanks, > Chenlei & ??++ > MSN Messenger: chnl at 163.com > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 mailing list Nagios-users at 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 From marc at ena.com Thu Apr 2 23:55:01 2009 From: marc at ena.com (Marc Powell) Date: Thu, 2 Apr 2009 16:55:01 -0500 Subject: NRPE Issue In-Reply-To: <309671b0904021325i50c4414dwe933a776cb52e2c0@mail.gmail.com> References: <309671b0904021325i50c4414dwe933a776cb52e2c0@mail.gmail.com> Message-ID: <21459694-33EE-431D-A094-A186F1B9B6C0@ena.com> On Apr 2, 2009, at 3:25 PM, Steve Shepherd wrote: > I'm trying to configure a service check via NRPE and having some > difficulty. > > From the monitoring server, I can successfully execute NRPE via CLI: > > [root at mon01 etc]# /usr/local/nagios/libexec/check_nrpe -H > 10.140.122.51 -c check_prov > FILE_AGE OK: /var/log/prov.log is 4 seconds old and 8033817 bytes > > All my hosts are in /usr/local/nagios/etc/hosts, with service_checks > defined in them. I defined this NRPE check as: > > define service{ > [snip] > check_command check_nrpe!check_prov > } > # 'check_ccprov' command definition > define command{ > command_name check_prov > command_line $USER1$/check_nrpe -H $HOSTADDRESS -c > check_prov > } > > Nagios is giving me an error: > > Checking services... > Error: Service check command 'check_nrpe' specified in service > 'check_ccprov' for host 'servername.serverdomain' not defined > anywhere! > > But it is defined?! No, you defined the command 'check_prov', not 'check_nrpe'. Nagios is correctly telling you that there is no command{} definition with a command_name of check_nrpe. > From the documentation the check_command should be "check_nrpe! > $service" within service definition? You're mixing a few things seemingly without really understanding how they go together. A service{} definition with a check_command of 'check_nrpe!check_prov' will look for a command{} definition named 'check_nrpe' and expect to pass to it a $ARG1$ of 'check_prov' -- define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS -c $ARG1$ } http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#command http://nagios.sourceforge.net/docs/3_0/macros.html - Example 2 Nagios will interpret the above command_line and execute '/path/to/ plugins/check_nrpe -H
-c check_prov. check_nrpe will contact the NRPE daemon running on
and ask it to run the command 'check_prov', which must be defined in the nrpe.cfg file on that remote host. The results are automatically returned to nagios by the check_nrpe daemon. HTH, -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nccomp at gmail.com Fri Apr 3 00:08:31 2009 From: nccomp at gmail.com (Andrew Davis) Date: Thu, 02 Apr 2009 18:08:31 -0400 Subject: Help please - test works fine EXCEPT over NRPE??? In-Reply-To: References: <49D3EA40.8080506@gmail.com> <1238627912.13297.7.camel@genx.localdomain> <49D42A95.9080104@gmail.com> Message-ID: <49D5375F.4060302@gmail.com> I've checked /etc/sudoers, /etc/nagios/nrpe.cfg, /etc/xinetd.d/nrpe, and the script itself (/usr/local/nagios/libexec/check_logs.pl) and none have any "tty" strings in them for me to comment out. A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Lei Chen wrote: > use visudo command, comment the following line: > Defaults requiretty > > and try again. > > > 2009/4/2 Andrew Davis : > >> Its running under xinetd, so 'ps aux|grep nrpe' isn't showing the true user. >> However, the nrpe.cfg is set to use the nobody user. I've added the nobody >> user to sudo, and even tried it as the nagios user. What I see now from the >> server is: >> >> /usr/local/nagios/libexec/check_nrpe -H atum -c check_logs >> CHECK_NRPE: Socket timeout after 10 seconds. >> >> And in the messages file on the client: >> >> Apr 1 22:54:25 atum nrpe[25661]: Running command: /usr/bin/sudo >> /usr/local/nagios/libexec/check_logs.pl -c /etc/nagios/check_logs_linux.cfg >> Apr 1 22:54:25 atum /usr/bin/sudo: nobody : TTY=unknown ; PWD=/ ; >> USER=root ; COMMAND=/usr/local/nagios/libexec/check_logs.pl -c >> /etc/nagios/check_logs_linux.cfg >> >> A. Davis >> Email: nccomp at gmail.com >> >> "There is no limit to what a man can accomplish >> if he doesn't care who gets the credit." - Ronald Reagan >> >> >> John Stile wrote: >> >> On the client, if you look at 'ps aux |grep nrpe' >> what user does nrpe run as? >> >> You might have to configure sudo to allow that user to run the plugin. >> >> >> On Wed, 2009-04-01 at 18:27 -0400, Andrew Davis wrote: >> >> >> I setup the >> "check_logs.pl" >> (http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1752.html;d=1) >> test and its config file on some local Linux servers tested via NRPE. All >> other NRPE tests work fine (including some custom ones). The check_logs.pl >> works fine locally, but fails over NRPE. I've enabled debugging in NRPE, but >> its not telling me much more... >> >> Client local test: >> >> atum:/etc/init.d # /usr/local/nagios/libexec/check_logs.pl >> -c /etc/nagios/check_logs_linux.cfg >> faillog => OK; lastlog => OK; messages => OK; wtmp => OK; >> >> Server test to client via NRPE: >> >> /usr/local/nagios/libexec/check_nrpe -H atum -c check_logs >> CHECK_NRPE: No output returned from daemon. >> >> Local log (/var/log/messages) on client when test is run from server: >> >> Apr 1 18:05:52 atum nrpe[1412]: Added >> command[check_logs]=/usr/local/nagios/libexec/check_logs.pl >> -c /etc/nagios/check_logs_linux.cfg >> Apr 1 18:05:52 atum nrpe[1412]: INFO: SSL/TLS initialized. >> All network traffic will be encrypted. >> Apr 1 18:05:52 atum nrpe[1412]: Handling the connection... >> Apr 1 18:05:52 atum nrpe[1412]: Host is asking for command >> 'check_logs' to be run... >> Apr 1 18:05:52 atum nrpe[1412]: Running >> command: /usr/local/nagios/libexec/check_logs.pl >> -c /etc/nagios/check_logs_linux.cfg >> Apr 1 18:05:52 atum nrpe[1412]: Command completed with return >> code 0 and output: >> Apr 1 18:05:52 atum nrpe[1412]: Return Code: 0, Output: >> >> The response is immediate, so its not a timeout issue. Other NRPE >> tests work fine: >> >> /usr/local/nagios/libexec/check_nrpe -H atum -c check_load >> OK - load average: 0.00, 0.00, 0.00| >> load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; >> load15=0.000;5.000;10.000;0; >> /usr/local/nagios/libexec/check_nrpe -H atum -c check_memory >> CHECK_MEMORY OK - 1702M free | >> free=1785552896b;210236620.8:;105118310.4: >> >> And on the client: >> >> Apr 1 18:09:25 atum nrpe[1799]: INFO: SSL/TLS initialized. >> All network traffic will be encrypted. >> Apr 1 18:09:25 atum nrpe[1799]: Handling the connection... >> Apr 1 18:09:25 atum nrpe[1799]: Host is asking for command >> 'check_load' to be run... >> Apr 1 18:09:25 atum nrpe[1799]: Running >> command: /usr/local/nagios/libexec/check_load -r -w 5.0 -c >> 10.0 >> Apr 1 18:09:25 atum nrpe[1799]: Command completed with return >> code 0 and output: OK - load average: 0.00, 0.00, 0.00| >> load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; >> load15=0.000;5.000;10.000;0; >> Apr 1 18:09:25 atum nrpe[1799]: Return Code: 0, Output: OK - >> load average: 0.00, 0.00, 0.00|load1=0.000;5.000;10.000;0; >> load5=0.000;5.000;10.000;0; load15=0.000;5.000;10.000;0; >> Apr 1 18:09:26 atum nrpe[1802]: INFO: SSL/TLS initialized. >> All network traffic will be encrypted. >> Apr 1 18:09:26 atum nrpe[1802]: Handling the connection... >> Apr 1 18:09:26 atum nrpe[1802]: Host is asking for command >> 'check_memory' to be run... >> Apr 1 18:09:26 atum nrpe[1802]: Running >> command: /usr/local/nagios/libexec/check_memory.pl -w 10% -c >> 5% >> Apr 1 18:09:26 atum nrpe[1802]: Command completed with return >> code 0 and output: CHECK_MEMORY OK - 1703M free | >> free=1786134528b;210236620.8:;105118310.4: >> Apr 1 18:09:26 atum nrpe[1802]: Return Code: 0, Output: >> CHECK_MEMORY OK - 1703M free | >> free=1786134528b;210236620.8:;105118310.4: >> >> Here's the local command in my /etc/nagios/nrpe.cfg: >> >> command[check_logs]=/usr/local/nagios/libexec/check_logs.pl >> -c /etc/nagios/check_logs_linux.cfg >> >> And on the server (when done in services.cfg, though its failing with >> manual tests too): >> >> define service { >> hostgroup_name linux-servers >> service_description LOGS >> check_command check_nrpe!check_logs >> max_check_attempts 3 >> normal_check_interval 15 >> retry_check_interval 5 >> check_period 24x7 >> notification_interval 120 >> notification_period 24x7 >> notification_options w, u, c, r, f, s >> contact_groups unixadmins >> } >> >> >> Considering it fails with a manual test (command line), I doubt its my >> services.cfg entry. It runs fine when called locally, so I'm thinking >> it could be an issue on the client in the nrpe.cfg, but if so I can't >> find it... >> >> I *do* see the obvious... namely, the other two tests that run over >> NRPE have something after "Output:" and the check_logs.pl does not. >> However, called at the command line it does... which is what stumps >> me. >> >> What would cause the test to run fine locally, but return nothing when >> called via NRPE??? (BTW: I'm running 3.x with the latest set of >> plugins and NRPE). >> >> One more thing: I know *someone* is going to ask why I don't just use >> the built-in check_log test. The answer is that check_logs.pl allows >> for multiple files and pattern matches and a "seek" file to speed >> things up. >> -- >> >> >> A. Davis >> Email: nccomp at gmail.com >> >> "There is no limit to what a man can accomplish >> if he doesn't care who gets the credit." - Ronald Reagan >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 mailing list >> Nagios-users at 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 >> >> > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nccomp at gmail.com Fri Apr 3 00:10:13 2009 From: nccomp at gmail.com (Andrew Davis) Date: Thu, 02 Apr 2009 18:10:13 -0400 Subject: Help please - test works fine EXCEPT over NRPE??? In-Reply-To: <1238706190.10841.136.camel@genx.localdomain> References: <49D3EA40.8080506@gmail.com> <1238627912.13297.7.camel@genx.localdomain> <49D42A95.9080104@gmail.com> <1238706190.10841.136.camel@genx.localdomain> Message-ID: <49D537C5.4000702@gmail.com> I did that as a test and removed the entry later. I haven't created a nagios user for any of the NRPE clients. I'll try doing that... A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan John Stile wrote: > Can you add a line to your /etc/xinetd.d/nrpe to run as a different > user. Something like like: > > user = nagios-nrpe > > Next create that user in /etc/passwd, /etc/shadow, and /etc/group > The user doesn't need a passwd set or a login shell. > Next add the user to the groups needed to see the logs, or set-up sudo > for that user to see the logs? > > I think giving 'nobody' sudo rights isn't the best route. > > On Thu, 2009-04-02 at 15:52 +0800, Lei Chen wrote: > >> use visudo command, comment the following line: >> Defaults requiretty >> >> and try again. >> >> >> 2009/4/2 Andrew Davis : >> >>> Its running under xinetd, so 'ps aux|grep nrpe' isn't showing the true user. >>> However, the nrpe.cfg is set to use the nobody user. I've added the nobody >>> user to sudo, and even tried it as the nagios user. What I see now from the >>> server is: >>> >>> /usr/local/nagios/libexec/check_nrpe -H atum -c check_logs >>> CHECK_NRPE: Socket timeout after 10 seconds. >>> >>> And in the messages file on the client: >>> >>> Apr 1 22:54:25 atum nrpe[25661]: Running command: /usr/bin/sudo >>> /usr/local/nagios/libexec/check_logs.pl -c /etc/nagios/check_logs_linux.cfg >>> Apr 1 22:54:25 atum /usr/bin/sudo: nobody : TTY=unknown ; PWD=/ ; >>> USER=root ; COMMAND=/usr/local/nagios/libexec/check_logs.pl -c >>> /etc/nagios/check_logs_linux.cfg >>> >>> A. Davis >>> Email: nccomp at gmail.com >>> >>> "There is no limit to what a man can accomplish >>> if he doesn't care who gets the credit." - Ronald Reagan >>> >>> >>> John Stile wrote: >>> >>> On the client, if you look at 'ps aux |grep nrpe' >>> what user does nrpe run as? >>> >>> You might have to configure sudo to allow that user to run the plugin. >>> >>> >>> On Wed, 2009-04-01 at 18:27 -0400, Andrew Davis wrote: >>> >>> >>> I setup the >>> "check_logs.pl" >>> (http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1752.html;d=1) >>> test and its config file on some local Linux servers tested via NRPE. All >>> other NRPE tests work fine (including some custom ones). The check_logs.pl >>> works fine locally, but fails over NRPE. I've enabled debugging in NRPE, but >>> its not telling me much more... >>> >>> Client local test: >>> >>> atum:/etc/init.d # /usr/local/nagios/libexec/check_logs.pl >>> -c /etc/nagios/check_logs_linux.cfg >>> faillog => OK; lastlog => OK; messages => OK; wtmp => OK; >>> >>> Server test to client via NRPE: >>> >>> /usr/local/nagios/libexec/check_nrpe -H atum -c check_logs >>> CHECK_NRPE: No output returned from daemon. >>> >>> Local log (/var/log/messages) on client when test is run from server: >>> >>> Apr 1 18:05:52 atum nrpe[1412]: Added >>> command[check_logs]=/usr/local/nagios/libexec/check_logs.pl >>> -c /etc/nagios/check_logs_linux.cfg >>> Apr 1 18:05:52 atum nrpe[1412]: INFO: SSL/TLS initialized. >>> All network traffic will be encrypted. >>> Apr 1 18:05:52 atum nrpe[1412]: Handling the connection... >>> Apr 1 18:05:52 atum nrpe[1412]: Host is asking for command >>> 'check_logs' to be run... >>> Apr 1 18:05:52 atum nrpe[1412]: Running >>> command: /usr/local/nagios/libexec/check_logs.pl >>> -c /etc/nagios/check_logs_linux.cfg >>> Apr 1 18:05:52 atum nrpe[1412]: Command completed with return >>> code 0 and output: >>> Apr 1 18:05:52 atum nrpe[1412]: Return Code: 0, Output: >>> >>> The response is immediate, so its not a timeout issue. Other NRPE >>> tests work fine: >>> >>> /usr/local/nagios/libexec/check_nrpe -H atum -c check_load >>> OK - load average: 0.00, 0.00, 0.00| >>> load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; >>> load15=0.000;5.000;10.000;0; >>> /usr/local/nagios/libexec/check_nrpe -H atum -c check_memory >>> CHECK_MEMORY OK - 1702M free | >>> free=1785552896b;210236620.8:;105118310.4: >>> >>> And on the client: >>> >>> Apr 1 18:09:25 atum nrpe[1799]: INFO: SSL/TLS initialized. >>> All network traffic will be encrypted. >>> Apr 1 18:09:25 atum nrpe[1799]: Handling the connection... >>> Apr 1 18:09:25 atum nrpe[1799]: Host is asking for command >>> 'check_load' to be run... >>> Apr 1 18:09:25 atum nrpe[1799]: Running >>> command: /usr/local/nagios/libexec/check_load -r -w 5.0 -c >>> 10.0 >>> Apr 1 18:09:25 atum nrpe[1799]: Command completed with return >>> code 0 and output: OK - load average: 0.00, 0.00, 0.00| >>> load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; >>> load15=0.000;5.000;10.000;0; >>> Apr 1 18:09:25 atum nrpe[1799]: Return Code: 0, Output: OK - >>> load average: 0.00, 0.00, 0.00|load1=0.000;5.000;10.000;0; >>> load5=0.000;5.000;10.000;0; load15=0.000;5.000;10.000;0; >>> Apr 1 18:09:26 atum nrpe[1802]: INFO: SSL/TLS initialized. >>> All network traffic will be encrypted. >>> Apr 1 18:09:26 atum nrpe[1802]: Handling the connection... >>> Apr 1 18:09:26 atum nrpe[1802]: Host is asking for command >>> 'check_memory' to be run... >>> Apr 1 18:09:26 atum nrpe[1802]: Running >>> command: /usr/local/nagios/libexec/check_memory.pl -w 10% -c >>> 5% >>> Apr 1 18:09:26 atum nrpe[1802]: Command completed with return >>> code 0 and output: CHECK_MEMORY OK - 1703M free | >>> free=1786134528b;210236620.8:;105118310.4: >>> Apr 1 18:09:26 atum nrpe[1802]: Return Code: 0, Output: >>> CHECK_MEMORY OK - 1703M free | >>> free=1786134528b;210236620.8:;105118310.4: >>> >>> Here's the local command in my /etc/nagios/nrpe.cfg: >>> >>> command[check_logs]=/usr/local/nagios/libexec/check_logs.pl >>> -c /etc/nagios/check_logs_linux.cfg >>> >>> And on the server (when done in services.cfg, though its failing with >>> manual tests too): >>> >>> define service { >>> hostgroup_name linux-servers >>> service_description LOGS >>> check_command check_nrpe!check_logs >>> max_check_attempts 3 >>> normal_check_interval 15 >>> retry_check_interval 5 >>> check_period 24x7 >>> notification_interval 120 >>> notification_period 24x7 >>> notification_options w, u, c, r, f, s >>> contact_groups unixadmins >>> } >>> >>> >>> Considering it fails with a manual test (command line), I doubt its my >>> services.cfg entry. It runs fine when called locally, so I'm thinking >>> it could be an issue on the client in the nrpe.cfg, but if so I can't >>> find it... >>> >>> I *do* see the obvious... namely, the other two tests that run over >>> NRPE have something after "Output:" and the check_logs.pl does not. >>> However, called at the command line it does... which is what stumps >>> me. >>> >>> What would cause the test to run fine locally, but return nothing when >>> called via NRPE??? (BTW: I'm running 3.x with the latest set of >>> plugins and NRPE). >>> >>> One more thing: I know *someone* is going to ask why I don't just use >>> the built-in check_log test. The answer is that check_logs.pl allows >>> for multiple files and pattern matches and a "seek" file to speed >>> things up. >>> -- >>> >>> >>> A. Davis >>> Email: nccomp at gmail.com >>> >>> "There is no limit to what a man can accomplish >>> if he doesn't care who gets the credit." - Ronald Reagan >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at 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 mailing list >>> Nagios-users at 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 >>> >>> >> >> -- >> Thanks, >> Chenlei & ??++ >> MSN Messenger: chnl at 163.com >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jmoseley at corp.xanadoo.com Fri Apr 3 00:24:12 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Thu, 2 Apr 2009 17:24:12 -0500 Subject: Help please - test works fine EXCEPT over NRPE??? In-Reply-To: <49D5375F.4060302@gmail.com> References: <49D5375F.4060302@gmail.com> Message-ID: So, you're stating that you've got other nrpe checks working fine on the clients and that nrpe is running under xinetd? If not, try running nrpe as a standalone daemon. Next step, open the log files and check_logs.pl script to the user nobody so you avoid have to run the script under a sudo call... James Moseley Andrew Davis To "nagios-users at lists.sourceforge.net 04/02/2009 05:08 " PM cc Please respond to nccomp at gmail.com Subject Re: [Nagios-users] Help please - test works fine EXCEPT over NRPE??? I've checked /etc/sudoers, /etc/nagios/nrpe.cfg, /etc/xinetd.d/nrpe, and the script itself (/usr/local/nagios/libexec/check_logs.pl) and none have any "tty" strings in them for me to comment out. A. Davis Email: nccomp at gmail.com ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From renatokrause at gmail.com Fri Apr 3 00:46:21 2009 From: renatokrause at gmail.com (renatokrause at gmail.com) Date: Thu, 2 Apr 2009 19:46:21 -0300 (BRT) Subject: Essential parameter to a big network with big problems Message-ID: Good night, Today in the afternoon launched a thread on this list with the title: Each switch in the .cfg file. Was great pressure at work and just jumping some steps that I want to correct now. My name is Renato Krause and I have 26 years. I live in Porto Alegre, Rio Grande do Sul, Brazil. My English is not very good then I would like to apologize for my words. I work for the government of the state, more specific in public coffers. My expertise is in information technology development but recently I have worked in multi-sector IT body. My current job is working on top of several faults that are occurring in the network. The state of our network is chaotic. I imagine that the first step that I take is to examine the current situation. After some research began by installing the Nagios packages .deb. Use a little and by the plugin that feeds data from the log files of the MRTG, noticed that is a great tool that can produce excellent results with the addition of your Nagios plugin for snmp. Now i using a nagios build from source like a manual. In this difficult task with two colleagues tale. Our network has about 2,000 desktop computers and covers our state has about 282,062 square kilometers. Our capital has two buildings side by side with most of the equipment. Each building has a backbone connected to a Extreme switch along with the servers. Each of the two backbone distributes the network to other switchs responsible for each floor. Unfortunately my knowledge in networks are not very detailed. I Watched: ifInError, ifOutError, ifInDiscard, ifOutDiscard addition to other services standards posted on the Nagios manual. The intention of my post is whether anyone in this list can help me with some idea about what parameters do I track to begin to identify or eliminate the problems in our network. Currently the switchs has stopped responding and often do not last seconds running when reset. These switchs the times spend hours working well. In view the current event has been somewhat random. Now thanks to a big, warm hug to all. Renato Krause -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jboris at adphila.org Fri Apr 3 03:27:14 2009 From: jboris at adphila.org (John BORIS) Date: Thu, 02 Apr 2009 21:27:14 -0400 Subject: Help with installation past the first host/switch/service Message-ID: <49D52DB80200002B000751F3@gw1.adphila.org> Jim, Thanks. I finally figured it out with trial and error. I will track down the book. >>> Jim Avery 04/02/09 3:45 PM >>> 2009/4/2 John BORIS : > I have nagios 3.x setup and installed on Fedora 10. Works fine but I > only have 1 server, 1 switch, 1 printer, 1 windows server setup. How do > you add more of the same type? The instructions (all that I could find) > say "Do this for the first one" but then fall silent on what to do with > the second, third etc. The same thing goes for the switches and any > other device or "host" Any insight would be appreciated even a good > pointer to a How-To. All of my searches have failed to provide any > insight into this. The 2nd, 3rd and so on are similar to the 1st except the host_name, alias and address will be different for each. A good way of getting a head start learning how to configure Nagios is to buy a book on the subject. I recommend "Nagios" by Wolfgang Barth - http://nostarch.com/nagios_2e.htm hth, Jim ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cristoir at gmail.com Fri Apr 3 11:26:20 2009 From: cristoir at gmail.com (Christopher McAtackney) Date: Fri, 3 Apr 2009 10:26:20 +0100 Subject: Uniquely Identifiable Events in Nagios.log? In-Reply-To: <49D0AAA3.6050408@op5.se> References: <49D0AAA3.6050408@op5.se> Message-ID: > Since you almost certainly want to maintain a single process to handle > the logged lines, why not just write a tail-like program that parses > them one by one as they're written? After all, you'd hardly want to > slog through all the log-entries multiple times anyway. > With this solution, I find it hard to see a need for uniqueness. should > it happen that you still want to be able to uniquely identify lines, I > believe a hash over the last 15 or so lines should suffice, assuming > it's sufficiently strong (say, SHA1 or something). The chance of running > into a collision should be very slim, and if it happens you can just > increase the number of hashed lines. > > -- > Andreas Ericsson ? ? ? ? ? ? ? ? ? andreas.ericsson at op5.se Thanks for the advice Andreas, I'll take a look into this approach. Cheers, Chris ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From imunoz6 at xtec.cat Fri Apr 3 12:19:17 2009 From: imunoz6 at xtec.cat (Ivan) Date: Fri, 03 Apr 2009 12:19:17 +0200 Subject: Ndo database problem Message-ID: <49D5E2A5.9050001@xtec.cat> hi I've a problem with ndo database. Every time I restart nagios, the colum named "is_active" of the "nagios_objects" table turn to =0. With this value, the plugin Bussines Project can't extract anything and as a result of this, all bussines checks turned to "UNKNONW". If I turn "is_active" to =1, the plugin works fine. Any suggestion? Thanks in advance. -- Ivan Mu?oz Fuentes T?cnic Projectes Departament d'Educaci? Via Augusta, 202, Barcelona ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From smcafee at collaborativefusion.com Fri Apr 3 15:06:06 2009 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Fri, 03 Apr 2009 09:06:06 -0400 Subject: nagios 3.0.3 on FreeBSD defunct process In-Reply-To: <04F3233F47E2714CB7431AE913E57E7703400C4D@IAD-WPRD-XCHB02.corp.verio.net> References: <04F3233F47E2714CB7431AE913E57E7703400C4D@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: <49D609BE.3040503@collaborativefusion.com> Jonathan Call wrote: > That sounds very familiar to the locking/contention issue FreeBSD 7.x > has with Nagios 2.x. It has to do with how Nagios and FreeBSD handle > threading. Unfortunately I don?t have any answers on how to fix it. I?ve > had to leave my Nagios deployment on FreeBSD 6/Nagios 2 for the same > reason: anything newer would lock up due to defunct Nagios processes. Does 'ldd /usr/local/bin/nagios' show it linked against libpthread or libthr? -- Sean McAfee System Engineer ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gpbuono at gmail.com Fri Apr 3 16:47:59 2009 From: gpbuono at gmail.com (Gian Paolo Buono) Date: Fri, 3 Apr 2009 16:47:59 +0200 Subject: nagios 3.0.3 on FreeBSD defunct process In-Reply-To: <49D609BE.3040503@collaborativefusion.com> References: <04F3233F47E2714CB7431AE913E57E7703400C4D@IAD-WPRD-XCHB02.corp.verio.net> <49D609BE.3040503@collaborativefusion.com> Message-ID: Hi, this is my ldd... [root at server nagios]# ldd /usr/local/bin/nagios /usr/local/bin/nagios: libm.so.5 => /lib/libm.so.5 (0x2810c000) libthr.so.3 => /lib/libthr.so.3 (0x28121000) libltdl.so.4 => /usr/local/lib/libltdl.so.4 (0x28134000) libc.so.7 => /lib/libc.so.7 (0x2813b000) I have write to freebsd news group and I have open a problem to FreeBSD...but withou result... :( thanks for the support ...bye On Fri, Apr 3, 2009 at 3:06 PM, Sean McAfee wrote: > Jonathan Call wrote: > > That sounds very familiar to the locking/contention issue FreeBSD 7.x > > has with Nagios 2.x. It has to do with how Nagios and FreeBSD handle > > threading. Unfortunately I don?t have any answers on how to fix it. I?ve > > had to leave my Nagios deployment on FreeBSD 6/Nagios 2 for the same > > reason: anything newer would lock up due to defunct Nagios processes. > > Does 'ldd /usr/local/bin/nagios' show it linked against libpthread or > libthr? > > -- > Sean McAfee > System Engineer > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pepper at cbio.mskcc.org Fri Apr 3 17:10:14 2009 From: pepper at cbio.mskcc.org (Chris Pepper) Date: Fri, 03 Apr 2009 11:10:14 -0400 Subject: Assigning Services to Hosts/Hostgroups In-Reply-To: <4471AE36-5EDA-4608-A742-BFF046898E3E@ena.com> References: <49D11BB0.3050901@cbio.mskcc.org> <4471AE36-5EDA-4608-A742-BFF046898E3E@ena.com> Message-ID: <49D626D6.3060004@cbio.mskcc.org> Marc Powell wrote: > On Mar 30, 2009, at 2:21 PM, Chris Pepper wrote: > >> We'd like to assign services to hostgroups or hosts (even host >> templates would be useful) rather than assigning them in the service. > > http://nagios.sourceforge.net/docs/3_0/objecttricks.html#service Marc, Thanks! It seems somewhat backwards to me that I cannot specify in the service directly, and this keeps tripping me up. Regards, Chris -- Chris Pepper: ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From PBurkholder at aarp.org Fri Apr 3 19:05:47 2009 From: PBurkholder at aarp.org (Burkholder, Peter) Date: Fri, 3 Apr 2009 13:05:47 -0400 Subject: notification_options by timeperiod Message-ID: I'm sure this problem has been solved before, but it's not obvious to me the best way to do this, and my Google-fu is weak. -> How do I configure a service so I get CRITICAL notifications 24x7, but WARNING notifications only during work_hours? Thanks, Peter -- Peter Burkholder AARP | Web Strategy & Operations | 601 E Street, NW | Washington, DC 20049 email: pburkholder at aarp.org | aim: peterbtech | ph: 202-434-3530 | cell: 202-344-7129 | ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Apr 3 19:32:58 2009 From: marc at ena.com (Marc Powell) Date: Fri, 3 Apr 2009 12:32:58 -0500 Subject: notification_options by timeperiod In-Reply-To: References: Message-ID: <16A7FEF5-4AC3-4CD2-9759-299B950E1543@ena.com> On Apr 3, 2009, at 12:05 PM, Burkholder, Peter wrote: > I'm sure this problem has been solved before, but it's not obvious > to me > the best way to do this, and my Google-fu is weak. > > -> How do I configure a service so I get CRITICAL notifications 24x7, > but WARNING notifications only during work_hours? You need two different contacts. One specified to receive criticals with the 24x7 notification period and one specified to receive warnings with the workhours timeperiod. _or_ add that logic into your notification script. -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From perldork at webwizarddesign.com Fri Apr 3 20:20:28 2009 From: perldork at webwizarddesign.com (Max) Date: Fri, 3 Apr 2009 14:20:28 -0400 Subject: notification_options by timeperiod In-Reply-To: <16A7FEF5-4AC3-4CD2-9759-299B950E1543@ena.com> References: <16A7FEF5-4AC3-4CD2-9759-299B950E1543@ena.com> Message-ID: Another way to do this is to have the service notify to a dummy contact by default that has a 'do nothing' notification command (e.g. /bin/true) and then use escalations to trigger real alerts; each escalation can then have a custom time period, contact, etc. We use this as our primary means of triggering notifications as we have a large group of shared services (service -> hostgroup -> hosts) and the hosts are in different projects with different contacts so the service can't have a real notification contact that makes sense .. by triggering all of our notifications through escalations we can then easily control which group gets notified for which (service,hostgroup, host) tuple and control time period and contact on a project by project basis. define service { ... check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 5 contact_groups no-one notifications_enabled 1 notification_options a notification_interval 5 notification_period 24x7 ... } define serviceescalation { name project-base-svc hostgroup_name project-hostgroup contact_groups project-notify-group first_notification 1 ; notify right away (1st notification) last_notification 0 ; notify until service changes state notification_interval 240 ; default to 4 hour re-notify escalation_period 24x7 register 0 } define serviceescalation { use project-base-svc service_description My custom service escalation_options c } define serviceescalation { use project-base-svc service_description My custom service escalation_options w escalation_period workhours-only } ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jim at jimavery.me.uk Sat Apr 4 01:08:50 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 4 Apr 2009 00:08:50 +0100 Subject: Assigning Services to Hosts/Hostgroups In-Reply-To: <49D626D6.3060004@cbio.mskcc.org> References: <49D11BB0.3050901@cbio.mskcc.org> <4471AE36-5EDA-4608-A742-BFF046898E3E@ena.com> <49D626D6.3060004@cbio.mskcc.org> Message-ID: <765d77c80904031608wb71108dwd121341d507764ff@mail.gmail.com> 2009/4/3 Chris Pepper : > ? ? ? ?Thanks! It seems somewhat backwards to me that I cannot specify in the > service directly, and this keeps tripping me up. A service is always uniquely identified by both the host name and the service description. If you keep that in mind, hopefully it will make a little more sense. If you really want to specify your services in your host definitions ... You can create a hostgroup which is going to contain all hosts with the service you want to add. You can create a service associated with that hostgroup (rather than a single host). You could also create a host template which just sets the hostgroup and nothing else. You can then add the service to a host by simply applying that host template to the host. If you call the template something appropriate like "hostgroup-service-ftp" it should become quite intuitive. You can read up on how to apply mutiple templates to an object at http://nagios.sourceforge.net/docs/3_0/objectinheritance.html hth, Jim ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From deibertine at yahoo.com Sat Apr 4 07:02:39 2009 From: deibertine at yahoo.com (Dei Bertine) Date: Fri, 3 Apr 2009 22:02:39 -0700 (PDT) Subject: Nagios Error: Could not find any host matching/Could not expand hostgroups and/or hosts Message-ID: <488453.49892.qm@web111211.mail.gq1.yahoo.com> Hi there - I am getting this error when trying to verify my Nagios configs and was wondering what it means? I newly setup Nagios to monitor some of our Linux boxes and Windows server. Linux is sending alerts and monitoring fine but the Windows I have not gotten any alerts. Below is the error I am getting when trying to verify my configuration file. servelord:/var/log# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 2.10 Copyright (c) 1999-2007 (http://www.nagios.org) Last Modified: 10-21-2007 License: GPL Reading configuration data... Error: Could not find any host matching 'win4503' Error: Could not expand hostgroups and/or hosts specified in service (config file '/usr/local/nagios/etc/windows.cfg', starting on line 36) ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. I'd appreciate any assistance with this. Thank you, Dei -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dhaval.thakar at networthdirect.com Sat Apr 4 06:58:01 2009 From: dhaval.thakar at networthdirect.com (Dhaval Thakar) Date: Sat, 04 Apr 2009 10:28:01 +0530 Subject: pnp4nagios - view graph for disabled service Message-ID: <2799e14155a436daceaaa1af54dfe006@192.168.102.75> Hi, I am using pnp4nagios to generate rrd graphs for all nagios hosts & services. It is working fine for active services, If I am trying to view graph for disabled / removed service, graph is disabled. e.g I am monitoring traffic for eth0 & eth1 for a month. for some reason I stopped monitoring eth1, now I need utilization graph. in this case eth1 is disabled in pnp4nagios. I am unable to view graph unless I change time for eth1.xml (NAGIOS_TIMET) Is there any option in pnp to view graph for disabled service (apart from time change in respective xml file), kindly guide me to solve this. Regards Dhaval Thakar http://dhavalthakar.blogspot.com/ ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jim at jimavery.me.uk Sat Apr 4 09:25:38 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 4 Apr 2009 08:25:38 +0100 Subject: pnp4nagios - view graph for disabled service In-Reply-To: <2799e14155a436daceaaa1af54dfe006@192.168.102.75> References: <2799e14155a436daceaaa1af54dfe006@192.168.102.75> Message-ID: <765d77c80904040025v7abb3f91w3061be7c492851c9@mail.gmail.com> 2009/4/4 Dhaval Thakar : > Hi, > > I am using pnp4nagios to generate rrd graphs for all nagios hosts & > services. > It is working fine for active services, > > If I am trying to view graph for disabled / removed service, graph is > disabled. > e.g I am monitoring traffic for eth0 & eth1 for a month. for some reason I > stopped monitoring eth1, now I need utilization graph. > in this case eth1 is disabled in pnp4nagios. > > I am unable to view graph unless I change time for eth1.xml (NAGIOS_TIMET) > > Is there any option in pnp to view graph for disabled service (apart from > time change in respective xml file), kindly guide me to solve this. I normally view a graph which does work okay then just enter a similar url, but with the relevant strings changed to match the old graph I want to view. Another thing I noticed is that DRRAW will pick up old .rrd databases. Try Max Schubert's excellent version re-engineered to work well with PNP at http://github.com/perldork/drraw-pnp/tree/master hth, Jim ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jim at jimavery.me.uk Sat Apr 4 09:55:56 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 4 Apr 2009 08:55:56 +0100 Subject: Nagios Error: Could not find any host matching/Could not expand hostgroups and/or hosts In-Reply-To: <488453.49892.qm@web111211.mail.gq1.yahoo.com> References: <488453.49892.qm@web111211.mail.gq1.yahoo.com> Message-ID: <765d77c80904040055u11b89e86m9b7423eeb014b711@mail.gmail.com> > Error: Could not find any host matching 'win4503' Nagios has found an object which refers to a host called win4503, but can't find a host definition for it anywhere in your configuration files. > Error: Could not expand hostgroups and/or hosts specified in service (config > file '/usr/local/nagios/etc/windows.cfg', starting on line 36) This tells you where Nagios found this problem. It looks like you have defined a service in your windows.cfg file, but have not created a host definition for host "win4503'. Have a look through the sample configuration files to see what a host definition should look like, or see http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host An excellent way to get started with Nagios is to read the book "Nagios" by Wolfgang Barth. http://nostarch.com/nagios_2e.htm hth, Jim ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pitchfork at ederdrom.de Sat Apr 4 12:11:18 2009 From: pitchfork at ederdrom.de (Joerg Linge) Date: Sat, 04 Apr 2009 12:11:18 +0200 Subject: pnp4nagios - view graph for disabled service In-Reply-To: <2799e14155a436daceaaa1af54dfe006@192.168.102.75> References: <2799e14155a436daceaaa1af54dfe006@192.168.102.75> Message-ID: <49D73246.20906@ederdrom.de> Dhaval Thakar schrieb: > Hi, > > I am using pnp4nagios to generate rrd graphs for all nagios hosts & > services. > It is working fine for active services, > > If I am trying to view graph for disabled / removed service, graph is > disabled. > e.g I am monitoring traffic for eth0 & eth1 for a month. for some reason I > stopped monitoring eth1, now I need utilization graph. > in this case eth1 is disabled in pnp4nagios. > > I am unable to view graph unless I change time for eth1.xml (NAGIOS_TIMET) > > Is there any option in pnp to view graph for disabled service (apart from > time change in respective xml file), kindly guide me to solve this. Just change "$conf['max_age']" in etc/pnp/config.php Cheers Joerg ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ibloodyhatespam at gmail.com Sat Apr 4 19:20:04 2009 From: ibloodyhatespam at gmail.com (ibloodyhatespam at gmail.com) Date: Sat, 4 Apr 2009 19:20:04 +0200 Subject: winrpe check_pdm: "processor 0%"... In-Reply-To: <49D73246.20906@ederdrom.de> References: <2799e14155a436daceaaa1af54dfe006@192.168.102.75> <49D73246.20906@ederdrom.de> Message-ID: <021a01c9b549$989288f0$c9b79ad0$@com> Does anyone have experiences with winrpe's check_pdm.exe? I've just installed winrpe on an xp machine and it reports memory and disk usage just fine, but the CPU load is reported as 0.00%: System disk OK 04-04-2009 19:12:17 0d 0h 21m 13s 1/4 DISK OK - usage: C: 127365.5 MB (89.02% of total 143078.9 MB) System memory OK 04-04-2009 19:12:23 0d 0h 21m 7s 1/4 MEMORY OK - Pagefile usage: 3346 MB (68% of 4892 MB) System load OK 04-04-2009 19:05:52 0d 0h 23m 6s 1/4 PROCESSOR OK - usage 0.00% Funny thing is, running check_pdm --processor from a dos box gives the real result: "PROCESSOR OK - usage 15.49%". I'm not quite sure why it would be reporting disk and memory data to my nagios host just fine, but not processor data... -- Mike ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From perldork at webwizarddesign.com Mon Apr 6 05:51:53 2009 From: perldork at webwizarddesign.com (Max) Date: Sun, 5 Apr 2009 23:51:53 -0400 Subject: pnp4nagios - view graph for disabled service In-Reply-To: <765d77c80904040025v7abb3f91w3061be7c492851c9@mail.gmail.com> References: <2799e14155a436daceaaa1af54dfe006@192.168.102.75> <765d77c80904040025v7abb3f91w3061be7c492851c9@mail.gmail.com> Message-ID: Hi Jim, On Sat, Apr 4, 2009 at 3:25 AM, Jim Avery wrote: > Another thing I noticed is that DRRAW will pick up old .rrd databases. > ?Try Max Schubert's excellent version re-engineered to work well with > PNP at http://github.com/perldork/drraw-pnp/tree/master Thanks for saying that, actually, at the same time I was doing that the owner of the project added support for PNP as well; it is slightly different than my add as it shows the DS type along with the name, but a nice implementation nonetheless. He and I have talked about me helping out with the current list of bugs that is open, I am hoping to get on that ball *soon* and will also be happy to suggest patches to him for additional PNP-related features if anyone thinks of any :). - Max ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marco.tirado at gmail.com Mon Apr 6 15:18:44 2009 From: marco.tirado at gmail.com (Marco Tirado) Date: Mon, 6 Apr 2009 15:18:44 +0200 Subject: pnp4nagios memory issues Message-ID: Hello people: I have changed the configuration of the RRA files for my pnp graphs and now I seem to have some memory issues this is the error I see in the pnp4nagios graphs: "*Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 40 bytes) in /usr/local/nagios/share/pnp/include/function.inc.php on line 1411*" My rra.cfg configuration file looks like this: *# # PNP RRA config # # The estimated size of the files will be # # 2880 entries with 1 minute step = 48 houres # RRA:AVERAGE:0.5:1:2880 # # 210240 entries with 5 minute step = 2 years # RRA:AVERAGE:0.5:5:210240 RRA:MAX:0.5:1:2880 RRA:MIN:0.5:5:210240 RRA:MAX:0.5:1:2880 RRA:MIN:0.5:5:210240 *As you can see we need 5 minute precission for 2 years in our graphs, this results into 5M rrd files for one measuring point*. * I have tried changing the "memory_limit " in my php.ini file from 8M up to 256M and restarted apache every time but the problem persists. Is there a hardcoded memory limit in the */usr/local/nagios/share/pnp/include/function.inc.php *file? has anybody seen this problem before? Any help hint, recommendatoin or comment is deeply appreciated Regards Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marco.tirado at gmail.com Mon Apr 6 16:01:36 2009 From: marco.tirado at gmail.com (Marco Tirado) Date: Mon, 6 Apr 2009 16:01:36 +0200 Subject: pnp4nagios memory issues In-Reply-To: <49DA0944.4060202@eurofmc.com> References: <49DA0944.4060202@eurofmc.com> Message-ID: Hello: I have already done that, the memory_limit=256M at the moment //Marco On Mon, Apr 6, 2009 at 3:53 PM, Network Operation Center FMC Luxemburg < NOC at eurofmc.com> wrote: > Marco, > > That is a PHP problem. > > You mus increase th memory allocation in your php.ini file, i.e : > > memory_limit = 64M > > Fran?ois > > Marco Tirado wrote: > > Hello people: > > I have changed the configuration of the RRA files for my pnp graphs and now > I seem to have some memory issues this is the error I see in the pnp4nagios > graphs: > > "*Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to > allocate 40 bytes) in /usr/local/nagios/share/pnp/include/function.inc.php > on line 1411*" > > My rra.cfg configuration file looks like this: > > *# > # PNP RRA config > # > # The estimated size of the files will be > # > # 2880 entries with 1 minute step = 48 houres > # > RRA:AVERAGE:0.5:1:2880 > # > # 210240 entries with 5 minute step = 2 years > # > RRA:AVERAGE:0.5:5:210240 > > > RRA:MAX:0.5:1:2880 > RRA:MIN:0.5:5:210240 > > RRA:MAX:0.5:1:2880 > RRA:MIN:0.5:5:210240 > > *As you can see we need 5 minute precission for 2 years in our graphs, > this results into 5M rrd files for one measuring point*. > * > I have tried changing the "memory_limit " in my php.ini file from 8M up to > 256M and restarted apache every time but the problem persists. Is there a > hardcoded memory limit in the */usr/local/nagios/share/pnp/include/function.inc.php > *file? has anybody seen this problem before? > > Any help hint, recommendatoin or comment is deeply appreciated > > Regards > > Marco > > ------------------------------ > > ------------------------------------------------------------------------------ > > > ------------------------------ > > _______________________________________________ > Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://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 > > > > -- > Network Operation Center > > LUXEMBURG > > E-mail: NOC at eurofmc.com > -------------------------------------------------------------------- > > *DISCLAIMER*: This e-mail contains proprietary information some or all > of which may be legally privileged. It is for the intended recipient > only. If an addressing or transmission error has misdirected this > e-mail, please notify the author by replying to this e-mail. If you > are not the intended recipient you must not use, copy, distribute, > disclose, print, or rely on this e-mail. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andre at nine.ch Mon Apr 6 16:13:45 2009 From: andre at nine.ch (Andre Timmermann) Date: Mon, 06 Apr 2009 16:13:45 +0200 Subject: $NOTIFICATIONISESCALATED$ Message-ID: <1239027225.24481.15.camel@pcandre.nine.ch> Hello lIST, I want to use the macro $NOTIFICATIONISESCALATED$ in my notifications, I want to have it displayed within my jabber-notifications. Unfortunately this macro seemes not to work: Notification Type: PROBLEM Service: ssh Host: somehost State: CRITICAL for 0d 0h 0m 52s Address: 192.168.0.100 Info: Connection refused Date/Time: Mon Apr 6 16:05:19 CEST 2009 ACK by: Comment: Escalated: $ I have found the same problem on http://www.nagios-portal.org/wbb/index.php?page=Thread&postID=81210 (German forum) I have enable_environment_macros=1 in my config. Any ideas? Greetz, Andre ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From NOC at eurofmc.com Mon Apr 6 15:53:08 2009 From: NOC at eurofmc.com (Network Operation Center FMC Luxemburg) Date: Mon, 06 Apr 2009 15:53:08 +0200 Subject: pnp4nagios memory issues In-Reply-To: References: Message-ID: <49DA0944.4060202@eurofmc.com> Marco, That is a PHP problem. You mus increase th memory allocation in your php.ini file, i.e : memory_limit = 64M Fran?ois Marco Tirado wrote: > Hello people: > > I have changed the configuration of the RRA files for my pnp graphs > and now I seem to have some memory issues this is the error I see in > the pnp4nagios graphs: > > "/Fatal error: Allowed memory size of 268435456 bytes exhausted (tried > to allocate 40 bytes) in > /usr/local/nagios/share/pnp/include/function.inc.php on line 1411/" > > My rra.cfg configuration file looks like this: > > /# > # PNP RRA config > # > # The estimated size of the files will be > # > # 2880 entries with 1 minute step = 48 houres > # > RRA:AVERAGE:0.5:1:2880 > # > # 210240 entries with 5 minute step = 2 years > # > RRA:AVERAGE:0.5:5:210240 > > > RRA:MAX:0.5:1:2880 > RRA:MIN:0.5:5:210240 > > RRA:MAX:0.5:1:2880 > RRA:MIN:0.5:5:210240 > > /As you can see we need 5 minute precission for 2 years in our graphs, > this results into 5M rrd files for one measuring point/. > / > I have tried changing the "memory_limit " in my php.ini file from 8M > up to 256M and restarted apache every time but the problem persists. > Is there a hardcoded memory limit in the > //usr/local/nagios/share/pnp/include/function.inc.php /file? has > anybody seen this problem before? > > Any help hint, recommendatoin or comment is deeply appreciated > > Regards > > Marco > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Network Operation Center LUXEMBURG E-mail: NOC at eurofmc.com -------------------------------------------------------------------- _DISCLAIMER_: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, copy, distribute, disclose, print, or rely on this e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Apr 6 16:40:24 2009 From: marc at ena.com (Marc Powell) Date: Mon, 6 Apr 2009 09:40:24 -0500 Subject: $NOTIFICATIONISESCALATED$ In-Reply-To: <1239027225.24481.15.camel@pcandre.nine.ch> References: <1239027225.24481.15.camel@pcandre.nine.ch> Message-ID: <8B7FA978-58E1-4576-8E32-7478ECCAE5C2@ena.com> On Apr 6, 2009, at 9:13 AM, Andre Timmermann wrote: > Hello lIST, > > I want to use the macro $NOTIFICATIONISESCALATED$ in my > notifications, I > want to have it displayed within my jabber-notifications. > > Unfortunately this macro seemes not to work: > > Notification Type: PROBLEM > Service: ssh > Host: somehost > State: CRITICAL for 0d 0h 0m 52s > Address: 192.168.0.100 > Info: Connection refused > Date/Time: Mon Apr 6 16:05:19 CEST 2009 > ACK by: > Comment: > Escalated: $ This may indicate you have a typo in the macro name. Can you post the full notification command you are using? What version of nagios are you using? This macro is only valid for nagios-3.x. > I have enable_environment_macros=1 in my config. Is your notification script trying to access the value of the macro through environment variables? This would be unusual and would point to a different direction to look other than simple macro substitution. -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From glowe at sbcglobal.net Mon Apr 6 17:31:10 2009 From: glowe at sbcglobal.net (Grant Lowe) Date: Mon, 6 Apr 2009 08:31:10 -0700 (PDT) Subject: Notifications Message-ID: <184718.30746.qm@web81801.mail.mud.yahoo.com> Hi All, I've had nagios 3.0.3 on a linux box, going for several months now, checking swap, disk space, number of processes, and several other services on about 8 UNIX hosts. Last week, a fellow admin decided he wanted to add a bunch of hosts. He added the hosts, but only added the check_ping service for the hosts. But for some reason, nagios is doing the additional aforementioned services, not just ping, so now I have all these errors. My services file looks like this: define service{ use generic-service host_name server1,server2,server3,server4,server5,server6,server7,server8,server9,server10,server11,server12,server13,server14,server15,server16,server17,server18 hostgroup_name solaris-servers service_description Ping check_command check_ping!200.0,20%!600.0,60% max_check_attempts 5 notification_interval 60 check_period 24x7 notification_options w,u,c,r,f,s contacts glowe } define service{ use generic-service host_name server1,server2,server3,server4,server5,server6,server7,server8 hostgroup_name solaris-servers service_description Secure Shell check_command check_ssh max_check_attempts 5 notification_interval 60 check_period 24x7 notification_options w,u,c,r,f,s contacts glowe } Any ideas on why all the extra monitoring? ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Apr 6 17:49:17 2009 From: marc at ena.com (Marc Powell) Date: Mon, 6 Apr 2009 10:49:17 -0500 Subject: Notifications In-Reply-To: <184718.30746.qm@web81801.mail.mud.yahoo.com> References: <184718.30746.qm@web81801.mail.mud.yahoo.com> Message-ID: <32031E97-1530-41F1-A6AA-C7232F340E17@ena.com> On Apr 6, 2009, at 10:31 AM, Grant Lowe wrote: > > Hi All, > > I've had nagios 3.0.3 on a linux box, going for several months now, > checking swap, disk space, number of processes, and several other > services on about 8 UNIX hosts. Last week, a fellow admin decided > he wanted to add a bunch of hosts. He added the hosts, but only > added the check_ping service for the hosts. But for some reason, > nagios is doing the additional aforementioned services, not just > ping, so now I have all these errors. My services file looks like > this: > define service{ > use generic-service > host_name > server1,server2,server3,server4,server5,server6,server7,server8 > hostgroup_name solaris-servers > service_description Secure Shell > check_command check_ssh > max_check_attempts 5 > notification_interval 60 > check_period 24x7 > notification_options w,u,c,r,f,s > contacts glowe > } > > Any ideas on why all the extra monitoring? I see that you're applying service monitoring to hostgroups in addition to specific hosts. Is it possible that these new servers are in the 'solaris-servers' hostgroup or a different hostgroup that receives the additional monitoring? -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From eparker at scoe.org Mon Apr 6 17:46:38 2009 From: eparker at scoe.org (Eric Parker) Date: Mon, 6 Apr 2009 08:46:38 -0700 (PDT) Subject: Notifications In-Reply-To: <184718.30746.qm@web81801.mail.mud.yahoo.com> References: <184718.30746.qm@web81801.mail.mud.yahoo.com> Message-ID: <217685234.3963411239032798377.JavaMail.root@zimbra.scoe.org> Are the newly added hosts members of the hostgroup solaris-servers? Thanks, Eric ----- Original Message ----- From: "Grant Lowe" To: nagios-users at lists.sourceforge.net Sent: Monday, April 6, 2009 8:31:10 AM GMT -08:00 US/Canada Pacific Subject: [Nagios-users] Notifications Hi All, I've had nagios 3.0.3 on a linux box, going for several months now, checking swap, disk space, number of processes, and several other services on about 8 UNIX hosts. Last week, a fellow admin decided he wanted to add a bunch of hosts. He added the hosts, but only added the check_ping service for the hosts. But for some reason, nagios is doing the additional aforementioned services, not just ping, so now I have all these errors. My services file looks like this: define service{ use generic-service host_name server1,server2,server3,server4,server5,server6,server7,server8,server9,server10,server11,server12,server13,server14,server15,server16,server17,server18 hostgroup_name solaris-servers service_description Ping check_command check_ping!200.0,20%!600.0,60% max_check_attempts 5 notification_interval 60 check_period 24x7 notification_options w,u,c,r,f,s contacts glowe } define service{ use generic-service host_name server1,server2,server3,server4,server5,server6,server7,server8 hostgroup_name solaris-servers service_description Secure Shell check_command check_ssh max_check_attempts 5 notification_interval 60 check_period 24x7 notification_options w,u,c,r,f,s contacts glowe } Any ideas on why all the extra monitoring? ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------ Notice to Recipient: Information contained in this message may be privileged, confidential and protected from disclosure. If you are not an intended recipient, it is strictly prohibited to use, disseminate or copy this communication. If you have received this in error, please reply to the sender and then delete the message. Thank you. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From giorgio at zarrelli.org Mon Apr 6 18:04:06 2009 From: giorgio at zarrelli.org (Giorgio Zarrelli) Date: Mon, 06 Apr 2009 18:04:06 +0200 Subject: Notifications In-Reply-To: <184718.30746.qm@web81801.mail.mud.yahoo.com> References: <184718.30746.qm@web81801.mail.mud.yahoo.com> Message-ID: <20090406.8UZ.38932700@www.zarrelli.org> Grant Lowe (glowe at sbcglobal.net) scritto: > hostgroup_name solaris-servers > hostgroup_name solaris-servers > Any ideas on why all the extra monitoring? Check wether the extra monitors are configured to hostgroup level. If you put a host in solaris-server group and you have, let's say, disk check defined at the hostgroup level, all the hosts in that hostgroup will have the disk check applied. Giorgio ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From glowe at sbcglobal.net Mon Apr 6 18:24:47 2009 From: glowe at sbcglobal.net (Grant Lowe) Date: Mon, 6 Apr 2009 09:24:47 -0700 (PDT) Subject: Notifications References: <217685234.3963411239032798377.JavaMail.root@zimbra.scoe.org> Message-ID: <224430.8052.qm@web81806.mail.mud.yahoo.com> I just checked. All added hosts are members of the hostgroup solaris-servers. Thanks Eric. ----- Original Message ---- From: Eric Parker To: Grant Lowe Cc: nagios-users at lists.sourceforge.net Sent: Monday, April 6, 2009 8:46:38 AM Subject: Re: [Nagios-users] Notifications Are the newly added hosts members of the hostgroup solaris-servers? Thanks, Eric ----- Original Message ----- From: "Grant Lowe" To: nagios-users at lists.sourceforge.net Sent: Monday, April 6, 2009 8:31:10 AM GMT -08:00 US/Canada Pacific Subject: [Nagios-users] Notifications Hi All, I've had nagios 3.0.3 on a linux box, going for several months now, checking swap, disk space, number of processes, and several other services on about 8 UNIX hosts. Last week, a fellow admin decided he wanted to add a bunch of hosts. He added the hosts, but only added the check_ping service for the hosts. But for some reason, nagios is doing the additional aforementioned services, not just ping, so now I have all these errors. My services file looks like this: define service{ use generic-service host_name server1,server2,server3,server4,server5,server6,server7,server8,server9,server10,server11,server12,server13,server14,server15,server16,server17,server18 hostgroup_name solaris-servers service_description Ping check_command check_ping!200.0,20%!600.0,60% max_check_attempts 5 notification_interval 60 check_period 24x7 notification_options w,u,c,r,f,s contacts glowe } define service{ use generic-service host_name server1,server2,server3,server4,server5,server6,server7,server8 hostgroup_name solaris-servers service_description Secure Shell check_command check_ssh max_check_attempts 5 notification_interval 60 check_period 24x7 notification_options w,u,c,r,f,s contacts glowe } Any ideas on why all the extra monitoring? ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------ Notice to Recipient: Information contained in this message may be privileged, confidential and protected from disclosure. If you are not an intended recipient, it is strictly prohibited to use, disseminate or copy this communication. If you have received this in error, please reply to the sender and then delete the message. Thank you. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From glowe at sbcglobal.net Mon Apr 6 18:39:16 2009 From: glowe at sbcglobal.net (Grant Lowe) Date: Mon, 6 Apr 2009 09:39:16 -0700 (PDT) Subject: Notifications References: <184718.30746.qm@web81801.mail.mud.yahoo.com> <32031E97-1530-41F1-A6AA-C7232F340E17@ena.com> Message-ID: <671205.58601.qm@web81807.mail.mud.yahoo.com> Yes, that seems like the problem. But the way nagios is setup, I don't think I understand its setup. I see in my templates a host definition that has these lines: name solaris-servers hostgroups solaris-server In the hosts.cfg, services.cfg, and hostgroups file, this definition: hostgroup_name solaris-servers alias solaris-servers It looks the problem is there. But I'm not sure why. Please help me out. Thanks, Marc. ----- Original Message ---- From: Marc Powell To: nagios-users Mail-list Sent: Monday, April 6, 2009 8:49:17 AM Subject: Re: [Nagios-users] Notifications On Apr 6, 2009, at 10:31 AM, Grant Lowe wrote: > > Hi All, > > I've had nagios 3.0.3 on a linux box, going for several months now, > checking swap, disk space, number of processes, and several other > services on about 8 UNIX hosts. Last week, a fellow admin decided > he wanted to add a bunch of hosts. He added the hosts, but only > added the check_ping service for the hosts. But for some reason, > nagios is doing the additional aforementioned services, not just > ping, so now I have all these errors. My services file looks like > this: > define service{ > use generic-service > host_name > server1,server2,server3,server4,server5,server6,server7,server8 > hostgroup_name solaris-servers > service_description Secure Shell > check_command check_ssh > max_check_attempts 5 > notification_interval 60 > check_period 24x7 > notification_options w,u,c,r,f,s > contacts glowe > } > > Any ideas on why all the extra monitoring? I see that you're applying service monitoring to hostgroups in addition to specific hosts. Is it possible that these new servers are in the 'solaris-servers' hostgroup or a different hostgroup that receives the additional monitoring? -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 mailing list Nagios-users at 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 From israel at frontierflying.com Mon Apr 6 18:37:34 2009 From: israel at frontierflying.com (Israel Brewster) Date: Mon, 6 Apr 2009 08:37:34 -0800 Subject: Children "unreachable" on soft down? In-Reply-To: <5371864E-D51B-4B70-BDEE-E687037FF8EE@frontierflying.com> References: <758D039D-80C6-49D5-B0F4-03CB8308FADC@frontierflying.com> <49D1DDE6.9020605@op5.se> <5371864E-D51B-4B70-BDEE-E687037FF8EE@frontierflying.com> Message-ID: <28E03BE1-608A-4182-874A-74218E3AAB6D@frontierflying.com> So does anyone have any ideas as to how I can resolve this situation? It continues to be an annoyance. Thanks. ----------------------------------------------- Israel Brewster Computer Support Technician II Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- On Mar 31, 2009, at 8:17 AM, Israel Brewster wrote: > On Mar 31, 2009, at 1:09 AM, Andreas Ericsson wrote: > >> Israel Brewster wrote: >>> Does nagios (3.0.3) mark a child host as unreachable when its >>> parent enters a soft down state? I am finding myself getting >>> repeated down messages for a host (which is, in fact, down), even >>> though I have notifications set to only send a single message. >>> Looking at the logs, it would appear that what is happening is >>> that the host is flipping between "down" (which notifies me) and >>> "unreachable" (which does not). The parent host, however, never >>> enters a hard down state. Looking at the logs, what I see is that >>> one ICMP check fails, throwing the host into a soft down state, >>> but the next one works just fine, bringing it back to an up state. >>> The logic works fine for the parent host- since it never hits a >>> hard down state, it doesn't alert, and everyone is happy. But >>> apparently with the child host every time this happens, it >>> switches from critical to unreachable and back again, triggering a >>> notification. Is there any way to keep this from happening? Thanks. >> >> Doesn't flapping detection do what you want? You'd get a few >> notifications, but they'd stop after the 3rd flip or something, I >> think. > > Flapping detection helps, but doesn't solve. For one thing, as you > mentioned, you still get at least a couple of notifications before it > kicks in. For another thing, this happens with a frequency of > something like once an hour or so (not consistently), so the host will > flip from down to unreachable and back again, triggering an e-mail, > perhaps do it a second time, and then it will sit in the correct > "down" state for the next 50 checks or so (thus canceling any flapping > detection) before repeating the process. It's not like I'm getting > messages every five minutes or anything, it's just that I'm getting > repeated down messages every hour or two for hosts that have been down > and haven't actually changed state. > > I could, of course, schedule down time, except that I want to be > notified if/when the people in the remote station get their act > together and get the machine(s) in question back online. Also that is > only partially effective for machines that have been sent in for > repair, because I don't really know when the scheduled down time will > be over. They are down, I know they are down, I just don't want to be > told about it every few hours :-) > > ----------------------------------------------- > Israel Brewster > Computer Support Technician II > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > >> >> >> -- >> Andreas Ericsson andreas.ericsson at 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. > > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 mailing list Nagios-users at 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 From marc at ena.com Mon Apr 6 18:49:41 2009 From: marc at ena.com (Marc Powell) Date: Mon, 6 Apr 2009 11:49:41 -0500 Subject: Notifications In-Reply-To: <671205.58601.qm@web81807.mail.mud.yahoo.com> References: <184718.30746.qm@web81801.mail.mud.yahoo.com> <32031E97-1530-41F1-A6AA-C7232F340E17@ena.com> <671205.58601.qm@web81807.mail.mud.yahoo.com> Message-ID: On Apr 6, 2009, at 11:39 AM, Grant Lowe wrote: > > Yes, that seems like the problem. But the way nagios is setup, I > don't think I understand its setup. I see in my templates a host > definition that has these lines: > > name solaris-servers > hostgroups solaris-server Any host using this template is added to the group 'solaris-servers'. > In the hosts.cfg, services.cfg, and hostgroups file, this definition: > > hostgroup_name solaris-servers > alias solaris-servers For what definitions? This would only make sense for hostgroup definitions and is just creating the hostgroup container used by the host template above. > It looks the problem is there. But I'm not sure why. Please help > me out. Thanks, Marc. >> define service{ >> use generic-service >> host_name >> server1,server2,server3,server4,server5,server6,server7,server8 >> hostgroup_name solaris-servers >> service_description Secure Shell >> check_command check_ssh >> max_check_attempts 5 >> notification_interval 60 >> check_period 24x7 >> notification_options w,u,c,r,f,s >> contacts glowe >> } It's actually a combination. The service definition above says it should be applied to specific hosts (host_name line) *and* all hosts in the hostgroup 'solaris-servers' (hostgroup_name). Since the hosts are put into the solaris-servers hostgroup courtesy of their use of the template that says they should be, this service is applied to them. If you don't want to apply this service to those devices, remove them from the solaris-servers hostgroup _or_ remove the hostgroup_name line in the service definition and specify the individual host_names that the service _should_ apply to. -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sergio.ariel at iris.uh.cu Mon Apr 6 18:54:02 2009 From: sergio.ariel at iris.uh.cu (Sergio Ariel) Date: Mon, 06 Apr 2009 12:54:02 -0400 Subject: more than a variable in a pnp4nagios graph Message-ID: <49DA33AA.8070406@iris.uh.cu> I'm using pnp4nagios and now I need to graph more than a variable in the same graph. Somebody does know how to obtain that? -- Sergio Ariel de la Campa Saiz Administrador Red UH ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From eparker at scoe.org Mon Apr 6 19:01:43 2009 From: eparker at scoe.org (Eric Parker) Date: Mon, 6 Apr 2009 10:01:43 -0700 (PDT) Subject: Notifications In-Reply-To: <97179710.3973911239037184461.JavaMail.root@zimbra.scoe.org> References: <97179710.3973911239037184461.JavaMail.root@zimbra.scoe.org> Message-ID: <1618657787.3974401239037303690.JavaMail.root@zimbra.scoe.org> ditto with what Marc said. you can do something like this or remove hosts from hostgoup and specifically add the to the check_ping service check: # perform service check on all hosts in hostgroup define service{ use generic-service hostgroup_name solaris-servers service_description Ping check_command check_ping!200.0,20%!600.0,60% max_check_attempts 5 notification_interval 60 check_period 24x7 notification_options w,u,c,r,f,s contacts glowe } # perform service check on hostgroup but not on the new servers define service{ use generic-service host_name !server9,!server10,!server11,!server12,!server13,!server14,!server15,!server16,!server17,!server18 hostgroup_name solaris-servers service_description Secure Shell check_command check_ssh max_check_attempts 5 notification_interval 60 check_period 24x7 notification_options w,u,c,r,f,s contacts glowe } ----- Original Message ----- From: "Grant Lowe" To: "Eric Parker" Cc: nagios-users at lists.sourceforge.net Sent: Monday, April 6, 2009 9:24:47 AM GMT -08:00 US/Canada Pacific Subject: Re: [Nagios-users] Notifications I just checked. All added hosts are members of the hostgroup solaris-servers. Thanks Eric. ----- Original Message ---- From: Eric Parker To: Grant Lowe Cc: nagios-users at lists.sourceforge.net Sent: Monday, April 6, 2009 8:46:38 AM Subject: Re: [Nagios-users] Notifications Are the newly added hosts members of the hostgroup solaris-servers? Thanks, Eric ----- Original Message ----- From: "Grant Lowe" To: nagios-users at lists.sourceforge.net Sent: Monday, April 6, 2009 8:31:10 AM GMT -08:00 US/Canada Pacific Subject: [Nagios-users] Notifications Hi All, I've had nagios 3.0.3 on a linux box, going for several months now, checking swap, disk space, number of processes, and several other services on about 8 UNIX hosts. Last week, a fellow admin decided he wanted to add a bunch of hosts. He added the hosts, but only added the check_ping service for the hosts. But for some reason, nagios is doing the additional aforementioned services, not just ping, so now I have all these errors. My services file looks like this: define service{ use generic-service host_name server1,server2,server3,server4,server5,server6,server7,server8,server9,server10,server11,server12,server13,server14,server15,server16,server17,server18 hostgroup_name solaris-servers service_description Ping check_command check_ping!200.0,20%!600.0,60% max_check_attempts 5 notification_interval 60 check_period 24x7 notification_options w,u,c,r,f,s contacts glowe } define service{ use generic-service host_name server1,server2,server3,server4,server5,server6,server7,server8 hostgroup_name solaris-servers service_description Secure Shell check_command check_ssh max_check_attempts 5 notification_interval 60 check_period 24x7 notification_options w,u,c,r,f,s contacts glowe } Any ideas on why all the extra monitoring? ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------ Notice to Recipient: Information contained in this message may be privileged, confidential and protected from disclosure. If you are not an intended recipient, it is strictly prohibited to use, disseminate or copy this communication. If you have received this in error, please reply to the sender and then delete the message. Thank you. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 From matt at frozenatom.com Mon Apr 6 18:43:49 2009 From: matt at frozenatom.com (Matt Nelson) Date: Mon, 6 Apr 2009 10:43:49 -0600 Subject: check_command instant feedback In-Reply-To: <148f6bb30904020721m1d3816f8u8af2db57af03b183@mail.gmail.com> References: <148f6bb30904020721m1d3816f8u8af2db57af03b183@mail.gmail.com> Message-ID: <148f6bb30904060943u162a6eat54691ddb9ce601f3@mail.gmail.com> Hello, I'd like to be able to run a check_command from the command line and have it return feedback immediately (versus a forced-check from the webui). Is this possible? The reason for this is that I'm trying to throw together a simple web interface and when the user clicks 'recheck' a window will pop up with the results of that particular service's check_command. I thought about parsing the commands.cfg file for the command and then looping through the $ARGX$ fields and plugging in the correct values - but this seems extremely complicated (what with dealing with commands with variable-length fields, user macros, etc.). Any help is appreciated, Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From matt at frozenatom.com Mon Apr 6 18:45:42 2009 From: matt at frozenatom.com (Matt Nelson) Date: Mon, 6 Apr 2009 10:45:42 -0600 Subject: Change bcc to cc for notifications Message-ID: <148f6bb30904060945k160ca8f8pefcf6003439c3dbd@mail.gmail.com> Is there a way to change the notifications that go out to multiple contact groups to cc all the groups? It looks like it is either bcc'ing the groups or sending individual notifications to each group. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Apr 6 19:38:27 2009 From: marc at ena.com (Marc Powell) Date: Mon, 6 Apr 2009 12:38:27 -0500 Subject: Change bcc to cc for notifications In-Reply-To: <148f6bb30904060945k160ca8f8pefcf6003439c3dbd@mail.gmail.com> References: <148f6bb30904060945k160ca8f8pefcf6003439c3dbd@mail.gmail.com> Message-ID: <42A2A504-51AA-4165-99C8-E2FA189361F6@ena.com> On Apr 6, 2009, at 11:45 AM, Matt Nelson wrote: > Is there a way to change the notifications that go out to multiple > contact groups to cc all the groups? It looks like it is either > bcc'ing the groups or sending individual notifications to each group. Nagios is evaluating and sending notifications on a per-contact basis. It fully processes each contact, including sending the notification, before moving on to the next. This is done because each contact can have different contact options and time periods. Notification grouping would require more complex logic just to fulfill a niche need. There's nothing built in to nagios to allow for the notification grouping that you want nor are there add on projects that provide it that I know of. Such an add-on would need to receive notifications, group them by problem then somehow determine that nagios has sent to all the recipients (a specific interval after first notification) and then create the real notification. Nagios Notification Daemon (http://nlchiintmg.com/nan.php) is sort-of like what you need, but not it. -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Apr 6 19:45:53 2009 From: marc at ena.com (Marc Powell) Date: Mon, 6 Apr 2009 12:45:53 -0500 Subject: check_command instant feedback In-Reply-To: <148f6bb30904060943u162a6eat54691ddb9ce601f3@mail.gmail.com> References: <148f6bb30904020721m1d3816f8u8af2db57af03b183@mail.gmail.com> <148f6bb30904060943u162a6eat54691ddb9ce601f3@mail.gmail.com> Message-ID: <1672D136-50AA-4773-B6E5-E5FE778EA3B5@ena.com> On Apr 6, 2009, at 11:43 AM, Matt Nelson wrote: > Hello, I'd like to be able to run a check_command from the command > line and have it return feedback immediately (versus a forced-check > from the webui). Is this possible? Given time and a sufficiently motivated programmer, anything is possible. Reasonably so? Probably not. > The reason for this is that I'm trying to throw together a simple > web interface and when the user clicks 'recheck' a window will pop > up with the results of that particular service's check_command. > > I thought about parsing the commands.cfg file for the command and > then looping through the $ARGX$ fields and plugging in the correct > values - but this seems extremely complicated (what with dealing > with commands with variable-length fields, user macros, etc.). Yup, this is about what you'd need to do. I've never seen anything that would spit out the command that nagios would execute, fully expanded. I could see that being interesting in the host/service info though. If someone were to code that addition to the CGI's (if it's possible), that would get you about 1/2 way there. Another point to consider is that your checks would be run as the httpd user presumably, which may or may not be able to run all the commands that nagios can. For example, check_by_ssh checks would be problematic... -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From matt at frozenatom.com Mon Apr 6 19:59:40 2009 From: matt at frozenatom.com (Matt Nelson) Date: Mon, 6 Apr 2009 11:59:40 -0600 Subject: Change bcc to cc for notifications In-Reply-To: <42A2A504-51AA-4165-99C8-E2FA189361F6@ena.com> References: <148f6bb30904060945k160ca8f8pefcf6003439c3dbd@mail.gmail.com> <42A2A504-51AA-4165-99C8-E2FA189361F6@ena.com> Message-ID: <148f6bb30904061059y59ec5cc5j7891bac079a769ad@mail.gmail.com> Thanks Marc. After writing this and digging a bit, and seeing your reply this makes sense. We are moving from sitescope and are used to using the "reply to all" on the email to notify people of what is going on. On Mon, Apr 6, 2009 at 11:38 AM, Marc Powell wrote: > > On Apr 6, 2009, at 11:45 AM, Matt Nelson wrote: > > > Is there a way to change the notifications that go out to multiple > > contact groups to cc all the groups? It looks like it is either > > bcc'ing the groups or sending individual notifications to each group. > > Nagios is evaluating and sending notifications on a per-contact basis. > It fully processes each contact, including sending the notification, > before moving on to the next. This is done because each contact can > have different contact options and time periods. Notification grouping > would require more complex logic just to fulfill a niche need. > > There's nothing built in to nagios to allow for the notification > grouping that you want nor are there add on projects that provide it > that I know of. Such an add-on would need to receive notifications, > group them by problem then somehow determine that nagios has sent to > all the recipients (a specific interval after first notification) and > then create the real notification. > > Nagios Notification Daemon (http://nlchiintmg.com/nan.php) is sort-of > like what you need, but not it. > > -- > Marc > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jakepaulus at gmail.com Mon Apr 6 19:59:53 2009 From: jakepaulus at gmail.com (Jake) Date: Mon, 6 Apr 2009 13:59:53 -0400 Subject: Change bcc to cc for notifications In-Reply-To: <42A2A504-51AA-4165-99C8-E2FA189361F6@ena.com> References: <148f6bb30904060945k160ca8f8pefcf6003439c3dbd@mail.gmail.com> <42A2A504-51AA-4165-99C8-E2FA189361F6@ena.com> Message-ID: <884bae280904061059j1381cca0o3ee9340e84b4ee9d@mail.gmail.com> We have this need as well and decided to make a fake contact in each contact group with a distribution list as the email address. The purpose here is that folks can reply-all with problem notes as resolution progresses beyond the initial ack. On 4/6/09, Marc Powell wrote: > > On Apr 6, 2009, at 11:45 AM, Matt Nelson wrote: > >> Is there a way to change the notifications that go out to multiple >> contact groups to cc all the groups? It looks like it is either >> bcc'ing the groups or sending individual notifications to each group. > > Nagios is evaluating and sending notifications on a per-contact basis. > It fully processes each contact, including sending the notification, > before moving on to the next. This is done because each contact can > have different contact options and time periods. Notification grouping > would require more complex logic just to fulfill a niche need. > > There's nothing built in to nagios to allow for the notification > grouping that you want nor are there add on projects that provide it > that I know of. Such an add-on would need to receive notifications, > group them by problem then somehow determine that nagios has sent to > all the recipients (a specific interval after first notification) and > then create the real notification. > > Nagios Notification Daemon (http://nlchiintmg.com/nan.php) is sort-of > like what you need, but not it. > > -- > Marc > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Sent from my mobile device Jake Paulus JakePaulus at gmail.com ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From deibertine at yahoo.com Mon Apr 6 20:17:52 2009 From: deibertine at yahoo.com (Dei Bertine) Date: Mon, 6 Apr 2009 11:17:52 -0700 (PDT) Subject: Nagios: Adding Windows Servers to monitor In-Reply-To: <765d77c80904040055u11b89e86m9b7423eeb014b711@mail.gmail.com> References: <488453.49892.qm@web111211.mail.gq1.yahoo.com> <765d77c80904040055u11b89e86m9b7423eeb014b711@mail.gmail.com> Message-ID: <873928.40915.qm@web111203.mail.gq1.yahoo.com> Thanks for the detailed explanation, Jim. So far I'm not getting a successful rate on adding my Windows server in Nagios. Followed detailed instructions in Nagios but still getting errors. http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html Is there an easy way to add the Windows servers in Nagios or other documentation that I can follow? Please kindly advise, need expertise assistance. Thank you! ________________________________ From: Jim Avery To: Dei Bertine Cc: nagios-users at lists.sourceforge.net Sent: Saturday, April 4, 2009 12:55:56 AM Subject: Re: [Nagios-users] Nagios Error: Could not find any host matching/Could not expand hostgroups and/or hosts > Error: Could not find any host matching 'win4503' Nagios has found an object which refers to a host called win4503, but can't find a host definition for it anywhere in your configuration files. > Error: Could not expand hostgroups and/or hosts specified in service (config > file '/usr/local/nagios/etc/windows.cfg', starting on line 36) This tells you where Nagios found this problem. It looks like you have defined a service in your windows.cfg file, but have not created a host definition for host "win4503'. Have a look through the sample configuration files to see what a host definition should look like, or see http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host An excellent way to get started with Nagios is to read the book "Nagios" by Wolfgang Barth. http://nostarch.com/nagios_2e.htm hth, Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From matt at frozenatom.com Mon Apr 6 20:33:18 2009 From: matt at frozenatom.com (Matt Nelson) Date: Mon, 6 Apr 2009 12:33:18 -0600 Subject: Change bcc to cc for notifications In-Reply-To: <884bae280904061059j1381cca0o3ee9340e84b4ee9d@mail.gmail.com> References: <148f6bb30904060945k160ca8f8pefcf6003439c3dbd@mail.gmail.com> <42A2A504-51AA-4165-99C8-E2FA189361F6@ena.com> <884bae280904061059j1381cca0o3ee9340e84b4ee9d@mail.gmail.com> Message-ID: <148f6bb30904061133v2a8dc426r37015e650431f00a@mail.gmail.com> On Mon, Apr 6, 2009 at 11:59 AM, Jake wrote: > We have this need as well and decided to make a fake contact in each > contact group with a distribution list as the email address. The > purpose here is that folks can reply-all with problem notes as > resolution progresses beyond the initial ack. > > On 4/6/09, Marc Powell wrote: > > > > On Apr 6, 2009, at 11:45 AM, Matt Nelson wrote: > > > >> Is there a way to change the notifications that go out to multiple > >> contact groups to cc all the groups? It looks like it is either > >> bcc'ing the groups or sending individual notifications to each group. > > > > Nagios is evaluating and sending notifications on a per-contact basis. > > It fully processes each contact, including sending the notification, > > before moving on to the next. This is done because each contact can > > have different contact options and time periods. Notification grouping > > would require more complex logic just to fulfill a niche need. > > > > There's nothing built in to nagios to allow for the notification > > grouping that you want nor are there add on projects that provide it > > that I know of. Such an add-on would need to receive notifications, > > group them by problem then somehow determine that nagios has sent to > > all the recipients (a specific interval after first notification) and > > then create the real notification. > > > > Nagios Notification Daemon (http://nlchiintmg.com/nan.php) is sort-of > > like what you need, but not it. > > > > -- > > Marc > > > > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by: > > High Quality Requirements in a Collaborative Environment. > > Download a free trial of Rational Requirements Composer Now! > > http://p.sf.net/sfu/www-ibm-com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > -- > Sent from my mobile device > > Jake Paulus > JakePaulus at gmail.com > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > I've thought about doing that but have not done it yet because we have so many different combinations of notification groups. I have thought of adding a "MailTo" in the email that would have the list of contacts that I could build from, but that only lists groups that the recipient is part of. I have also thought of writing something like nan, that would gather notifications and send every say 10-15 seconds anything that is older then say 20 seconds, and group the email by body and subject, and lump the contacts into the Cc field... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From israel at frontierflying.com Mon Apr 6 20:55:33 2009 From: israel at frontierflying.com (Israel Brewster) Date: Mon, 6 Apr 2009 10:55:33 -0800 Subject: Children "unreachable" on soft down? In-Reply-To: <20090406.gv5.87263900@www.zarrelli.org> References: <20090406.gv5.87263900@www.zarrelli.org> Message-ID: <2DCA7EEA-36D0-4010-BB84-CDBF1B7CAB3C@frontierflying.com> On Apr 6, 2009, at 9:03 AM, Giorgio Zarrelli wrote: > Hi, > > I've not quite clear what happens to you, Thanks for the response. For clarification, the exact sequence of events is as follows: 1) The link between the nagios box and one of our routers, which we will refer to as the parent host glitches for 30 seconds or so. Due to the nature of the link (satellite connection) this is semi-expected, and happens a couple of times a day. 2) Nagios catches this glitch in one of it's regularly scheduled host checks, and puts the parent host into a soft down state. Again, normal and expected - even good. 3) At the same time, Nagios puts the children of the parent host into an "unreachable" state. Makes sense, at least, but leads to the issue 4) The parent host is now in recheck mode (as it is only in a soft down state and has three rechecks set), so it checks again a minute later. This check succeeds, as the outage was transitory. The parent host is put back into an "UP" state. As it never was in a hard "down" state, no notification is sent. This is good. 5) since the parent is now up, the child host now is changed to a (soft I think) "down" state. 6) check continue on a normal schedule. As the link does not glitch again for several hours, parent remains up and child remains (correctly) down. Three checks later, child enters a hard "down" state (since it was unreachable and only just switched back to down). Down notification is sent for child. 7) Everything remains good for the next several hours until the link glitches again. Repeat from step one. The notification in step 6 is the problem here - the child host was down before the glitch, the child host is still down after. But because the child host was temporarily put in an unreachable state, we get notified again that it is down, resulting in a string of "DOWN" messages with no up or real change in status. > but one thing I have in mind is try > > soft_state_dependencies=0 > > Besides that, the problems seems to be in the roots of the check. > It's not > healty to have a ping check failing every 2 strikes. Try to change > the host > alive check, using a ssh check instead. The check is not failing every 2 strikes. It's failing once, briefly, every few hours - just barely long enough to make one check fail and throw the parent host into a soft down state. The first recheck (one minute later) works fine, bringing the parent back to an up state. The next several hundred or more checks also work fine (as the problem was transitory and brief). For this reason, changing the check wouldn't help - for the duration of that single check, the host really is down (or more precisely, unreachable, as it is a link issue), and any check I used would say so. > Another approach, not so useful, would be to increase the timeout > for the ping > (-W) so it will have less chances to fail. except that it's not a timeout issue. It is a very real, albeit brief (around 30 seconds or so), outage. Not long enough or frequent enough to really impact productivity or anything, but long enough for nagios to catch it (for a single check). ----------------------------------------------- Israel Brewster Computer Support Technician II Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > Giorgio > > Israel Brewster (israel at frontierflying.com) scritto: >> >> So does anyone have any ideas as to how I can resolve this situation? >> It continues to be an annoyance. Thanks. >> >> ----------------------------------------------- >> Israel Brewster >> Computer Support Technician II >> Frontier Flying Service Inc. >> 5245 Airport Industrial Rd >> Fairbanks, AK 99709 >> (907) 450-7250 x293 >> ----------------------------------------------- >> >> >> >> On Mar 31, 2009, at 8:17 AM, Israel Brewster wrote: >> >>> On Mar 31, 2009, at 1:09 AM, Andreas Ericsson wrote: >>> >>>> Israel Brewster wrote: >>>>> Does nagios (3.0.3) mark a child host as unreachable when its >>>>> parent enters a soft down state? I am finding myself getting >>>>> repeated down messages for a host (which is, in fact, down), even >>>>> though I have notifications set to only send a single message. >>>>> Looking at the logs, it would appear that what is happening is >>>>> that the host is flipping between "down" (which notifies me) and >>>>> "unreachable" (which does not). The parent host, however, never >>>>> enters a hard down state. Looking at the logs, what I see is that >>>>> one ICMP check fails, throwing the host into a soft down state, >>>>> but the next one works just fine, bringing it back to an up >>>>> state. >>>>> The logic works fine for the parent host- since it never hits a >>>>> hard down state, it doesn't alert, and everyone is happy. But >>>>> apparently with the child host every time this happens, it >>>>> switches from critical to unreachable and back again, >>>>> triggering a >>>>> notification. Is there any way to keep this from happening? >>>>> Thanks. >>>> >>>> Doesn't flapping detection do what you want? You'd get a few >>>> notifications, but they'd stop after the 3rd flip or something, I >>>> think. >>> >>> Flapping detection helps, but doesn't solve. For one thing, as you >>> mentioned, you still get at least a couple of notifications before >>> it >>> kicks in. For another thing, this happens with a frequency of >>> something like once an hour or so (not consistently), so the host >>> will >>> flip from down to unreachable and back again, triggering an e-mail, >>> perhaps do it a second time, and then it will sit in the correct >>> "down" state for the next 50 checks or so (thus canceling any >>> flapping >>> detection) before repeating the process. It's not like I'm getting >>> messages every five minutes or anything, it's just that I'm getting >>> repeated down messages every hour or two for hosts that have been >>> down >>> and haven't actually changed state. >>> >>> I could, of course, schedule down time, except that I want to be >>> notified if/when the people in the remote station get their act >>> together and get the machine(s) in question back online. Also that >>> is >>> only partially effective for machines that have been sent in for >>> repair, because I don't really know when the scheduled down time >>> will >>> be over. They are down, I know they are down, I just don't want to >>> be >>> told about it every few hours :-) >>> >>> ----------------------------------------------- >>> Israel Brewster >>> Computer Support Technician II >>> Frontier Flying Service Inc. >>> 5245 Airport Industrial Rd >>> Fairbanks, AK 99709 >>> (907) 450-7250 x293 >>> ----------------------------------------------- >>> >>>> >>>> >>>> -- >>>> Andreas Ericsson andreas.ericsson at 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. >>> >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at 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 mailing list >> Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From glowe at sbcglobal.net Mon Apr 6 22:56:35 2009 From: glowe at sbcglobal.net (Grant Lowe) Date: Mon, 6 Apr 2009 13:56:35 -0700 (PDT) Subject: Notifications References: <1618657787.3974401239037303690.JavaMail.root@zimbra.scoe.org> Message-ID: <691242.563.qm@web81808.mail.mud.yahoo.com> Yes, Eric, ditto what Mark said.? Great minds agree :-).? Thanks for the help, guys.? Nagios is now back to it's happy self. I ended up doing the second one, to exclude certain hosts from the service.? That way, I can include services and hosts as they come on-line, one-by-one ----- Original Message ---- From: Eric Parker To: Grant Lowe Cc: nagios-users at lists.sourceforge.net Sent: Monday, April 6, 2009 10:01:43 AM Subject: Re: [Nagios-users] Notifications ditto with what Marc said. you can do something like this or remove hosts from hostgoup and specifically add the to the check_ping service check: # perform service check on all hosts in hostgroup define service{ ? ? use? ? ? ? ? ? ? ? ? ? ? ? ? ? generic-service ? ? hostgroup_name? ? ? ? ? ? ? ? ? solaris-servers ? ? service_description? ? ? ? ? ? Ping ? ? check_command? ? ? ? ? ? ? ? ? check_ping!200.0,20%!600.0,60% ? ? max_check_attempts? ? ? ? ? ? ? 5 ? ? notification_interval? ? ? ? ? 60 ? ? check_period? ? ? ? ? ? ? ? ? ? 24x7 ? ? notification_options? ? ? ? ? ? w,u,c,r,f,s ? ? contacts? ? ? ? ? ? ? ? ? ? ? glowe } # perform service check on hostgroup but not on the new servers define service{ ? ? use? ? ? ? ? ? ? ? ? ? ? ? ? ? generic-service ? ? host_name? ? ? ? ? ? ? ? ? ? ? !server9,!server10,!server11,!server12,!server13,!server14,!server15,!server16,!server17,!server18 ? ? hostgroup_name? ? ? ? ? ? ? ? ? solaris-servers ? ? service_description? ? ? ? ? ? Secure Shell ? ? check_command? ? ? ? ? ? ? ? ? check_ssh ? ? max_check_attempts? ? ? ? ? ? ? 5 ? ? notification_interval? ? ? ? ? 60 ? ? check_period? ? ? ? ? ? ? ? ? ? 24x7 ? ? notification_options? ? ? ? ? ? w,u,c,r,f,s ? ? contacts? ? ? ? ? ? ? ? ? ? ? ? ? ? ? glowe } ----- Original Message ----- From: "Grant Lowe" To: "Eric Parker" Cc: nagios-users at lists.sourceforge.net Sent: Monday, April 6, 2009 9:24:47 AM GMT -08:00 US/Canada Pacific Subject: Re: [Nagios-users] Notifications I just checked.? All added hosts are members of the hostgroup solaris-servers.? Thanks Eric. ----- Original Message ---- From: Eric Parker To: Grant Lowe Cc: nagios-users at lists.sourceforge.net Sent: Monday, April 6, 2009 8:46:38 AM Subject: Re: [Nagios-users] Notifications Are the newly added hosts members of the hostgroup solaris-servers? Thanks, Eric ----- Original Message ----- From: "Grant Lowe" To: nagios-users at lists.sourceforge.net Sent: Monday, April 6, 2009 8:31:10 AM GMT -08:00 US/Canada Pacific Subject: [Nagios-users] Notifications Hi All, I've had nagios 3.0.3 on a linux box, going for several months now, checking swap, disk space, number of processes, and several other services on about 8 UNIX hosts.? Last week, a fellow admin decided he wanted to add a bunch of hosts.? He added the hosts, but only added the check_ping service for the hosts.? But for some reason, nagios is doing the additional aforementioned services, not just ping, so now I have all these errors.? My services file looks like this: define service{ use? ? ? ? ? ? ? ? ? ? ? ? ? ? generic-service host_name? ? ? ? ? ? ? ? ? ? ? server1,server2,server3,server4,server5,server6,server7,server8,server9,server10,server11,server12,server13,server14,server15,server16,server17,server18 hostgroup_name? ? ? ? ? ? ? ? ? solaris-servers service_description? ? ? ? ? ? Ping check_command? ? ? ? ? ? ? ? ? check_ping!200.0,20%!600.0,60% max_check_attempts? ? ? ? ? ? ? 5 notification_interval? ? ? ? ? 60 check_period? ? ? ? ? ? ? ? ? ? 24x7 notification_options? ? ? ? ? ? w,u,c,r,f,s contacts? ? ? ? ? ? ? ? ? ? ? glowe } define service{ use? ? ? ? ? ? ? ? ? ? ? ? ? ? generic-service host_name? ? ? ? ? ? ? ? ? ? ? server1,server2,server3,server4,server5,server6,server7,server8 hostgroup_name? ? ? ? ? ? ? ? ? solaris-servers service_description? ? ? ? ? ? Secure Shell check_command? ? ? ? ? ? ? ? ? check_ssh max_check_attempts? ? ? ? ? ? ? 5 notification_interval? ? ? ? ? 60 check_period? ? ? ? ? ? ? ? ? ? 24x7 notification_options? ? ? ? ? ? w,u,c,r,f,s contacts? ? ? ? ? ? ? ? ? ? ? ? ? ? ? glowe } Any ideas on why all the extra monitoring? ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------ Notice to Recipient: ? Information contained in this message may be privileged, confidential and ? protected from disclosure. If you are not an intended recipient, it is ? strictly prohibited to use, disseminate or copy this communication. If you ? have received this in error, please reply to the sender and then delete the ? message. Thank you. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jsullivan at mndigital.com Mon Apr 6 22:56:07 2009 From: jsullivan at mndigital.com (Janet Sullivan) Date: Mon, 6 Apr 2009 13:56:07 -0700 Subject: Escape \ in nagios config files? Message-ID: <639A81928082A94DA5EC95A8E723B9492D2876@SEAMAIL01.musicnet.com> I want to check the disk space of a UNC path - \\localhost\_definst_\mp3\mn_mp3_08_07\streams >From the command line, I can check it fine (using check_nrpe2) if I escape each \ like this: \\\\localhost\\_definst_\\mp3\\mn_mp3_08_07\\streams But when I try to use configure Nagios to check it, it strips out all the \ characters. I've tried single quotes, double quotes, and escaping each \ - no luck. How can I tell Nagios about this path in a service definition without it stripping out the special characters? Is there an escape method I'm missing? ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jsullivan at mndigital.com Mon Apr 6 23:02:09 2009 From: jsullivan at mndigital.com (Janet Sullivan) Date: Mon, 6 Apr 2009 14:02:09 -0700 Subject: Escape \ in nagios config files? Message-ID: <639A81928082A94DA5EC95A8E723B9492D2877@SEAMAIL01.musicnet.com> Of course, right after I sent that, I found a solution. It seems I can use 3 \s to escape a \. My path in the service definition becomes: \\\\\\\\localhost\\\\_definst_\\\\mp3\\\\mn_mp3_08_07\\\\streams ...and it works. Is there a list of all the ways to escape special characters in Nagios? The only reason I came up with the three \ escape sequence was because I noticed that my \\\\localhost was being seen as \localhost in the error message. I haven't found any mention of that sequence on google. :-/ -----Original Message----- From: Janet Sullivan Sent: Monday, April 06, 2009 1:56 PM To: 'nagios-users at lists.sourceforge.net' Subject: Escape \ in nagios config files? I want to check the disk space of a UNC path - \\localhost\_definst_\mp3\mn_mp3_08_07\streams >From the command line, I can check it fine (using check_nrpe2) if I escape each \ like this: \\\\localhost\\_definst_\\mp3\\mn_mp3_08_07\\streams But when I try to use configure Nagios to check it, it strips out all the \ characters. I've tried single quotes, double quotes, and escaping each \ - no luck. How can I tell Nagios about this path in a service definition without it stripping out the special characters? Is there an escape method I'm missing? ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From glowe at sbcglobal.net Mon Apr 6 23:33:51 2009 From: glowe at sbcglobal.net (Grant Lowe) Date: Mon, 6 Apr 2009 14:33:51 -0700 (PDT) Subject: Notifications References: <1618657787.3974401239037303690.JavaMail.root@zimbra.scoe.org> <691242.563.qm@web81808.mail.mud.yahoo.com> Message-ID: <807323.4287.qm@web81806.mail.mud.yahoo.com> Well, I think I spoke a little soon, but in a weird sort of way.? The GUI is not showing unconfigured services, but I'm still getting notifications about the unconfigured services.? The notifications were just delayed.? What should I check now? ----- Original Message ---- From: Grant Lowe To: Eric Parker Cc: nagios-users at lists.sourceforge.net Sent: Monday, April 6, 2009 1:56:35 PM Subject: Re: [Nagios-users] Notifications Yes, Eric, ditto what Mark said.? Great minds agree :-).? Thanks for the help, guys.? Nagios is now back to its happy self. I ended up doing the second one, to exclude certain hosts from the service.? That way, I can include services and hosts as they come on-line, one-by-one ----- Original Message ---- From: Eric Parker To: Grant Lowe Cc: nagios-users at lists.sourceforge.net Sent: Monday, April 6, 2009 10:01:43 AM Subject: Re: [Nagios-users] Notifications ditto with what Marc said. you can do something like this or remove hosts from hostgoup and specifically add the to the check_ping service check: # perform service check on all hosts in hostgroup define service{ ? ? use? ? ? ? ? ? ? ? ? ? ? ? ? ? generic-service ? ? hostgroup_name? ? ? ? ? ? ? ? ? solaris-servers ? ? service_description? ? ? ? ? ? Ping ? ? check_command? ? ? ? ? ? ? ? ? check_ping!200.0,20%!600.0,60% ? ? max_check_attempts? ? ? ? ? ? ? 5 ? ? notification_interval? ? ? ? ? 60 ? ? check_period? ? ? ? ? ? ? ? ? ? 24x7 ? ? notification_options? ? ? ? ? ? w,u,c,r,f,s ? ? contacts? ? ? ? ? ? ? ? ? ? ? glowe } # perform service check on hostgroup but not on the new servers define service{ ? ? use? ? ? ? ? ? ? ? ? ? ? ? ? ? generic-service ? ? host_name? ? ? ? ? ? ? ? ? ? ? !server9,!server10,!server11,!server12,!server13,!server14,!server15,!server16,!server17,!server18 ? ? hostgroup_name? ? ? ? ? ? ? ? ? solaris-servers ? ? service_description? ? ? ? ? ? Secure Shell ? ? check_command? ? ? ? ? ? ? ? ? check_ssh ? ? max_check_attempts? ? ? ? ? ? ? 5 ? ? notification_interval? ? ? ? ? 60 ? ? check_period? ? ? ? ? ? ? ? ? ? 24x7 ? ? notification_options? ? ? ? ? ? w,u,c,r,f,s ? ? contacts? ? ? ? ? ? ? ? ? ? ? ? ? ? ? glowe } ----- Original Message ----- From: "Grant Lowe" To: "Eric Parker" Cc: nagios-users at lists.sourceforge.net Sent: Monday, April 6, 2009 9:24:47 AM GMT -08:00 US/Canada Pacific Subject: Re: [Nagios-users] Notifications I just checked.? All added hosts are members of the hostgroup solaris-servers.? Thanks Eric. ----- Original Message ---- From: Eric Parker To: Grant Lowe Cc: nagios-users at lists.sourceforge.net Sent: Monday, April 6, 2009 8:46:38 AM Subject: Re: [Nagios-users] Notifications Are the newly added hosts members of the hostgroup solaris-servers? Thanks, Eric ----- Original Message ----- From: "Grant Lowe" To: nagios-users at lists.sourceforge.net Sent: Monday, April 6, 2009 8:31:10 AM GMT -08:00 US/Canada Pacific Subject: [Nagios-users] Notifications Hi All, I've had nagios 3.0.3 on a linux box, going for several months now, checking swap, disk space, number of processes, and several other services on about 8 UNIX hosts.? Last week, a fellow admin decided he wanted to add a bunch of hosts.? He added the hosts, but only added the check_ping service for the hosts.? But for some reason, nagios is doing the additional aforementioned services, not just ping, so now I have all these errors.? My services file looks like this: define service{ use? ? ? ? ? ? ? ? ? ? ? ? ? ? generic-service host_name? ? ? ? ? ? ? ? ? ? ? server1,server2,server3,server4,server5,server6,server7,server8,server9,server10,server11,server12,server13,server14,server15,server16,server17,server18 hostgroup_name? ? ? ? ? ? ? ? ? solaris-servers service_description? ? ? ? ? ? Ping check_command? ? ? ? ? ? ? ? ? check_ping!200.0,20%!600.0,60% max_check_attempts? ? ? ? ? ? ? 5 notification_interval? ? ? ? ? 60 check_period? ? ? ? ? ? ? ? ? ? 24x7 notification_options? ? ? ? ? ? w,u,c,r,f,s contacts? ? ? ? ? ? ? ? ? ? ? glowe } define service{ use? ? ? ? ? ? ? ? ? ? ? ? ? ? generic-service host_name? ? ? ? ? ? ? ? ? ? ? server1,server2,server3,server4,server5,server6,server7,server8 hostgroup_name? ? ? ? ? ? ? ? ? solaris-servers service_description? ? ? ? ? ? Secure Shell check_command? ? ? ? ? ? ? ? ? check_ssh max_check_attempts? ? ? ? ? ? ? 5 notification_interval? ? ? ? ? 60 check_period? ? ? ? ? ? ? ? ? ? 24x7 notification_options? ? ? ? ? ? w,u,c,r,f,s contacts? ? ? ? ? ? ? ? ? ? ? ? ? ? ? glowe } Any ideas on why all the extra monitoring? ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------ Notice to Recipient: ? Information contained in this message may be privileged, confidential and ? protected from disclosure. If you are not an intended recipient, it is ? strictly prohibited to use, disseminate or copy this communication. If you ? have received this in error, please reply to the sender and then delete the ? message. Thank you. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Apr 6 23:44:27 2009 From: marc at ena.com (Marc Powell) Date: Mon, 6 Apr 2009 16:44:27 -0500 Subject: Escape \ in nagios config files? In-Reply-To: <639A81928082A94DA5EC95A8E723B9492D2877@SEAMAIL01.musicnet.com> References: <639A81928082A94DA5EC95A8E723B9492D2877@SEAMAIL01.musicnet.com> Message-ID: <881B060C-3162-45C1-AA11-67E58355C034@ena.com> On Apr 6, 2009, at 4:02 PM, Janet Sullivan wrote: > Of course, right after I sent that, I found a solution. It seems I > can > use 3 \s to escape a \. My path in the service definition becomes: > > \\\\\\\\localhost\\\\_definst_\\\\mp3\\\\mn_mp3_08_07\\\\streams > > ...and it works. > > Is there a list of all the ways to escape special characters in > Nagios? > The only reason I came up with the three \ escape sequence was > because I > noticed that my \\\\localhost was being seen as \localhost in the > error > message. I haven't found any mention of that sequence on google. :-/ \ is an escape character for both nagios and the shell. Actual service and command definitions may help clarify the situation but I expect that you're passing the path as an $ARGx$ via the service definition. You'll need to escape each \ there with a \ (see first Tip at http://nagios.sourceforge.net/docs/3_0/macros.html) so that nagios treats them as literalls and not as nagios' internal escape character. I'm going to next assume that the command_line for the check command doesn't quote the $ARGx$ macro so you need another \ for each \\ pair otherwise the shell will treat one of each pair as an escape. If you need to use a $ in a command_line, you should use $$. -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Apr 6 23:46:05 2009 From: marc at ena.com (Marc Powell) Date: Mon, 6 Apr 2009 16:46:05 -0500 Subject: Notifications In-Reply-To: <807323.4287.qm@web81806.mail.mud.yahoo.com> References: <1618657787.3974401239037303690.JavaMail.root@zimbra.scoe.org> <691242.563.qm@web81808.mail.mud.yahoo.com> <807323.4287.qm@web81806.mail.mud.yahoo.com> Message-ID: On Apr 6, 2009, at 4:33 PM, Grant Lowe wrote: > > Well, I think I spoke a little soon, but in a weird sort of way. > The GUI is not showing unconfigured services, but I'm still getting > notifications about the unconfigured services. The notifications > were just delayed. What should I check now? Most likely: you have multiple nagios daemons running at the same time; one with the old config and one with the new config. 2nd most: your mail server queued the messages for a long time (headers/logs should show that). -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From deibertine at yahoo.com Tue Apr 7 00:03:22 2009 From: deibertine at yahoo.com (Dei Bertine) Date: Mon, 6 Apr 2009 15:03:22 -0700 (PDT) Subject: Monitor Windows Server using Nagios In-Reply-To: <807323.4287.qm@web81806.mail.mud.yahoo.com> References: <1618657787.3974401239037303690.JavaMail.root@zimbra.scoe.org> <691242.563.qm@web81808.mail.mud.yahoo.com> <807323.4287.qm@web81806.mail.mud.yahoo.com> Message-ID: <850750.68441.qm@web111205.mail.gq1.yahoo.com> Hi List: I'm setting up Nagios to monitor my Windows server, NSClient installed on the windows server. I followed the directions in the link below: http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html I have created most of the config files within Nagios however when I verify the result, it's coming up with this error: Nagios 2.10 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 10-21-2007 License: GPL Reading configuration data... Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'C:\ Drive Space' on host 'winsrv.domain.com' Error: Could not register service (config file '/usr/local/nagios/etc/windows.cfg', starting on line 33) ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. Here's my windows.cfg file: # Define a host for the Windows machine we'll be monitoring # Change the host_name, alias, and address to fit your situation define service{ use generic-service host_name winsrv.domain.com service_description NSClient++ Version check_command check_nt!CLIENTVERSION } define service{ use generic-service host_name winsrv.domain.com service_description Uptime check_command check_nt!UPTIME } define service{ use generic-service host_name winsrv.domain.com service_description CPU Load check_command check_nt!CPULOAD!-l 5,80,90 } define service{ use generic-service host_name winsrv.domain.com service_description Memory Usage check_command check_nt!MEMUSE!-w 80 -c 90 } define service{ use generic-service host_name winsrv.domain.com service_description C:\ Drive Space check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 } define service{ use generic-service host_name winsrv.domain.com service_description W3SVC check_command check_nt!SERVICESTATE!-d SHOWALL -l W3SVC } Here's my winserver.cfg file: define host{ use always host_name winsrv.domain.com alias Winsrv address 172.168.2.234 } Here's my windows-server file in hostgroups: define host{ name windows-server ; The name of this host template use generic-host ; Inherit default values from the generic-host template check_period 24x7 ; By default, Windows servers are monitored round the clock check_interval 5 ; Actively check the server every 5 minutes max_check_attempts 10 ; Check each server 10 times (max) check_command check-host-alive ; Default command to check if servers are "alive" notification_period 24x7 ; Send notification out at any time - day or night notification_interval 30 ; Resend notifications every 30 minutes notification_options d,r ; Only send notifications for specific host states contact_groups admininstrators ; Notifications get sent to the admins by default hostgroups windows-servers ; Host groups that Windows servers should be a member of register 1 ; REGISTER THIS - } I need help, please let me know what I need to do. Thanks in advance. DB -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From subscription at kkeane.com Tue Apr 7 00:17:28 2009 From: subscription at kkeane.com (Kevin Keane) Date: Mon, 6 Apr 2009 15:17:28 -0700 Subject: Escape \ in nagios config files? In-Reply-To: <639A81928082A94DA5EC95A8E723B9492D2877@SEAMAIL01.musicnet.com> References: <639A81928082A94DA5EC95A8E723B9492D2877@SEAMAIL01.musicnet.com> Message-ID: <49DA7F78.9090001@kkeane.com> Actually, this is not just in Nagios; this is standard Unix escaping. And it's not really 3 \. Rather, what is going on is that standard Unix escaping is applied twice - first when parsing the config file, and again when passing the arguments to the plugin. In Unix, normally when you put a \ anywhere, it escapes the following character. For instance, a \ before a space means "the next character isn't really a space, don't treat it as the end of the path". And a \ before a \ means "the second backslash isn't really an escape character, but rather I want a literal backslash". So in order to get a single \ in the plugin, on the command line you need to escape it with another \. You found that out when you ran check_nrpe2 from the command line. Now when Nagios parses the config file, it uses the same escaping mechanism. So when you simply put \\ into the config file, Nagios interprets the first one as "escape" and the second one as "escaped to be literal" - thus, you'd end up with a single \ in the command line. But you wanted two \. So you need to tell Nagios to do the same thing twice: \\\\ -> \\ in the command line -> \ for the plugin to see. And where you needed the plugin to actually see \\ (before the localhost), you need to do the same thing yet again, for a total of eight consecutive backslashes. Janet Sullivan wrote: > Of course, right after I sent that, I found a solution. It seems I can > use 3 \s to escape a \. My path in the service definition becomes: > > \\\\\\\\localhost\\\\_definst_\\\\mp3\\\\mn_mp3_08_07\\\\streams > > ...and it works. > > Is there a list of all the ways to escape special characters in Nagios? > The only reason I came up with the three \ escape sequence was because I > noticed that my \\\\localhost was being seen as \localhost in the error > message. I haven't found any mention of that sequence on google. :-/ > > -----Original Message----- > From: Janet Sullivan > Sent: Monday, April 06, 2009 1:56 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: Escape \ in nagios config files? > > I want to check the disk space of a UNC path - > \\localhost\_definst_\mp3\mn_mp3_08_07\streams > > >From the command line, I can check it fine (using check_nrpe2) if I > escape each \ like this: > > \\\\localhost\\_definst_\\mp3\\mn_mp3_08_07\\streams > > But when I try to use configure Nagios to check it, it strips out all > the \ characters. I've tried single quotes, double quotes, and escaping > each \ - no luck. How can I tell Nagios about this path in a service > definition without it stripping out the special characters? Is there an > escape method I'm missing? > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Tue Apr 7 00:28:03 2009 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 6 Apr 2009 15:28:03 -0700 Subject: Monitor Windows Server using Nagios In-Reply-To: <850750.68441.qm@web111205.mail.gq1.yahoo.com> References: <1618657787.3974401239037303690.JavaMail.root@zimbra.scoe.org> <691242.563.qm@web81808.mail.mud.yahoo.com> <807323.4287.qm@web81806.mail.mud.yahoo.com> <850750.68441.qm@web111205.mail.gq1.yahoo.com> Message-ID: <20090406222803.GN30298@bakgwai.americas.hpqcorp.net> The error message here is about as descriptive as they get: You need to make sure each service has max_attempts, check_interval, retry_interval, and notification_interval defined. You can do that either in the service itself, or in a template that service is based on. Since that service is based on generic-service, you could define those there if you want. The fact that you're monitoring windows is irrelevent here; these requirements apply to any service Nagios monitors. I noticed you're also using the Nagios 3 docs as a reference to configuring your Nagios 2.1 installation, so be prepared for that to shoot you in the foot later, too. On Mon, 06 Apr 2009, Dei Bertine wrote: > Hi List: > I'm setting up Nagios to monitor my Windows server, NSClient installed on the windows server. > I followed the directions in the link below: > http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html > I have created most of the config files within Nagios however when I verify the result, it's coming up with this error: > Nagios 2.10 > Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) > Last Modified: 10-21-2007 > License: GPL > Reading configuration data... > Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'C:\ Drive Space' on host 'winsrv.domain.com' > Error: Could not register service (config file '/usr/local/nagios/etc/windows.cfg', starting on line 33) > ***> One or more problems was encountered while processing the config files... > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > Here's my windows.cfg file: > > # Define a host for the Windows machine we'll be monitoring > # Change the host_name, alias, and address to fit your situation > > define service{ > use generic-service > host_name winsrv.domain.com > service_description NSClient++ Version > check_command check_nt!CLIENTVERSION > } > > define service{ > use generic-service > host_name winsrv.domain.com > service_description Uptime > check_command check_nt!UPTIME > } > > define service{ > use generic-service > host_name winsrv.domain.com > service_description CPU Load > check_command check_nt!CPULOAD!-l 5,80,90 > } > > define service{ > use generic-service > host_name winsrv.domain.com > service_description Memory Usage > check_command check_nt!MEMUSE!-w 80 -c 90 > } > > define service{ > use generic-service > host_name winsrv.domain.com > service_description C:\ Drive Space > check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 > } > > define service{ > use generic-service > host_name winsrv.domain.com > service_description W3SVC > check_command check_nt!SERVICESTATE!-d SHOWALL -l W3SVC > } > > Here's my winserver.cfg file: > define host{ > use always > host_name winsrv.domain.com > alias Winsrv > address 172.168.2.234 > } > > Here's my windows-server file in hostgroups: > define host{ > name windows-server ; The name of this host template > use generic-host ; Inherit default values from the generic-host template > check_period 24x7 ; By default, Windows servers are monitored round the clock > check_interval 5 ; Actively check the server every 5 minutes > max_check_attempts 10 ; Check each server 10 times (max) > check_command check-host-alive ; Default command to check if servers are "alive" > notification_period 24x7 ; Send notification out at any time - day or night > notification_interval 30 ; Resend notifications every 30 minutes > notification_options d,r ; Only send notifications for specific host states > contact_groups admininstrators ; Notifications get sent to the admins by default > hostgroups windows-servers ; Host groups that Windows servers should be a member of > register 1 ; REGISTER THIS - > } > > I need help, please let me know what I need to do. > > Thanks in advance. > > DB > > Content-Description: ATT00001.txt > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com Content-Description: ATT00002.txt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From glowe at sbcglobal.net Tue Apr 7 02:37:23 2009 From: glowe at sbcglobal.net (Grant Lowe) Date: Mon, 6 Apr 2009 17:37:23 -0700 (PDT) Subject: Notifications References: <1618657787.3974401239037303690.JavaMail.root@zimbra.scoe.org> <691242.563.qm@web81808.mail.mud.yahoo.com> <807323.4287.qm@web81806.mail.mud.yahoo.com> Message-ID: <580682.93600.qm@web81807.mail.mud.yahoo.com> Thanks, Marc. It was the former. ----- Original Message ---- From: Marc Powell To: Nagios Users Mailinglist Sent: Monday, April 6, 2009 2:46:05 PM Subject: Re: [Nagios-users] Notifications On Apr 6, 2009, at 4:33 PM, Grant Lowe wrote: > > Well, I think I spoke a little soon, but in a weird sort of way. > The GUI is not showing unconfigured services, but I'm still getting > notifications about the unconfigured services. The notifications > were just delayed. What should I check now? Most likely: you have multiple nagios daemons running at the same time; one with the old config and one with the new config. 2nd most: your mail server queued the messages for a long time (headers/logs should show that). -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tothz68 at gmail.com Tue Apr 7 07:04:14 2009 From: tothz68 at gmail.com (Toth Zoltan) Date: Tue, 7 Apr 2009 07:04:14 +0200 Subject: traceroute.cgi Message-ID: <69e59dde0904062204k63d9ed48ie6cac472af2ae671@mail.gmail.com> Hi On nagios website dosn't work , but if I open with the direkt link it works. Under the Status information field there isn't any value or button.. Nagios site host example.. http://10.128.15.15/nagios Host Status Last Check Duration Status information a-1000 UP 02-04-2009 08:43:12 6d 19h 26m 51s PING OK - Packet loss = 0%, RTA = 11.71 ms Direkt link example.. http://10.128.15.15/nagios/cgi-bin/traceroute.cgi?10.128.54.20 Traceroute to Host 10.128.54.20 Hop Host Ip Round trip Time 1 a-1000 10.131.1.1 0.452ms -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jim at jimavery.me.uk Tue Apr 7 09:31:09 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 7 Apr 2009 08:31:09 +0100 Subject: more than a variable in a pnp4nagios graph In-Reply-To: <49DA33AA.8070406@iris.uh.cu> References: <49DA33AA.8070406@iris.uh.cu> Message-ID: <765d77c80904070031w4b5207b8s45149b51242406b4@mail.gmail.com> 2009/4/6 Sergio Ariel : > I'm using pnp4nagios and now I need to graph more than a variable in the > same graph. Somebody does know how to obtain that? You can use DRRAW http://web.taranis.org/drraw/ . I believe it can be done within PNP too, but I haven't tried it. This was discussed on the pnp4nagios email list recently. Check the archive at http://sourceforge.net/mailarchive/forum.php?forum_name=pnp4nagios-users for the thread "generating gathering graph from several host / services". See also the recent threads in the nagios-users email list with the subject "pnp4nagios - view graph for disabled service". hth, Jim ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jim at jimavery.me.uk Tue Apr 7 09:39:19 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 7 Apr 2009 08:39:19 +0100 Subject: Nagios: Adding Windows Servers to monitor In-Reply-To: <873928.40915.qm@web111203.mail.gq1.yahoo.com> References: <488453.49892.qm@web111211.mail.gq1.yahoo.com> <765d77c80904040055u11b89e86m9b7423eeb014b711@mail.gmail.com> <873928.40915.qm@web111203.mail.gq1.yahoo.com> Message-ID: <765d77c80904070039j5481217dq2ee1d14477bd5d40@mail.gmail.com> 2009/4/6 Dei Bertine : > Thanks for the detailed explanation, Jim. > > So far I'm not getting a successful rate on adding my Windows server in > Nagios. > Followed detailed instructions in Nagios but still getting errors. > http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html > > Is there an easy way to add the Windows servers in Nagios or other > documentation that I can follow? > Please kindly advise, need expertise assistance. I've already recommended one to you - [quote] An excellent way to get started with Nagios is to read the book "Nagios" by Wolfgang Barth.? http://nostarch.com/nagios_2e.htm [/quote] This book can be purchased as a .pdf download, so you can buy it right now if you wish. You will find other documentation on the NSClient++ web site, but if you want an easy to follow guide to monitoring windows servers with Nagios, I firmly believe Wolfgang Barth's book is by far the best for you. Cheers, Jim ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From morten.guldager at gmail.com Tue Apr 7 11:29:23 2009 From: morten.guldager at gmail.com (Morten Guldager) Date: Tue, 7 Apr 2009 11:29:23 +0200 Subject: "strange" warnings from the config files Message-ID: 'Aloha! How come that I get a warning if I omit the "check_period" on services while it seems to be ok to leave it out on the hosts? It says: Warning: Service 'check-stuff' on host 'nice-box' has no check time period defined! Will nagios act well defined if I simply ignore these warnings? And how? -- /Morten %-) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From exon at op5.com Tue Apr 7 11:43:30 2009 From: exon at op5.com (Andreas Ericsson) Date: Tue, 07 Apr 2009 11:43:30 +0200 Subject: "strange" warnings from the config files In-Reply-To: References: Message-ID: <49DB2042.7000208@op5.se> Morten Guldager wrote: > 'Aloha! > > How come that I get a warning if I omit the "check_period" on services while > it seems to be ok to leave it out on the hosts? > Because it's something one normally wants to associate with a service. > It says: > Warning: Service 'check-stuff' on host 'nice-box' has no check time period > defined! > > > Will nagios act well defined if I simply ignore these warnings? For a given value of "well defined", yes ;-) > And how? > By checking the service as if you'd defined a timeperiod encompassing all the hours of all days (I think). It could also be by not checking the service at all, which one could argue is actually correct. Try and find out. -- Andreas Ericsson andreas.ericsson at 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. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From morten.guldager at gmail.com Tue Apr 7 12:58:14 2009 From: morten.guldager at gmail.com (Morten Guldager) Date: Tue, 7 Apr 2009 12:58:14 +0200 Subject: "strange" warnings from the config files In-Reply-To: <49DB2042.7000208@op5.se> References: <49DB2042.7000208@op5.se> Message-ID: On Tue, Apr 7, 2009 at 11:43 AM, Andreas Ericsson wrote: > Morten Guldager wrote: > >> >> How come that I get a warning if I omit the "check_period" on services >> while >> it seems to be ok to leave it out on the hosts? >> >> > Because it's something one normally wants to associate with a service. But not with a host... well, I had hoped for a more consistent logic here. And how? >> > > By checking the service as if you'd defined a timeperiod encompassing all > the > hours of all days (I think). It could also be by not checking the service > at > all, which one could argue is actually correct. Try and find out. My trials here shows that it tests 24x7 if I omit the check_period. Fine thats what I want. But as you point out yourself too, the logic is not straigth forward here. -- /Morten %-) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Edgar.Matzinger at valid.nl Tue Apr 7 13:16:53 2009 From: Edgar.Matzinger at valid.nl (Edgar Matzinger) Date: Tue, 7 Apr 2009 13:16:53 +0200 Subject: "strange" warnings from the config files In-Reply-To: References: <49DB2042.7000208@op5.se> Message-ID: Hi Morton, > How come that I get a warning if I omit the "check_period" on services > while it seems to be ok to leave it out on the hosts? according the documentation (http://nagios.sourceforge.net/docs/3_0/ objectdefinitions.html), check_period is mandatory for both hosts and services! And thus, nagios should report an error in both occasions! Sorry, cu l8r, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Paradijslaan 36 \ /| /\| : : 5611 KN Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From morten.guldager at gmail.com Tue Apr 7 13:34:49 2009 From: morten.guldager at gmail.com (Morten Guldager) Date: Tue, 7 Apr 2009 13:34:49 +0200 Subject: "strange" warnings from the config files In-Reply-To: References: <49DB2042.7000208@op5.se> Message-ID: On Tue, Apr 7, 2009 at 1:16 PM, Edgar Matzinger wrote: > > > How come that I get a warning if I omit the "check_period" on services > > while it seems to be ok to leave it out on the hosts? > > according the documentation (http://nagios.sourceforge.net/docs/3_0/ > objectdefinitions.html), > check_period is mandatory for both hosts and > services! And thus, nagios should report an error in both occasions! Perfect, at least the documentation is consistent. So it all boils down to a missing warning when we forget to define a check_period where it should be mandatory. I guess its a matter of taste, but I'd expect the program to trigger a hard error when trying to read its config files and then missing something mandatory. The current behaviour is to my knowledge undocumented/undefined/random. -- /Morten %-) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Gabriel at impactteachers.com Tue Apr 7 15:47:50 2009 From: Gabriel at impactteachers.com (Gabriel - IP Guys) Date: Tue, 7 Apr 2009 14:47:50 +0100 Subject: op5 signup for demo issues? Message-ID: Dear All, I'm not sure if this counts as off topic, but I am having a very hard time signing up for the op5 demo downloads. I receive no email responses. I know there are some op5 guys on this list, so feel free to help me out on this one! --- Mr Gabriel ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From natxo.asenjo at gmail.com Tue Apr 7 16:26:06 2009 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Tue, 7 Apr 2009 16:26:06 +0200 Subject: monitor primergy servers with esx Message-ID: <90f6e8270904070726l5d9d3158x92e9b1a10031db1c@mail.gmail.com> hi, I have some fujitsu-siemens primergy rx-300 s3 that I monitor with the check_fsc.pl and snmp. This works fine. I have installed the serverviewraid manager tool from fujitusu siemens so that I can monitor if the disks are ok. This works. But, here comes the question: how do I monitor the health of the array controller if I cannot install nagios-nrpe in the boxes? installing nrpe is not supported by vmware, so the option is pretty closed. I monitor citrix servers with the same tool, amcli and a batch script through nrpe. Has anyone gotten to monitor it through snmp? Would you care to show how? ;) -- Groeten, J.Asenjo ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From giorgio at zarrelli.org Tue Apr 7 17:01:39 2009 From: giorgio at zarrelli.org (Giorgio Zarrelli) Date: Tue, 07 Apr 2009 17:01:39 +0200 Subject: monitor primergy servers with esx In-Reply-To: <90f6e8270904070726l5d9d3158x92e9b1a10031db1c@mail.gmail.com> References: <90f6e8270904070726l5d9d3158x92e9b1a10031db1c@mail.gmail.com> Message-ID: <20090407.lSQ.73508600@www.zarrelli.org> Hi, Hi, first find the right mib describing your hardware. Second step, enable snmp v3 on your fujitsu and at the end you write a script. Actually I wrote a nagios plugin to check memory and cpu of F5 BigIP and another for monitoring bandwidth via snmp. all resides on finding the right oids which match the values you are going to collect through snmpget. To collect a value, for bandwidth, let's say, I use such a string: SPEED=`/usr/bin/snmpget -v 3 -t 1 -r 5 -m '' -v 3 -l authPriv -a MD5 -u ${LOGIN} -A ${PASSWORD} -x DES -X ${PASSWORD} ${HOST}:161 IF-MIB::ifSpeed.${IFINDEX} | cut -d " " -f 4` Giorgio > Has anyone gotten to monitor it through snmp? Would you care to show how? ;) > > -- > Groeten, > J.Asenjo > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From exon at op5.com Tue Apr 7 17:30:16 2009 From: exon at op5.com (Andreas Ericsson) Date: Tue, 07 Apr 2009 17:30:16 +0200 Subject: op5 signup for demo issues? In-Reply-To: References: Message-ID: <49DB7188.10506@op5.se> Gabriel - IP Guys wrote: > Dear All, > > I'm not sure if this counts as off topic, but I am having a very hard > time signing up for the op5 demo downloads. I receive no email > responses. I know there are some op5 guys on this list, so feel free to > help me out on this one! > Hi Mr Gabriel. We recently switched email service at op5, and apparently emails from some systems are getting stuck since then. I have forwarded your email to the relevant parties at op5 and I'm sure someone will get back to you very soon and that the problem will be fixed asap. Thanks for reporting this, and for your interest :) -- Andreas Ericsson andreas.ericsson at 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. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sergio.ariel at iris.uh.cu Tue Apr 7 17:42:06 2009 From: sergio.ariel at iris.uh.cu (Sergio Ariel) Date: Tue, 07 Apr 2009 11:42:06 -0400 Subject: nagvis without authentication Message-ID: <49DB744E.6010802@iris.uh.cu> How can I to use nagvis without autentication? -- Sergio Ariel de la Campa Saiz Administrador Red UH ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sergio.ariel at iris.uh.cu Tue Apr 7 17:50:03 2009 From: sergio.ariel at iris.uh.cu (Sergio Ariel) Date: Tue, 07 Apr 2009 11:50:03 -0400 Subject: more than a variable in a pnp4nagios graph In-Reply-To: <765d77c80904070031w4b5207b8s45149b51242406b4@mail.gmail.com> References: <49DA33AA.8070406@iris.uh.cu> <765d77c80904070031w4b5207b8s45149b51242406b4@mail.gmail.com> Message-ID: <49DB762B.2050501@iris.uh.cu> Thanks! Sergio Ariel de la Campa Saiz Administrador Red UH Jim Avery wrote: > 2009/4/6 Sergio Ariel : >> I'm using pnp4nagios and now I need to graph more than a variable in the >> same graph. Somebody does know how to obtain that? > > > You can use DRRAW http://web.taranis.org/drraw/ . I believe it can be > done within PNP too, but I haven't tried it. This was discussed on > the pnp4nagios email list recently. Check the archive at > http://sourceforge.net/mailarchive/forum.php?forum_name=pnp4nagios-users > for the thread "generating gathering graph from several host / > services". > > See also the recent threads in the nagios-users email list with the > subject "pnp4nagios - view graph for disabled service". > > hth, > > Jim > ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From natxo.asenjo at gmail.com Tue Apr 7 19:32:25 2009 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Tue, 7 Apr 2009 19:32:25 +0200 Subject: monitor primergy servers with esx In-Reply-To: <20090407.lSQ.73508600@www.zarrelli.org> References: <90f6e8270904070726l5d9d3158x92e9b1a10031db1c@mail.gmail.com> <20090407.lSQ.73508600@www.zarrelli.org> Message-ID: <90f6e8270904071032x6d63a89ege36f4171c533dcea@mail.gmail.com> On Tue, Apr 7, 2009 at 5:01 PM, Giorgio Zarrelli wrote: > Hi, [knip] > To collect a value, for bandwidth, let's say, I use such a string: I do not mean to be rude, thanks for your input. What I need is monitoring the health of the disk array. Is it possible to do that with snmp as it is with the the command amcli --list? TIA, Natxo Asenjo ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From srianirudh at gmail.com Tue Apr 7 19:50:31 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Tue, 7 Apr 2009 13:50:31 -0400 Subject: cisco firewall plugins Message-ID: <699b436a0904071050i387d17e7j28ca99c0663887f2@mail.gmail.com> i got two plugins check_cisco_asa.pl and check_cisco_firewall.sh for cisco firewall. i downloaded it and unziped it and chaned the mode to 777 so that it become executable. ./check_cisco_asa.pl -h ipaddress -c public -i 1 (from command line) I get Timeout: No Response from ipaddress Timeout: No Response from ipaddress Timeout: No Response from ipaddress Timeout: No Response from ipaddress I tried with almost allt he firewall in our network but go ththe same result. ./check_cisco_firewall.sh -H 10.21.1.4 -V 1 -C public -M failover (from command line) Timeout: No Response from 10.21.1.4 Error - Not numeric value : = status_prim Can anyone shed light on this or suggest any other plugins for cisco firewall to monitor VPN -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From giorgio at zarrelli.org Tue Apr 7 19:58:03 2009 From: giorgio at zarrelli.org (Giorgio Zarrelli) Date: Tue, 07 Apr 2009 19:58:03 +0200 Subject: monitor primergy servers with esx In-Reply-To: <90f6e8270904071032x6d63a89ege36f4171c533dcea@mail.gmail.com> References: <90f6e8270904071032x6d63a89ege36f4171c533dcea@mail.gmail.com> Message-ID: <20090407.7YB.11783600@www.zarrelli.org> Hi, as I told you, all depends on the richness of the MIB. Find the MIB for your server and send it to me. With that in my hands I will be able to tell you if you can do that. Giorgio Natxo Asenjo (natxo.asenjo at gmail.com) scritto: > > I do not mean to be rude, thanks for your input. > > What I need is monitoring the health of the disk array. Is it possible > to do that with snmp > as it is with the the command amcli --list? > > TIA, > > Natxo Asenjo > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Tue Apr 7 20:26:18 2009 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 7 Apr 2009 11:26:18 -0700 Subject: Adaptive Monitoring: Broken? Message-ID: <20090407182618.GS30298@bakgwai.americas.hpqcorp.net> Here are the important stats: Nagios Version: Version 3.1.0 Proficiency Level: Pretty damned high It's been a long time since I had a question to ask here, but I've run into an issue that's had me ripping my hair out for the first time in many, many years of working with Nagios. For various convoluted reasons, I have some services with a notification command that includes the following: /usr/bin/printf "[%lu] PROCESS_SERVICE_CHECK_RESULT;$HOSTNAME;$SERVICE;0;OK - Not a real check\n" $DATE > $CMDFILE /usr/bin/printf "[%lu] CHANGE_SVC_EVENT_HANDLER;$HOSTNAME;$SERVICE;check_ok\n" $DATE > $CMDFILE /usr/bin/printf "[%lu] CHANGE_SVC_CHECK_COMMAND;$HOSTNAME;$SERVICE;check_ok\n" $DATE > $CMDFILE check_ok is defined like so: define command { command_name check_ok command_line $USER1$/check_dummy 0 "Not a real service" } While the first command works fine, and sets the service to an OK state, the next two (which I've tried in various combinations) show up in the Nagios logs as having been sent, but do nothing. The check that appears in the config files keeps running instead of my check_ok check. Here's how it shows up in the logs: [1239128528] EXTERNAL COMMAND: CHANGE_SVC_EVENT_HANDLER;dummy-host;DNS;check_ok [1239128528] EXTERNAL COMMAND: CHANGE_SVC_CHECK_COMMAND;dummy-host;DNS;check_ok I've noticed the message is different if I use an invalid command, so I'm relatively sure I'm using the right ones; they just don't do anything. Event handlers are enabled for these services, but even if they weren't the check command should change, right? Am I doing something wrong here, or have I run into a bug? ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From albrecht.dress at arcor.de Tue Apr 7 21:11:36 2009 From: albrecht.dress at arcor.de (Albrecht =?iso-8859-1?b?RHJl3w==?=) Date: Tue, 07 Apr 2009 21:11:36 +0200 Subject: monitor primergy servers with esx In-Reply-To: <20090407.7YB.11783600@www.zarrelli.org> (from giorgio@zarrelli.org on Tue Apr 7 19:58:03 2009) References: <20090407.7YB.11783600@www.zarrelli.org> Message-ID: <1239131503.5243.0@antares> Am 07.04.09 19:58 schrieb(en) Giorgio Zarrelli: >> What I need is monitoring the health of the disk array. Is it >> possible to do that with snmp What exactly is your 'disk array'? A SAN? I have a script for nagios 3 which checks the sensors (temperature, voltages, etc.) via SNMPv1 on a fsc FibreCat SX san and a Brocade fibre switch. I don't know, though, how I can check the disk health this way. I think I will upload that script to nagiosexchange, if you think you could use it... Best, Albrecht. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tad1214 at aol.com Tue Apr 7 21:22:27 2009 From: tad1214 at aol.com (Thomas Donnelly) Date: Tue, 07 Apr 2009 14:22:27 -0500 Subject: Nagios Warning Bug/Misconfiguration Message-ID: <49DBA7F3.6070803@aol.com> Hi all, I am having an issue with all of the devices I added showing warning all the time. It is a simple snmp check to see if the amps are above 160warn/180critical. They always say warning even though they are less than the specified 160. One thing to note is once it hits the 160 mark it gets the * value * in turn, showing that it is actually in the warning range. I have shown the neccesary data I hope below. Any/all help is greatly appreciated. # uname -a FreeBSD server.example.net 5.5-RELEASE-p2 FreeBSD 5.5-RELEASE-p2 #3: Tue Oct 9 22:39:13 EST 2007 root at server.example.net:/usr/obj/usr/src/sys/MONITOR i386 Nagios Version 2.0b3 # ./check_snmp -V check_snmp (nagios-plugins 1.4.3) 1.58 From the webui APC-RR-R3-1.hou check_rr_amp WARNING 04-07-2009 13:00:17 8d 3h 17m 2s 10/10 SNMP WARNING - 90 APC-RR-R3-2.hou check_rr_amp WARNING 04-07-2009 12:57:52 18d 2h 46m 48s 10/10 SNMP WARNING - *160* ^note the * 160 * for the one that actually is in the warning range. from checkcommands.cfg define command { command_name check_rr_amp command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o mib-2.33.1.4.4.1.3.1 -C cPanel -w $ARG1$ -c $AR } From the hosts config file. define service{ host_name APC-RR-R1-1.hou service_description check_rr_amp check_command check_rr_amp!159!179 max_check_attempts 10 normal_check_interval 5 retry_check_interval 3 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups backup-admins } Thanks! -=Tom ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From natxo.asenjo at gmail.com Tue Apr 7 21:38:03 2009 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Tue, 7 Apr 2009 21:38:03 +0200 Subject: monitor primergy servers with esx In-Reply-To: <20090407.7YB.11783600@www.zarrelli.org> References: <90f6e8270904071032x6d63a89ege36f4171c533dcea@mail.gmail.com> <20090407.7YB.11783600@www.zarrelli.org> Message-ID: <90f6e8270904071238g50f84e38s57654b2885bfd7f2@mail.gmail.com> On Tue, Apr 7, 2009 at 7:58 PM, Giorgio Zarrelli wrote: > Hi, > > as I told you, all depends on the richness of the MIB. Find the MIB for your > server and send it to me. With that in my hands I will be able to tell you if > you can do that. Hi Giorgio, thanks again for your input. I have found a RAID.mib (unfortunately, it is not in the esx rpm package, but in the windows package). I have copied it to the net-snmp collection of mibs and am reviewing it. If you will like to have it I will send it off list (it's a bit big to send to everyone on the list). I am going through it and it looks promising. .iso.org.dod.internet.private.enterprises.sni.sniProductMibs.fscRAIDMIB.svrObjects.svrStatus.svrStatusLogicalDrives.0 = ok .iso.org.dod.internet.private.enterprises.sni.sniProductMibs.fscRAIDMIB.svrObjects.svrStatus.svrStatusPhysicalDevices.0 = ok Tomorroy I will try removing some disks from the server and check if those result change as well when the disks are not there. As soon as I get a working script to check the health of the disks I will post it for review in nagiosexchange (I can code some Perl, but am no Perl expert, just a sysadmin trying to control a crazy environment). Natxo Asenjo ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Tue Apr 7 21:41:55 2009 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 7 Apr 2009 12:41:55 -0700 Subject: Nagios Warning Bug/Misconfiguration In-Reply-To: <49DBA7F3.6070803@aol.com> References: <49DBA7F3.6070803@aol.com> Message-ID: <20090407194155.GU30298@bakgwai.americas.hpqcorp.net> What happens when you run it manually? This, maybe? http://www.nagios.org/faqs/viewfaq.php?faq_id=208 On Tue, 07 Apr 2009, Thomas Donnelly wrote: > Hi all, > > I am having an issue with all of the devices I added showing warning all > the time. It is a simple snmp check to see if the amps are above > 160warn/180critical. They always say warning even though they are less > than the specified 160. One thing to note is once it hits the 160 mark > it gets the * value * in turn, showing that it is actually in the > warning range. I have shown the neccesary data I hope below. Any/all > help is greatly appreciated. > > > > # uname -a > FreeBSD server.example.net 5.5-RELEASE-p2 FreeBSD 5.5-RELEASE-p2 #3: Tue > Oct 9 22:39:13 EST 2007 > root at server.example.net:/usr/obj/usr/src/sys/MONITOR i386 > > Nagios > Version 2.0b3 > > > # ./check_snmp -V > check_snmp (nagios-plugins 1.4.3) 1.58 > > > > From the webui > > APC-RR-R3-1.hou > check_rr_amp > WARNING 04-07-2009 13:00:17 8d 3h 17m 2s 10/10 SNMP WARNING - 90 > > APC-RR-R3-2.hou > check_rr_amp > WARNING 04-07-2009 12:57:52 18d 2h 46m 48s 10/10 SNMP WARNING - *160* > > ^note the * 160 * for the one that actually is in the warning range. > > > from checkcommands.cfg > > define command { > command_name check_rr_amp > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o > mib-2.33.1.4.4.1.3.1 -C cPanel -w $ARG1$ -c $AR > } > > > From the hosts config file. > > define service{ > host_name APC-RR-R1-1.hou > service_description check_rr_amp > check_command check_rr_amp!159!179 > max_check_attempts 10 > normal_check_interval 5 > retry_check_interval 3 > check_period 24x7 > notification_interval 30 > notification_period 24x7 > notification_options w,c,r > contact_groups backup-admins > } > > > > Thanks! > -=Tom > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From natxo.asenjo at gmail.com Tue Apr 7 21:43:06 2009 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Tue, 7 Apr 2009 21:43:06 +0200 Subject: monitor primergy servers with esx In-Reply-To: <1239131503.5243.0@antares> References: <20090407.7YB.11783600@www.zarrelli.org> <1239131503.5243.0@antares> Message-ID: <90f6e8270904071243n4f8c2f69we8a56ccadfceebba@mail.gmail.com> On Tue, Apr 7, 2009 at 9:11 PM, Albrecht Dre? wrote: > What exactly is your 'disk array'? ?A SAN? ?I have a script for nagios 3 > which checks the sensors (temperature, voltages, etc.) via SNMPv1 on a fsc > FibreCat SX san and a Brocade fibre switch. ?I don't know, though, how I can > check the disk health this way. this is just the system installation of the esx servers. It's a raid 1 sas array. I need to know when the disks go south because the whole datacenter is moving to a cybercenter where we longer can rely on the typical visual checks when changing the tapes. > I think I will upload that script to nagiosexchange, if you think you could > use it... please, do upload it. I have (at this point) no use for it, but I am sure someone else will. Nagios is great because of all the plugins. -- Natxo ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cburke at utc.net Tue Apr 7 21:59:37 2009 From: cburke at utc.net (Christopher Burke) Date: Tue, 7 Apr 2009 15:59:37 -0400 Subject: Distribuated Help Message-ID: I need an answer that I haven't been able to find in any docs or web searches. I want to set up a distributed monitoring scenario using NSCA, but I need to know if the Client will buffer checks when the connection is lost to the central server, and then send them when the connection is restored. Basically I want to continue to monitor a sites hosts even if the WAN goes down so I have information during that timeperiod. Thank you Christopher -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tad1214 at aol.com Tue Apr 7 22:33:03 2009 From: tad1214 at aol.com (Thomas Donnelly) Date: Tue, 07 Apr 2009 15:33:03 -0500 Subject: Nagios Warning Bug/Misconfiguration In-Reply-To: <20090407194155.GU30298@bakgwai.americas.hpqcorp.net> References: <49DBA7F3.6070803@aol.com> <20090407194155.GU30298@bakgwai.americas.hpqcorp.net> Message-ID: <49DBB87F.9000906@aol.com> Thanks for the quick reply! Ran from the command line got: # ./check_snmp -H 192.168.97.71 -o mib-2.33.1.2.4.0 -C secret -w 95: -c 75: SNMP WARNING - 100 | SNMPv2-SMI::mib-2.33.1.2.4.0=100;;;; # ./check_snmp -H 192.168.97.71 -o mib-2.33.1.2.4.0 -C secret -w 95 -c 75: SNMP WARNING - *100* | SNMPv2-SMI::mib-2.33.1.2.4.0=100;;;; So by intentionally triggering it again (remove ":"), it shows the *'s Not really sure what they mean by: 1. Prevent check_snmp from loading the MIBs (default behaviour) by using numeric oids AND using the "-m :" option Patrick Morris wrote: > What happens when you run it manually? > > This, maybe? > > http://www.nagios.org/faqs/viewfaq.php?faq_id=208 > > On Tue, 07 Apr 2009, Thomas Donnelly wrote: > > >> Hi all, >> >> I am having an issue with all of the devices I added showing warning all >> the time. It is a simple snmp check to see if the amps are above >> 160warn/180critical. They always say warning even though they are less >> than the specified 160. One thing to note is once it hits the 160 mark >> it gets the * value * in turn, showing that it is actually in the >> warning range. I have shown the neccesary data I hope below. Any/all >> help is greatly appreciated. >> >> >> >> # uname -a >> FreeBSD server.example.net 5.5-RELEASE-p2 FreeBSD 5.5-RELEASE-p2 #3: Tue >> Oct 9 22:39:13 EST 2007 >> root at server.example.net:/usr/obj/usr/src/sys/MONITOR i386 >> >> Nagios >> Version 2.0b3 >> >> >> # ./check_snmp -V >> check_snmp (nagios-plugins 1.4.3) 1.58 >> >> >> >> From the webui >> >> APC-RR-R3-1.hou >> check_rr_amp >> WARNING 04-07-2009 13:00:17 8d 3h 17m 2s 10/10 SNMP WARNING - 90 >> >> APC-RR-R3-2.hou >> check_rr_amp >> WARNING 04-07-2009 12:57:52 18d 2h 46m 48s 10/10 SNMP WARNING - *160* >> >> ^note the * 160 * for the one that actually is in the warning range. >> >> >> from checkcommands.cfg >> >> define command { >> command_name check_rr_amp >> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o >> mib-2.33.1.4.4.1.3.1 -C cPanel -w $ARG1$ -c $AR >> } >> >> >> From the hosts config file. >> >> define service{ >> host_name APC-RR-R1-1.hou >> service_description check_rr_amp >> check_command check_rr_amp!159!179 >> max_check_attempts 10 >> normal_check_interval 5 >> retry_check_interval 3 >> check_period 24x7 >> notification_interval 30 >> notification_period 24x7 >> notification_options w,c,r >> contact_groups backup-admins >> } >> >> >> >> Thanks! >> -=Tom >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by: >> High Quality Requirements in a Collaborative Environment. >> Download a free trial of Rational Requirements Composer Now! >> http://p.sf.net/sfu/www-ibm-com >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From smcafee at collaborativefusion.com Tue Apr 7 22:43:36 2009 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Tue, 07 Apr 2009 16:43:36 -0400 Subject: Distribuated Help In-Reply-To: References: Message-ID: <49DBBAF8.7000203@collaborativefusion.com> Christopher Burke wrote: > I need an answer that I haven?t been able to find in any docs or web > searches. > > > > I want to set up a distributed monitoring scenario using NSCA, but I > need to know if the Client will buffer checks when the connection is > lost to the central server, and then send them when the connection is > restored. > > > > Basically I want to continue to monitor a sites hosts even if the WAN > goes down so I have information during that timeperiod. > > > > Thank you > > > > Christopher I honestly don't know if it will buffer and resend, but at the very least, the individual processes will sit there waiting to timeout, which dramatically increases your check latency since Nagios has a max process limit. I have a setup where the distributed instances can "self promote" if they lose touch with the master, and the timeout issues made it completely unreliable because of the increased resolution. Look into OCP Daemon (http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2521.html;d=1) - it solved my problem. -- Sean McAfee System Engineer ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From GJFRATER at bechtel.com Tue Apr 7 22:56:58 2009 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Tue, 7 Apr 2009 13:56:58 -0700 Subject: Some hostgroups NOT displaying (weirdness) Message-ID: <872CB0AEB377C240A112DD7C10B2592904B2152E@wtps0171.amers.ibechtel.com> Greetings All, I'm pretty lost and could use some help. We are moving a Nagios 1.x setup to Nagios 3.0.6. We have about 550 hosts and some 5000 services. About 3/4 of the way through our migration of config files we noticed that some of our hostgroups are not showing up in the web ui, but I have yet to figure out why. There are certain hostgroups (but not all) that are not displaying and if they are listed in the 'hostgroup_members' directive of another hostgroup it will cause the second hostgroup not to display either. I've tried every combination of member and hostgroup_members that I can think of but so far the only way I can duplicate the problem is use one of the known problem groups. Does anyone know what the logic or rules are that are used to determine if a hostgroup will display in the web ui or not? Any other suggestions on what to try to track this down? Any help is appreciated. Thanks, -greg -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Apr 7 23:36:07 2009 From: marc at ena.com (Marc Powell) Date: Tue, 7 Apr 2009 16:36:07 -0500 Subject: Distribuated Help In-Reply-To: <49DBBAF8.7000203@collaborativefusion.com> References: <49DBBAF8.7000203@collaborativefusion.com> Message-ID: On Apr 7, 2009, at 3:43 PM, Sean McAfee wrote: > Christopher Burke wrote: >> I need an answer that I haven?t been able to find in any docs or web >> searches. >> >> >> >> I want to set up a distributed monitoring scenario using NSCA, but I >> need to know if the Client will buffer checks when the connection is >> lost to the central server, and then send them when the connection is >> restored. > I honestly don't know if it will buffer and resend, No, Nagios nor NSCA will not buffer/resend results. -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From GJFRATER at bechtel.com Wed Apr 8 00:02:09 2009 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Tue, 7 Apr 2009 15:02:09 -0700 Subject: Some hostgroups NOT displaying (weirdness) SOLVED In-Reply-To: <872CB0AEB377C240A112DD7C10B2592904B2152E@wtps0171.amers.ibechtel.com> References: <872CB0AEB377C240A112DD7C10B2592904B2152E@wtps0171.amers.ibechtel.com> Message-ID: <872CB0AEB377C240A112DD7C10B2592904B2152F@wtps0171.amers.ibechtel.com> Okay, I apparently have not learned the lesson to check the archives first. I found the answer there (http://article.gmane.org/gmane.network.nagios.user/45395/match=hostgrou p+not+display), I did not check there until after I posted. Anyways for future reference our problem was due to NOT having the web ui users as a contact of a hosts in the offending hostgroups. Regards, -greg ________________________________ From: Frater, Greg J Sent: Tuesday, April 07, 2009 1:57 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Some hostgroups NOT displaying (weirdness) Greetings All, I'm pretty lost and could use some help. We are moving a Nagios 1.x setup to Nagios 3.0.6. We have about 550 hosts and some 5000 services. About 3/4 of the way through our migration of config files we noticed that some of our hostgroups are not showing up in the web ui, but I have yet to figure out why. There are certain hostgroups (but not all) that are not displaying and if they are listed in the 'hostgroup_members' directive of another hostgroup it will cause the second hostgroup not to display either. I've tried every combination of member and hostgroup_members that I can think of but so far the only way I can duplicate the problem is use one of the known problem groups. Does anyone know what the logic or rules are that are used to determine if a hostgroup will display in the web ui or not? Any other suggestions on what to try to track this down? Any help is appreciated. Thanks, -greg -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Wed Apr 8 01:31:01 2009 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 7 Apr 2009 16:31:01 -0700 Subject: Nagios Warning Bug/Misconfiguration In-Reply-To: <49DBB87F.9000906@aol.com> References: <49DBA7F3.6070803@aol.com> <20090407194155.GU30298@bakgwai.americas.hpqcorp.net> <49DBB87F.9000906@aol.com> Message-ID: <20090407233101.GZ30298@bakgwai.americas.hpqcorp.net> On Tue, 07 Apr 2009, Thomas Donnelly wrote: > Thanks for the quick reply! > > Ran from the command line got: > > # ./check_snmp -H 192.168.97.71 -o mib-2.33.1.2.4.0 -C secret -w 95: -c 75: > SNMP WARNING - 100 | SNMPv2-SMI::mib-2.33.1.2.4.0=100;;;; > > # ./check_snmp -H 192.168.97.71 -o mib-2.33.1.2.4.0 -C secret -w 95 -c 75: > SNMP WARNING - *100* | SNMPv2-SMI::mib-2.33.1.2.4.0=100;;;; > > So by intentionally triggering it again (remove ":"), it shows the *'s How about if you add a "-v" to get verbose output? Also, you may want to check the return code from the manual run on an OK resultx (for example, by running "echo $?" aafter your check_snmp command to make sure it matches what you see in the output). What happens in my case occasionally is that I install a screwed-up MIB for an unrelated service. It won't show any obvious errors, but it will cause check_snmp to return a warning result code regardless of whether the SNMP result falls within my thresholds. In effect, it's warning me that my MIBs are hosed, based on the fact that it got a non-OK result from snmpget (which is what check_snmp calls to do the actual SNMP getting). > Not really sure what they mean by: > > 1. Prevent check_snmp from loading the MIBs (default behaviour) by using > numeric oids AND using the "-m :" option If you a numeric OID rather than "mib-2.33.1.2.4.0" and pass the "-m :" then check_snmp (and, by extension, snmpget) don't need to load the MIBs at all, so you don't get an error if you've got a bad MIB. > > > > > Patrick Morris wrote: > > What happens when you run it manually? > > > > This, maybe? > > > > http://www.nagios.org/faqs/viewfaq.php?faq_id=208 > > > > On Tue, 07 Apr 2009, Thomas Donnelly wrote: > > > > > >> Hi all, > >> > >> I am having an issue with all of the devices I added showing warning all > >> the time. It is a simple snmp check to see if the amps are above > >> 160warn/180critical. They always say warning even though they are less > >> than the specified 160. One thing to note is once it hits the 160 mark > >> it gets the * value * in turn, showing that it is actually in the > >> warning range. I have shown the neccesary data I hope below. Any/all > >> help is greatly appreciated. > >> > >> > >> > >> # uname -a > >> FreeBSD server.example.net 5.5-RELEASE-p2 FreeBSD 5.5-RELEASE-p2 #3: Tue > >> Oct 9 22:39:13 EST 2007 > >> root at server.example.net:/usr/obj/usr/src/sys/MONITOR i386 > >> > >> Nagios > >> Version 2.0b3 > >> > >> > >> # ./check_snmp -V > >> check_snmp (nagios-plugins 1.4.3) 1.58 > >> > >> > >> > >> From the webui > >> > >> APC-RR-R3-1.hou > >> check_rr_amp > >> WARNING 04-07-2009 13:00:17 8d 3h 17m 2s 10/10 SNMP WARNING - 90 > >> > >> APC-RR-R3-2.hou > >> check_rr_amp > >> WARNING 04-07-2009 12:57:52 18d 2h 46m 48s 10/10 SNMP WARNING - *160* > >> > >> ^note the * 160 * for the one that actually is in the warning range. > >> > >> > >> from checkcommands.cfg > >> > >> define command { > >> command_name check_rr_amp > >> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o > >> mib-2.33.1.4.4.1.3.1 -C cPanel -w $ARG1$ -c $AR > >> } > >> > >> > >> From the hosts config file. > >> > >> define service{ > >> host_name APC-RR-R1-1.hou > >> service_description check_rr_amp > >> check_command check_rr_amp!159!179 > >> max_check_attempts 10 > >> normal_check_interval 5 > >> retry_check_interval 3 > >> check_period 24x7 > >> notification_interval 30 > >> notification_period 24x7 > >> notification_options w,c,r > >> contact_groups backup-admins > >> } > >> > >> > >> > >> Thanks! > >> -=Tom > >> > >> > >> ------------------------------------------------------------------------------ > >> This SF.net email is sponsored by: > >> High Quality Requirements in a Collaborative Environment. > >> Download a free trial of Rational Requirements Composer Now! > >> http://p.sf.net/sfu/www-ibm-com > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From shadhin71 at gmail.com Wed Apr 8 05:54:17 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Wed, 8 Apr 2009 03:54:17 +0000 Subject: serious performance issue Message-ID: <6db4a4200904072054u38fcb2e4hd13690bdf3539d01@mail.gmail.com> I am seeing a ton of orphaned error message for both services and hosts. I am running nagios on a quad core 2.2 GHZ machine running 4 GHZ memory. I will paste my configuration file below. I have the machine sending ndo to a local database sitting on a 170 GB Hard drive. nagios is obcessing on both host and services and sending data to a machine with identical configuration. I am doing failover using NSCA. Please advise on this. nagios.cfg log_file=/var/log/nagios/nagios.log cfg_file=/etc/nagios/commands.cfg cfg_file=/etc/nagios/contacts.cfg cfg_file=/etc/nagios/timeperiods.cfg cfg_file=/etc/nagios/templates.cfg cfg_dir=/etc/nagios/hosts cfg_dir=/etc/nagios/services object_cache_file=/var/log/nagios/objects.cache precached_object_file=/var/log/nagios/objects.precache resource_file=/etc/nagios/resource.cfg status_file=/var/log/nagios/status.dat status_update_interval=60 nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/var/log/nagios/rw/nagios.cmd external_command_buffer_slots=8192 lock_file=/var/log/nagios/nagios.lock temp_file=/var/log/nagios/nagios.tmp temp_path=/tmp event_broker_options=8 broker_module=/usr/lib64/nagios/ndomod.o config_file=/etc/nagios/ndomod.cfg log_rotation_method=m log_archive_path=/var/log/nagios/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=1 service_inter_check_delay_method=n max_service_check_spread=30 service_interleave_factor=s host_inter_check_delay_method=s max_host_check_spread=30 max_concurrent_checks=0 check_result_reaper_frequency=2 max_check_result_reaper_time=10 check_result_path=/var/log/nagios/spool/checkresults max_check_result_file_age=3600 cached_host_check_horizon=15 cached_service_check_horizon=15 enable_predictive_host_dependency_checks=1 enable_predictive_service_dependency_checks=1 soft_state_dependencies=1 auto_reschedule_checks=1 auto_rescheduling_interval=30 auto_rescheduling_window=180 sleep_time=0.25 service_check_timeout=30 host_check_timeout=20 event_handler_timeout=30 notification_timeout=60 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=var/log/nagios/retention.dat retention_update_interval=60 use_retained_program_state=1 use_retained_scheduling_info=1 retained_host_attribute_mask=0 retained_service_attribute_mask=0 retained_process_host_attribute_mask=0 retained_process_service_attribute_mask=0 retained_contact_host_attribute_mask=0 retained_contact_service_attribute_mask=0 interval_length=60 use_aggressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 execute_host_checks=1 accept_passive_host_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 obsess_over_services=1 ocsp_command=send_service_check ochp_command=send_host_check obsess_over_hosts=1 translate_passive_host_checks=0 passive_host_checks_are_soft=0 check_for_orphaned_services=1 check_for_orphaned_hosts=1 check_service_freshness=1 service_freshness_check_interval=60 check_host_freshness=0 host_freshness_check_interval=60 additional_freshness_latency=15 enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us enable_embedded_perl=1 use_embedded_perl_implicitly=1 illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=0 use_true_regexp_matching=0 admin_email=sr2690 at columbia.edu daemon_dumps_core=0 use_large_installation_tweaks=1 enable_environment_macros=1 debug_level=-1debug_verbosity=2 debug_file=/var/log/nagios/nagios.debug max_debug_file_size=1000000 my nagiostats output [sr2690>nagiostats Nagios Stats 3.0.6 Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org) Last Modified: 12-01-2008 License: GPL CURRENT STATUS DATA ------------------------------------------------------ Status File: /var/log/nagios/status.dat Status File Age: 0d 0h 0m 19s Status File Version: 3.0.6 Program Running Time: 0d 2h 5m 28s Nagios PID: 12139 Used/High/Total Command Buffers: 0 / 0 / 8192 Total Services: 2783 Services Checked: 2783 Services Scheduled: 2782 Services Actively Checked: 2783 Services Passively Checked: 0 Total Service State Change: 0.000 / 52.830 / 0.263 % Active Service Latency: 1.304 / 12092.843 / 1469.130 sec Active Service Execution Time: 0.011 / 15.103 / 0.468 sec Active Service State Change: 0.000 / 52.830 / 0.263 % Active Services Last 1/5/15/60 min: 0 / 0 / 0 / 129 Passive Service Latency: 0.000 / 0.000 / 0.000 sec Passive Service State Change: 0.000 / 0.000 / 0.000 % Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 2560 / 13 / 186 / 24 Services Flapping: 17 Services In Downtime: 0 Total Hosts: 3037 Hosts Checked: 3005 Hosts Scheduled: 3029 Hosts Actively Checked: 3037 Host Passively Checked: 0 Total Host State Change: 0.000 / 53.620 / 0.227 % Active Host Latency: 0.000 / 12080.792 / 3770.409 sec Active Host Execution Time: 0.000 / 104.093 / 2.500 sec Active Host State Change: 0.000 / 53.620 / 0.227 % Active Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 256 Passive Host Latency: 0.000 / 0.000 / 0.000 sec Passive Host State Change: 0.000 / 0.000 / 0.000 % Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Hosts Up/Down/Unreach: 2849 / 188 / 0 Hosts Flapping: 10 Hosts In Downtime: 0 Active Host Checks Last 1/5/15 min: 0 / 0 / 1 Scheduled: 0 / 0 / 0 On-demand: 0 / 0 / 1 Parallel: 0 / 0 / 0 Serial: 0 / 0 / 0 Cached: 0 / 0 / 1 Passive Host Checks Last 1/5/15 min: 0 / 0 / 0 Active Service Checks Last 1/5/15 min: 0 / 0 / 0 Scheduled: 0 / 0 / 0 On-demand: 0 / 0 / 0 Cached: 0 / 0 / 0 Passive Service Checks Last 1/5/15 min: 0 / 0 / 0 External Commands Last 1/5/15 min: 0 / 0 / 0 -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fancyrabbit at gmail.com Wed Apr 8 07:56:26 2009 From: fancyrabbit at gmail.com (fancyrabbit) Date: Wed, 8 Apr 2009 13:56:26 +0800 Subject: serious performance issue In-Reply-To: <6db4a4200904072054u38fcb2e4hd13690bdf3539d01@mail.gmail.com> References: <6db4a4200904072054u38fcb2e4hd13690bdf3539d01@mail.gmail.com> Message-ID: i met almost the same issue. after tweaking enable_embedded_perl=0, the load average was brought up but latencies became lower. On Wed, Apr 8, 2009 at 11:54 AM, shadih rahman wrote: > I am seeing a ton of orphaned error message for both services and hosts. I > am running nagios on a quad core 2.2 GHZ machine running 4 GHZ memory. I > will paste my configuration file below. I have the machine sending ndo to a > local database sitting on a 170 GB Hard drive. nagios is obcessing on both > host and services and sending data to a machine with identical > configuration. I am doing failover using NSCA. Please advise on this. > > > > > > nagios.cfg > > > > log_file=/var/log/nagios/nagios.log > cfg_file=/etc/nagios/commands.cfg > cfg_file=/etc/nagios/contacts.cfg > cfg_file=/etc/nagios/timeperiods.cfg > cfg_file=/etc/nagios/templates.cfg > cfg_dir=/etc/nagios/hosts > cfg_dir=/etc/nagios/services > object_cache_file=/var/log/nagios/objects.cache > precached_object_file=/var/log/nagios/objects.precache > resource_file=/etc/nagios/resource.cfg > status_file=/var/log/nagios/status.dat > status_update_interval=60 > nagios_user=nagios > nagios_group=nagios > check_external_commands=1 > command_check_interval=-1 > command_file=/var/log/nagios/rw/nagios.cmd > external_command_buffer_slots=8192 > lock_file=/var/log/nagios/nagios.lock > temp_file=/var/log/nagios/nagios.tmp > temp_path=/tmp > event_broker_options=8 > broker_module=/usr/lib64/nagios/ndomod.o config_file=/etc/nagios/ndomod.cfg > log_rotation_method=m > log_archive_path=/var/log/nagios/archives > use_syslog=1 > log_notifications=1 > log_service_retries=1 > log_host_retries=1 > log_event_handlers=1 > log_initial_states=0 > log_external_commands=1 > log_passive_checks=1 > service_inter_check_delay_method=n > max_service_check_spread=30 > service_interleave_factor=s > host_inter_check_delay_method=s > max_host_check_spread=30 > max_concurrent_checks=0 > check_result_reaper_frequency=2 > max_check_result_reaper_time=10 > check_result_path=/var/log/nagios/spool/checkresults > max_check_result_file_age=3600 > cached_host_check_horizon=15 > cached_service_check_horizon=15 > enable_predictive_host_dependency_checks=1 > enable_predictive_service_dependency_checks=1 > soft_state_dependencies=1 > auto_reschedule_checks=1 > auto_rescheduling_interval=30 > auto_rescheduling_window=180 > sleep_time=0.25 > service_check_timeout=30 > host_check_timeout=20 > > event_handler_timeout=30 > notification_timeout=60 > ocsp_timeout=5 > perfdata_timeout=5 > retain_state_information=1 > state_retention_file=var/log/nagios/retention.dat > retention_update_interval=60 > use_retained_program_state=1 > use_retained_scheduling_info=1 > retained_host_attribute_mask=0 > retained_service_attribute_mask=0 > retained_process_host_attribute_mask=0 > retained_process_service_attribute_mask=0 > retained_contact_host_attribute_mask=0 > retained_contact_service_attribute_mask=0 > interval_length=60 > use_aggressive_host_checking=0 > execute_service_checks=1 > accept_passive_service_checks=1 > execute_host_checks=1 > accept_passive_host_checks=1 > enable_notifications=1 > enable_event_handlers=1 > process_performance_data=0 > obsess_over_services=1 > ocsp_command=send_service_check > ochp_command=send_host_check > obsess_over_hosts=1 > translate_passive_host_checks=0 > passive_host_checks_are_soft=0 > check_for_orphaned_services=1 > check_for_orphaned_hosts=1 > check_service_freshness=1 > service_freshness_check_interval=60 > check_host_freshness=0 > host_freshness_check_interval=60 > additional_freshness_latency=15 > enable_flap_detection=1 > low_service_flap_threshold=5.0 > high_service_flap_threshold=20.0 > low_host_flap_threshold=5.0 > high_host_flap_threshold=20.0 > date_format=us > enable_embedded_perl=1 > use_embedded_perl_implicitly=1 > illegal_object_name_chars=`~!$%^&*|'"<>?,()= > illegal_macro_output_chars=`~$&|'"<> > use_regexp_matching=0 > use_true_regexp_matching=0 > admin_email=sr2690 at columbia.edu > daemon_dumps_core=0 > use_large_installation_tweaks=1 > enable_environment_macros=1 > debug_level=-1debug_verbosity=2 > debug_file=/var/log/nagios/nagios.debug > max_debug_file_size=1000000 > > > > > my nagiostats output > > > > > > > > [sr2690>nagiostats > > Nagios Stats 3.0.6 > Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org) > Last Modified: 12-01-2008 > License: GPL > > CURRENT STATUS DATA > ------------------------------------------------------ > Status File: /var/log/nagios/status.dat > Status File Age: 0d 0h 0m 19s > Status File Version: 3.0.6 > > Program Running Time: 0d 2h 5m 28s > Nagios PID: 12139 > Used/High/Total Command Buffers: 0 / 0 / 8192 > > Total Services: 2783 > Services Checked: 2783 > Services Scheduled: 2782 > Services Actively Checked: 2783 > Services Passively Checked: 0 > Total Service State Change: 0.000 / 52.830 / 0.263 % > Active Service Latency: 1.304 / 12092.843 / 1469.130 sec > Active Service Execution Time: 0.011 / 15.103 / 0.468 sec > Active Service State Change: 0.000 / 52.830 / 0.263 % > Active Services Last 1/5/15/60 min: 0 / 0 / 0 / 129 > Passive Service Latency: 0.000 / 0.000 / 0.000 sec > Passive Service State Change: 0.000 / 0.000 / 0.000 % > Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 > Services Ok/Warn/Unk/Crit: 2560 / 13 / 186 / 24 > Services Flapping: 17 > Services In Downtime: 0 > > Total Hosts: 3037 > Hosts Checked: 3005 > Hosts Scheduled: 3029 > Hosts Actively Checked: 3037 > Host Passively Checked: 0 > Total Host State Change: 0.000 / 53.620 / 0.227 % > Active Host Latency: 0.000 / 12080.792 / 3770.409 sec > Active Host Execution Time: 0.000 / 104.093 / 2.500 sec > Active Host State Change: 0.000 / 53.620 / 0.227 % > Active Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 256 > Passive Host Latency: 0.000 / 0.000 / 0.000 sec > Passive Host State Change: 0.000 / 0.000 / 0.000 % > Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 > Hosts Up/Down/Unreach: 2849 / 188 / 0 > Hosts Flapping: 10 > Hosts In Downtime: 0 > > Active Host Checks Last 1/5/15 min: 0 / 0 / 1 > Scheduled: 0 / 0 / 0 > On-demand: 0 / 0 / 1 > Parallel: 0 / 0 / 0 > Serial: 0 / 0 / 0 > Cached: 0 / 0 / 1 > Passive Host Checks Last 1/5/15 min: 0 / 0 / 0 > Active Service Checks Last 1/5/15 min: 0 / 0 / 0 > Scheduled: 0 / 0 / 0 > On-demand: 0 / 0 / 0 > Cached: 0 / 0 / 0 > Passive Service Checks Last 1/5/15 min: 0 / 0 / 0 > > External Commands Last 1/5/15 min: 0 / 0 / 0 > > > > > > > -- > Cordially, > Shadhin Rahman > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From xml.devel at gmail.com Wed Apr 8 10:14:27 2009 From: xml.devel at gmail.com (Kumar, Ashish) Date: Wed, 8 Apr 2009 13:44:27 +0530 Subject: Interesting problem while trying to monitor Oracle RAC services [Solved] Message-ID: <633e02960904080114p50dc2904kb20b673d4b03f0c2@mail.gmail.com> >> check the environment of the users launching the script. Which user do you >> "use" to launch the script locally? And which one from remote? > > On nagios server I have tried executing it as root user as well as > nagios user but the problem remains. > Hello all, I made a mistake in the plug-in. Both Perl script and KSH script were residing in the same directory. When executing locally it knew where to look for external shell script. The code was as follows: my $PIPED = qx# ksh check_oracle_services.sh $SERVICE #; But when executed from nagios server, NRPE daemon on monitored host wouldn't know where to look for the shell script hence the wrong output. Adding absolute path to the check_oracle_services.sh fixed the problem my $PIPED = qx# ksh /home/nagios/nrpe/libexec/check_oracle_services.sh $SERVICE #; The new code is as follows (may be someone would find it useful): check_oracle_services.pl ------------------------------------ #!/usr/bin/env perl use strict; use Getopt::Std; my %return_value = ( OK => 0, CRIT => 2, UNKNOWN => 3 ); my $message = "nagios"; my $exit_status; my %opt=(); getopts("p:h", \%opt); sub usage(){ print "Usage: $0 -p service_name\n"; exit $return_value{'UNKNOWN'}; } usage() if defined $opt{'h'}; my $SERVICE = $opt{'p'} if defined $opt{'p'} || usage(); my $PIPED = qx# ksh /home/nagios/nrpe/libexec/check_oracle_services.sh $SERVICE #; if ($PIPED =~ /OFFLINE/g) { $exit_status = $return_value{'CRIT'}; $message = "Critical: $SERVICE is not running."; } else { $exit_status = $return_value{'OK'}; $message = "OK: $SERVICE is running."; } print "$message\n"; exit $exit_status; ------------------------------------ check_oracle_services.sh ------------------------------------ #!/usr/bin/ksh RSC_KEY=$1 /oracle/crs_home/bin/crs_stat -u | awk \ 'BEGIN { FS="="; state = 0; } \ $1~/NAME/ && $2~/'$RSC_KEY'/ {appname = $2; state=1}; \ state == 0 {next;} \ $1~/TARGET/ && state == 1 {apptarget = $2; state=2;} \ $1~/STATE/ && state == 2 {appstate = $2; state=3;} \ state == 3 {printf "%-45s %-18s\n", appname, appstate; state=0;}' Sorry for the inconvenience caused. Thanks ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cristoir at gmail.com Wed Apr 8 11:15:40 2009 From: cristoir at gmail.com (Christopher McAtackney) Date: Wed, 8 Apr 2009 10:15:40 +0100 Subject: Nagios and Cacti Message-ID: Hi all, I've been looking into making use of Cacti to act as an SNMP management tool which runs alongside my Nagios instance. Ideally, what I would like to do is have Cacti monitor various SNMP-exposed metrics on my hosts, and then have a service check in Nagios which parses Cacti's results (which I believe are RRD files) and send alerts etc. Nagios itself will still be used for running directly checks for services running, errors in log files etc. Does this approach make sense? One issue that I can think of is the difficulty in keeping the config files of Nagios and Cacti synchronised. I was planning on using Lilac Platform to act as my Nagios config file management tool, but how that is kept in synch with Cacti is a problem. Has anyone ever set up an arrangement like this before? Cheers, Chris ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From natxo.asenjo at gmail.com Wed Apr 8 12:22:06 2009 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Wed, 8 Apr 2009 12:22:06 +0200 Subject: monitor primergy servers with esx In-Reply-To: <90f6e8270904071243n4f8c2f69we8a56ccadfceebba@mail.gmail.com> References: <20090407.7YB.11783600@www.zarrelli.org> <1239131503.5243.0@antares> <90f6e8270904071243n4f8c2f69we8a56ccadfceebba@mail.gmail.com> Message-ID: <90f6e8270904080322k371d7380t3c85d25edba6c060@mail.gmail.com> hi, I have done some tests. One needs the RAID.mib file and this file is only in the windows package for serverviewraid (tsk, tsk). Anyway, once we have this file we can test stuff. Important OIDS: .1.3.6.1.4.1.231.2.49.1.5.2.1 -> .iso.org.dod.internet.private.enterprises.sni.sniProductMibs.fscRAIDMIB.svrObjects.svrPhysicalDeviceInfo.svrPhysicalDeviceTable.svrPhysicalDeviceEntry .1.3.6.1.4.1.231.2.49.1.3 -> .iso.org.dod.internet.private.enterprises.sni.sniProductMibs.fscRAIDMIB.svrObjects.svrStatus Situation 1: disks are online and working fine: $ snmpwalk server -c public -v 1 -m FSC-RAID-MIB .1.3.6.1.4.1.231.2.49.1.3 FSC-RAID-MIB::svrStatusLogicalDrives.0 = INTEGER: ok(1) FSC-RAID-MIB::svrStatusPhysicalDevices.0 = INTEGER: ok(1) FSC-RAID-MIB::svrStatusControllers.0 = INTEGER: ok(1) FSC-RAID-MIB::svrStatusOverall.0 = INTEGER: ok(1) [jose at pc2668-210307 mibs]$ snmpwalk izvm01 -c public -v 1 -m FSC-RAID-MIB .1.3.6.1.4.1.231.2.49.1.5.2.1 FSC-RAID-MIB::svrPhysicalDeviceCtrlNr.1.1.0.0 = INTEGER: 1 FSC-RAID-MIB::svrPhysicalDeviceCtrlNr.1.2.3.0 = INTEGER: 1 FSC-RAID-MIB::svrPhysicalDeviceChannel.1.1.0.0 = INTEGER: 1 FSC-RAID-MIB::svrPhysicalDeviceChannel.1.2.3.0 = INTEGER: 2 FSC-RAID-MIB::svrPhysicalDeviceTarget.1.1.0.0 = INTEGER: 0 FSC-RAID-MIB::svrPhysicalDeviceTarget.1.2.3.0 = INTEGER: 3 FSC-RAID-MIB::svrPhysicalDeviceLUN.1.1.0.0 = INTEGER: 0 FSC-RAID-MIB::svrPhysicalDeviceLUN.1.2.3.0 = INTEGER: 0 FSC-RAID-MIB::svrPhysicalDeviceModelName.1.1.0.0 = STRING: "ST373455SS" FSC-RAID-MIB::svrPhysicalDeviceModelName.1.2.3.0 = STRING: "ST373455SS" FSC-RAID-MIB::svrPhysicalDeviceVendorName.1.1.0.0 = STRING: "SEAGATE" FSC-RAID-MIB::svrPhysicalDeviceVendorName.1.2.3.0 = STRING: "SEAGATE" FSC-RAID-MIB::svrPhysicalDeviceCapacity.1.1.0.0 = INTEGER: 68 FSC-RAID-MIB::svrPhysicalDeviceCapacity.1.2.3.0 = INTEGER: 68 FSC-RAID-MIB::svrPhysicalDeviceMaxTransferRate.1.1.0.0 = INTEGER: 300 FSC-RAID-MIB::svrPhysicalDeviceMaxTransferRate.1.2.3.0 = INTEGER: 300 FSC-RAID-MIB::svrPhysicalDeviceType.1.1.0.0 = INTEGER: disk(2) FSC-RAID-MIB::svrPhysicalDeviceType.1.2.3.0 = INTEGER: disk(2) FSC-RAID-MIB::svrPhysicalDeviceConfiguredDisk.1.1.0.0 = INTEGER: true(2) FSC-RAID-MIB::svrPhysicalDeviceConfiguredDisk.1.2.3.0 = INTEGER: true(2) FSC-RAID-MIB::svrPhysicalDeviceInterface.1.1.0.0 = INTEGER: sas(6) FSC-RAID-MIB::svrPhysicalDeviceInterface.1.2.3.0 = INTEGER: sas(6) FSC-RAID-MIB::svrPhysicalDeviceErrors.1.1.0.0 = Counter32: 0 FSC-RAID-MIB::svrPhysicalDeviceErrors.1.2.3.0 = Counter32: 0 FSC-RAID-MIB::svrPhysicalDeviceNrBadBlocks.1.1.0.0 = Counter32: 0 FSC-RAID-MIB::svrPhysicalDeviceNrBadBlocks.1.2.3.0 = Counter32: 0 FSC-RAID-MIB::svrPhysicalDeviceSmartStatus.1.1.0.0 = INTEGER: ok(1) FSC-RAID-MIB::svrPhysicalDeviceSmartStatus.1.2.3.0 = INTEGER: ok(1) FSC-RAID-MIB::svrPhysicalDeviceStatus.1.1.0.0 = INTEGER: online(3) FSC-RAID-MIB::svrPhysicalDeviceStatus.1.2.3.0 = INTEGER: online(3) FSC-RAID-MIB::svrPhysicalDeviceFirmwareRevision.1.1.0.0 = STRING: "1651" FSC-RAID-MIB::svrPhysicalDeviceFirmwareRevision.1.2.3.0 = STRING: "1651" FSC-RAID-MIB::svrPhysicalDeviceSerialNumber.1.1.0.0 = STRING: "3LQ0DA03" FSC-RAID-MIB::svrPhysicalDeviceSerialNumber.1.2.3.0 = STRING: "3LQ0DAD7" FSC-RAID-MIB::svrPhysicalDeviceForeignConfig.1.1.0.0 = INTEGER: false(1) FSC-RAID-MIB::svrPhysicalDeviceForeignConfig.1.2.3.0 = INTEGER: false(1) FSC-RAID-MIB::svrPhysicalDeviceIdx.1.1.0.0 = INTEGER: 11 FSC-RAID-MIB::svrPhysicalDeviceIdx.1.2.3.0 = INTEGER: 12 FSC-RAID-MIB::svrPhysicalDeviceEntry.20.1.1.0.0 = INTEGER: 4 FSC-RAID-MIB::svrPhysicalDeviceEntry.20.1.2.3.0 = INTEGER: 4 FSC-RAID-MIB::svrPhysicalDeviceEntry.21.1.1.0.0 = INTEGER: 70007 FSC-RAID-MIB::svrPhysicalDeviceEntry.21.1.2.3.0 = INTEGER: 70007 Disks are online Situation 2: I remove one disk from its bay $ snmpwalk server -c public -v 1 -m FSC-RAID-MIB .1.3.6.1.4.1.231.2.49.1.3 FSC-RAID-MIB::svrStatusLogicalDrives.0 = INTEGER: prefailure(2) FSC-RAID-MIB::svrStatusPhysicalDevices.0 = INTEGER: failure(3) FSC-RAID-MIB::svrStatusControllers.0 = INTEGER: prefailure(2) FSC-RAID-MIB::svrStatusOverall.0 = INTEGER: prefailure(2) Everything is 'prefailure', except for physicaldevices, it's a 'failure' (disk is physically removed from the bay). I forgot to check the other OID for this one, I'll post the results later. Situation 3: 'failed' disk is back in bay, rebuilding starts: $ snmpwalk server -c public -v 1 -m FSC-RAID-MIB .1.3.6.1.4.1.231.2.49.1.3 FSC-RAID-MIB::svrStatusLogicalDrives.0 = INTEGER: prefailure(2) FSC-RAID-MIB::svrStatusPhysicalDevices.0 = INTEGER: ok(1) FSC-RAID-MIB::svrStatusControllers.0 = INTEGER: prefailure(2) FSC-RAID-MIB::svrStatusOverall.0 = INTEGER: prefailure(2) everthing is 'prefailure' except for svrStatusPhysicalDevices.0, it is 'ok', disks is in bay. $ snmpwalk server -c public -v 1 -m FSC-RAID-MIB .1.3.6.1.4.1.231.2.49.1.5.2.1 FSC-RAID-MIB::svrPhysicalDeviceCtrlNr.1.0.0.0 = INTEGER: 1 FSC-RAID-MIB::svrPhysicalDeviceCtrlNr.1.3.0.3 = INTEGER: 1 FSC-RAID-MIB::svrPhysicalDeviceChannel.1.0.0.0 = INTEGER: 0 FSC-RAID-MIB::svrPhysicalDeviceChannel.1.3.0.3 = INTEGER: 3 FSC-RAID-MIB::svrPhysicalDeviceTarget.1.0.0.0 = INTEGER: 0 FSC-RAID-MIB::svrPhysicalDeviceTarget.1.3.0.3 = INTEGER: 0 FSC-RAID-MIB::svrPhysicalDeviceLUN.1.0.0.0 = INTEGER: 0 FSC-RAID-MIB::svrPhysicalDeviceLUN.1.3.0.3 = INTEGER: 3 FSC-RAID-MIB::svrPhysicalDeviceModelName.1.0.0.0 = STRING: "MAX3073RC" FSC-RAID-MIB::svrPhysicalDeviceModelName.1.3.0.3 = STRING: "ST373455SS" FSC-RAID-MIB::svrPhysicalDeviceVendorName.1.0.0.0 = STRING: "FUJITSU" FSC-RAID-MIB::svrPhysicalDeviceVendorName.1.3.0.3 = STRING: "SEAGATE" FSC-RAID-MIB::svrPhysicalDeviceCapacity.1.0.0.0 = INTEGER: 68 FSC-RAID-MIB::svrPhysicalDeviceCapacity.1.3.0.3 = INTEGER: 68 FSC-RAID-MIB::svrPhysicalDeviceMaxTransferRate.1.0.0.0 = INTEGER: 300 FSC-RAID-MIB::svrPhysicalDeviceMaxTransferRate.1.3.0.3 = INTEGER: 300 FSC-RAID-MIB::svrPhysicalDeviceType.1.0.0.0 = INTEGER: disk(2) FSC-RAID-MIB::svrPhysicalDeviceType.1.3.0.3 = INTEGER: disk(2) FSC-RAID-MIB::svrPhysicalDeviceConfiguredDisk.1.0.0.0 = INTEGER: false(1) FSC-RAID-MIB::svrPhysicalDeviceConfiguredDisk.1.3.0.3 = INTEGER: false(1) FSC-RAID-MIB::svrPhysicalDeviceInterface.1.0.0.0 = INTEGER: sas(6) FSC-RAID-MIB::svrPhysicalDeviceInterface.1.3.0.3 = INTEGER: sas(6) FSC-RAID-MIB::svrPhysicalDeviceErrors.1.0.0.0 = Wrong Type (should be Counter32): INTEGER: 0 FSC-RAID-MIB::svrPhysicalDeviceErrors.1.3.0.3 = Wrong Type (should be Counter32): INTEGER: 0 FSC-RAID-MIB::svrPhysicalDeviceNrBadBlocks.1.0.0.0 = Wrong Type (should be Counter32): INTEGER: 0 FSC-RAID-MIB::svrPhysicalDeviceNrBadBlocks.1.3.0.3 = Wrong Type (should be Counter32): INTEGER: 0 FSC-RAID-MIB::svrPhysicalDeviceSmartStatus.1.0.0.0 = INTEGER: smartNotAvailable(3) FSC-RAID-MIB::svrPhysicalDeviceSmartStatus.1.3.0.3 = INTEGER: smartNotAvailable(3) FSC-RAID-MIB::svrPhysicalDeviceStatus.1.0.0.0 = INTEGER: rebuilding(6) FSC-RAID-MIB::svrPhysicalDeviceStatus.1.3.0.3 = INTEGER: online(3) FSC-RAID-MIB::svrPhysicalDeviceFirmwareRevision.1.0.0.0 = STRING: "5205" FSC-RAID-MIB::svrPhysicalDeviceFirmwareRevision.1.3.0.3 = STRING: "1652" FSC-RAID-MIB::svrPhysicalDeviceSerialNumber.1.0.0.0 = STRING: "DQD7P7201YDH@#21" FSC-RAID-MIB::svrPhysicalDeviceSerialNumber.1.3.0.3 = STRING: "3LQ22A92" FSC-RAID-MIB::svrPhysicalDeviceForeignConfig.1.0.0.0 = INTEGER: false(1) FSC-RAID-MIB::svrPhysicalDeviceForeignConfig.1.3.0.3 = INTEGER: false(1) FSC-RAID-MIB::svrPhysicalDeviceIdx.1.0.0.0 = INTEGER: 12 FSC-RAID-MIB::svrPhysicalDeviceIdx.1.3.0.3 = INTEGER: 11 the svrPhysicalDeviceStatus of one disk is 'online', the other is 'rebuilding', With this info I will try to write a plugin to monitor the fujitsu raid stuff with snmp. It works with esx and windows 2k3, I see for now. I suppose it will also work with linux. -- Natxo Asenjo ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marco.tirado at gmail.com Wed Apr 8 13:24:49 2009 From: marco.tirado at gmail.com (Marco Tirado) Date: Wed, 8 Apr 2009 13:24:49 +0200 Subject: Nagios and Cacti In-Reply-To: References: Message-ID: Hello: There are a couple of examples in the nagios exchange page of different approachs for integrating nagios and cacti. You should check that out. I believe the synchronization is going to cost you time and money, a better approach is to use nagios + pnp4naigos (this generates nice graphs) + check_snmp_int.pl (this for bandwidth tests). That way you have only one place to place your configuration. There are tons of other snmp plugins you can use for other tests (CPU, Memory, etc), //Marco On Wed, Apr 8, 2009 at 11:15 AM, Christopher McAtackney wrote: > Hi all, > > I've been looking into making use of Cacti to act as an SNMP > management tool which runs alongside my Nagios instance. > > Ideally, what I would like to do is have Cacti monitor various > SNMP-exposed metrics on my hosts, and then have a service check in > Nagios which parses Cacti's results (which I believe are RRD files) > and send alerts etc. > > Nagios itself will still be used for running directly checks for > services running, errors in log files etc. > > Does this approach make sense? > > One issue that I can think of is the difficulty in keeping the config > files of Nagios and Cacti synchronised. I was planning on using Lilac > Platform to act as my Nagios config file management tool, but how that > is kept in synch with Cacti is a problem. Has anyone ever set up an > arrangement like this before? > > Cheers, > Chris > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thierry.list1 at gmail.com Wed Apr 8 15:41:27 2009 From: thierry.list1 at gmail.com (=?ISO-8859-1?Q?Thierry_Lavall=E9e?=) Date: Wed, 8 Apr 2009 09:41:27 -0400 Subject: Name or service not known Message-ID: <99d33f0904080641y67201a78ib49c68e8447664f1@mail.gmail.com> Hi, I am getting the following about 50 times per day: HTTP CRITICAL 04-08-2009 09:37:29 0d 0h 1m 50s 1/4 Name or service not known SSH UNKNOWN 04-08-2009 09:34:39 0d 0h 4m 40s 1/4 Usage:check_ssh [-46] [-t ] [-r ] [-p ] I am somewhat at lost here... Can anyone help with this? -- Thierry ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp-intl.com Wed Apr 8 15:54:12 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Wed, 8 Apr 2009 14:54:12 +0100 Subject: Name or service not known In-Reply-To: <99d33f0904080641y67201a78ib49c68e8447664f1@mail.gmail.com> References: <99d33f0904080641y67201a78ib49c68e8447664f1@mail.gmail.com> Message-ID: <200904081454.12922.assaf.flatto@ssp-intl.com> can you provide the relevant conf so we may understand more about your problem ? On Wednesday 08 April 2009 14:41:27 Thierry Lavall?e wrote: > Hi, > I am getting the following about 50 times per day: > > HTTP CRITICAL 04-08-2009 09:37:29 0d 0h 1m 50s 1/4 Name or service not > known SSH UNKNOWN 04-08-2009 09:34:39 0d 0h 4m 40s 1/4 Usage:check_ssh > [-46] [-t ] [-r ] [-p ] > > I am somewhat at lost here... > Can anyone help with this? -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thierry.list1 at gmail.com Wed Apr 8 16:29:02 2009 From: thierry.list1 at gmail.com (=?ISO-8859-1?Q?Thierry_Lavall=E9e?=) Date: Wed, 8 Apr 2009 10:29:02 -0400 Subject: Name or service not known In-Reply-To: <200904081454.12922.assaf.flatto@ssp-intl.com> References: <99d33f0904080641y67201a78ib49c68e8447664f1@mail.gmail.com> <200904081454.12922.assaf.flatto@ssp-intl.com> Message-ID: <99d33f0904080729n62dcfeceua46e384093032173@mail.gmail.com> thanks a lot for your reply Assaf, I am not sure which conf you mean but here are a few things in the meantime. Maybe you could point this Nagios newbie what you need? :/ thanks! -- Thierry ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Host Description Max. Check Attempts Normal Check Interval Retry Check Interal Check Command Check Period Parallelize Volatile Obsess Over Enable Active Checks Enable Passive Checks Check Freshness Freshness Threshold Default Contacts/Groups Enable Notifications Notification Interval First Notification Delay Notification Options Notification Period Event Handler Enable Event Handler Stalking Options Enable Flap Detection Low Flap Threshold High Flap Threshold Flap Detection Options Process Performance Data Enable Failure Prediction Failure Prediction Options Notes Notes URL Action URL Logo Image Image Alt Retention Options localhost Current Load 4 0h 5m 0s 0h 1m 0s check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 24x7 Yes No Yes Yes Yes No Auto-determined value admins Yes 1h 0m 0s 0h 0m 0s Unknown, Warning, Critical, Recovery 24x7 Yes None Yes Program-wide value Program-wide value Ok, Warning, Unknown, Critical Yes Yes Status Information, Non-Status Information localhost Current Users 4 0h 5m 0s 0h 1m 0s check_local_users!20!50 24x7 Yes No Yes Yes Yes No Auto-determined value admins Yes 1h 0m 0s 0h 0m 0s Unknown, Warning, Critical, Recovery 24x7 Yes None Yes Program-wide value Program-wide value Ok, Warning, Unknown, Critical Yes Yes Status Information, Non-Status Information localhost HTTP 4 0h 5m 0s 0h 1m 0s check_http 24x7 Yes No Yes Yes Yes No Auto-determined value admins No 1h 0m 0s 0h 0m 0s Unknown, Warning, Critical, Recovery 24x7 Yes None Yes Program-wide value Program-wide value Ok, Warning, Unknown, Critical Yes Yes Status Information, Non-Status Information localhost PING 4 0h 5m 0s 0h 1m 0s check_ping!100.0,20%!500.0,60% 24x7 Yes No Yes Yes Yes No Auto-determined value admins Yes 1h 0m 0s 0h 0m 0s Unknown, Warning, Critical, Recovery 24x7 Yes None Yes Program-wide value Program-wide value Ok, Warning, Unknown, Critical Yes Yes Status Information, Non-Status Information localhost Root Partition 4 0h 5m 0s 0h 1m 0s check_local_disk!20%!10%!/ 24x7 Yes No Yes Yes Yes No Auto-determined value admins Yes 1h 0m 0s 0h 0m 0s Unknown, Warning, Critical, Recovery 24x7 Yes None Yes Program-wide value Program-wide value Ok, Warning, Unknown, Critical Yes Yes Status Information, Non-Status Information localhost SSH 4 0h 5m 0s 0h 1m 0s check_ssh 24x7 Yes No Yes Yes Yes No Auto-determined value admins No 1h 0m 0s 0h 0m 0s Unknown, Warning, Critical, Recovery 24x7 Yes None Yes Program-wide value Program-wide value Ok, Warning, Unknown, Critical Yes Yes Status Information, Non-Status Information localhost Swap Usage 4 0h 5m 0s 0h 1m 0s check_local_swap!20!10 24x7 Yes No Yes Yes Yes No Auto-determined value admins Yes 1h 0m 0s 0h 0m 0s Unknown, Warning, Critical, Recovery 24x7 Yes None Yes Program-wide value Program-wide value Ok, Warning, Unknown, Critical Yes Yes Status Information, Non-Status Information localhost Total Processes 4 0h 5m 0s 0h 1m 0s check_local_procs!250!400!RSZDT 24x7 Yes No Yes Yes Yes No Auto-determined value admins Yes 1h 0m 0s 0h 0m 0s Unknown, Warning, Critical, Recovery 24x7 Yes None Yes Program-wide value Program-wide value Ok, Warning, Unknown, Critical Yes Yes Status Information, Non-Status Information ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ On Wed, Apr 8, 2009 at 9:54 AM, Assaf Flatto wrote: > can you provide the relevant conf so we may understand more about your problem ? > > > > On Wednesday 08 April 2009 14:41:27 Thierry Lavall?e wrote: >> Hi, >> I am getting the following about 50 times per day: >> >> HTTP ?CRITICAL ? ? ? ?04-08-2009 09:37:29 ? ? 0d 0h 1m 50s ? ?1/4 ? ? Name or service not >> known SSH ? ? UNKNOWN ? ? ? ? 04-08-2009 09:34:39 ? ? 0d 0h 4m 40s ? ?1/4 ? ? Usage:check_ssh >> [-46] [-t ] [-r ] [-p ] >> >> I am somewhat at lost here... >> Can anyone help with this? > > > > -- > Assaf Flatto > SSP Ops Team > Linux System Administrator > 169 Euston Road, London, NW1 2AE > > > > > > IMPORTANT . this email and the information in it may be confidential, legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and Wales > (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Thierry Lavall?e Filemaker Development in Montreal http://www.8p-design.com/en/filemaker.asp Internet Business Solutions in Montreal ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thierry.list1 at gmail.com Wed Apr 8 16:32:06 2009 From: thierry.list1 at gmail.com (=?ISO-8859-1?Q?Thierry_Lavall=E9e?=) Date: Wed, 8 Apr 2009 10:32:06 -0400 Subject: Name or service not known In-Reply-To: <200904081454.12922.assaf.flatto@ssp-intl.com> References: <99d33f0904080641y67201a78ib49c68e8447664f1@mail.gmail.com> <200904081454.12922.assaf.flatto@ssp-intl.com> Message-ID: <99d33f0904080732g376a7169l2f10ecdaf0a096c5@mail.gmail.com> or maybe you mean: ++++++++++++++++++++++++++++++++++++++++++++++++ check_http ++++++++++++++++++++++++++++++++++++++++++++++++ check-host-alive $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 check_dhcp $USER1$/check_dhcp $ARG1$ check_ftp $USER1$/check_ftp -H $HOSTADDRESS$ $ARG1$ check_hpjd $USER1$/check_hpjd -H $HOSTADDRESS$ $ARG1$ check_http $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ check_imap $USER1$/check_imap -H $HOSTADDRESS$ $ARG1$ check_local_disk $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ check_local_load $USER1$/check_load -w $ARG1$ -c $ARG2$ check_local_mrtgtraf $USER1$/check_mrtgtraf -F $ARG1$ -a $ARG2$ -w $ARG3$ -c $ARG4$ -e $ARG5$ check_local_procs $USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ check_local_swap $USER1$/check_swap -w $ARG1$ -c $ARG2$ check_local_users $USER1$/check_users -w $ARG1$ -c $ARG2$ check_nt $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$ check_ping $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 check_pop $USER1$/check_pop -H $HOSTADDRESS$ $ARG1$ check_smtp $USER1$/check_smtp -H $HOSTADDRESS$ $ARG1$ check_snmp $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ check_ssh $USER1$/check_ssh $ARG1$ $HOSTADDRESS$ check_tcp $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ $ARG2$ check_udp $USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$ $ARG2$ notify-host-by-email /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ notify-service-by-email /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ process-host-perfdata /usr/bin/printf "%b" "$LASTHOSTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$HOSTSTATETYPE$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$\n" >> /usr/local/nagios/var/host-perfdata.out process-service-perfdata /usr/bin/printf "%b" "$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n" >> /usr/local/nagios/var/service-perfdata.out ++++++++++++++++++++++++++++++++++++++++++++++++ check_SSH ++++++++++++++++++++++++++++++++++++++++++++++++ check-host-alive $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 check_dhcp $USER1$/check_dhcp $ARG1$ check_ftp $USER1$/check_ftp -H $HOSTADDRESS$ $ARG1$ check_hpjd $USER1$/check_hpjd -H $HOSTADDRESS$ $ARG1$ check_http $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ check_imap $USER1$/check_imap -H $HOSTADDRESS$ $ARG1$ check_local_disk $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ check_local_load $USER1$/check_load -w $ARG1$ -c $ARG2$ check_local_mrtgtraf $USER1$/check_mrtgtraf -F $ARG1$ -a $ARG2$ -w $ARG3$ -c $ARG4$ -e $ARG5$ check_local_procs $USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ check_local_swap $USER1$/check_swap -w $ARG1$ -c $ARG2$ check_local_users $USER1$/check_users -w $ARG1$ -c $ARG2$ check_nt $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$ check_ping $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 check_pop $USER1$/check_pop -H $HOSTADDRESS$ $ARG1$ check_smtp $USER1$/check_smtp -H $HOSTADDRESS$ $ARG1$ check_snmp $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ check_ssh $USER1$/check_ssh $ARG1$ $HOSTADDRESS$ check_tcp $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ $ARG2$ check_udp $USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$ $ARG2$ notify-host-by-email /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ notify-service-by-email /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ process-host-perfdata /usr/bin/printf "%b" "$LASTHOSTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$HOSTSTATETYPE$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$\n" >> /usr/local/nagios/var/host-perfdata.out process-service-perfdata /usr/bin/printf "%b" "$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n" >> /usr/local/nagios/var/service-perfdata.out ++++++++++++++++++++++++++++++++++++++++++++++++ On Wed, Apr 8, 2009 at 9:54 AM, Assaf Flatto wrote: > can you provide the relevant conf so we may understand more about your problem ? > > > > On Wednesday 08 April 2009 14:41:27 Thierry Lavall?e wrote: >> Hi, >> I am getting the following about 50 times per day: >> >> HTTP ?CRITICAL ? ? ? ?04-08-2009 09:37:29 ? ? 0d 0h 1m 50s ? ?1/4 ? ? Name or service not >> known SSH ? ? UNKNOWN ? ? ? ? 04-08-2009 09:34:39 ? ? 0d 0h 4m 40s ? ?1/4 ? ? Usage:check_ssh >> [-46] [-t ] [-r ] [-p ] >> >> I am somewhat at lost here... >> Can anyone help with this? > > > > -- > Assaf Flatto > SSP Ops Team > Linux System Administrator > 169 Euston Road, London, NW1 2AE > > > > > > IMPORTANT . this email and the information in it may be confidential, legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and Wales > (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Thierry Lavall?e Filemaker Development in Montreal http://www.8p-design.com/en/filemaker.asp Internet Business Solutions in Montreal ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp-intl.com Wed Apr 8 16:35:35 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Wed, 8 Apr 2009 15:35:35 +0100 Subject: Name or service not known In-Reply-To: <99d33f0904080729n62dcfeceua46e384093032173@mail.gmail.com> References: <99d33f0904080641y67201a78ib49c68e8447664f1@mail.gmail.com> Message-ID: <200904081535.35818.assaf.flatto@ssp-intl.com> Thierry The information you need to look into is the configuration files of the nagios , located in the etc directory of the nagios installation directory . which version of nagios are you running ? did you install from source or packages ? what distro are you using ? how did you preform the initial installation ? Assaf On Wednesday 08 April 2009 15:29:02 Thierry Lavall?e wrote: > thanks a lot for your reply Assaf, > > I am not sure which conf you mean but here are a few things in the > meantime. Maybe you could point this Nagios newbie what you need? :/ > > thanks! > -- > Thierry > > > -- > > Assaf Flatto > > SSP Ops Team > > Linux System Administrator > > 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp-intl.com Wed Apr 8 16:43:23 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Wed, 8 Apr 2009 15:43:23 +0100 Subject: Name or service not known In-Reply-To: <99d33f0904080732g376a7169l2f10ecdaf0a096c5@mail.gmail.com> References: <99d33f0904080641y67201a78ib49c68e8447664f1@mail.gmail.com> Message-ID: <200904081543.23617.assaf.flatto@ssp-intl.com> Thierry please send all your replies to the list and not to individual members - so other may learn from the information gathered by other members . second : this is a command declaration in the commands file , have you associated a service to the host ? and even before that - did you install the nagios-plugins ? the nagios-plugins are the actual check scripts executed to preform the checks , and without them you will not be able to use any of nagios capabilities. Assaf > check_ssh ??????$USER1$/check_ssh $ARG1$ $HOSTADDRESS$ -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Apr 8 16:55:48 2009 From: marc at ena.com (Marc Powell) Date: Wed, 8 Apr 2009 09:55:48 -0500 Subject: Adaptive Monitoring: Broken? In-Reply-To: <20090407182618.GS30298@bakgwai.americas.hpqcorp.net> References: <20090407182618.GS30298@bakgwai.americas.hpqcorp.net> Message-ID: <4642F11A-04F2-430C-B6CF-E9A9627767DA@ena.com> On Apr 7, 2009, at 1:26 PM, Patrick Morris wrote: > Here are the important stats: > > Nagios Version: Version 3.1.0 > Proficiency Level: Pretty damned high > While the first command works fine, and sets the service to an OK > state, > the next two (which I've tried in various combinations) show up in the > Nagios logs as having been sent, but do nothing. The check that > appears > in the config files keeps running instead of my check_ok check. > > Here's how it shows up in the logs: > > [1239128528] EXTERNAL COMMAND: CHANGE_SVC_EVENT_HANDLER;dummy- > host;DNS;check_ok > [1239128528] EXTERNAL COMMAND: CHANGE_SVC_CHECK_COMMAND;dummy- > host;DNS;check_ok > > I've noticed the message is different if I use an invalid command, so > I'm relatively sure I'm using the right ones; they just don't do > anything. > > Event handlers are enabled for these services, but even if they > weren't > the check command should change, right? > > Am I doing something wrong here, or have I run into a bug? I'm not using 3.x yet but just to provide some feedback, what you're doing looks reasonable from my reading of the documentation. I do see this in 3.1.0's commands.c though -- /* SECURITY PATCH - disable these for the time being */ switch(cmd){ case CMD_CHANGE_GLOBAL_HOST_EVENT_HANDLER: case CMD_CHANGE_GLOBAL_SVC_EVENT_HANDLER: case CMD_CHANGE_HOST_EVENT_HANDLER: case CMD_CHANGE_SVC_EVENT_HANDLER: case CMD_CHANGE_HOST_CHECK_COMMAND: case CMD_CHANGE_SVC_CHECK_COMMAND: return ERROR; } That's in the right section and my reading of the code is that it does exactly that; prevent changing of those values... Maybe it's something being worked on in the development branch? -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thierry.list1 at gmail.com Wed Apr 8 17:00:35 2009 From: thierry.list1 at gmail.com (=?ISO-8859-1?Q?Thierry_Lavall=E9e?=) Date: Wed, 8 Apr 2009 11:00:35 -0400 Subject: Name or service not known In-Reply-To: <200904081535.35818.assaf.flatto@ssp-intl.com> References: <99d33f0904080641y67201a78ib49c68e8447664f1@mail.gmail.com> <200904081454.12922.assaf.flatto@ssp-intl.com> <99d33f0904080729n62dcfeceua46e384093032173@mail.gmail.com> <200904081535.35818.assaf.flatto@ssp-intl.com> Message-ID: <99d33f0904080800j3f49a74dg3e42c865978ced00@mail.gmail.com> thanks Assaf. I did not do the installation, but the support who did the installation (Supreme Support) do not seem knowledgeable enough. I am attaching my config files (please tell me if not secure to send like this) I am runnig 3.0.6 No idea about Distro hoping you can still help me. thanks! -- Thierry -------------- next part -------------- A non-text attachment was scrubbed... Name: resource.cfg Type: application/octet-stream Size: 1340 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.cfg Type: application/octet-stream Size: 42730 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: cgi.cfg Type: application/octet-stream Size: 10699 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nccomp at gmail.com Wed Apr 8 17:03:15 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 08 Apr 2009 11:03:15 -0400 Subject: Nagios and Cacti In-Reply-To: References: Message-ID: <49DCBCB3.4040707@gmail.com> And just an FYI from my own experience... putting Nagios & Cacti on the same server has been somewhat problematic for us. We have over 400 network devices between switches, routers, WAPs, etc. We also have about 300 monitored servers. Initially I had Nagios and Cacti both on one server with Cacti running via cron every 5 minutes. About every 5 minutes, my shells would become unresponsive for roughly 30 to 90 seconds. Turning off either Nagios or Cacti resolved the issue. Running both seems to have hammered the server a bit (4Gb of RAM, 2 x dual core 2.x Ghz CPUs). We don't integrate Cacti and Nagios, however. Nagios does both trending and alerts of all servers. Cacti does trending only of all network devices/ports. Once I moved Cacti to its own server, all was fine as far as load/latency went. A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Marco Tirado wrote: > Hello: > > There are a couple of examples in the nagios exchange page of > different approachs for integrating nagios and cacti. You should check > that out. > > I believe the synchronization is going to cost you time and money, a > better approach is to use nagios + pnp4naigos (this generates nice > graphs) + check_snmp_int.pl (this for bandwidth tests). That way you > have only one place to place your configuration. There are tons of > other snmp plugins you can use for other tests (CPU, Memory, etc), > > //Marco > > On Wed, Apr 8, 2009 at 11:15 AM, Christopher McAtackney > > wrote: > > Hi all, > > I've been looking into making use of Cacti to act as an SNMP > management tool which runs alongside my Nagios instance. > > Ideally, what I would like to do is have Cacti monitor various > SNMP-exposed metrics on my hosts, and then have a service check in > Nagios which parses Cacti's results (which I believe are RRD files) > and send alerts etc. > > Nagios itself will still be used for running directly checks for > services running, errors in log files etc. > > Does this approach make sense? > > One issue that I can think of is the difficulty in keeping the config > files of Nagios and Cacti synchronised. I was planning on using Lilac > Platform to act as my Nagios config file management tool, but how that > is kept in synch with Cacti is a problem. Has anyone ever set up an > arrangement like this before? > > Cheers, > Chris > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cristoir at gmail.com Wed Apr 8 17:15:34 2009 From: cristoir at gmail.com (Christopher McAtackney) Date: Wed, 8 Apr 2009 16:15:34 +0100 Subject: Nagios and Cacti In-Reply-To: <49DCBCB3.4040707@gmail.com> References: <49DCBCB3.4040707@gmail.com> Message-ID: 2009/4/8 Andrew Davis : > And just an FYI from my own experience... putting Nagios & Cacti on the same > server has been somewhat problematic for us. We have over 400 network > devices between switches, routers, WAPs, etc. We also have about 300 > monitored servers. Initially I had Nagios and Cacti both on one server with > Cacti running via cron every 5 minutes. About every 5 minutes, my shells > would become unresponsive for roughly 30 to 90 seconds. Turning off either > Nagios or Cacti resolved the issue. Running both seems to have hammered the > server a bit (4Gb of RAM, 2 x dual core 2.x Ghz CPUs). We don't integrate > Cacti and Nagios, however. Nagios does both trending and alerts of all > servers. Cacti does trending only of all network devices/ports. Once I moved > Cacti to its own server, all was fine as far as load/latency went. That's useful to know Andrew, thanks. Regarding the trending of network devices - is there any reason why this can't be done by Nagios? I intend to install PNP4Nagios to take care of graphing anyway, but I think it would be nice to have all my monitored resources under the one system (for notifications and ease of administration). Is there some major advantage that Cacti provides when it comes to SNMP monitoring of network devices that cannot be achieved with Nagios and the various SNMP plug-ins available for it (e.g. like these ones http://nagios.manubulon.com) ? Cheers, Chris ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thierry.list1 at gmail.com Wed Apr 8 17:20:06 2009 From: thierry.list1 at gmail.com (=?ISO-8859-1?Q?Thierry_Lavall=E9e?=) Date: Wed, 8 Apr 2009 11:20:06 -0400 Subject: Name or service not known In-Reply-To: <200904081613.40995.assaf.flatto@ssp-intl.com> References: <99d33f0904080641y67201a78ib49c68e8447664f1@mail.gmail.com> <200904081535.35818.assaf.flatto@ssp-intl.com> <99d33f0904080800j3f49a74dg3e42c865978ced00@mail.gmail.com> <200904081613.40995.assaf.flatto@ssp-intl.com> Message-ID: <99d33f0904080820m7f01669fub0e21ae6b8066af7@mail.gmail.com> thanks Assaf, But I cannot get passed step #1 Relax - it's going to take some time. ;) hehe. Really, I don't want to redo the whole install as I am not THAT server techy and I try to rely on a service called Supreme Support that are supposed to make my life better. I need to point to Supreme Support where the problem is. Do you think you can point it out quickly from the config files I sent? Because most seems installed correctly, it looks there are loose handles. thanks again! -- Thierry 2009/4/8 Assaf Flatto : > > In that case I suggest you start here : > http://nagios.sourceforge.net/docs/3_0/beginners.html > > > read the documentation ?and most of your questions will be answered. > > > Assaf > > > On Wednesday 08 April 2009 16:00:35 you wrote: >> thanks Assaf. >> I did not do the installation, but the support who did the >> installation (Supreme Support) do not seem knowledgeable enough. >> >> I am attaching my config files (please tell me if not secure to send like >> this) I am runnig 3.0.6 >> No idea about Distro >> >> hoping you can still help me. >> thanks! > > > -- > Assaf Flatto > SSP Ops Team > Linux System Administrator > 169 Euston Road, London, NW1 2AE > > > > > > IMPORTANT . this email and the information in it may be confidential, legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and Wales > (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Eric.Doutreleau at it-sudparis.eu Wed Apr 8 17:21:18 2009 From: Eric.Doutreleau at it-sudparis.eu (Eric Doutreleau) Date: Wed, 08 Apr 2009 17:21:18 +0200 Subject: problems with log rotation Message-ID: <49DCC0EE.2030408@it-sudparis.eu> hi i used nagios3.1 i have configured a daily log rotation but after several days i suspect there s a problem with the log rotation i found several instance of nagios which the majority are defunct ones and they all begun at 00:00 but on different days. and the scheduler is going mad. a lot of check are not launched and i got a lot of these messages [1239201355] Warning: The check of service 'memoire disponible' on host 'www-tp' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... [1239201355] Warning: The check of service 'nombre total de process' on host 'www-tp' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... [1239201355] Warning: The check of service 'HTTP' on host 'yum' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... [1239201355] Warning: The check of service 'charge' on host 'yum' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... [1239201355] Warning: The check of service 'nombre d utilisateur' on host 'yum' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... [1239201414] Warning: The check of service 'ciscoswitch' on host 'Indicateurs' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... [1239201414] Warning: The check of service 'smtpsout' on host 'Indicateurs_detail' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... Does someone knows how to solve that problems? thanks in advance for any help ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp-intl.com Wed Apr 8 17:33:30 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Wed, 8 Apr 2009 16:33:30 +0100 Subject: Name or service not known In-Reply-To: <99d33f0904080820m7f01669fub0e21ae6b8066af7@mail.gmail.com> References: <99d33f0904080641y67201a78ib49c68e8447664f1@mail.gmail.com> Message-ID: <200904081633.30241.assaf.flatto@ssp-intl.com> >From the first glance it looks like they just installed it and never bothered to configure anything in it . not nagios is a great tool , but it requires quite a bit of initial configuration and setup , which looks like the didn't do . Assaf On Wednesday 08 April 2009 16:20:06 Thierry Lavall?e wrote: > thanks Assaf, > But I cannot get passed step #1 Relax - it's going to take some time. ;) > hehe. > > Really, I don't want to redo the whole install as I am not THAT server > techy and I try to rely on a service called Supreme Support that are > supposed to make my life better. I need to point to Supreme Support > where the problem is. > > Do you think you can point it out quickly from the config files I sent? > > Because most seems installed correctly, it looks there are loose handles. > > thanks again! -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From daniel at danielemmanuelfeinsmith.com Wed Apr 8 17:52:07 2009 From: daniel at danielemmanuelfeinsmith.com (Daniel Emmanuel Feinsmith) Date: Wed, 8 Apr 2009 08:52:07 -0700 (PDT) Subject: Nagios and Cacti Message-ID: <913905.71792.qm@web303.biz.mail.mud.yahoo.com> It depends on the intensity of your snmp usage. Cacti has a native daemon to do large scale snmp getting, and it does a great job of it. So if u have hundreds of devices, each with a lot of interfaces, u will probably like cacti. The user interface is also well done for graphing snmp data and thresholding on it using the threshold plugin. ===================== Daniel Feinsmith ===================== {sent from iPhone} On Apr 8, 2009, at 8:15 AM, Christopher McAtackney wrote: > 2009/4/8 Andrew Davis : >> And just an FYI from my own experience... putting Nagios & Cacti on >> the same >> server has been somewhat problematic for us. We have over 400 network >> devices between switches, routers, WAPs, etc. We also have about 300 >> monitored servers. Initially I had Nagios and Cacti both on one >> server with >> Cacti running via cron every 5 minutes. About every 5 minutes, my >> shells >> would become unresponsive for roughly 30 to 90 seconds. Turning off >> either >> Nagios or Cacti resolved the issue. Running both seems to have >> hammered the >> server a bit (4Gb of RAM, 2 x dual core 2.x Ghz CPUs). We don't >> integrate >> Cacti and Nagios, however. Nagios does both trending and alerts of >> all >> servers. Cacti does trending only of all network devices/ports. >> Once I moved >> Cacti to its own server, all was fine as far as load/latency went. > > That's useful to know Andrew, thanks. > > Regarding the trending of network devices - is there any reason why > this can't be done by Nagios? I intend to install PNP4Nagios to take > care of graphing anyway, but I think it would be nice to have all my > monitored resources under the one system (for notifications and ease > of administration). > > Is there some major advantage that Cacti provides when it comes to > SNMP monitoring of network devices that cannot be achieved with Nagios > and the various SNMP plug-ins available for it (e.g. like these ones > http://nagios.manubulon.com) ? > > Cheers, > Chris > > --- > --- > --- > --------------------------------------------------------------------- > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From daniel at danielemmanuelfeinsmith.com Wed Apr 8 17:36:32 2009 From: daniel at danielemmanuelfeinsmith.com (Daniel Emmanuel Feinsmith) Date: Wed, 8 Apr 2009 08:36:32 -0700 (PDT) Subject: Nagios and Cacti Message-ID: <77846.31333.qm@web302.biz.mail.mud.yahoo.com> If you move your mysql instance to another server, you can get much better performance on a nagios/cacti server. Check top while cacti is running a large install and you will see that mysql is hoarding CPU and memory resources not leaving much for nagios. ===================== Daniel Feinsmith ===================== {sent from iPhone} On Apr 8, 2009, at 8:03 AM, Andrew Davis wrote: > And just an FYI from my own experience... putting Nagios & Cacti on > the same server has been somewhat problematic for us. We have over > 400 network devices between switches, routers, WAPs, etc. We also > have about 300 monitored servers. Initially I had Nagios and Cacti > both on one server with Cacti running via cron every 5 minutes. > About every 5 minutes, my shells would become unresponsive for > roughly 30 to 90 seconds. Turning off either Nagios or Cacti > resolved the issue. Running both seems to have hammered the server a > bit (4Gb of RAM, 2 x dual core 2.x Ghz CPUs). We don't integrate > Cacti and Nagios, however. Nagios does both trending and alerts of > all servers. Cacti does trending only of all network devices/ports. > Once I moved Cacti to its own server, all was fine as far as load/ > latency went. > A. Davis > Email: nccomp at gmail.com > > "There is no limit to what a man can accomplish > if he doesn't care who gets the credit." - Ronald Reagan > > > Marco Tirado wrote: >> >> Hello: >> >> There are a couple of examples in the nagios exchange page of >> different approachs for integrating nagios and cacti. You should >> check that out. >> >> I believe the synchronization is going to cost you time and money, >> a better approach is to use nagios + pnp4naigos (this generates >> nice graphs) + check_snmp_int.pl (this for bandwidth tests). That >> way you have only one place to place your configuration. There are >> tons of other snmp plugins you can use for other tests (CPU, >> Memory, etc), >> >> //Marco >> >> On Wed, Apr 8, 2009 at 11:15 AM, Christopher McAtackney > > wrote: >> Hi all, >> >> I've been looking into making use of Cacti to act as an SNMP >> management tool which runs alongside my Nagios instance. >> >> Ideally, what I would like to do is have Cacti monitor various >> SNMP-exposed metrics on my hosts, and then have a service check in >> Nagios which parses Cacti's results (which I believe are RRD files) >> and send alerts etc. >> >> Nagios itself will still be used for running directly checks for >> services running, errors in log files etc. >> >> Does this approach make sense? >> >> One issue that I can think of is the difficulty in keeping the config >> files of Nagios and Cacti synchronised. I was planning on using >> Lilac >> Platform to act as my Nagios config file management tool, but how >> that >> is kept in synch with Cacti is a problem. Has anyone ever set up an >> arrangement like this before? >> >> Cheers, >> Chris >> >> --- >> --- >> --- >> --------------------------------------------------------------------- >> This SF.net email is sponsored by: >> High Quality Requirements in a Collaborative Environment. >> Download a free trial of Rational Requirements Composer Now! >> http://p.sf.net/sfu/www-ibm-com >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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: >> High Quality Requirements in a Collaborative Environment. >> Download a free trial of Rational Requirements Composer Now! >> http://p.sf.net/sfu/www-ibm-com >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From perldork at webwizarddesign.com Wed Apr 8 18:21:31 2009 From: perldork at webwizarddesign.com (Max) Date: Wed, 8 Apr 2009 12:21:31 -0400 Subject: Nagios and Cacti In-Reply-To: <913905.71792.qm@web303.biz.mail.mud.yahoo.com> References: <913905.71792.qm@web303.biz.mail.mud.yahoo.com> Message-ID: On Wed, Apr 8, 2009 at 11:52 AM, Daniel Emmanuel Feinsmith wrote: > > It depends on the intensity of your snmp usage. Cacti has a native > daemon to do large scale snmp getting, and it does a great job of it. > So if u have hundreds of devices, each with a lot of interfaces, u > will probably like cacti. The user interface is also well done for > graphing snmp data and thresholding on it using the threshold plugin. With parallel checks in Nagios 3 and some configuration tuning and well-written SNMP checks, I'd argue that Nagios is as good if not a better poller than cactid :). our instance is not huge, but currently we do 7000+ SNMP-based checks in 3 minutes on a dual quad-core Linux-based server. Before PNP I used to use Cacti and Nagios. I like Cacti, but with PNP around I would never go back to that combination again .. Nagios + PNP really does simplify life for Nagios administrators and provides a lot of flexibility as far as how you scale your graphing as your node base grows. - Max ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nccomp at gmail.com Wed Apr 8 18:29:44 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 08 Apr 2009 12:29:44 -0400 Subject: Nagios and Cacti In-Reply-To: <913905.71792.qm@web303.biz.mail.mud.yahoo.com> References: <913905.71792.qm@web303.biz.mail.mud.yahoo.com> Message-ID: <49DCD0F8.3030909@gmail.com> I agree. Initially I had Nagios doing all the trending. But with 400+ network devices and many of them with multiple 48 port blades, I found Cacti was easier to configure... it scaled a lot better. For a smaller network, you could easily do just Nagios. I've had no issues at all with Nagios + PNP for alerts and trending. In fact, Nagios still watches my core network devices (but not all the ports of them... ie: Nagios watches that switch1 is up and available and trends its CPU and memory usage... however I use Cacti for trending the 6 blades each with 48 ports in switch1). This way, if switch1 fails or utilization is too high, Nagios tells me, but if a particular user is hogging all our bandwidth or having lots of packet loss, I find that via Cacti. A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Daniel Emmanuel Feinsmith wrote: > It depends on the intensity of your snmp usage. Cacti has a native > daemon to do large scale snmp getting, and it does a great job of it. > So if u have hundreds of devices, each with a lot of interfaces, u > will probably like cacti. The user interface is also well done for > graphing snmp data and thresholding on it using the threshold plugin. > > ===================== > Daniel Feinsmith > ===================== > {sent from iPhone} > > On Apr 8, 2009, at 8:15 AM, Christopher McAtackney > wrote: > > >> 2009/4/8 Andrew Davis : >> >>> And just an FYI from my own experience... putting Nagios & Cacti on >>> the same >>> server has been somewhat problematic for us. We have over 400 network >>> devices between switches, routers, WAPs, etc. We also have about 300 >>> monitored servers. Initially I had Nagios and Cacti both on one >>> server with >>> Cacti running via cron every 5 minutes. About every 5 minutes, my >>> shells >>> would become unresponsive for roughly 30 to 90 seconds. Turning off >>> either >>> Nagios or Cacti resolved the issue. Running both seems to have >>> hammered the >>> server a bit (4Gb of RAM, 2 x dual core 2.x Ghz CPUs). We don't >>> integrate >>> Cacti and Nagios, however. Nagios does both trending and alerts of >>> all >>> servers. Cacti does trending only of all network devices/ports. >>> Once I moved >>> Cacti to its own server, all was fine as far as load/latency went. >>> >> That's useful to know Andrew, thanks. >> >> Regarding the trending of network devices - is there any reason why >> this can't be done by Nagios? I intend to install PNP4Nagios to take >> care of graphing anyway, but I think it would be nice to have all my >> monitored resources under the one system (for notifications and ease >> of administration). >> >> Is there some major advantage that Cacti provides when it comes to >> SNMP monitoring of network devices that cannot be achieved with Nagios >> and the various SNMP plug-ins available for it (e.g. like these ones >> http://nagios.manubulon.com) ? >> >> Cheers, >> Chris >> >> --- >> --- >> --- >> --------------------------------------------------------------------- >> This SF.net email is sponsored by: >> High Quality Requirements in a Collaborative Environment. >> Download a free trial of Rational Requirements Composer Now! >> http://p.sf.net/sfu/www-ibm-com >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From israel at frontierflying.com Wed Apr 8 18:44:05 2009 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 8 Apr 2009 08:44:05 -0800 Subject: Children "unreachable" on soft down? In-Reply-To: <2DCA7EEA-36D0-4010-BB84-CDBF1B7CAB3C@frontierflying.com> References: <20090406.gv5.87263900@www.zarrelli.org> <2DCA7EEA-36D0-4010-BB84-CDBF1B7CAB3C@frontierflying.com> Message-ID: So is this just something I'll have to live with? I don't seem to be getting much feedback on the subject. :( ----------------------------------------------- Israel Brewster Computer Support Technician II Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- On Apr 6, 2009, at 10:55 AM, Israel Brewster wrote: > On Apr 6, 2009, at 9:03 AM, Giorgio Zarrelli wrote: > >> Hi, >> >> I've not quite clear what happens to you, > > Thanks for the response. For clarification, the exact sequence of > events is as follows: > > 1) The link between the nagios box and one of our routers, which we > will refer to as the parent host glitches for 30 seconds or so. Due to > the nature of the link (satellite connection) this is semi-expected, > and happens a couple of times a day. > > 2) Nagios catches this glitch in one of it's regularly scheduled host > checks, and puts the parent host into a soft down state. Again, normal > and expected - even good. > > 3) At the same time, Nagios puts the children of the parent host into > an "unreachable" state. Makes sense, at least, but leads to the issue > > 4) The parent host is now in recheck mode (as it is only in a soft > down state and has three rechecks set), so it checks again a minute > later. This check succeeds, as the outage was transitory. The parent > host is put back into an "UP" state. As it never was in a hard "down" > state, no notification is sent. This is good. > > 5) since the parent is now up, the child host now is changed to a > (soft I think) "down" state. > > 6) check continue on a normal schedule. As the link does not glitch > again for several hours, parent remains up and child remains > (correctly) down. Three checks later, child enters a hard "down" state > (since it was unreachable and only just switched back to down). Down > notification is sent for child. > > 7) Everything remains good for the next several hours until the link > glitches again. Repeat from step one. > > The notification in step 6 is the problem here - the child host was > down before the glitch, the child host is still down after. But > because the child host was temporarily put in an unreachable state, we > get notified again that it is down, resulting in a string of "DOWN" > messages with no up or real change in status. > >> but one thing I have in mind is try >> >> soft_state_dependencies=0 >> >> Besides that, the problems seems to be in the roots of the check. >> It's not >> healty to have a ping check failing every 2 strikes. Try to change >> the host >> alive check, using a ssh check instead. > > The check is not failing every 2 strikes. It's failing once, briefly, > every few hours - just barely long enough to make one check fail and > throw the parent host into a soft down state. The first recheck (one > minute later) works fine, bringing the parent back to an up state. The > next several hundred or more checks also work fine (as the problem was > transitory and brief). For this reason, changing the check wouldn't > help - for the duration of that single check, the host really is down > (or more precisely, unreachable, as it is a link issue), and any check > I used would say so. > >> Another approach, not so useful, would be to increase the timeout >> for the ping >> (-W) so it will have less chances to fail. > > except that it's not a timeout issue. It is a very real, albeit brief > (around 30 seconds or so), outage. Not long enough or frequent enough > to really impact productivity or anything, but long enough for nagios > to catch it (for a single check). > > ----------------------------------------------- > Israel Brewster > Computer Support Technician II > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- >> >> Giorgio >> >> Israel Brewster (israel at frontierflying.com) scritto: >>> >>> So does anyone have any ideas as to how I can resolve this >>> situation? >>> It continues to be an annoyance. Thanks. >>> >>> ----------------------------------------------- >>> Israel Brewster >>> Computer Support Technician II >>> Frontier Flying Service Inc. >>> 5245 Airport Industrial Rd >>> Fairbanks, AK 99709 >>> (907) 450-7250 x293 >>> ----------------------------------------------- >>> >>> >>> >>> On Mar 31, 2009, at 8:17 AM, Israel Brewster wrote: >>> >>>> On Mar 31, 2009, at 1:09 AM, Andreas Ericsson wrote: >>>> >>>>> Israel Brewster wrote: >>>>>> Does nagios (3.0.3) mark a child host as unreachable when its >>>>>> parent enters a soft down state? I am finding myself getting >>>>>> repeated down messages for a host (which is, in fact, down), >>>>>> even >>>>>> though I have notifications set to only send a single message. >>>>>> Looking at the logs, it would appear that what is happening is >>>>>> that the host is flipping between "down" (which notifies me) and >>>>>> "unreachable" (which does not). The parent host, however, never >>>>>> enters a hard down state. Looking at the logs, what I see is >>>>>> that >>>>>> one ICMP check fails, throwing the host into a soft down state, >>>>>> but the next one works just fine, bringing it back to an up >>>>>> state. >>>>>> The logic works fine for the parent host- since it never hits a >>>>>> hard down state, it doesn't alert, and everyone is happy. But >>>>>> apparently with the child host every time this happens, it >>>>>> switches from critical to unreachable and back again, >>>>>> triggering a >>>>>> notification. Is there any way to keep this from happening? >>>>>> Thanks. >>>>> >>>>> Doesn't flapping detection do what you want? You'd get a few >>>>> notifications, but they'd stop after the 3rd flip or something, I >>>>> think. >>>> >>>> Flapping detection helps, but doesn't solve. For one thing, as you >>>> mentioned, you still get at least a couple of notifications before >>>> it >>>> kicks in. For another thing, this happens with a frequency of >>>> something like once an hour or so (not consistently), so the host >>>> will >>>> flip from down to unreachable and back again, triggering an e-mail, >>>> perhaps do it a second time, and then it will sit in the correct >>>> "down" state for the next 50 checks or so (thus canceling any >>>> flapping >>>> detection) before repeating the process. It's not like I'm getting >>>> messages every five minutes or anything, it's just that I'm getting >>>> repeated down messages every hour or two for hosts that have been >>>> down >>>> and haven't actually changed state. >>>> >>>> I could, of course, schedule down time, except that I want to be >>>> notified if/when the people in the remote station get their act >>>> together and get the machine(s) in question back online. Also that >>>> is >>>> only partially effective for machines that have been sent in for >>>> repair, because I don't really know when the scheduled down time >>>> will >>>> be over. They are down, I know they are down, I just don't want to >>>> be >>>> told about it every few hours :-) >>>> >>>> ----------------------------------------------- >>>> Israel Brewster >>>> Computer Support Technician II >>>> Frontier Flying Service Inc. >>>> 5245 Airport Industrial Rd >>>> Fairbanks, AK 99709 >>>> (907) 450-7250 x293 >>>> ----------------------------------------------- >>>> >>>>> >>>>> >>>>> -- >>>>> Andreas Ericsson andreas.ericsson at 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. >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at 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 mailing list >>> Nagios-users at 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: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tad1214 at aol.com Wed Apr 8 19:27:03 2009 From: tad1214 at aol.com (Thomas Donnelly) Date: Wed, 08 Apr 2009 12:27:03 -0500 Subject: Nagios Warning Bug/Misconfiguration In-Reply-To: <20090407233101.GZ30298@bakgwai.americas.hpqcorp.net> References: <49DBA7F3.6070803@aol.com> <20090407194155.GU30298@bakgwai.americas.hpqcorp.net> <49DBB87F.9000906@aol.com> <20090407233101.GZ30298@bakgwai.americas.hpqcorp.net> Message-ID: <49DCDE67.9080900@aol.com> Got the issue. Turns out someone installed the Cisco MIBS along with the net snmp mibs. Thank you very much for your help. For anyone searching and finds this check /usr/local/share/snmp/mibs and see if you have some-snmp-mib.txt and some-snmp-mib.my Thanks Again! -=Tom Donnelly Patrick Morris wrote: > On Tue, 07 Apr 2009, Thomas Donnelly wrote: > > >> Thanks for the quick reply! >> >> Ran from the command line got: >> >> # ./check_snmp -H 192.168.97.71 -o mib-2.33.1.2.4.0 -C secret -w 95: -c 75: >> SNMP WARNING - 100 | SNMPv2-SMI::mib-2.33.1.2.4.0=100;;;; >> >> # ./check_snmp -H 192.168.97.71 -o mib-2.33.1.2.4.0 -C secret -w 95 -c 75: >> SNMP WARNING - *100* | SNMPv2-SMI::mib-2.33.1.2.4.0=100;;;; >> >> So by intentionally triggering it again (remove ":"), it shows the *'s >> > > How about if you add a "-v" to get verbose output? > > Also, you may want to check the return code from the manual run on an OK > resultx (for example, by running "echo $?" aafter your check_snmp > command to make sure it matches what you see in the output). > > What happens in my case occasionally is that I install a screwed-up MIB > for an unrelated service. It won't show any obvious errors, but it will > cause check_snmp to return a warning result code regardless of whether > the SNMP result falls within my thresholds. > > In effect, it's warning me that my MIBs are hosed, based on > the fact that it got a non-OK result from snmpget (which is what > check_snmp calls to do the actual SNMP getting). > > > > >> Not really sure what they mean by: >> >> 1. Prevent check_snmp from loading the MIBs (default behaviour) by using >> numeric oids AND using the "-m :" option >> > > If you a numeric OID rather than "mib-2.33.1.2.4.0" and pass the "-m :" > then check_snmp (and, by extension, snmpget) don't need to load the MIBs > at all, so you don't get an error if you've got a bad MIB. > > >> >> >> Patrick Morris wrote: >> >>> What happens when you run it manually? >>> >>> This, maybe? >>> >>> http://www.nagios.org/faqs/viewfaq.php?faq_id=208 >>> >>> On Tue, 07 Apr 2009, Thomas Donnelly wrote: >>> >>> >>> >>>> Hi all, >>>> >>>> I am having an issue with all of the devices I added showing warning all >>>> the time. It is a simple snmp check to see if the amps are above >>>> 160warn/180critical. They always say warning even though they are less >>>> than the specified 160. One thing to note is once it hits the 160 mark >>>> it gets the * value * in turn, showing that it is actually in the >>>> warning range. I have shown the neccesary data I hope below. Any/all >>>> help is greatly appreciated. >>>> >>>> >>>> >>>> # uname -a >>>> FreeBSD server.example.net 5.5-RELEASE-p2 FreeBSD 5.5-RELEASE-p2 #3: Tue >>>> Oct 9 22:39:13 EST 2007 >>>> root at server.example.net:/usr/obj/usr/src/sys/MONITOR i386 >>>> >>>> Nagios >>>> Version 2.0b3 >>>> >>>> >>>> # ./check_snmp -V >>>> check_snmp (nagios-plugins 1.4.3) 1.58 >>>> >>>> >>>> >>>> From the webui >>>> >>>> APC-RR-R3-1.hou >>>> check_rr_amp >>>> WARNING 04-07-2009 13:00:17 8d 3h 17m 2s 10/10 SNMP WARNING - 90 >>>> >>>> APC-RR-R3-2.hou >>>> check_rr_amp >>>> WARNING 04-07-2009 12:57:52 18d 2h 46m 48s 10/10 SNMP WARNING - *160* >>>> >>>> ^note the * 160 * for the one that actually is in the warning range. >>>> >>>> >>>> from checkcommands.cfg >>>> >>>> define command { >>>> command_name check_rr_amp >>>> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o >>>> mib-2.33.1.4.4.1.3.1 -C cPanel -w $ARG1$ -c $AR >>>> } >>>> >>>> >>>> From the hosts config file. >>>> >>>> define service{ >>>> host_name APC-RR-R1-1.hou >>>> service_description check_rr_amp >>>> check_command check_rr_amp!159!179 >>>> max_check_attempts 10 >>>> normal_check_interval 5 >>>> retry_check_interval 3 >>>> check_period 24x7 >>>> notification_interval 30 >>>> notification_period 24x7 >>>> notification_options w,c,r >>>> contact_groups backup-admins >>>> } >>>> >>>> >>>> >>>> Thanks! >>>> -=Tom >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> This SF.net email is sponsored by: >>>> High Quality Requirements in a Collaborative Environment. >>>> Download a free trial of Rational Requirements Composer Now! >>>> http://p.sf.net/sfu/www-ibm-com >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Apr 8 19:28:23 2009 From: marc at ena.com (Marc Powell) Date: Wed, 8 Apr 2009 12:28:23 -0500 Subject: Children "unreachable" on soft down? In-Reply-To: References: <20090406.gv5.87263900@www.zarrelli.org> <2DCA7EEA-36D0-4010-BB84-CDBF1B7CAB3C@frontierflying.com> Message-ID: On Apr 8, 2009, at 11:44 AM, Israel Brewster wrote: > So is this just something I'll have to live with? I don't seem to be > getting much feedback on the subject. :( Well, my response would be to fix the problem that's causing the outages in the first place or adjust the way you're monitoring the parents so that the plugin used recognizes when this temporary event is occurring. What you're asking for is that nagios track that the child went from down->unreachable->down without an intermediate OK state and suppress notifications in that case. That would appear to be a code change and would be better discussed on nagios-devel but I would encourage the check plugin approach first. -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gmarzot at marzot.net Wed Apr 8 19:51:52 2009 From: gmarzot at marzot.net (gmarzot at marzot.net) Date: Wed, 08 Apr 2009 10:51:52 -0700 Subject: Nagios and Cacti Message-ID: <20090408105152.dcdb4e9e9b6b46a37cb2272ec227cfc1.8d191c06e2.wbe@email.secureserver.net> > Is there some major advantage that Cacti provides when it comes to > SNMP monitoring of network devices that cannot be achieved with Nagios > and the various SNMP plug-ins available for it (e.g. like these ones > http://nagios.manubulon.com) ? Also does anyone have some nagios config examples integrating PNP and these SNMP plugins... I have been trying to get an idea how to create the commands.cfg and services.cfg using these parts... Any examples of host based checks would be great. I have tried to read the relevant docs but have not found explicit nagios .cfg examples... if they exist a gentle pointer would also be great. thank you, Giovanni ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From israel at frontierflying.com Wed Apr 8 20:32:04 2009 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 8 Apr 2009 10:32:04 -0800 Subject: Children "unreachable" on soft down? In-Reply-To: References: <20090406.gv5.87263900@www.zarrelli.org> <2DCA7EEA-36D0-4010-BB84-CDBF1B7CAB3C@frontierflying.com> Message-ID: On Apr 8, 2009, at 9:28 AM, Marc Powell wrote: > > On Apr 8, 2009, at 11:44 AM, Israel Brewster wrote: > >> So is this just something I'll have to live with? I don't seem to be >> getting much feedback on the subject. :( > > Well, my response would be to fix the problem that's causing the > outages in the first place or adjust the way you're monitoring the > parents so that the plugin used recognizes when this temporary event > is occurring. Ok, fair enough. There is nothing we can do about the outages (as I explained in one of my e-mail, they are an artifact of the connection type), so that leaves us with adjusting the monitoring. Now I thought that the recheck options were there exactly for this reason: to catch brief outages and not alert. And for the parent host that seems to be the case, but apparently that logic doesn't carry on to the child hosts. As such, somehow things would need to be adjusted so it never even sees the outages, even enough to go into a soft down state. Anyone have any suggestions for how I can accomplish this? Adjusting the timeout or using, say, an ssh check rather than icmp won't do it - the packets are still lost, and the ssh check would still timeout.. Perhaps if I sent more pings at longer intervals (so that if it doesn't get a response the single check retries at 15 second intervals or so before returning a response), but then the check would start taking several seconds or more to complete, and that wouldn't be a good thing. Assuming nagios even allowed a check to run that long - doesn't it have a mechanism to kill a check that doesn't return in a given time frame? I'm a little stumped here how I can adjust things. > What you're asking for is that nagios track that the > child went from down->unreachable->down without an intermediate OK > state and suppress notifications in that case. That would appear to be > a code change and would be better discussed on nagios-devel but I > would encourage the check plugin approach first. Ok. I know there is code in there that know who it sent down messages to and doesn't send up messages to people that didn't get a down (primarily dealing with escalations) so I was hoping that maybe there would be something similar for this, i.e. seeing that the last notification sent was a down notification, and as such there is no need to send another. But if not, so be it. Thanks for the response! ----------------------------------------------- Israel Brewster Computer Support Technician II Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > -- > Marc > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ladams at cloudmark.com Wed Apr 8 20:40:56 2009 From: ladams at cloudmark.com (Lori Adams) Date: Wed, 8 Apr 2009 11:40:56 -0700 Subject: multiple parents Message-ID: We have several hosts that have multiple parents. Will the child notify as down if only one of the parents is down? Or will the child suppress notifications because one of its parents is down? -Lori -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cburke at utc.net Wed Apr 8 20:49:15 2009 From: cburke at utc.net (Christopher Burke) Date: Wed, 8 Apr 2009 14:49:15 -0400 Subject: Children "unreachable" on soft down? In-Reply-To: References: <20090406.gv5.87263900@www.zarrelli.org><2DCA7EEA-36D0-4010-BB84-CDBF1B7CAB3C@frontierflying.com> Message-ID: I wonder if there is something you can do with notification escalations? I know you can control how the notifications are sent out, but I don't know if a state change from down to unreachable to down will cause the escalation to reset. From: Israel Brewster [mailto:israel at frontierflying.com] Sent: Wednesday, April 08, 2009 2:32 PM To: Marc Powell Cc: nagios-users at lists.sourceforge.net Users Subject: Re: [Nagios-users] Children "unreachable" on soft down? On Apr 8, 2009, at 9:28 AM, Marc Powell wrote: > > On Apr 8, 2009, at 11:44 AM, Israel Brewster wrote: > >> So is this just something I'll have to live with? I don't seem to be >> getting much feedback on the subject. :( > > Well, my response would be to fix the problem that's causing the > outages in the first place or adjust the way you're monitoring the > parents so that the plugin used recognizes when this temporary event > is occurring. Ok, fair enough. There is nothing we can do about the outages (as I explained in one of my e-mail, they are an artifact of the connection type), so that leaves us with adjusting the monitoring. Now I thought that the recheck options were there exactly for this reason: to catch brief outages and not alert. And for the parent host that seems to be the case, but apparently that logic doesn't carry on to the child hosts. As such, somehow things would need to be adjusted so it never even sees the outages, even enough to go into a soft down state. Anyone have any suggestions for how I can accomplish this? Adjusting the timeout or using, say, an ssh check rather than icmp won't do it - the packets are still lost, and the ssh check would still timeout.. Perhaps if I sent more pings at longer intervals (so that if it doesn't get a response the single check retries at 15 second intervals or so before returning a response), but then the check would start taking several seconds or more to complete, and that wouldn't be a good thing. Assuming nagios even allowed a check to run that long - doesn't it have a mechanism to kill a check that doesn't return in a given time frame? I'm a little stumped here how I can adjust things. > What you're asking for is that nagios track that the > child went from down->unreachable->down without an intermediate OK > state and suppress notifications in that case. That would appear to be > a code change and would be better discussed on nagios-devel but I > would encourage the check plugin approach first. Ok. I know there is code in there that know who it sent down messages to and doesn't send up messages to people that didn't get a down (primarily dealing with escalations) so I was hoping that maybe there would be something similar for this, i.e. seeing that the last notification sent was a down notification, and as such there is no need to send another. But if not, so be it. Thanks for the response! ----------------------------------------------- Israel Brewster Computer Support Technician II Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > -- > Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jmoseley at corp.xanadoo.com Wed Apr 8 21:45:42 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Wed, 8 Apr 2009 14:45:42 -0500 Subject: Nagios and Cacti In-Reply-To: <77846.31333.qm@web302.biz.mail.mud.yahoo.com> References: <77846.31333.qm@web302.biz.mail.mud.yahoo.com> Message-ID: I agree with Daniel's post below. We have Nagios and Cacti running on the same system; Nagios monitors 691 hosts and 1800 services while Cacti is pulling stats for about the same number of hosts, but something like 3200 data sources. They run on a dual Xeon 2.8 Ghz box with only 2 Gb or RAM (no swapping going on). Average load is about 1.5 and peaks at 3 about 3-4 times a day. The key is that mysql operations are on a dedicated box with 15k SCSI drives and RAID 10. James Moseley Daniel Emmanuel Feinsmith cc 04/08/2009 10:36 Nagios Users AM Subject Re: [Nagios-users] Nagios and Cacti If you move your mysql instance to another server, you can get much better performance on a nagios/cacti server. Check top while cacti is running a large install and you will see that mysql is hoarding CPU and memory resources not leaving much for nagios. ===================== Daniel Feinsmith ===================== {sent from iPhone} On Apr 8, 2009, at 8:03 AM, Andrew Davis wrote: And just an FYI from my own experience... putting Nagios & Cacti on the same server has been somewhat problematic for us. We have over 400 network devices between switches, routers, WAPs, etc. We also have about 300 monitored servers. Initially I had Nagios and Cacti both on one server with Cacti running via cron every 5 minutes. About every 5 minutes, my shells would become unresponsive for roughly 30 to 90 seconds. Turning off either Nagios or Cacti resolved the issue. Running both seems to have hammered the server a bit (4Gb of RAM, 2 x dual core 2.x Ghz CPUs). We don't integrate Cacti and Nagios, however. Nagios does both trending and alerts of all servers. Cacti does trending only of all network devices/ports. Once I moved Cacti to its own server, all was fine as far as load/latency went. A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Marco Tirado wrote: Hello: There are a couple of examples in the nagios exchange page of different approachs for integrating nagios and cacti. You should check that out. I believe the synchronization is going to cost you time and money, a better approach is to use nagios + pnp4naigos (this generates nice graphs) + check_snmp_int.pl (this for bandwidth tests). That way you have only one place to place your configuration. There are tons of other snmp plugins you can use for other tests (CPU, Memory, etc), //Marco On Wed, Apr 8, 2009 at 11:15 AM, Christopher McAtackney < cristoir at gmail.com> wrote: Hi all, I've been looking into making use of Cacti to act as an SNMP management tool which runs alongside my Nagios instance. Ideally, what I would like to do is have Cacti monitor various SNMP-exposed metrics on my hosts, and then have a service check in Nagios which parses Cacti's results (which I believe are RRD files) and send alerts etc. Nagios itself will still be used for running directly checks for services running, errors in log files etc. Does this approach make sense? One issue that I can think of is the difficulty in keeping the config files of Nagios and Cacti synchronised. I was planning on using Lilac Platform to act as my Nagios config file management tool, but how that is kept in synch with Cacti is a problem. Has anyone ever set up an arrangement like this before? Cheers, Chris ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Wed Apr 8 22:54:06 2009 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 8 Apr 2009 13:54:06 -0700 Subject: Adaptive Monitoring: Broken? In-Reply-To: <4642F11A-04F2-430C-B6CF-E9A9627767DA@ena.com> References: <20090407182618.GS30298@bakgwai.americas.hpqcorp.net> <4642F11A-04F2-430C-B6CF-E9A9627767DA@ena.com> Message-ID: <20090408205406.GE19457@bakgwai.americas.hpqcorp.net> On Wed, 08 Apr 2009, Marc Powell wrote: > > On Apr 7, 2009, at 1:26 PM, Patrick Morris wrote: > > > Here are the important stats: > > > > Nagios Version: Version 3.1.0 > > Proficiency Level: Pretty damned high > > > While the first command works fine, and sets the service to an OK > > state, > > the next two (which I've tried in various combinations) show up in the > > Nagios logs as having been sent, but do nothing. The check that > > appears > > in the config files keeps running instead of my check_ok check. > > > > Here's how it shows up in the logs: > > > > [1239128528] EXTERNAL COMMAND: CHANGE_SVC_EVENT_HANDLER;dummy- > > host;DNS;check_ok > > [1239128528] EXTERNAL COMMAND: CHANGE_SVC_CHECK_COMMAND;dummy- > > host;DNS;check_ok > > > > I've noticed the message is different if I use an invalid command, so > > I'm relatively sure I'm using the right ones; they just don't do > > anything. > > > > Event handlers are enabled for these services, but even if they > > weren't > > the check command should change, right? > > > > Am I doing something wrong here, or have I run into a bug? > > I'm not using 3.x yet but just to provide some feedback, what you're > doing looks reasonable from my reading of the documentation. I do see > this in 3.1.0's commands.c though -- > > /* SECURITY PATCH - disable these for the time being */ > switch(cmd){ > case CMD_CHANGE_GLOBAL_HOST_EVENT_HANDLER: > case CMD_CHANGE_GLOBAL_SVC_EVENT_HANDLER: > case CMD_CHANGE_HOST_EVENT_HANDLER: > case CMD_CHANGE_SVC_EVENT_HANDLER: > case CMD_CHANGE_HOST_CHECK_COMMAND: > case CMD_CHANGE_SVC_CHECK_COMMAND: > return ERROR; > } > > That's in the right section and my reading of the code is that it does > exactly that; prevent changing of those values... Maybe it's something > being worked on in the development branch? Thanks! I should have done some code-diving, because that goes pretty far toward explaining why those commands don't work for me as currently documented. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From coolmrhonest at yahoo.com Wed Apr 8 23:47:16 2009 From: coolmrhonest at yahoo.com (XYZ XYZ) Date: Wed, 8 Apr 2009 14:47:16 -0700 (PDT) Subject: how to add Q1,Q2,Q3,Q4 reports Message-ID: <93939.60021.qm@web112219.mail.gq1.yahoo.com> Any idea how do i add few custom reports to nagios "report period" drop down list in "availability report" like Q1(first quarter), Q2(second quarter)... etc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andy-lists at networkmail.eu Thu Apr 9 00:19:03 2009 From: andy-lists at networkmail.eu (Andy Shellam) Date: Wed, 08 Apr 2009 23:19:03 +0100 Subject: how to add Q1,Q2,Q3,Q4 reports In-Reply-To: <93939.60021.qm@web112219.mail.gq1.yahoo.com> References: <93939.60021.qm@web112219.mail.gq1.yahoo.com> Message-ID: <49DD22D7.30402@networkmail.eu> XYZ XYZ wrote: > Any idea how do i add few custom reports to nagios "report period" > drop down list in "availability report" like Q1(first quarter), > Q2(second quarter)... etc. > > > Edit the source code and recompile? ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Apr 9 00:34:21 2009 From: ae at op5.se (Andreas Ericsson) Date: Thu, 09 Apr 2009 00:34:21 +0200 Subject: Adaptive Monitoring: Broken? In-Reply-To: <4642F11A-04F2-430C-B6CF-E9A9627767DA@ena.com> References: <20090407182618.GS30298@bakgwai.americas.hpqcorp.net> <4642F11A-04F2-430C-B6CF-E9A9627767DA@ena.com> Message-ID: <49DD266D.8050902@op5.se> Marc Powell wrote: > On Apr 7, 2009, at 1:26 PM, Patrick Morris wrote: > >> Here are the important stats: >> >> Nagios Version: Version 3.1.0 >> Proficiency Level: Pretty damned high > >> While the first command works fine, and sets the service to an OK >> state, >> the next two (which I've tried in various combinations) show up in the >> Nagios logs as having been sent, but do nothing. The check that >> appears >> in the config files keeps running instead of my check_ok check. >> >> Here's how it shows up in the logs: >> >> [1239128528] EXTERNAL COMMAND: CHANGE_SVC_EVENT_HANDLER;dummy- >> host;DNS;check_ok >> [1239128528] EXTERNAL COMMAND: CHANGE_SVC_CHECK_COMMAND;dummy- >> host;DNS;check_ok >> >> I've noticed the message is different if I use an invalid command, so >> I'm relatively sure I'm using the right ones; they just don't do >> anything. >> >> Event handlers are enabled for these services, but even if they >> weren't >> the check command should change, right? >> >> Am I doing something wrong here, or have I run into a bug? > > I'm not using 3.x yet but just to provide some feedback, what you're > doing looks reasonable from my reading of the documentation. I do see > this in 3.1.0's commands.c though -- > > /* SECURITY PATCH - disable these for the time being */ > switch(cmd){ > case CMD_CHANGE_GLOBAL_HOST_EVENT_HANDLER: > case CMD_CHANGE_GLOBAL_SVC_EVENT_HANDLER: > case CMD_CHANGE_HOST_EVENT_HANDLER: > case CMD_CHANGE_SVC_EVENT_HANDLER: > case CMD_CHANGE_HOST_CHECK_COMMAND: > case CMD_CHANGE_SVC_CHECK_COMMAND: > return ERROR; > } > > That's in the right section and my reading of the code is that it does > exactly that; prevent changing of those values... Maybe it's something > being worked on in the development branch? > It's not. That snippet comes from Nov 30 2008 as a measure to prevent CVE-2008-5027 (cmd.cgi authorization bypass vulnerability) and CVE-2008-5028 (cross-site request forgery) from becoming remote command execution vulnerabilities. Ethan added that snippet as an extra security measure. It's been in Nagios since 3.0.4. Assuming both the patches I sent are applied, it's safe to remove that particular snippet and recompile Nagios. I wrote about the two vulnerabilities here in case anyone needs to refresh their memory: http://blogs.op5.org/blog4.php/2008/11/11/nagios-cmd-cgi-authorization-bypass-vuln http://blogs.op5.org/blog4.php/2008/11/11/cross-site-request-forgery-vulnerability-6 The patches to prevent them are available here: http://git.op5.org/git/?p=nagios.git;a=shortlog;h=refs/heads/security -- Andreas Ericsson andreas.ericsson at 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. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Apr 9 00:36:11 2009 From: ae at op5.se (Andreas Ericsson) Date: Thu, 09 Apr 2009 00:36:11 +0200 Subject: multiple parents In-Reply-To: References: Message-ID: <49DD26DB.9070206@op5.se> Lori Adams wrote: > We have several hosts that have multiple parents. > > Will the child notify as down if only one of the parents is down? Or > will the child suppress notifications because one of its parents is > down? > All parents of a host has to be down for it to become unreachable. If you have configured the host (and your contacts) to send notifications on unreachable states, you may still get notifications for it, but not HOST DOWN ones. -- Andreas Ericsson andreas.ericsson at 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. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From niall at makalumedia.com Thu Apr 9 01:05:35 2009 From: niall at makalumedia.com (Niall O Broin) Date: Thu, 9 Apr 2009 00:05:35 +0100 Subject: Hostnames and regex Message-ID: I recently changed a Nagios configuration to use a regex with hostnames but it hasn't been entirely satisfactory. I have e.g. define service{ use generic-service host_name host* service_description Total Processes check_command snmp_procs!120!150 but for some hosts, I need to use different thresholds. I tried to use define service{ use generic-service host_name hostNN service_description Total Processes check_command snmp_procs!200!250 but hostNN still alerts based on the host* thresholds. I tried placing the definition for host NN before AND after the host* definition - it made no difference. From what I read of Nagios regex, they're not full regex so it wouldn't be possible to write one which matched host* but didn't match hostNN. Is there a way of doing what I want, apart from the obvious one of renaming the hosts which I don't want to match the regex? __ Kindest regards, Niall O Broin MakaluMedia Group | http://makalumedia.com ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From muralikrishnan.s at gmail.com Thu Apr 9 06:15:33 2009 From: muralikrishnan.s at gmail.com (Murali Krishnan S) Date: Thu, 9 Apr 2009 09:45:33 +0530 Subject: NSClient not providing results Message-ID: <5a6fb4e0904082115y64b46720j2f73257e36d39334@mail.gmail.com> Hi, When I set NSClient++ to start automatically in services, its running but not providing the results. All I'm getting is "could not fetch information from server" . Even when I run the "check_nt" plugin manually also, I'm getting the same result. [root at nagios libexec]# /usr/local/nagios/libexec/check_nt -H 192.168.0.119 -p 12489 -v MEMUSE -w 80 -c 90 could not fetch information from server After searching and reading mailing lists I've tweaked certain things like "disabling firewall", "enabling DEP", etc. Still the same result. Only one way I could make the NSClient to respond is, running it in Command line with "-test" option. c:\NSClient++>"NSClient++.exe" -test When I run this, I'm getting the CHECKS GREEN.. [root at nagios libexec]# /usr/local/nagios/libexec/check_nt -H 192.168.0.119 -p 12489 -v MEMUSE -w 80 -c 90 Memory usage: total:4308.71 Mb - used: 1606.41 Mb (37%) - free: 2702.30 Mb (63%) | 'Memory usage'=1606.41Mb;3446.97;3877.84;0.00;4308.71 Everytime I reboot the machine. I need to start this in command line. Any solution, inputs ? Please provide... Thanks. -- Regards Mkrish -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asam30 at gmail.com Thu Apr 9 07:17:53 2009 From: asam30 at gmail.com (asam30 at gmail.com) Date: Thu, 9 Apr 2009 10:47:53 +0530 Subject: Monitor netstat connection states using nagios. Message-ID: <25251aec0904082217s783e7c45k131353e212f6c01a@mail.gmail.com> Hi All, I am using check_tcp to check status of a particular port on the server. This is working good. I would also need to monitor LISTEN status (SYN_RECV) of that port. for ex, I have a ldap service running on port 3890, so the command netstat -anp | grep 3890 tcp 0 0 0.0.0.0:3890 0.0.0.0:* LISTEN 16029/java tcp 0 0 10.121.30.121:3890 10.121.6.1:8831 ESTABLISHED 16029/java tcp 0 0 10.121.30.121:3890 10.121.6.1:61052 ESTABLISHED 16029/java tcp 228 0 10.121.30.121:3890 10.121.6.1:49440 ESTABLISHED 16029/java tcp 0 0 10.121.30.121:3890 10.121.6.1:11664 SYN_RECV 16029/java The establish connections are ok to allow, but we need to monitor SYN_RECV status. If there is any such(SYN_RECV) connection appears, we immediately get an alert from nagios. Is there any way to monitor such states with nagios or check_tcp? I have written some shell script to monitor such events, but also I would like to integrate that scripts into nagios? Is that possible? Please help me or provide some suggestions -- Shankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asam30 at gmail.com Thu Apr 9 07:16:41 2009 From: asam30 at gmail.com (asam30 at gmail.com) Date: Thu, 9 Apr 2009 10:46:41 +0530 Subject: Monitor netstat connection states using nagios. Message-ID: <25251aec0904082216l6076babex3f3048245a7de00f@mail.gmail.com> Hi All, I am using check_tcp to check status of a particular port on the server. This is working good. I would also need to monitor LISTEN status (SYN_RECV) of that port. for ex, I have a ldap service running on port 3890, so the command netstat -anp | grep 3890 tcp 0 0 0.0.0.0:3890 0.0.0.0:* LISTEN 16029/java tcp 0 0 10.121.30.121:3890 10.121.6.1:8831 ESTABLISHED 16029/java tcp 0 0 10.121.30.121:3890 10.121.6.1:61052 ESTABLISHED 16029/java tcp 228 0 10.121.30.121:3890 10.121.6.1:49440 ESTABLISHED 16029/java tcp 0 0 10.121.30.121:3890 10.121.6.1:11664 SYN_RECV 16029/java The establish connections are ok to allow, but we need to monitor SYN_RECV status. If there is any such(SYN_RECV) connection appears, we immediately get an alert from nagios. Is there any way to monitor such states with nagios or check_tcp? I have written some shell script to monitor such events, but also I would like to integrate that scripts into nagios? Is that possible? Please help me Thanks -- Shankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From amol.bute at tatatechnologies.com Thu Apr 9 07:10:58 2009 From: amol.bute at tatatechnologies.com (amol.bute at tatatechnologies.com) Date: Thu, 9 Apr 2009 10:40:58 +0530 Subject: Nagios for IRIX Message-ID: Greeting. I have IRIX 6.5 servers which I like to monitor using Nagios 3.0. I am able to monitor other servers like Linux & Windows but not able to configure nagios on IRIX OS servers. Please guide me how can I install nagios plug-in on IRIX OS and configure. Where do we will get nagios plug-ins for IRIX. Thanks and Regards Amol Bute ************************************************************************************************************************************************** Email Disclaimer: Information contained and transmitted by this e-mail (including any attachments) is confidential, proprietary and legally privileged data of Tata Technologies that is intended for use only by the addressee. If you are not the intended recipient, you are notified that any review, use, dissemination, distribution, copying or printing of this e-mail is strictly prohibited. You are requested to delete this e-mail or any copies immediately and notify the sender by reply email. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. Tata Technologies does not accept any liability for virus infected email or errors or omissions or consequences which may arise as a result of this e-mail transmission. To know more about Tata Technologies please visit http://www.tatatechnologies.com ************************************************************************************************************************************************ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From vmanojv at rediffmail.com Thu Apr 9 08:35:06 2009 From: vmanojv at rediffmail.com (Nair) Date: 9 Apr 2009 06:35:06 -0000 Subject: Service Dependency Message-ID: <20090409063506.17551.qmail@f5mail-237-237.rediffmail.com> Friends, I need to define mutal dependancy between two web services in different hosts. PLease see the config below which end up throwing error: ----------------------- Error: A circular execution dependency (which could result in a deadlock) exists for service 'www' on host 'host2'! ----------------------- # Service Dependency Definition for cfservd define servicedependency{ host_name host1 service_description www dependent_host_name host2 dependent_service_description www execution_failure_criteria o notification_failure_criteria c,p } define servicedependency{ host_name host2 service_description www dependent_host_name host1 dependent_service_description www execution_failure_criteria o notification_failure_criteria c,p } Please share your thoughts for getting the config right. Thank you in advance, Nair -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ankit.mehrotra at tcs.com Thu Apr 9 08:15:33 2009 From: ankit.mehrotra at tcs.com (ankit.mehrotra at tcs.com) Date: Thu, 9 Apr 2009 11:45:33 +0530 Subject: Nagios for IRIX In-Reply-To: References: Message-ID: HI, Not very sure about the problem u are facing .... To my understanding of your, problem you can compile the source files of the add-ons and the plug-ins and use them for monitoring. If this is not the issue, then send the problem in detail ! Cheers, Ankit 04/09/2009 10:40 AM To cc Subject [Nagios-users] Nagios for IRIX Greeting. I have IRIX 6.5 servers which I like to monitor using Nagios 3.0. I am able to monitor other servers like Linux & Windows but not able to configure nagios on IRIX OS servers. Please guide me how can I install nagios plug-in on IRIX OS and configure. Where do we will get nagios plug-ins for IRIX. Thanks and Regards Amol Bute ************************************************************************************************************************************************** Email Disclaimer: Information contained and transmitted by this e-mail (including any attachments) is confidential, proprietary and legally privileged data of Tata Technologies that is intended for use only by the addressee. If you are not the intended recipient, you are notified that any review, use, dissemination, distribution, copying or printing of this e-mail is strictly prohibited. You are requested to delete this e-mail or any copies immediately and notify the sender by reply email. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. Tata Technologies does not accept any liability for virus infected email or errors or omissions or consequences which may arise as a result of this e-mail transmission. To know more about Tata Technologies please visit http://www.tatatechnologies.com ************************************************************************************************************************************************ ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 ForwardSourceID:NT00034FB2 =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From amol.bute at tatatechnologies.com Thu Apr 9 09:41:11 2009 From: amol.bute at tatatechnologies.com (amol.bute at tatatechnologies.com) Date: Thu, 9 Apr 2009 13:11:11 +0530 Subject: Nagios for IRIX In-Reply-To: References: Message-ID: Hi, I Tried for compiling but getting error. PSA. # pwd /nagios # ls -l total 584 -rw-r--r-- 1 root sys 5276 Apr 7 14:37 Changelog -rw-r--r-- 1 root sys 446 Apr 7 14:37 LEGAL -rwxrwxrwx 1 root sys 1819 Apr 7 14:37 Makefile.in -rw-r--r-- 1 root sys 6855 Apr 7 14:37 README -rwxrwxrwx 1 root sys 1206 Apr 7 14:37 README.SSL -rw-r--r-- 1 root sys 2484 Apr 7 14:37 SECURITY drwxrwxrwx 2 root sys 51 Apr 7 14:37 autom4te.cache drwxr-xr-x 2 root sys 39 Apr 7 14:37 common -rwxrwxrwx 1 root sys 205817 Apr 9 12:52 configure -rwxrwxrwx 1 root sys 8029 Apr 7 14:37 configure.in drwxr-xr-x 2 root sys 65 Apr 7 14:37 contrib -rwxrwxrwx 1 root sys 1028 Apr 7 14:37 init-script.debian.in -rwxrwxrwx 1 root sys 454 Apr 7 14:37 init-script.freebsd.in -rwxrwxrwx 1 root sys 1233 Apr 7 14:37 init-script.in -rw-r--r-- 1 root sys 5835 Apr 7 14:37 install-sh -rwxrwxrwx 1 root sys 5090 Apr 7 14:37 nrpe.cfg.in -rwxrwxrwx 1 root sys 4423 Apr 7 14:37 nrpe.spec -rwxrwxrwx 1 root sys 450 Apr 7 14:37 nrpe.xinetd.in drwxr-xr-x 2 root sys 125 Apr 7 14:37 src -rwxrwxrwx 1 root sys 1049 Apr 7 14:37 subst.in -rw-r--r-- 1 root sys 1108 Apr 7 14:37 update-version # ./configure sh: ./configure: not found # Also error with make all command # make all don't know how to make all (bu42). # ________________________________ From: ankit.mehrotra at tcs.com [mailto:ankit.mehrotra at tcs.com] Sent: Thursday, April 09, 2009 11:46 AM To: Bute Amol [Junior Engineer] Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios for IRIX HI, Not very sure about the problem u are facing .... To my understanding of your, problem you can compile the source files of the add-ons and the plug-ins and use them for monitoring. If this is not the issue, then send the problem in detail ! Cheers, Ankit 04/09/2009 10:40 AM To cc Subject [Nagios-users] Nagios for IRIX Greeting. I have IRIX 6.5 servers which I like to monitor using Nagios 3.0. I am able to monitor other servers like Linux & Windows but not able to configure nagios on IRIX OS servers. Please guide me how can I install nagios plug-in on IRIX OS and configure. Where do we will get nagios plug-ins for IRIX. Thanks and Regards Amol Bute ************************************************************************ ************************************************************************ ** Email Disclaimer: Information contained and transmitted by this e-mail (including any attachments) is confidential, proprietary and legally privileged data of Tata Technologies that is intended for use only by the addressee. If you are not the intended recipient, you are notified that any review, use, dissemination, distribution, copying or printing of this e-mail is strictly prohibited. You are requested to delete this e-mail or any copies immediately and notify the sender by reply email. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. Tata Technologies does not accept any liability for virus infected email or errors or omissions or consequences which may arise as a result of this e-mail transmission. To know more about Tata Technologies please visit http://www.tatatechnologies.com ************************************************************************ ************************************************************************ ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 ForwardSourceID:NT00034FB2 =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you ************************************************************************************************************************************************** Email Disclaimer: Information contained and transmitted by this e-mail (including any attachments) is confidential, proprietary and legally privileged data of Tata Technologies that is intended for use only by the addressee. If you are not the intended recipient, you are notified that any review, use, dissemination, distribution, copying or printing of this e-mail is strictly prohibited. You are requested to delete this e-mail or any copies immediately and notify the sender by reply email. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. Tata Technologies does not accept any liability for virus infected email or errors or omissions or consequences which may arise as a result of this e-mail transmission. To know more about Tata Technologies please visit http://www.tatatechnologies.com ************************************************************************************************************************************************ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From narendran.neelamegam at wipro.com Thu Apr 9 09:44:49 2009 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Thu, 9 Apr 2009 13:14:49 +0530 Subject: Nagios for IRIX In-Reply-To: References: Message-ID: <4998B78E3FE856409DA742DDFEE793320104E14F@HYD-MKD-MBX02.wipro.com> May be this will help. http://opsview-blog.opsera.com/dotorg/2005/09/nagios_remote_p.html Regards, Naren ________________________________ From: amol.bute at tatatechnologies.com [mailto:amol.bute at tatatechnologies.com] Sent: Thursday, April 09, 2009 8:41 AM To: ankit.mehrotra at tcs.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios for IRIX Hi, I Tried for compiling but getting error. PSA. # pwd /nagios # ls -l total 584 -rw-r--r-- 1 root sys 5276 Apr 7 14:37 Changelog -rw-r--r-- 1 root sys 446 Apr 7 14:37 LEGAL -rwxrwxrwx 1 root sys 1819 Apr 7 14:37 Makefile.in -rw-r--r-- 1 root sys 6855 Apr 7 14:37 README -rwxrwxrwx 1 root sys 1206 Apr 7 14:37 README.SSL -rw-r--r-- 1 root sys 2484 Apr 7 14:37 SECURITY drwxrwxrwx 2 root sys 51 Apr 7 14:37 autom4te.cache drwxr-xr-x 2 root sys 39 Apr 7 14:37 common -rwxrwxrwx 1 root sys 205817 Apr 9 12:52 configure -rwxrwxrwx 1 root sys 8029 Apr 7 14:37 configure.in drwxr-xr-x 2 root sys 65 Apr 7 14:37 contrib -rwxrwxrwx 1 root sys 1028 Apr 7 14:37 init-script.debian.in -rwxrwxrwx 1 root sys 454 Apr 7 14:37 init-script.freebsd.in -rwxrwxrwx 1 root sys 1233 Apr 7 14:37 init-script.in -rw-r--r-- 1 root sys 5835 Apr 7 14:37 install-sh -rwxrwxrwx 1 root sys 5090 Apr 7 14:37 nrpe.cfg.in -rwxrwxrwx 1 root sys 4423 Apr 7 14:37 nrpe.spec -rwxrwxrwx 1 root sys 450 Apr 7 14:37 nrpe.xinetd.in drwxr-xr-x 2 root sys 125 Apr 7 14:37 src -rwxrwxrwx 1 root sys 1049 Apr 7 14:37 subst.in -rw-r--r-- 1 root sys 1108 Apr 7 14:37 update-version # ./configure sh: ./configure: not found # Also error with make all command # make all don't know how to make all (bu42). # ________________________________ From: ankit.mehrotra at tcs.com [mailto:ankit.mehrotra at tcs.com] Sent: Thursday, April 09, 2009 11:46 AM To: Bute Amol [Junior Engineer] Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios for IRIX HI, Not very sure about the problem u are facing .... To my understanding of your, problem you can compile the source files of the add-ons and the plug-ins and use them for monitoring. If this is not the issue, then send the problem in detail ! Cheers, Ankit 04/09/2009 10:40 AM To cc Subject [Nagios-users] Nagios for IRIX Greeting. I have IRIX 6.5 servers which I like to monitor using Nagios 3.0. I am able to monitor other servers like Linux & Windows but not able to configure nagios on IRIX OS servers. Please guide me how can I install nagios plug-in on IRIX OS and configure. Where do we will get nagios plug-ins for IRIX. Thanks and Regards Amol Bute ************************************************************************ ************************************************************************ ** Email Disclaimer: Information contained and transmitted by this e-mail (including any attachments) is confidential, proprietary and legally privileged data of Tata Technologies that is intended for use only by the addressee. If you are not the intended recipient, you are notified that any review, use, dissemination, distribution, copying or printing of this e-mail is strictly prohibited. You are requested to delete this e-mail or any copies immediately and notify the sender by reply email. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. Tata Technologies does not accept any liability for virus infected email or errors or omissions or consequences which may arise as a result of this e-mail transmission. To know more about Tata Technologies please visit http://www.tatatechnologies.com ************************************************************************ ************************************************************************ ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 ForwardSourceID:NT00034FB2 =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you ************************************************************************ ************************************************************************ ** Email Disclaimer: Information contained and transmitted by this e-mail (including any attachments) is confidential, proprietary and legally privileged data of Tata Technologies that is intended for use only by the addressee. If you are not the intended recipient, you are notified that any review, use, dissemination, distribution, copying or printing of this e-mail is strictly prohibited. You are requested to delete this e-mail or any copies immediately and notify the sender by reply email. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. Tata Technologies does not accept any liability for virus infected email or errors or omissions or consequences which may arise as a result of this e-mail transmission. To know more about Tata Technologies please visit http://www.tatatechnologies.com ************************************************************************ ************************************************************************ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From amol.bute at tatatechnologies.com Thu Apr 9 10:05:53 2009 From: amol.bute at tatatechnologies.com (amol.bute at tatatechnologies.com) Date: Thu, 9 Apr 2009 13:35:53 +0530 Subject: Nagios for IRIX In-Reply-To: <4998B78E3FE856409DA742DDFEE793320104E14F@HYD-MKD-MBX02.wipro.com> References: <4998B78E3FE856409DA742DDFEE793320104E14F@HYD-MKD-MBX02.wipro.com> Message-ID: Hi, I downloaded the plug-ins from the same site. as per README try to run ./configure make all but following errors shown. # ./configure sh: ./configure: not found # make all don't know how to make all (bu42). # Regards Amol ________________________________ From: narendran.neelamegam at wipro.com [mailto:narendran.neelamegam at wipro.com] Sent: Thursday, April 09, 2009 1:15 PM To: Bute Amol [Junior Engineer]; ankit.mehrotra at tcs.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios for IRIX May be this will help. http://opsview-blog.opsera.com/dotorg/2005/09/nagios_remote_p.html Regards, Naren ________________________________ From: amol.bute at tatatechnologies.com [mailto:amol.bute at tatatechnologies.com] Sent: Thursday, April 09, 2009 8:41 AM To: ankit.mehrotra at tcs.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios for IRIX Hi, I Tried for compiling but getting error. PSA. # pwd /nagios # ls -l total 584 -rw-r--r-- 1 root sys 5276 Apr 7 14:37 Changelog -rw-r--r-- 1 root sys 446 Apr 7 14:37 LEGAL -rwxrwxrwx 1 root sys 1819 Apr 7 14:37 Makefile.in -rw-r--r-- 1 root sys 6855 Apr 7 14:37 README -rwxrwxrwx 1 root sys 1206 Apr 7 14:37 README.SSL -rw-r--r-- 1 root sys 2484 Apr 7 14:37 SECURITY drwxrwxrwx 2 root sys 51 Apr 7 14:37 autom4te.cache drwxr-xr-x 2 root sys 39 Apr 7 14:37 common -rwxrwxrwx 1 root sys 205817 Apr 9 12:52 configure -rwxrwxrwx 1 root sys 8029 Apr 7 14:37 configure.in drwxr-xr-x 2 root sys 65 Apr 7 14:37 contrib -rwxrwxrwx 1 root sys 1028 Apr 7 14:37 init-script.debian.in -rwxrwxrwx 1 root sys 454 Apr 7 14:37 init-script.freebsd.in -rwxrwxrwx 1 root sys 1233 Apr 7 14:37 init-script.in -rw-r--r-- 1 root sys 5835 Apr 7 14:37 install-sh -rwxrwxrwx 1 root sys 5090 Apr 7 14:37 nrpe.cfg.in -rwxrwxrwx 1 root sys 4423 Apr 7 14:37 nrpe.spec -rwxrwxrwx 1 root sys 450 Apr 7 14:37 nrpe.xinetd.in drwxr-xr-x 2 root sys 125 Apr 7 14:37 src -rwxrwxrwx 1 root sys 1049 Apr 7 14:37 subst.in -rw-r--r-- 1 root sys 1108 Apr 7 14:37 update-version # ./configure sh: ./configure: not found # Also error with make all command # make all don't know how to make all (bu42). # ________________________________ From: ankit.mehrotra at tcs.com [mailto:ankit.mehrotra at tcs.com] Sent: Thursday, April 09, 2009 11:46 AM To: Bute Amol [Junior Engineer] Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios for IRIX HI, Not very sure about the problem u are facing .... To my understanding of your, problem you can compile the source files of the add-ons and the plug-ins and use them for monitoring. If this is not the issue, then send the problem in detail ! Cheers, Ankit 04/09/2009 10:40 AM To cc Subject [Nagios-users] Nagios for IRIX Greeting. I have IRIX 6.5 servers which I like to monitor using Nagios 3.0. I am able to monitor other servers like Linux & Windows but not able to configure nagios on IRIX OS servers. Please guide me how can I install nagios plug-in on IRIX OS and configure. Where do we will get nagios plug-ins for IRIX. Thanks and Regards Amol Bute ************************************************************************ ************************************************************************ ** Email Disclaimer: Information contained and transmitted by this e-mail (including any attachments) is confidential, proprietary and legally privileged data of Tata Technologies that is intended for use only by the addressee. If you are not the intended recipient, you are notified that any review, use, dissemination, distribution, copying or printing of this e-mail is strictly prohibited. You are requested to delete this e-mail or any copies immediately and notify the sender by reply email. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. Tata Technologies does not accept any liability for virus infected email or errors or omissions or consequences which may arise as a result of this e-mail transmission. To know more about Tata Technologies please visit http://www.tatatechnologies.com ************************************************************************ ************************************************************************ ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 ForwardSourceID:NT00034FB2 =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you ************************************************************************ ************************************************************************ ** Email Disclaimer: Information contained and transmitted by this e-mail (including any attachments) is confidential, proprietary and legally privileged data of Tata Technologies that is intended for use only by the addressee. If you are not the intended recipient, you are notified that any review, use, dissemination, distribution, copying or printing of this e-mail is strictly prohibited. You are requested to delete this e-mail or any copies immediately and notify the sender by reply email. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. Tata Technologies does not accept any liability for virus infected email or errors or omissions or consequences which may arise as a result of this e-mail transmission. To know more about Tata Technologies please visit http://www.tatatechnologies.com ************************************************************************ ************************************************************************ Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com ************************************************************************************************************************************************** Email Disclaimer: Information contained and transmitted by this e-mail (including any attachments) is confidential, proprietary and legally privileged data of Tata Technologies that is intended for use only by the addressee. If you are not the intended recipient, you are notified that any review, use, dissemination, distribution, copying or printing of this e-mail is strictly prohibited. You are requested to delete this e-mail or any copies immediately and notify the sender by reply email. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. Tata Technologies does not accept any liability for virus infected email or errors or omissions or consequences which may arise as a result of this e-mail transmission. To know more about Tata Technologies please visit http://www.tatatechnologies.com ************************************************************************************************************************************************ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Apr 9 10:53:11 2009 From: ae at op5.se (Andreas Ericsson) Date: Thu, 09 Apr 2009 10:53:11 +0200 Subject: Service Dependency In-Reply-To: <20090409063506.17551.qmail@f5mail-237-237.rediffmail.com> References: <20090409063506.17551.qmail@f5mail-237-237.rediffmail.com> Message-ID: <49DDB777.4020607@op5.se> Nair wrote: > Friends, > I need to define mutal dependancy between two web services in different hosts. > Why? If the two services *really* depend on each other, there's no way to start either, since it wouldn't function without the other one running. > PLease see the config below which end up throwing error: > ----------------------- > Error: A circular execution dependency (which could result in a deadlock) exists for service 'www' on host 'host2'! > ----------------------- > # Service Dependency Definition for cfservd > define servicedependency{ > host_name host1 > service_description www > dependent_host_name host2 > dependent_service_description www > execution_failure_criteria o > notification_failure_criteria c,p > } > > define servicedependency{ > host_name host2 > service_description www > dependent_host_name host1 > dependent_service_description www > execution_failure_criteria o > notification_failure_criteria c,p > } > This sort of dependency would mean that as soon as both of those services go OK at the same time, they would never be checked again, ever. > Please share your thoughts for getting the config right. > I'm guessing this is a failover solution so that either of the two has to work for the check to return ok. If so, just check the web service through whatever IP your users access this. If you aren't running IP takeover (or some other "same-IP" thing), write a wrapper for check_http which checks both hosts at once and only returns critical if both services are non-ok. -- Andreas Ericsson andreas.ericsson at 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. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From subscription at kkeane.com Thu Apr 9 11:02:03 2009 From: subscription at kkeane.com (Kevin Keane) Date: Thu, 9 Apr 2009 02:02:03 -0700 Subject: Monitor netstat connection states using nagios. In-Reply-To: <25251aec0904082217s783e7c45k131353e212f6c01a@mail.gmail.com> References: <25251aec0904082217s783e7c45k131353e212f6c01a@mail.gmail.com> Message-ID: <49DDB98B.8050803@kkeane.com> asam30 at gmail.com wrote: > > Hi All, > > I am using check_tcp to check status of a particular port on the > server. This is working good. I would also need to monitor LISTEN > status (SYN_RECV) of that port. for ex, > > I have a ldap service running on port 3890, so the command > > netstat -anp | grep 3890 > > tcp 0 0 0.0.0.0:3890 > 0.0.0.0:* LISTEN > 16029/java > tcp 0 0 10.121.30.121:3890 > 10.121.6.1:8831 > ESTABLISHED 16029/java > tcp 0 0 10.121.30.121:3890 > 10.121.6.1:61052 > ESTABLISHED 16029/java > tcp 228 0 10.121.30.121:3890 > 10.121.6.1:49440 > ESTABLISHED 16029/java > tcp 0 0 10.121.30.121:3890 > 10.121.6.1:11664 > SYN_RECV 16029/java > > The establish connections are ok to allow, but we need to monitor > SYN_RECV status. If there is any such(SYN_RECV) connection appears, we > immediately get an alert from nagios. Is there any way to monitor such > states with nagios or check_tcp? > > I have written some shell script to monitor such events, but also I > would like to integrate that scripts into nagios? Is that possible? > > Please help me or provide some suggestions You can integrate almost any shell script you want into Nagios. All you need to do is implement the Nagios plugin specification, which is fairly trivial to do for most scripts. Return 0, 1 or 2 (OK, warn or critical) to as exit code, and return the actual result data via stdout in a single line. The details are in the Nagios documentation. -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asam30 at gmail.com Thu Apr 9 11:34:13 2009 From: asam30 at gmail.com (asam30 at gmail.com) Date: Thu, 9 Apr 2009 15:04:13 +0530 Subject: Monitor netstat connection states using nagios. In-Reply-To: <49DDB98B.8050803@kkeane.com> References: <25251aec0904082217s783e7c45k131353e212f6c01a@mail.gmail.com> <49DDB98B.8050803@kkeane.com> Message-ID: <25251aec0904090234x309ce04dq3b4ad9c1043443fd@mail.gmail.com> Hi All, thank you for prompt response. I am trying this on one of the linux test server and I am monitoring port 80 (web server) to monitor port status TIME_WAIT. which means if netstat -anp | grep 80 returns any state as TIME, then get an alert on nagios. STATE_OK=0 STATE_WARNING=1 STATE_CRITICAL=2 STATE_UNKNOWN=3 netstat -anp | grep 80 > synport err=`cat synport | grep TIME | wc -l |awk '{print $1}'` if [ $err -gt 0 ] then echo "WARNING - STATUS= TIME_WAIT port status on $HOSTNAME | "WARNING - STATUS=TIME_WAIT port status on $HOSTNAME #exit ${STATE_WARNING} fi Can you tell me if this ok? Guide me where I am missing? This is my first script to integrate to nagios. Thanks On Thu, Apr 9, 2009 at 2:32 PM, Kevin Keane wrote: > asam30 at gmail.com wrote: > > > > Hi All, > > > > I am using check_tcp to check status of a particular port on the > > server. This is working good. I would also need to monitor LISTEN > > status (SYN_RECV) of that port. for ex, > > > > I have a ldap service running on port 3890, so the command > > > > netstat -anp | grep 3890 > > > > tcp 0 0 0.0.0.0:3890 > > 0.0.0.0:* LISTEN > > 16029/java > > tcp 0 0 10.121.30.121:3890 > > 10.121.6.1:8831 > > ESTABLISHED 16029/java > > tcp 0 0 10.121.30.121:3890 > > 10.121.6.1:61052 > > ESTABLISHED 16029/java > > tcp 228 0 10.121.30.121:3890 > > 10.121.6.1:49440 > > ESTABLISHED 16029/java > > tcp 0 0 10.121.30.121:3890 > > 10.121.6.1:11664 > > SYN_RECV 16029/java > > > > The establish connections are ok to allow, but we need to monitor > > SYN_RECV status. If there is any such(SYN_RECV) connection appears, we > > immediately get an alert from nagios. Is there any way to monitor such > > states with nagios or check_tcp? > > > > I have written some shell script to monitor such events, but also I > > would like to integrate that scripts into nagios? Is that possible? > > > > Please help me or provide some suggestions > You can integrate almost any shell script you want into Nagios. All you > need to do is implement the Nagios plugin specification, which is fairly > trivial to do for most scripts. Return 0, 1 or 2 (OK, warn or critical) > to as exit code, and return the actual result data via stdout in a > single line. The details are in the Nagios documentation. > > -- > Kevin Keane > Owner > The NetTech > Find the Uncommon: Expert Solutions for a Network You Never Have to Think > About > > Office: 866-642-7116 > http://www.4nettech.com > > This e-mail and attachments, if any, may contain confidential and/or > proprietary information. Please be advised that the unauthorized use or > disclosure of the information is strictly prohibited. The information herein > is intended only for use by the intended recipient(s) named above. If you > have received this transmission in error, please notify the sender > immediately and permanently delete the e-mail and any copies, printouts or > attachments thereof. > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp-intl.com Thu Apr 9 11:48:56 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Thu, 9 Apr 2009 10:48:56 +0100 Subject: nagiosgraph for paging file Message-ID: <200904091048.57200.assaf.flatto@ssp-intl.com> Hello I've been using nagiosgraph for a while , and i am slowly adding new graphs to the nagios , now i am trying to add a graph for our windows based machines , to show the Page file use , this is what i have now now in my map file : # Service type: ntcount # check command: check_nt -H $HOSTADDRESS$ -t 20 -p 1248 -v COUNTER -l $ARG1$ -w $ARG2$ -c $ARG3$ # output: Paging file usage is 53.07 % # perfdata:Paging file usage is %.2f %%=1.899340%;35.000000;90.000000; #/prefdata:Paging file usage is.*=([.0-9]+)%;([.0-9]+);([.0-9]+)/ /output:Paging file usage is (\d+)%/ and push @s, [ pagecounter, [ pageused , GAUGE, $1 ], # [ pagewarn , GAUGE, $2 ], # [ pagecrit , GAUGE, $3 ], ]; As you can see i tried the prefdata , and output options but with no success . >From the nagiosgrapg.log : Thu Apr 9 10:51:38 2009 insert.pl debug - processdata data = [ '1239270667', 'Host', 'Page file use', 'Paging file usage is 1.90 %', 'Paging file usage is %.2f %%=1.897430%;35.000000;90.000000; ' ]; Thu Apr 9 10:51:38 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr:Page file use output:Paging file usage is 1.90 % perfdata:Paging file usage is %.2f %%=1.897430%;35.000000;90.000000; Can anyone help me understand where my mistake is ? Thank You -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE From Surajit.Mukherjee at ness.com Thu Apr 9 12:09:35 2009 From: Surajit.Mukherjee at ness.com (Surajit Mukherjee) Date: Thu, 9 Apr 2009 15:39:35 +0530 Subject: Nagis connection refused error Message-ID: <7288B253FF8D33498BF175A570821F56F26A@INBLRNT11.ness.com> Hi All, I am new in Nagios and configured Nagios 3.0.6 in Redhat5 VMware. I am configured windows machines for to monitor memory load, cpu load erc. I am logging to http://myserver/nagios and getting the host status information as it shows UP. But in notification area it is showing connection refused. Can anybody help me what are all the things I should check for this error? Surajit The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to MailAdmin at ness.com and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp-intl.com Thu Apr 9 12:21:51 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Thu, 9 Apr 2009 11:21:51 +0100 Subject: Nagis connection refused error In-Reply-To: <7288B253FF8D33498BF175A570821F56F26A@INBLRNT11.ness.com> References: <7288B253FF8D33498BF175A570821F56F26A@INBLRNT11.ness.com> Message-ID: <200904091121.52267.assaf.flatto@ssp-intl.com> Hello A couple of things pop to mind : 1) is the windows firewall active ? 2) have you configured the windows NSClient to accept queries from the nagios server ? 3) do you have a firewall in between the nagios server and the target machines ? Assaf On Thursday 09 April 2009 11:09:35 Surajit Mukherjee wrote: > Hi All, > > > > I am new in Nagios and configured Nagios 3.0.6 in Redhat5 VMware. I am > configured windows machines for to monitor memory load, cpu load erc. > > > > I am logging to http://myserver/nagios and > getting the host status information as it shows UP. > > But in notification area it is showing connection refused. Can anybody > help me what are all the things I should check for this error? > > > > Surajit > > > > > > > > > > > > The information contained in this communication is intended solely for > the use of the individual or entity to whom it is addressed and others > authorized to receive it. It may contain confidential or legally > privileged information. If you are not the intended recipient you are > hereby notified that any disclosure, copying, distribution or taking any > action in reliance on the contents of this information is strictly > prohibited and may be unlawful. If you have received this communication in > error, please notify us immediately by forwarding this email to > MailAdmin at ness.com and then delete it from your system. > > Ness technologies is neither liable for the proper and complete > transmission of the information contained in this communication nor for > any delay in its receipt. -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Surajit.Mukherjee at ness.com Thu Apr 9 11:52:11 2009 From: Surajit.Mukherjee at ness.com (Surajit Mukherjee) Date: Thu, 9 Apr 2009 15:22:11 +0530 Subject: Welcome to the "Nagios-users" mailing list In-Reply-To: References: Message-ID: <7288B253FF8D33498BF175A570821F56F269@INBLRNT11.ness.com> Surajit M * System Administrator Infrastructure Services Group Ness Technologies India Pvt. Ltd. No. 18, 5th Block, Industrial Main Road, Koramangala, Bangalore - 560095. India Mobile: +91-9663306031 | Tel.: +91-80-41961000 | Fax: +91-80-41303530 surajit.mukherjee at ness.com | www.ness.com -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: Thursday, April 09, 2009 3:17 PM To: Surajit Mukherjee Subject: Welcome to the "Nagios-users" mailing list Welcome to the Nagios-users at lists.sourceforge.net mailing list! To post to this list, send your email to: nagios-users at lists.sourceforge.net General information about the mailing list is at: https://lists.sourceforge.net/lists/listinfo/nagios-users If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: https://lists.sourceforge.net/lists/options/nagios-users/surajit.mukherj ee%40ness.com You can also make such adjustments via email by sending a message to: Nagios-users-request at lists.sourceforge.net with the word `help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. It is: pm19861983 Normally, Mailman will remind you of your lists.sourceforge.net mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to MailAdmin at ness.com and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Surajit.Mukherjee at ness.com Thu Apr 9 12:37:05 2009 From: Surajit.Mukherjee at ness.com (Surajit Mukherjee) Date: Thu, 9 Apr 2009 16:07:05 +0530 Subject: Nagis connection refused error In-Reply-To: <200904091121.52267.assaf.flatto@ssp-intl.com> References: <7288B253FF8D33498BF175A570821F56F26A@INBLRNT11.ness.com> <200904091121.52267.assaf.flatto@ssp-intl.com> Message-ID: <7288B253FF8D33498BF175A570821F56F26B@INBLRNT11.ness.com> Hi Assaf, I have checked all the things that you mentioned below. I think something related to the configuration. Please suggest. Surajit -----Original Message----- From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] Sent: Thursday, April 09, 2009 3:52 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagis connection refused error Hello A couple of things pop to mind : 1) is the windows firewall active ? 2) have you configured the windows NSClient to accept queries from the nagios server ? 3) do you have a firewall in between the nagios server and the target machines ? Assaf On Thursday 09 April 2009 11:09:35 Surajit Mukherjee wrote: > Hi All, > > > > I am new in Nagios and configured Nagios 3.0.6 in Redhat5 VMware. I am > configured windows machines for to monitor memory load, cpu load erc. > > > > I am logging to http://myserver/nagios and > getting the host status information as it shows UP. > > But in notification area it is showing connection refused. Can anybody > help me what are all the things I should check for this error? > > > > Surajit > > > > > > > > > > > > The information contained in this communication is intended solely for > the use of the individual or entity to whom it is addressed and others > authorized to receive it. It may contain confidential or legally > privileged information. If you are not the intended recipient you are > hereby notified that any disclosure, copying, distribution or taking any > action in reliance on the contents of this information is strictly > prohibited and may be unlawful. If you have received this communication in > error, please notify us immediately by forwarding this email to > MailAdmin at ness.com and then delete it from your system. > > Ness technologies is neither liable for the proper and complete > transmission of the information contained in this communication nor for > any delay in its receipt. -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to MailAdmin at ness.com and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp-intl.com Thu Apr 9 12:52:35 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Thu, 9 Apr 2009 11:52:35 +0100 Subject: Nagis connection refused error In-Reply-To: <7288B253FF8D33498BF175A570821F56F26B@INBLRNT11.ness.com> References: <7288B253FF8D33498BF175A570821F56F26A@INBLRNT11.ness.com> Message-ID: <200904091152.35352.assaf.flatto@ssp-intl.com> On the windows machine in nsclient installation directory look for a *.ini file . In the file you have several sections defined by "[]" find the one relating to NSclient . In that section you have a directive "allowed_hosts " - you will need to add the nagios server ip . Below it you have directive "port" - you need to un comment it and define the port you wish to use - this port should also be used in your service and command definitions on the nagios server. once that is done , stop the nsclient service and restart it. Assaf On Thursday 09 April 2009 11:37:05 Surajit Mukherjee wrote: > Hi Assaf, > > I have checked all the things that you mentioned below. I think > something related to the configuration. Please suggest. > > Surajit > > -----Original Message----- > From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] > Sent: Thursday, April 09, 2009 3:52 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagis connection refused error > > Hello > > A couple of things pop to mind : > > 1) is the windows firewall active ? > > 2) have you configured the windows NSClient to accept queries from the > nagios server ? > > 3) do you have a firewall in between the nagios server and the target > machines ? > > Assaf > > On Thursday 09 April 2009 11:09:35 Surajit Mukherjee wrote: > > Hi All, > > > > > > > > I am new in Nagios and configured Nagios 3.0.6 in Redhat5 VMware. I am > > configured windows machines for to monitor memory load, cpu load erc. > > > > > > > > I am logging to http://myserver/nagios and > > getting the host status information as it shows UP. > > > > But in notification area it is showing connection refused. Can anybody > > help me what are all the things I should check for this error? > > > > > > > > Surajit > > > > > > > > > > > > > > > > > > > > > > > > The information contained in this communication is intended solely for > > the use of the individual or entity to whom it is addressed and others > > authorized to receive it. It may contain confidential or legally > > privileged information. If you are not the intended recipient you > > are > > > hereby notified that any disclosure, copying, distribution or taking > > any > > > action in reliance on the contents of this information is strictly > > prohibited and may be unlawful. If you have received this > > communication in > > > error, please notify us immediately by forwarding this email to > > MailAdmin at ness.com and then delete it from your system. > > > > Ness technologies is neither liable for the proper and complete > > transmission of the information contained in this communication nor > > for > > > any delay in its receipt. -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asam30 at gmail.com Thu Apr 9 13:06:30 2009 From: asam30 at gmail.com (asam30 at gmail.com) Date: Thu, 9 Apr 2009 16:36:30 +0530 Subject: Monitor netstat connection states using nagios. In-Reply-To: <25251aec0904090234x309ce04dq3b4ad9c1043443fd@mail.gmail.com> References: <25251aec0904082217s783e7c45k131353e212f6c01a@mail.gmail.com> <49DDB98B.8050803@kkeane.com> <25251aec0904090234x309ce04dq3b4ad9c1043443fd@mail.gmail.com> Message-ID: <25251aec0904090406j7485d83era5b2c882d7266d13@mail.gmail.com> These are the steps I did, on nagios server under libexec, created check_netstat file and that contains STATE_OK=0 STATE_WARNING=1 STATE_CRITICAL=2 STATE_UNKNOWN=3 netstat -anp | grep 80 > synport err=`cat synport | grep TIME | wc -l |awk '{print $1}'` if [ $err -gt 0 ] then echo "WARNING - STATUS= TIME_WAIT port status on $HOSTNAME | "WARNING - STATUS=TIME_WAIT port status on $HOSTNAME exit $STATE_CRITICAL else echo "OK - The port is up and running no TIME_WAIT established" exit $STATE_OK fi The same file copied to the nagios client where I am trying to monitor this. And on the nagios server i went to commands.cfg and added one commadn, define command{ command_name check_netstat command_line $USER1$/check_netstat -H $HOSTADDRESS$ } then on the nagios server, i am executeing /usr/local/nagios/libexec/check_netstat -H 172.16.17.18 this scripts runs locally and find the nagios servers apache port status not the monitored servers apache port. how would configure so that it should go to nagios client and get those port TIME_WAIT status. thanks On Thu, Apr 9, 2009 at 3:04 PM, wrote: > Hi All, > > thank you for prompt response. > > I am trying this on one of the linux test server and I am monitoring port > 80 (web server) to monitor port status TIME_WAIT. which means if netstat > -anp | grep 80 returns any state as TIME, then get an alert on nagios. > > > STATE_OK=0 > STATE_WARNING=1 > STATE_CRITICAL=2 > STATE_UNKNOWN=3 > > netstat -anp | grep 80 > synport > err=`cat synport | grep TIME | wc -l |awk '{print $1}'` > if [ $err -gt 0 ] > then > echo "WARNING - STATUS= TIME_WAIT port status on $HOSTNAME | "WARNING - > STATUS=TIME_WAIT port status on $HOSTNAME > #exit ${STATE_WARNING} > fi > > > Can you tell me if this ok? Guide me where I am missing? This is my first > script to integrate to nagios. > > Thanks > > > On Thu, Apr 9, 2009 at 2:32 PM, Kevin Keane wrote: > >> asam30 at gmail.com wrote: >> > >> > Hi All, >> > >> > I am using check_tcp to check status of a particular port on the >> > server. This is working good. I would also need to monitor LISTEN >> > status (SYN_RECV) of that port. for ex, >> > >> > I have a ldap service running on port 3890, so the command >> > >> > netstat -anp | grep 3890 >> > >> > tcp 0 0 0.0.0.0:3890 >> > 0.0.0.0:* LISTEN >> > 16029/java >> > tcp 0 0 10.121.30.121:3890 >> > 10.121.6.1:8831 >> > ESTABLISHED 16029/java >> > tcp 0 0 10.121.30.121:3890 >> > 10.121.6.1:61052 >> > ESTABLISHED 16029/java >> > tcp 228 0 10.121.30.121:3890 >> > 10.121.6.1:49440 >> > ESTABLISHED 16029/java >> > tcp 0 0 10.121.30.121:3890 >> > 10.121.6.1:11664 >> > SYN_RECV 16029/java >> > >> > The establish connections are ok to allow, but we need to monitor >> > SYN_RECV status. If there is any such(SYN_RECV) connection appears, we >> > immediately get an alert from nagios. Is there any way to monitor such >> > states with nagios or check_tcp? >> > >> > I have written some shell script to monitor such events, but also I >> > would like to integrate that scripts into nagios? Is that possible? >> > >> > Please help me or provide some suggestions >> You can integrate almost any shell script you want into Nagios. All you >> need to do is implement the Nagios plugin specification, which is fairly >> trivial to do for most scripts. Return 0, 1 or 2 (OK, warn or critical) >> to as exit code, and return the actual result data via stdout in a >> single line. The details are in the Nagios documentation. >> >> -- >> Kevin Keane >> Owner >> The NetTech >> Find the Uncommon: Expert Solutions for a Network You Never Have to Think >> About >> >> Office: 866-642-7116 >> http://www.4nettech.com >> >> This e-mail and attachments, if any, may contain confidential and/or >> proprietary information. Please be advised that the unauthorized use or >> disclosure of the information is strictly prohibited. The information herein >> is intended only for use by the intended recipient(s) named above. If you >> have received this transmission in error, please notify the sender >> immediately and permanently delete the e-mail and any copies, printouts or >> attachments thereof. >> >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by: >> High Quality Requirements in a Collaborative Environment. >> Download a free trial of Rational Requirements Composer Now! >> http://p.sf.net/sfu/www-ibm-com >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> > > > > -- > Shankar Asam > -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Surajit.Mukherjee at ness.com Thu Apr 9 13:15:52 2009 From: Surajit.Mukherjee at ness.com (Surajit Mukherjee) Date: Thu, 9 Apr 2009 16:45:52 +0530 Subject: Nagis connection refused error In-Reply-To: <200904091152.35352.assaf.flatto@ssp-intl.com> References: <7288B253FF8D33498BF175A570821F56F26B@INBLRNT11.ness.com> <200904091152.35352.assaf.flatto@ssp-intl.com> Message-ID: <7288B253FF8D33498BF175A570821F56F26C@INBLRNT11.ness.com> I did everything and I am sure that the windows plug-in are perfectly alright. Any other guess plz? Surajit -----Original Message----- From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] Sent: Thursday, April 09, 2009 4:23 PM To: Nagios User list Subject: Re: [Nagios-users] Nagis connection refused error On the windows machine in nsclient installation directory look for a *.ini file . In the file you have several sections defined by "[]" find the one relating to NSclient . In that section you have a directive "allowed_hosts " - you will need to add the nagios server ip . Below it you have directive "port" - you need to un comment it and define the port you wish to use - this port should also be used in your service and command definitions on the nagios server. once that is done , stop the nsclient service and restart it. Assaf On Thursday 09 April 2009 11:37:05 Surajit Mukherjee wrote: > Hi Assaf, > > I have checked all the things that you mentioned below. I think > something related to the configuration. Please suggest. > > Surajit > > -----Original Message----- > From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] > Sent: Thursday, April 09, 2009 3:52 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagis connection refused error > > Hello > > A couple of things pop to mind : > > 1) is the windows firewall active ? > > 2) have you configured the windows NSClient to accept queries from the > nagios server ? > > 3) do you have a firewall in between the nagios server and the target > machines ? > > Assaf > > On Thursday 09 April 2009 11:09:35 Surajit Mukherjee wrote: > > Hi All, > > > > > > > > I am new in Nagios and configured Nagios 3.0.6 in Redhat5 VMware. I am > > configured windows machines for to monitor memory load, cpu load erc. > > > > > > > > I am logging to http://myserver/nagios and > > getting the host status information as it shows UP. > > > > But in notification area it is showing connection refused. Can anybody > > help me what are all the things I should check for this error? > > > > > > > > Surajit > > > > > > > > > > > > > > > > > > > > > > > > The information contained in this communication is intended solely for > > the use of the individual or entity to whom it is addressed and others > > authorized to receive it. It may contain confidential or legally > > privileged information. If you are not the intended recipient you > > are > > > hereby notified that any disclosure, copying, distribution or taking > > any > > > action in reliance on the contents of this information is strictly > > prohibited and may be unlawful. If you have received this > > communication in > > > error, please notify us immediately by forwarding this email to > > MailAdmin at ness.com and then delete it from your system. > > > > Ness technologies is neither liable for the proper and complete > > transmission of the information contained in this communication nor > > for > > > any delay in its receipt. -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to MailAdmin at ness.com and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cristoir at gmail.com Thu Apr 9 13:48:31 2009 From: cristoir at gmail.com (Christopher McAtackney) Date: Thu, 9 Apr 2009 12:48:31 +0100 Subject: Nagios and Cacti In-Reply-To: References: <913905.71792.qm@web303.biz.mail.mud.yahoo.com> Message-ID: > With parallel checks in Nagios 3 and some configuration tuning and > well-written SNMP checks, I'd argue that Nagios is as good if not a > better poller than cactid :). ? our instance is not huge, but > currently we do 7000+ SNMP-based checks in 3 minutes on a dual > quad-core Linux-based server. > > Before PNP I used to use Cacti and Nagios. ?I like Cacti, but with PNP > around I would never go back to that combination again .. Nagios + PNP > really does simplify life for Nagios administrators and provides a lot > of flexibility as far as how you scale your graphing as your node base > grows. > > - Max Hi Max, Do you all of your SNMP management manually? I'm still learning a lot about SNMP, and was under the impression that Cacti took a lot of the pain out of SNMP management, but I'd be interested in hearing how you administer it in your system just using Nagios + PNP4Nagios if you don't mind? Cheers, Chris ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Apr 9 14:14:57 2009 From: marc at ena.com (Marc Powell) Date: Thu, 9 Apr 2009 07:14:57 -0500 Subject: Hostnames and regex In-Reply-To: References: Message-ID: <243C4803-5A41-46E5-98C3-AA127CFAC5A9@ena.com> On Apr 8, 2009, at 6:05 PM, Niall O Broin wrote: > Is there a way of doing what I want, apart from the obvious one of > renaming the hosts which I don't want to match the regex? Yes, I expect the following will work. http://nagios.sourceforge.net/docs/3_0/objecttricks.html#service -- define service{ use generic-service host_name host*, !hostNN service_description Total Processes check_command snmp_procs!120!150 define service{ use generic-service host_name hostNN service_description Total Processes check_command snmp_procs!200!250 -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Apr 9 14:22:08 2009 From: marc at ena.com (Marc Powell) Date: Thu, 9 Apr 2009 07:22:08 -0500 Subject: Nagios for IRIX In-Reply-To: References: Message-ID: On Apr 9, 2009, at 3:05 AM, wrote: > Hi, > > I downloaded the plug-ins from the same site. > > as per README try to run > ./configure > make all > > but following errors shown. > # ./configure > sh: ./configure: not found > > > # make all > don't know how to make all (bu42). > # I'm pretty sure you need to use autoconf, M4, GNU make and friends... -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Apr 9 14:27:22 2009 From: marc at ena.com (Marc Powell) Date: Thu, 9 Apr 2009 07:27:22 -0500 Subject: Nagis connection refused error In-Reply-To: <7288B253FF8D33498BF175A570821F56F26B@INBLRNT11.ness.com> References: <7288B253FF8D33498BF175A570821F56F26A@INBLRNT11.ness.com> <200904091121.52267.assaf.flatto@ssp-intl.com> <7288B253FF8D33498BF175A570821F56F26B@INBLRNT11.ness.com> Message-ID: On Apr 9, 2009, at 5:37 AM, Surajit Mukherjee wrote: > Hi Assaf, > > I have checked all the things that you mentioned below. I think > something related to the configuration. Please suggest. You should send configuration information then so that we do not have to guess what you've done. You should also detail which windows client you installed and how you installed and configured it. -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Apr 9 14:31:01 2009 From: marc at ena.com (Marc Powell) Date: Thu, 9 Apr 2009 07:31:01 -0500 Subject: Monitor netstat connection states using nagios. In-Reply-To: <25251aec0904090406j7485d83era5b2c882d7266d13@mail.gmail.com> References: <25251aec0904082217s783e7c45k131353e212f6c01a@mail.gmail.com> <49DDB98B.8050803@kkeane.com> <25251aec0904090234x309ce04dq3b4ad9c1043443fd@mail.gmail.com> <25251aec0904090406j7485d83era5b2c882d7266d13@mail.gmail.com> Message-ID: <81EC30BA-0C3F-4533-BA6C-EF34C2A26E42@ena.com> On Apr 9, 2009, at 6:06 AM, asam30 at gmail.com wrote: > this scripts runs locally and find the nagios servers apache port > status not the monitored servers apache port. how would configure so > that it should go to nagios client and get those port TIME_WAIT > status. You'll need to copy the script to the remote host then use one of the standard remote plugin execution methods (NRPE, check_by_ssh, etc) to run it from nagios on the remote host. -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jim at jimavery.me.uk Thu Apr 9 14:56:13 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 9 Apr 2009 13:56:13 +0100 Subject: nagiosgraph for paging file In-Reply-To: <200904091048.57200.assaf.flatto@ssp-intl.com> References: <200904091048.57200.assaf.flatto@ssp-intl.com> Message-ID: <765d77c80904090556r16d02e9dv62e237b3b1b8d2b1@mail.gmail.com> 2009/4/9 Assaf Flatto : > Hello > > I've been using nagiosgraph for a while , and i am slowly adding new graphs to the nagios , now i am > trying to add a graph for our windows based machines , to show the Page file use , > > this is what i have now now in my map file : > # Service type: ntcount > # ? check command: check_nt -H $HOSTADDRESS$ -t 20 -p 1248 -v COUNTER -l $ARG1$ -w $ARG2$ -c $ARG3$ > # ? output: Paging file usage is 53.07 % > # ? perfdata:Paging file usage is %.2f %%=1.899340%;35.000000;90.000000; > #/prefdata:Paging file usage is.*=([.0-9]+)%;([.0-9]+);([.0-9]+)/ > /output:Paging file usage is (\d+)%/ > ?and push @s, [ pagecounter, > ? ? ? ?[ pageused , GAUGE, $1 ], > # ? ? ? [ pagewarn , GAUGE, $2 ], > # ? ? ? [ pagecrit , GAUGE, $3 ], > ? ? ? ?]; > > As you can see i tried the prefdata , and output options but with no success . > > > >From the nagiosgrapg.log : > > ?Thu Apr ?9 10:51:38 2009 insert.pl debug - processdata data = [ > ?'1239270667', > ?'Host', > ?'Page file use', > ?'Paging file usage is 1.90 %', > ?'Paging file usage is %.2f %%=1.897430%;35.000000;90.000000; > ' > ]; > Thu Apr ?9 10:51:38 2009 insert.pl warn - perfdata not recognized: > date||host||desc||out||data for: > servicedescr:Page file use > output:Paging file usage is 1.90 % > perfdata:Paging file usage is %.2f %%=1.897430%;35.000000;90.000000; > > > Can anyone help me understand where my mistake is ? > > Thank You The normal version of check_nt doesn't do performance data very well. You might be better off querying the NSClient++ agent using check_nrpe rather than check_nt. Alternatively I guess you could try the enhanced version of check_nt which comes with nc_net. See http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1663.html;d=1 hth, Jim ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cristoir at gmail.com Thu Apr 9 14:58:58 2009 From: cristoir at gmail.com (Christopher McAtackney) Date: Thu, 9 Apr 2009 13:58:58 +0100 Subject: Centreon Message-ID: Hi all, Does anyone have any experience using Centreon? http://www.centreon.com/ It seems like a really nice front-end to Nagios, but I'd like to hear of other people's experiences using it before installing and setting it up. Cheers, Chris ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From niall at makalumedia.com Thu Apr 9 15:14:44 2009 From: niall at makalumedia.com (Niall O Broin) Date: Thu, 9 Apr 2009 14:14:44 +0100 Subject: Hostnames and regex In-Reply-To: <243C4803-5A41-46E5-98C3-AA127CFAC5A9@ena.com> References: <243C4803-5A41-46E5-98C3-AA127CFAC5A9@ena.com> Message-ID: <7E64A568-CBC6-4360-9A8F-96D20F86E60B@makalumedia.com> On 9 Apr 2009, at 13:14, Marc Powell wrote: > > On Apr 8, 2009, at 6:05 PM, Niall O Broin wrote: > > >> Is there a way of doing what I want, apart from the obvious one of >> renaming the hosts which I don't want to match the regex? > > Yes, I expect the following will work. http://nagios.sourceforge.net/docs/3_0/objecttricks.html#service Sounds perfect Marc - but yet with this in the config define service{ use generic-service host_name host*,!host17 service_description Total Processes check_command snmp_procs!120!150 } I get this error Reading configuration data... Error: Could not find any host matching '!host17' (config file '/etc/ nagios3/conf.d/MM-snmp-checks.cfg', starting on line 43) Error: Could not expand hostgroups and/or hosts specified in service (config file '/etc/nagios3/conf.d/MM-snmp-checks.cfg', starting on line 43) Any more ideas? Kindest regards, Niall O Broin ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cristoir at gmail.com Thu Apr 9 15:22:29 2009 From: cristoir at gmail.com (Christopher McAtackney) Date: Thu, 9 Apr 2009 14:22:29 +0100 Subject: Centreon In-Reply-To: <8147CCE3C4A8764DA9980125EE70E823B3C328@nuexchg.norwich.edu> References: <8147CCE3C4A8764DA9980125EE70E823B3C328@nuexchg.norwich.edu> Message-ID: 2009/4/9 James Pratt : > > >> -----Original Message----- >> From: Christopher McAtackney [mailto:cristoir at gmail.com] >> Sent: Thursday, April 09, 2009 8:59 AM >> To: Nagios Users >> Subject: [Nagios-users] Centreon >> >> Hi all, >> >> Does anyone have any experience using Centreon? > http://www.centreon.com/ >> >> It seems like a really nice front-end to Nagios, but I'd like to hear >> of other people's experiences using it before installing and setting >> it up. >> >> Cheers, >> Chris >> > > Hi, if you search the archives, this was actually discussed fairly > recently: > > > http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg24257. > html > > > regards, > jamie > Hm, doesn't sound too promising. That's a shame, because it looks great from the description and screen shots. Chris ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asam30 at gmail.com Thu Apr 9 15:26:01 2009 From: asam30 at gmail.com (asam30 at gmail.com) Date: Thu, 9 Apr 2009 18:56:01 +0530 Subject: Monitor netstat connection states using nagios. In-Reply-To: <81EC30BA-0C3F-4533-BA6C-EF34C2A26E42@ena.com> References: <25251aec0904082217s783e7c45k131353e212f6c01a@mail.gmail.com> <49DDB98B.8050803@kkeane.com> <25251aec0904090234x309ce04dq3b4ad9c1043443fd@mail.gmail.com> <25251aec0904090406j7485d83era5b2c882d7266d13@mail.gmail.com> <81EC30BA-0C3F-4533-BA6C-EF34C2A26E42@ena.com> Message-ID: <25251aec0904090626l39535ba2n2fb52684f8a34a77@mail.gmail.com> Hi, I did copy the scipt to the remote host as check_netstat and used check_nrpe method to excute from nagios server. It looks when executing the command on remote server works well, [root at airlin libexec]# /usr/local/nagios/libexec/check_netstat WARNING - STATUS= TIME_WAIT port status on airlin | WARNING - STATUS=TIME_WAIT port status on airlin as there are some TIME wait connections on port 80. but from the nagios server, it always reports that the port is up and no TIME wait connections established. This is wrong. [root at lnx-nagios libexec]# /usr/local/nagios/libexec/check_nrpe -H 172.16.17.18 -c check_netstat OK - The port is up and running NO established connections on airlin It looks something is worng between with nagios server or nrpe plug ins. please help me thanks On Thu, Apr 9, 2009 at 6:01 PM, Marc Powell wrote: > > On Apr 9, 2009, at 6:06 AM, asam30 at gmail.com wrote: > > > this scripts runs locally and find the nagios servers apache port > > status not the monitored servers apache port. how would configure so > > that it should go to nagios client and get those port TIME_WAIT > > status. > > You'll need to copy the script to the remote host then use one of the > standard remote plugin execution methods (NRPE, check_by_ssh, etc) to > run it from nagios on the remote host. > > -- > Marc > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From srianirudh at gmail.com Thu Apr 9 15:28:49 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Thu, 9 Apr 2009 09:28:49 -0400 Subject: nagios upgrade Message-ID: <699b436a0904090628y342d6fa9o206d58d41aaae9ed@mail.gmail.com> Hi I was planning to upgrade nagios from 2.9 to 3.0.6. We already have the pnp tool (performance graph at the side bar). My first question , while upgrading will the pnp tool get affected or messed up by any chance? I just want to be careful enough because nagios is one of our heavely used application. As a backup plan already the complete nagios is being backed up by the cron job. My second question : Can i know which directory is the one that is dynamic meaning that keeps on changing day by day. Let me list some of them here as far as i know: 1)nagios/etc 2)nagios/var If there is any can you please list them .... -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mohandas.k at tcs.com Thu Apr 9 15:30:05 2009 From: mohandas.k at tcs.com (mohandas.k at tcs.com) Date: Thu, 9 Apr 2009 19:00:05 +0530 Subject: Pppnp4nagios graph customization Message-ID: Hi All, We have installed nagios (3.0.5) on Solaris sparc box and configured rrdtool (1.2.19) along with pnp4nagios- npcd (0.4.13) for dashboard/graph. By default we are getting following graph for locolhost free swap. I want to configure following requirements : (1) can we add more variable (i.e say "Total Swap" ) in graph ? (2) Can we create different-different color in graph for different-different status critical-> RED,OK->Green,Warnijng->Yellow ? (3) last question how can we change graph updation time interval (here it's showing as 20 Minutes) however in our service definition,it's 10 Minutes Following is default graph for your better understanding : =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 12518 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From shadhin71 at gmail.com Thu Apr 9 15:55:08 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Thu, 9 Apr 2009 09:55:08 -0400 Subject: serious performance issue In-Reply-To: References: <6db4a4200904072054u38fcb2e4hd13690bdf3539d01@mail.gmail.com> Message-ID: <6db4a4200904090655s1771fd29h658ff20c6c41e792@mail.gmail.com> Now my nagios is not running any check at all. I get a lot of "looks like it was orphaned" message and then nagios just sit there. Can someone help me with this. I will add some entries from nagios.debug and nagios.log along with my nagios.cfg. Thanks in advance. nagios.debug: [1239284464.560241] [016.2] [pid=15690] Found another host check event for this host @ Thu Apr 9 08:59:56 2009 [1239284464.560248] [016.2] [pid=15690] New host check event occurs after the ex isting event, so we'll ignore it. [1239284464.560253] [016.2] [pid=15690] Keeping original host check event (ignor ing the new one). [1239284464.560261] [016.1] [pid=15690] ** Async check result for host 'iab323pc 20.atg.columbia.edu' handled: new state=0 nagios.log: [1239254607] Warning: The check of host 'et251pc70.atg.columbia.edu' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host... [1239254607] Warning: The check of host 'et251pc71.atg.columbia.edu' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host... [1239254607] Warning: The check of host 'et251pc72.atg.columbia.edu' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host... nagiostats: Nagios Stats 3.0.6 Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org) Last Modified: 12-01-2008 License: GPL CURRENT STATUS DATA ------------------------------------------------------ Status File: /var/log/nagios/status.dat Status File Age: 0d 0h 0m 4s Status File Version: 3.0.6 Program Running Time: 0d 15h 37m 5s Nagios PID: 15690 Used/High/Total Command Buffers: 0 / 1 / 4096 Total Services: 2783 Services Checked: 2783 Services Scheduled: 2782 Services Actively Checked: 2783 Services Passively Checked: 0 Total Service State Change: 0.000 / 38.820 / 0.328 % Active Service Latency: 244.062 / 37353.761 / 22185.948 sec Active Service Execution Time: 0.010 / 15.072 / 0.293 sec Active Service State Change: 0.000 / 38.820 / 0.328 % Active Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Passive Service Latency: 0.000 / 0.000 / 0.000 sec Passive Service State Change: 0.000 / 0.000 / 0.000 % Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 2571 / 14 / 143 / 55 Services Flapping: 19 Services In Downtime: 0 Total Hosts: 3037 Hosts Checked: 3005 Hosts Scheduled: 3030 Hosts Actively Checked: 3037 Host Passively Checked: 0 Total Host State Change: 0.000 / 57.170 / 0.448 % Active Host Latency: 0.000 / 36712.008 / 19785.947 sec Active Host Execution Time: 0.000 / 30.011 / 1.589 sec Active Host State Change: 0.000 / 57.170 / 0.448 % Active Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 299 Passive Host Latency: 0.000 / 0.000 / 0.000 sec Passive Host State Change: 0.000 / 0.000 / 0.000 % Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Hosts Up/Down/Unreach: 2854 / 183 / 0 Hosts Flapping: 16 Hosts In Downtime: 0 Active Host Checks Last 1/5/15 min: 0 / 0 / 0 Scheduled: 0 / 0 / 0 On-demand: 0 / 0 / 0 Parallel: 0 / 0 / 0 Serial: 0 / 0 / 0 Cached: 0 / 0 / 0 Passive Host Checks Last 1/5/15 min: 0 / 0 / 0 Active Service Checks Last 1/5/15 min: 0 / 0 / 0 Scheduled: 0 / 0 / 0 On-demand: 0 / 0 / 0 Cached: 0 / 0 / 0 Passive Service Checks Last 1/5/15 min: 0 / 0 / 0 External Commands Last 1/5/15 min: 0 / 0 / 0 nagios.cfg: log_file=/var/log/nagios/nagios.log cfg_file=/etc/nagios/commands.cfg cfg_file=/etc/nagios/contacts.cfg cfg_file=/etc/nagios/timeperiods.cfg cfg_file=/etc/nagios/templates.cfg cfg_dir=/etc/nagios/hosts cfg_dir=/etc/nagios/services object_cache_file=/var/log/nagios/objects.cache precached_object_file=/var/log/nagios/objects.precache resource_file=/etc/nagios/resource.cfg status_file=/var/log/nagios/status.dat status_update_interval=60 nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/var/log/nagios/rw/nagios.cmd external_command_buffer_slots=4096 lock_file=/var/log/nagios/nagios.lock temp_file=/var/log/nagios/nagios.tmp temp_path=/tmp event_broker_options=8 broker_module=/usr/lib64/nagios/ndomod.o config_file=/etc/nagios/ndomod.cfg log_rotation_method=m log_archive_path=/var/log/nagios/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=1 service_inter_check_delay_method=s max_service_check_spread=30 service_interleave_factor=s host_inter_check_delay_method=s max_host_check_spread=30 max_concurrent_checks=0 check_result_reaper_frequency=10 max_check_result_reaper_time=20 check_result_path=/var/log/nagios/spool/checkresults max_check_result_file_age=3600 cached_host_check_horizon=15 cached_service_check_horizon=15 enable_predictive_host_dependency_checks=1 enable_predictive_service_dependency_checks=1 soft_state_dependencies=0 auto_reschedule_checks=0 auto_rescheduling_interval=30 auto_rescheduling_window=180 sleep_time=0.25 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=60 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=var/log/nagios/retention.dat retention_update_interval=60 use_retained_program_state=1 use_retained_scheduling_info=1 retained_host_attribute_mask=0 retained_service_attribute_mask=0 retained_process_host_attribute_mask=0 retained_process_service_attribute_mask=0 retained_contact_host_attribute_mask=0 retained_contact_service_attribute_mask=0 interval_length=60 use_aggressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 execute_host_checks=1 accept_passive_host_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 translate_passive_host_checks=0 passive_host_checks_are_soft=0 check_for_orphaned_services=1 check_for_orphaned_hosts=1 check_service_freshness=1 service_freshness_check_interval=60 check_host_freshness=0 host_freshness_check_interval=60 additional_freshness_latency=15 enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us enable_embedded_perl=0 use_embedded_perl_implicitly=0 illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=0 use_true_regexp_matching=0 admin_email=sr2690 at columbia.edu daemon_dumps_core=0 use_large_installation_tweaks=1 enable_environment_macros=1 debug_level=-1 debug_verbosity=2 debug_file=/var/log/nagios/nagios.debug max_debug_file_size=1000000 On Wed, Apr 8, 2009 at 1:56 AM, fancyrabbit wrote: > i met almost the same issue. > after tweaking enable_embedded_perl=0, the load average was brought up but > latencies became lower. > > On Wed, Apr 8, 2009 at 11:54 AM, shadih rahman wrote: > >> I am seeing a ton of orphaned error message for both services and hosts. >> I am running nagios on a quad core 2.2 GHZ machine running 4 GHZ memory. I >> will paste my configuration file below. I have the machine sending ndo to a >> local database sitting on a 170 GB Hard drive. nagios is obcessing on both >> host and services and sending data to a machine with identical >> configuration. I am doing failover using NSCA. Please advise on this. >> >> >> >> >> >> nagios.cfg >> >> >> >> log_file=/var/log/nagios/nagios.log >> cfg_file=/etc/nagios/commands.cfg >> cfg_file=/etc/nagios/contacts.cfg >> cfg_file=/etc/nagios/timeperiods.cfg >> cfg_file=/etc/nagios/templates.cfg >> cfg_dir=/etc/nagios/hosts >> cfg_dir=/etc/nagios/services >> object_cache_file=/var/log/nagios/objects.cache >> precached_object_file=/var/log/nagios/objects.precache >> resource_file=/etc/nagios/resource.cfg >> status_file=/var/log/nagios/status.dat >> status_update_interval=60 >> nagios_user=nagios >> nagios_group=nagios >> check_external_commands=1 >> command_check_interval=-1 >> command_file=/var/log/nagios/rw/nagios.cmd >> external_command_buffer_slots=8192 >> lock_file=/var/log/nagios/nagios.lock >> temp_file=/var/log/nagios/nagios.tmp >> temp_path=/tmp >> event_broker_options=8 >> broker_module=/usr/lib64/nagios/ndomod.o >> config_file=/etc/nagios/ndomod.cfg >> log_rotation_method=m >> log_archive_path=/var/log/nagios/archives >> use_syslog=1 >> log_notifications=1 >> log_service_retries=1 >> log_host_retries=1 >> log_event_handlers=1 >> log_initial_states=0 >> log_external_commands=1 >> log_passive_checks=1 >> service_inter_check_delay_method=n >> max_service_check_spread=30 >> service_interleave_factor=s >> host_inter_check_delay_method=s >> max_host_check_spread=30 >> max_concurrent_checks=0 >> check_result_reaper_frequency=2 >> max_check_result_reaper_time=10 >> check_result_path=/var/log/nagios/spool/checkresults >> max_check_result_file_age=3600 >> cached_host_check_horizon=15 >> cached_service_check_horizon=15 >> enable_predictive_host_dependency_checks=1 >> enable_predictive_service_dependency_checks=1 >> soft_state_dependencies=1 >> auto_reschedule_checks=1 >> auto_rescheduling_interval=30 >> auto_rescheduling_window=180 >> sleep_time=0.25 >> service_check_timeout=30 >> host_check_timeout=20 >> >> event_handler_timeout=30 >> notification_timeout=60 >> ocsp_timeout=5 >> perfdata_timeout=5 >> retain_state_information=1 >> state_retention_file=var/log/nagios/retention.dat >> retention_update_interval=60 >> use_retained_program_state=1 >> use_retained_scheduling_info=1 >> retained_host_attribute_mask=0 >> retained_service_attribute_mask=0 >> retained_process_host_attribute_mask=0 >> retained_process_service_attribute_mask=0 >> retained_contact_host_attribute_mask=0 >> retained_contact_service_attribute_mask=0 >> interval_length=60 >> use_aggressive_host_checking=0 >> execute_service_checks=1 >> accept_passive_service_checks=1 >> execute_host_checks=1 >> accept_passive_host_checks=1 >> enable_notifications=1 >> enable_event_handlers=1 >> process_performance_data=0 >> obsess_over_services=1 >> ocsp_command=send_service_check >> ochp_command=send_host_check >> obsess_over_hosts=1 >> translate_passive_host_checks=0 >> passive_host_checks_are_soft=0 >> check_for_orphaned_services=1 >> check_for_orphaned_hosts=1 >> check_service_freshness=1 >> service_freshness_check_interval=60 >> check_host_freshness=0 >> host_freshness_check_interval=60 >> additional_freshness_latency=15 >> enable_flap_detection=1 >> low_service_flap_threshold=5.0 >> high_service_flap_threshold=20.0 >> low_host_flap_threshold=5.0 >> high_host_flap_threshold=20.0 >> date_format=us >> enable_embedded_perl=1 >> use_embedded_perl_implicitly=1 >> illegal_object_name_chars=`~!$%^&*|'"<>?,()= >> illegal_macro_output_chars=`~$&|'"<> >> use_regexp_matching=0 >> use_true_regexp_matching=0 >> admin_email=sr2690 at columbia.edu >> daemon_dumps_core=0 >> use_large_installation_tweaks=1 >> enable_environment_macros=1 >> debug_level=-1debug_verbosity=2 >> debug_file=/var/log/nagios/nagios.debug >> max_debug_file_size=1000000 >> >> >> >> >> my nagiostats output >> >> >> >> >> >> >> >> [sr2690>nagiostats >> >> Nagios Stats 3.0.6 >> Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org) >> Last Modified: 12-01-2008 >> License: GPL >> >> CURRENT STATUS DATA >> ------------------------------------------------------ >> Status File: /var/log/nagios/status.dat >> Status File Age: 0d 0h 0m 19s >> Status File Version: 3.0.6 >> >> Program Running Time: 0d 2h 5m 28s >> Nagios PID: 12139 >> Used/High/Total Command Buffers: 0 / 0 / 8192 >> >> Total Services: 2783 >> Services Checked: 2783 >> Services Scheduled: 2782 >> Services Actively Checked: 2783 >> Services Passively Checked: 0 >> Total Service State Change: 0.000 / 52.830 / 0.263 % >> Active Service Latency: 1.304 / 12092.843 / 1469.130 sec >> Active Service Execution Time: 0.011 / 15.103 / 0.468 sec >> Active Service State Change: 0.000 / 52.830 / 0.263 % >> Active Services Last 1/5/15/60 min: 0 / 0 / 0 / 129 >> Passive Service Latency: 0.000 / 0.000 / 0.000 sec >> Passive Service State Change: 0.000 / 0.000 / 0.000 % >> Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 >> Services Ok/Warn/Unk/Crit: 2560 / 13 / 186 / 24 >> Services Flapping: 17 >> Services In Downtime: 0 >> >> Total Hosts: 3037 >> Hosts Checked: 3005 >> Hosts Scheduled: 3029 >> Hosts Actively Checked: 3037 >> Host Passively Checked: 0 >> Total Host State Change: 0.000 / 53.620 / 0.227 % >> Active Host Latency: 0.000 / 12080.792 / 3770.409 sec >> Active Host Execution Time: 0.000 / 104.093 / 2.500 sec >> Active Host State Change: 0.000 / 53.620 / 0.227 % >> Active Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 256 >> Passive Host Latency: 0.000 / 0.000 / 0.000 sec >> Passive Host State Change: 0.000 / 0.000 / 0.000 % >> Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 >> Hosts Up/Down/Unreach: 2849 / 188 / 0 >> Hosts Flapping: 10 >> Hosts In Downtime: 0 >> >> Active Host Checks Last 1/5/15 min: 0 / 0 / 1 >> Scheduled: 0 / 0 / 0 >> On-demand: 0 / 0 / 1 >> Parallel: 0 / 0 / 0 >> Serial: 0 / 0 / 0 >> Cached: 0 / 0 / 1 >> Passive Host Checks Last 1/5/15 min: 0 / 0 / 0 >> Active Service Checks Last 1/5/15 min: 0 / 0 / 0 >> Scheduled: 0 / 0 / 0 >> On-demand: 0 / 0 / 0 >> Cached: 0 / 0 / 0 >> Passive Service Checks Last 1/5/15 min: 0 / 0 / 0 >> >> External Commands Last 1/5/15 min: 0 / 0 / 0 >> >> >> >> >> >> >> -- >> Cordially, >> Shadhin Rahman >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by: >> High Quality Requirements in a Collaborative Environment. >> Download a free trial of Rational Requirements Composer Now! >> http://p.sf.net/sfu/www-ibm-com >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From daniel at danielemmanuelfeinsmith.com Thu Apr 9 15:58:25 2009 From: daniel at danielemmanuelfeinsmith.com (Daniel Emmanuel Feinsmith) Date: Thu, 9 Apr 2009 06:58:25 -0700 (PDT) Subject: Nagios and Cacti Message-ID: <198805.72006.qm@web305.biz.mail.mud.yahoo.com> That's impressive and good to hear about the high snmp performance you've achieved with nagios. ===================== Daniel Feinsmith ===================== {sent from iPhone} On Apr 9, 2009, at 4:48 AM, Christopher McAtackney wrote: With parallel checks in Nagios 3 and some configuration tuning and well-written SNMP checks, I'd argue that Nagios is as good if not a better poller than cactid :). our instance is not huge, but currently we do 7000+ SNMP-based checks in 3 minutes on a dual quad-core Linux-based server. Before PNP I used to use Cacti and Nagios. I like Cacti, but with PNP around I would never go back to that combination again .. Nagios + PNP really does simplify life for Nagios administrators and provides a lot of flexibility as far as how you scale your graphing as your node base grows. - Max Hi Max, Do you all of your SNMP management manually? I'm still learning a lot about SNMP, and was under the impression that Cacti took a lot of the pain out of SNMP management, but I'd be interested in hearing how you administer it in your system just using Nagios + PNP4Nagios if you don't mind? Cheers, Chris ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From assaf.flatto at ssp-intl.com Thu Apr 9 16:09:48 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Thu, 9 Apr 2009 15:09:48 +0100 Subject: nagiosgraph for paging file In-Reply-To: <765d77c80904090556r16d02e9dv62e237b3b1b8d2b1@mail.gmail.com> References: <200904091048.57200.assaf.flatto@ssp-intl.com> Message-ID: <200904091509.48804.assaf.flatto@ssp-intl.com> Jim Thanks for the advise , i will try it . My confusion is that i am able to get graphs from the check_nt for other checks : # Service type: ntdisk # check command: check_nt -H Address -v USEDDISKSPACE -lc -w 75 -c 90 # output: L: - total: 200.00 Gb - used: 188.43 Gb (94%) - free 11.56 Gb (6%) # perfdata: L:\ Used Space=4.10Gb;19.40;23.28;0.00;25.87 /perfdata:.*Space=([.0-9]+)Gb;([.0-9]+);([.0-9]+);([.0-9]+);([.0-9]+)/ and push @s, [ ntdisk, [ diskused, GAUGE, $1*1024**3 ], [ diskwarn, GAUGE, $2*1024**3 ], [ diskcrit, GAUGE, $3*1024**3 ], [ diskmaxi, GAUGE, $5*1024**3 ] ]; works and i have the graphs and also : # Service type: ntmem # check command: check_nt -H Address -v MEMUSE -w 50 -c 90 # output: Memory usage: total:2467.75 Mb - used: 510.38 Mb (21%) - free: 1957.37 Mb (79%) # perfdata: Memory usage=510.38Mb;1233.88;2220.98;0.00;2467.75 /perfdata:.*usage=([.0-9]+)Mb;([.0-9]+);([.0-9]+);([.0-9]+);([.0-9]+)/ and push @s, [ ntmem, [ memused, GAUGE, $1*1024**2 ], [ memwarn, GAUGE, $2*1024**2 ], [ memcrit, GAUGE, $3*1024**2 ], [ memmmax, GAUGE, $5*1024**2 ] ]; works. I tried to use the same mechanism and a similar regex , but still it fails . Assaf On Thursday 09 April 2009 13:56:13 Jim Avery wrote: > 2009/4/9 Assaf Flatto : > > Hello > > > > I've been using nagiosgraph for a while , and i am slowly adding new > > graphs to the nagios , now i am trying to add a graph for our windows > > based machines , to show the Page file use , > > > > this is what i have now now in my map file : > > # Service type: ntcount > > # ? check command: check_nt -H $HOSTADDRESS$ -t 20 -p 1248 -v COUNTER -l > > $ARG1$ -w $ARG2$ -c $ARG3$ # ? output: Paging file usage is 53.07 % > > # ? perfdata:Paging file usage is %.2f %%=1.899340%;35.000000;90.000000; > > #/prefdata:Paging file usage is.*=([.0-9]+)%;([.0-9]+);([.0-9]+)/ > > /output:Paging file usage is (\d+)%/ > > ?and push @s, [ pagecounter, > > ? ? ? ?[ pageused , GAUGE, $1 ], > > # ? ? ? [ pagewarn , GAUGE, $2 ], > > # ? ? ? [ pagecrit , GAUGE, $3 ], > > ? ? ? ?]; > > > > As you can see i tried the prefdata , and output options but with no > > success . > > > > >From the nagiosgrapg.log : > > > > ?Thu Apr ?9 10:51:38 2009 insert.pl debug - processdata data = [ > > ?'1239270667', > > ?'Host', > > ?'Page file use', > > ?'Paging file usage is 1.90 %', > > ?'Paging file usage is %.2f %%=1.897430%;35.000000;90.000000; > > ' > > ]; > > Thu Apr ?9 10:51:38 2009 insert.pl warn - perfdata not recognized: > > date||host||desc||out||data for: > > servicedescr:Page file use > > output:Paging file usage is 1.90 % > > perfdata:Paging file usage is %.2f %%=1.897430%;35.000000;90.000000; > > > > > > Can anyone help me understand where my mistake is ? > > > > Thank You > > The normal version of check_nt doesn't do performance data very well. > You might be better off querying the NSClient++ agent using check_nrpe > rather than check_nt. > > Alternatively I guess you could try the enhanced version of check_nt > which comes with nc_net. See > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1663.html;d=1 > > hth, > > Jim -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From prandal at herefordshire.gov.uk Thu Apr 9 15:49:02 2009 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Thu, 9 Apr 2009 14:49:02 +0100 Subject: nagios upgrade In-Reply-To: <699b436a0904090628y342d6fa9o206d58d41aaae9ed@mail.gmail.com> References: <699b436a0904090628y342d6fa9o206d58d41aaae9ed@mail.gmail.com> Message-ID: <7EF0EE5CB3B263488C8C18823239BEBA06626F3F@HC-MBX02.herefordshire.gov.uk> Is there any way you can clone your nagios box to a VM and test on the cloned box? I've just done that here testing for a planned 2.12 to 3.0.6 upgrade. You'll need to edit your nagios.cfg file to remove one obsolete option, and there are a few new options to merge in from the example nagios.cfg. I tested the worst-possible migration case - from self-compiled 2.12 to RPMForge-packaged 3.0.6 RPM. It was fun dealing with all the default directory changes, but not impossible. If you're compiling from source for both versions it should be a fairly painless migration. The side.html file is, as far as I remember, the same in both versions, so I think you can keep your old one and copy over the newly installed 3.0.6 version. My word, of course, is not gospel (and rarely is), so I'd advise you to test, test, and test again if you can. The directories which change depend on your config - a look at the paths specified in your nagios.cfg etc will point yopu in the right direction. (your logs might be in /var/log/nagios/, for example). Cheers, Phil -- Phil Randal | Networks Engineer Herefordshire Council | Deputy Chief Executive's Office | I.C.T. Services Division Thorn Office Centre, Rotherwas, Hereford, HR2 6JT Tel: 01432 260160 email: prandal at herefordshire.gov.uk Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Herefordshire Council. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it. ________________________________ From: Anirudh Srinivasan [mailto:srianirudh at gmail.com] Sent: 09 April 2009 14:29 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios upgrade Hi I was planning to upgrade nagios from 2.9 to 3.0.6. We already have the pnp tool (performance graph at the side bar). My first question , while upgrading will the pnp tool get affected or messed up by any chance? I just want to be careful enough because nagios is one of our heavely used application. As a backup plan already the complete nagios is being backed up by the cron job. My second question : Can i know which directory is the one that is dynamic meaning that keeps on changing day by day. Let me list some of them here as far as i know: 1)nagios/etc 2)nagios/var If there is any can you please list them .... -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jpratt at norwich.edu Thu Apr 9 15:05:12 2009 From: jpratt at norwich.edu (James Pratt) Date: Thu, 9 Apr 2009 09:05:12 -0400 Subject: Centreon In-Reply-To: References: Message-ID: <8147CCE3C4A8764DA9980125EE70E823B3C328@nuexchg.norwich.edu> > -----Original Message----- > From: Christopher McAtackney [mailto:cristoir at gmail.com] > Sent: Thursday, April 09, 2009 8:59 AM > To: Nagios Users > Subject: [Nagios-users] Centreon > > Hi all, > > Does anyone have any experience using Centreon? http://www.centreon.com/ > > It seems like a really nice front-end to Nagios, but I'd like to hear > of other people's experiences using it before installing and setting > it up. > > Cheers, > Chris > Hi, if you search the archives, this was actually discussed fairly recently: http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg24257. html regards, jamie ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From erik.froese at gmail.com Thu Apr 9 16:43:08 2009 From: erik.froese at gmail.com (Erik Froese) Date: Thu, 9 Apr 2009 10:43:08 -0400 Subject: Nagios for IRIX In-Reply-To: References: Message-ID: I think you may be in the wrong directory. Is your home directory bu42? Type pwd to see what directory you are in. If its not nagios-plugins-SOME-NUMBER then cd nagios-plugins-SOME-NUMBER Erik On Thu, Apr 9, 2009 at 8:22 AM, Marc Powell wrote: > > On Apr 9, 2009, at 3:05 AM, < > amol.bute at tatatechnologies.com > > wrote: > > > Hi, > > > > I downloaded the plug-ins from the same site. > > > > as per README try to run > > ./configure > > make all > > > > but following errors shown. > > # ./configure > > sh: ./configure: not found > > > > > > # make all > > don't know how to make all (bu42). > > # > > I'm pretty sure you need to use autoconf, M4, GNU make and friends... > > -- > Marc > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Apr 9 16:51:51 2009 From: marc at ena.com (Marc Powell) Date: Thu, 9 Apr 2009 09:51:51 -0500 Subject: Monitor netstat connection states using nagios. In-Reply-To: <25251aec0904090626l39535ba2n2fb52684f8a34a77@mail.gmail.com> References: <25251aec0904082217s783e7c45k131353e212f6c01a@mail.gmail.com> <49DDB98B.8050803@kkeane.com> <25251aec0904090234x309ce04dq3b4ad9c1043443fd@mail.gmail.com> <25251aec0904090406j7485d83era5b2c882d7266d13@mail.gmail.com> <81EC30BA-0C3F-4533-BA6C-EF34C2A26E42@ena.com> <25251aec0904090626l39535ba2n2fb52684f8a34a77@mail.gmail.com> Message-ID: <77300A69-2466-4AA9-B3C1-FDAC313545EE@ena.com> On Apr 9, 2009, at 8:26 AM, asam30 at gmail.com wrote: > Hi, > > I did copy the scipt to the remote host as check_netstat and used > check_nrpe method to excute from nagios server. It looks when > executing the command on remote server works well, > > [root at airlin libexec]# /usr/local/nagios/libexec/check_netstat > WARNING - STATUS= TIME_WAIT port status on airlin | WARNING - > STATUS=TIME_WAIT port status on airlin You're testing as root here. Test as the user nrpe runs as. It could very well be a difference in privileges... -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sri.lumpa at free.fr Thu Apr 9 17:03:29 2009 From: sri.lumpa at free.fr (MAD) Date: Thu, 9 Apr 2009 17:03:29 +0200 (CEST) Subject: Pppnp4nagios graph customization In-Reply-To: <586023538.1213291239289390729.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <586023538.1213291239289390729.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <1853954049.1213381239289409843.JavaMail.root@zimbra16-e3.priv.proxad.net> I managed to create some templates graphing in different colors according to the threshold defined with your services This will graph in green if the value is under the warning threshold, in yellow if it is between warning and critical threshold and red if it is beyond critical threshold or unknown... I don't know how to do this if the performance and the state are independent (for example if perf are the execution time of the check script...) Marc-Andr? ----- Mail Original ----- De: "mohandas k" ?: nagios-users at lists.sourceforge.net Envoy?: Jeudi 9 Avril 2009 15h30:05 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] Pppnp4nagios graph customization Hi All, We have installed nagios (3.0.5) on Solaris sparc box and configured rrdtool (1.2.19) along with pnp4nagios- npcd (0.4.13) for dashboard/graph. By default we are getting following graph for locolhost free swap. I want to configure following requirements : (1) can we add more variable (i.e say "Total Swap" ) in graph ? (2) Can we create different-different color in graph for different-different status critical-> RED,OK->Green,Warnijng->Yellow ? (3) last question how can we change graph updation time interval (here it's showing as 20 Minutes) however in our service definition,it's 10 Minutes Following is default graph for your better understanding : =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: check_pnp_rrd.php Type: application/octet-stream Size: 3317 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pnp_test.png Type: image/png Size: 12138 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From genetj at yahoo.com Thu Apr 9 17:15:20 2009 From: genetj at yahoo.com (Genet Tesfaye) Date: Thu, 9 Apr 2009 08:15:20 -0700 (PDT) Subject: status map Message-ID: <804329.8333.qm@web56807.mail.re3.yahoo.com> Hi All, ? i have installed and configured nagios 3.0.6 on SUSE linux.i plan to monitor Servers, Printers and Switches for which i have added samples. i need help on how to configure: 1. if i have more than two partitions on windows machine. i have managed to monitor c and D partitions but could't for the additional partition 2. i have a problem with the status map. clicking on it brings an error "Object Not found" ? Thank you very much GT from Ethiopia -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From giorgio at zarrelli.org Thu Apr 9 17:22:14 2009 From: giorgio at zarrelli.org (Giorgio Zarrelli) Date: Thu, 09 Apr 2009 17:22:14 +0200 Subject: Monitor netstat connection states using nagios. In-Reply-To: <77300A69-2466-4AA9-B3C1-FDAC313545EE@ena.com> References: <77300A69-2466-4AA9-B3C1-FDAC313545EE@ena.com> Message-ID: <20090409.wA5.35170600@www.zarrelli.org> Hi As I told before, that netstat command won't work "out of the box", with an unprivileged user. Giorgio Marc Powell (marc at ena.com) scritto: > > > On Apr 9, 2009, at 8:26 AM, asam30 at gmail.com wrote: > > > Hi, > > > > I did copy the scipt to the remote host as check_netstat and used > > check_nrpe method to excute from nagios server. It looks when > > executing the command on remote server works well, > > > > [root at airlin libexec]# /usr/local/nagios/libexec/check_netstat > > WARNING - STATUS= TIME_WAIT port status on airlin | WARNING - > > STATUS=TIME_WAIT port status on airlin > > You're testing as root here. Test as the user nrpe runs as. It could > very well be a difference in privileges... > > -- > Marc > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jim at jimavery.me.uk Thu Apr 9 17:29:23 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 9 Apr 2009 16:29:23 +0100 Subject: Pppnp4nagios graph customization In-Reply-To: References: Message-ID: <765d77c80904090829g61574611tbfc3172a64556776@mail.gmail.com> 2009/4/9 : > > Hi All, > > We have installed nagios (3.0.5) on Solaris sparc box and configured rrdtool > (1.2.19) along with pnp4nagios- npcd (0.4.13) for dashboard/graph. > > By default we are getting following graph for locolhost free swap. I want to > configure ?following requirements : > > (1) can we add more variable (i.e say "Total Swap" ) in graph ? > > (2) Can we create different-different color in graph for different-different > status critical-> RED,OK->Green,Warnijng->Yellow ? ? ? > > (3) last question how can we change graph updation time interval (here it's > showing as 20 Minutes) however in our service definition,it's 10 Minutes > > Following is default graph for your better understanding : I believe there's a typo in the default.php template which means default graphs don't show the maximum value. Copy the file "default.php" from /usr/local/nagios/share/pnp/templates.dist/ to the ../templates folder, giving it the name "check_local_swap.php". Then edit this file to correct the problem. The erroneous section is: if ($WARN[$i] != "") { $warning = $WARN[$i]; } if ($CRIT[$i] != "") { $critical = $CRIT[$i]; } if ($MIN[$i] != "") { $lower = " --lower=" . $MIN[$i]; $minimum = $MIN[$i]; } if ($CRIT[$i] != "") { <<----THIS LINE IS WRONG!! $upper = " --upper=" . $MAX[$i]; $maximum = $MAX[$i]; } if ($UNIT[$i] == "%%") { $vlabel = "%"; } In the line I've pointed out here, it should read $MAX not $CRIT. Whether that fixes your problem will depend also on whether your plugin returns the performance data in the correct format. You can also edit the template to change colours and so on. As for the time interval, I'm not too sure. If you want to tinker with the template, you'll need to read up on how it all works, for example at http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html and edit the template accordingly. For in-depth discussion of PNP, I recommend you subscribe to their email list https://lists.sourceforge.net/lists/listinfo/pnp4nagios-users hth, Jim ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From perldork at webwizarddesign.com Thu Apr 9 17:31:54 2009 From: perldork at webwizarddesign.com (Max) Date: Thu, 9 Apr 2009 11:31:54 -0400 Subject: Nagios and Cacti In-Reply-To: <198805.72006.qm@web305.biz.mail.mud.yahoo.com> References: <198805.72006.qm@web305.biz.mail.mud.yahoo.com> Message-ID: Hi Chris, Daniel, I write about a number of the configuration decisions we made in order to achieve our current level of performance on my blog: http://www.semintelligent.com/blog/?q=Nagios Please note that a number of configuration steps we have done go against what the Nagios documentation recommends, so if you wish to do anything similar to what we have done, make sure you understand the Nagios documentation and understand the risks of violating the recommendations in it. We have done a lot of custom development to help make implementing SNMP-based checks across a large number of hosts easier for us: 1) We develop agent-specific checks (we currently use Net-SNMP and SysEdge, starting to do Cisco monitoring) using perl that run clean under ePN. These groups of checks are associated with host groups specific to each agent type (e.g. net-snmp-host). 2) We create a custom base template for each agent type. The template has custom attributess that associate SNMP version, community string etc with the host template. We also use custom attributes in each agent-specific check (e.g. CPU), so that all thresholds are defined at the host level and we can provide default thresholds. For example define host { name net_snmp_host hostgroups +net_snmp_hosts __snmp_version 2c __snmp_community myreadonlycommunity __snmp_port 161 __snmp_version 2c __snmp_storage_partitions all __snmp_storage_warn 90 __snmp_storage_crit 95 __snmp_la_warn 15:10:5 __snmp_la_crit 30:20:10 __snmp_mem_warn free,lt,8 __snmp_mem_crit free,lt,5 __snmp_swap_warn 50 __snmp_swap_crit 65 __snmp_cpu_warn wait,gt,20 __snmp_cpu_crit wait,gt,30 ... register 0 } for custom communities we create separate templates, e.g. define host { name southwest-region-host hostgroups +southwest-hosts __snmp_community southWestRegionCommunity } so now our end users can easily tell Nagios to poll their hosts with SNMP and they can override our thresholds if they want at the host level without having to know a thing about programming: define host { use generic-host, net_snmp_host, southwest-region-host # Override CPU default thresholds __snmp_cpu_warn wait,gt,40 ... } 3) We have developed, and hope to release sometime this year, a perl-based, ePN friendly SNMP check script that handles counters and gauges well, it lets you check multple SNMP OIDs at once. This has been extremely useful for custom SNMP application agents .. a service definition ends up looking like this: define service { use check_snmp_oids-base service_description Custom App - 5 minute SNMP checks __snmp_oids_spec -O 'TimeMin:g:1.3.6.1.4.1.1900.5.5.2.2.1.0' \ -O 'labelFor1sttOid:g:1.3.6.1.4.1.9999.1.3.0' \ -O 'labelFor2ndOid:g:1.3.6.1.4.1.9999.1.4.0' \ -O 'labelFor3rdtOid:g:1.3.6.1.4.1.9999.1.5.0'\ __snmp_oids_crit_spec labelFor1stoid,lt,0 hostgroup_name custom-agent-group servicegroups custom-service-group } In some cases we check 15-20 OIDs at once using this methodology. Our script uses memcached to cache counter data to get delta output properly and we have code that adjusts data properly for over samples, under samples, and large deltas. Many of our checks are based off of the code I wrote that can be downloaded here: http://www.nagios3book.com/nagios-3-enm/checks/ Though we have significantly enhanced things. So, a lot of development time up front but the end result is we get terrific performance and a lot of flexibility. We are using Nagios to replace $$$ COTS products, so our company is happy to have us spend time doing custom development. I realize many of you do not have that luxury so I understand that this won't be ideal for many of you. sorry. Development time with two people to get to where we are now - about 3-4 months. We have permission to release a lot of the code we have done, just need time to package it properly for a public release .. so hopefully we can share some of our tools and help others do something similar without the 3-4 months development time :p. hope this helps more than it confuses. - Max ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ctemple at merethis.com Thu Apr 9 15:47:57 2009 From: ctemple at merethis.com (Cedric Temple) Date: Thu, 9 Apr 2009 15:47:57 +0200 Subject: Centreon In-Reply-To: References: Message-ID: <960a54cc0904090647v267d71f0ib7d3d97eb33664d5@mail.gmail.com> 2009/4/9 Christopher McAtackney > Hi all, Hi, > Does anyone have any experience using Centreon? http://www.centreon.com/ > > It seems like a really nice front-end to Nagios, but I'd like to hear > of other people's experiences using it before installing and setting > it up. I use it since the first version. It was named "oreon" before. I think you should give it a try, it's a really good project. Maybe it is difficult to install the first time but you have some documentation to help you: http://en.doc.centreon.com/Setup Then you have to understand that Centreon overwrites all nagios cfg files. Some people disagree this kind of feature because they want to modify the nagios cfg files by hand... but if it is not a problem for you, go! Give it a try, if you have questions, the forum may help you: http://forum.centreon.com/ Hope it helps. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jim at jimavery.me.uk Thu Apr 9 17:38:03 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 9 Apr 2009 16:38:03 +0100 Subject: nagiosgraph for paging file In-Reply-To: <200904091509.48804.assaf.flatto@ssp-intl.com> References: <200904091048.57200.assaf.flatto@ssp-intl.com> <765d77c80904090556r16d02e9dv62e237b3b1b8d2b1@mail.gmail.com> <200904091509.48804.assaf.flatto@ssp-intl.com> Message-ID: <765d77c80904090838t4a2e1301i7794113f8e488918@mail.gmail.com> 2009/4/9 Assaf Flatto : > > Jim > > Thanks for the advise , i will try it . > > My confusion is that i am able to get graphs from the check_nt for other checks : > # Service type: ntdisk > # ? check command: check_nt -H Address -v USEDDISKSPACE -lc -w 75 -c 90 > # ? output: L: - total: 200.00 Gb - used: 188.43 Gb (94%) - free 11.56 Gb (6%) > # ? perfdata: L:\ Used Space=4.10Gb;19.40;23.28;0.00;25.87 > /perfdata:.*Space=([.0-9]+)Gb;([.0-9]+);([.0-9]+);([.0-9]+);([.0-9]+)/ > ?and push @s, [ ntdisk, > ? ? ? ?[ diskused, GAUGE, $1*1024**3 ], > ? ? ? ?[ diskwarn, GAUGE, $2*1024**3 ], > ? ? ? ?[ diskcrit, GAUGE, $3*1024**3 ], > ? ? ? ?[ diskmaxi, GAUGE, $5*1024**3 ] ]; > works and i have the graphs ?and also : > > # Service type: ntmem > ?# ? check command: check_nt -H Address -v MEMUSE -w 50 -c 90 > ?# ? output: Memory usage: total:2467.75 Mb - used: 510.38 Mb (21%) - free: 1957.37 Mb (79%) > ?# ? perfdata: Memory usage=510.38Mb;1233.88;2220.98;0.00;2467.75 > ?/perfdata:.*usage=([.0-9]+)Mb;([.0-9]+);([.0-9]+);([.0-9]+);([.0-9]+)/ > ?and push @s, [ ntmem, > ? ? ? ?[ memused, GAUGE, $1*1024**2 ], > ? ? ? ?[ memwarn, GAUGE, $2*1024**2 ], > ? ? ? ?[ memcrit, GAUGE, $3*1024**2 ], > ? ? ? ?[ memmmax, GAUGE, $5*1024**2 ] ]; > > works. > > I tried to use the same mechanism and a similar regex , but still it fails . Yes, some of the -v options work okay and others (in particular -v COUNTER) don't work well or at all with the default check_nt plugin. Cheers, Jim ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mark.novak at eds.com Thu Apr 9 17:54:05 2009 From: mark.novak at eds.com (Novak, Mark) Date: Thu, 9 Apr 2009 10:54:05 -0500 Subject: Centreon In-Reply-To: <960a54cc0904090647v267d71f0ib7d3d97eb33664d5@mail.gmail.com> References: <960a54cc0904090647v267d71f0ib7d3d97eb33664d5@mail.gmail.com> Message-ID: <906530D5DDCFB34DBF9A6697071FDB3404748469@usplm215.amer.corp.eds.com> Does anyone have any experience using Centreon? http://www.centreon.com/ It seems like a really nice front-end to Nagios, but I'd like to hear of other people's experiences using it before installing and setting it up. Hi Christopher, I am using the latest version of Centreon now with Nagios 3 on Ubuntu. There were a couple of "gotchas" but overall it works beautifully. See this link for their Wiki that has step by step installation instructions. I am going to be adding some Ubuntu specific tweaks that I ran into on their Wiki in the next few days. But, this is how I got mine set up. Feel free to email me directly if you have any questions! Thanks, Mark Novak EDS, an HP Company SAP Practice Global Centers/Automotive Industry Delivery Leader Cell: 214-725-5295 Email: mark.novak at hp.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From patrick.morris at hp.com Thu Apr 9 18:14:19 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 9 Apr 2009 16:14:19 +0000 Subject: nagiosgraph for paging file In-Reply-To: <200904091048.57200.assaf.flatto@ssp-intl.com> References: <200904091048.57200.assaf.flatto@ssp-intl.com> Message-ID: > -----Original Message----- > From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] > Sent: Thursday, April 09, 2009 2:49 AM > To: Nagios User list > Subject: [Nagios-users] nagiosgraph for paging file > > Hello > > I've been using nagiosgraph for a while , and i am slowly adding new > graphs to the nagios , now i am > trying to add a graph for our windows based machines , to show the Page > file use , > > this is what i have now now in my map file : > # Service type: ntcount > # check command: check_nt -H $HOSTADDRESS$ -t 20 -p 1248 -v COUNTER - > l $ARG1$ -w $ARG2$ -c $ARG3$ > # output: Paging file usage is 53.07 % > # perfdata:Paging file usage is %.2f > %%=1.899340%;35.000000;90.000000; > #/prefdata:Paging file usage is.*=([.0-9]+)%;([.0-9]+);([.0-9]+)/ > /output:Paging file usage is (\d+)%/ > and push @s, [ pagecounter, > [ pageused , GAUGE, $1 ], > # [ pagewarn , GAUGE, $2 ], > # [ pagecrit , GAUGE, $3 ], > ]; > > As you can see i tried the prefdata , and output options but with no > success . > > > >From the nagiosgrapg.log : > > Thu Apr 9 10:51:38 2009 insert.pl debug - processdata data = [ > '1239270667', > 'Host', > 'Page file use', > 'Paging file usage is 1.90 %', > 'Paging file usage is %.2f %%=1.897430%;35.000000;90.000000; > ' > ]; > Thu Apr 9 10:51:38 2009 insert.pl warn - perfdata not recognized: > date||host||desc||out||data for: > servicedescr:Page file use > output:Paging file usage is 1.90 % > perfdata:Paging file usage is %.2f %%=1.897430%;35.000000;90.000000; [> ] "/output:Paging file usage is (\d+)%/" will not match against "Paging file usage is 1.90 %" because a space is not a number. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pitchfork at ederdrom.de Thu Apr 9 18:18:21 2009 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 09 Apr 2009 18:18:21 +0200 Subject: Pppnp4nagios graph customization In-Reply-To: <765d77c80904090829g61574611tbfc3172a64556776@mail.gmail.com> References: <765d77c80904090829g61574611tbfc3172a64556776@mail.gmail.com> Message-ID: <49DE1FCD.8000507@ederdrom.de> Jim Avery schrieb: > 2009/4/9 : >> Hi All, >> >> We have installed nagios (3.0.5) on Solaris sparc box and configured rrdtool >> (1.2.19) along with pnp4nagios- npcd (0.4.13) for dashboard/graph. >> >> By default we are getting following graph for locolhost free swap. I want to >> configure following requirements : >> >> (1) can we add more variable (i.e say "Total Swap" ) in graph ? >> >> (2) Can we create different-different color in graph for different-different >> status critical-> RED,OK->Green,Warnijng->Yellow ? >> >> (3) last question how can we change graph updation time interval (here it's >> showing as 20 Minutes) however in our service definition,it's 10 Minutes >> >> Following is default graph for your better understanding : > > > I believe there's a typo in the default.php template which means > default graphs don't show the maximum value. Copy the file > "default.php" from /usr/local/nagios/share/pnp/templates.dist/ to the > ../templates folder, giving it the name "check_local_swap.php". Then > edit this file to correct the problem. > > The erroneous section is: > > if ($WARN[$i] != "") { > $warning = $WARN[$i]; > } > if ($CRIT[$i] != "") { > $critical = $CRIT[$i]; > } > if ($MIN[$i] != "") { > $lower = " --lower=" . $MIN[$i]; > $minimum = $MIN[$i]; > } > if ($CRIT[$i] != "") { <<----THIS LINE IS WRONG!! > $upper = " --upper=" . $MAX[$i]; > $maximum = $MAX[$i]; > } > if ($UNIT[$i] == "%%") { > $vlabel = "%"; > } > < ---cut --> This issue is fixed since SVN Revision 555 and also in 0.4.13 http://pnp4nagios.svn.sourceforge.net/viewvc/pnp4nagios/trunk/share/pnp/templates.dist/default.php?view=annotate Cheers Joerg ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jim at jimavery.me.uk Thu Apr 9 18:35:22 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 9 Apr 2009 17:35:22 +0100 Subject: Pppnp4nagios graph customization In-Reply-To: <49DE1FCD.8000507@ederdrom.de> References: <765d77c80904090829g61574611tbfc3172a64556776@mail.gmail.com> <49DE1FCD.8000507@ederdrom.de> Message-ID: <765d77c80904090935t7bbdbb24l41d563ab20672744@mail.gmail.com> 2009/4/9 Joerg Linge : > This issue is fixed since SVN Revision 555 and also in 0.4.13 > > http://pnp4nagios.svn.sourceforge.net/viewvc/pnp4nagios/trunk/share/pnp/templates.dist/default.php?view=annotate > > Cheers Joerg Many thanks Joerg, and thank you for reminding me - I must upgrade! There's lots of (more) neat new stuff in 0.4.13. Cheers, Jim ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mmccoy at cedarville.edu Thu Apr 9 18:21:23 2009 From: mmccoy at cedarville.edu (Michael McCoy) Date: Thu, 09 Apr 2009 12:21:23 -0400 Subject: NRPE_NT Checks on Mapped Network Drive Message-ID: <49DDE843020000150023183B@poplar.cedarville.edu> For off let me say this is my first mailing list, so I'm new at this, so please excuse any mailing list etiquette that I violate :-) I am attempting to monitor the file count of a directory on a remote Windows XP machine. I have installed NRPE_NT on the remote box and check_nrpe on my Nagios machine. The two are talking to one another fine. The problem is that the directory that I need to monitor is on a mapped network drives. Here is the command I am running... command[directory_file_count]=c:\WINDOWS\system32\cscript.exe //NoLogo //T:30 c:\temp\nagioschecks\file_count.wsf g: \folder1\folder2\ 0 10 Basically if run this command from the DOS command line on the XP machine it works fine. Once I try to run the command from check_nrpe on the Nagios host it gives me the following error... c:\temp\nagioschecks\file_count.wsf(123, 2) Microsoft VBScript runtime error: Path not found I have switched out the G:\folder1\folder2 for c:\temp in the command and Nagios checks it fine, so the problem is with the network drive. I have looked into the NRPE_NT service itself and changed the log on account for it to one that should be able to see the drives and still nothing. Any assistance would be helpful, thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jpratt at norwich.edu Thu Apr 9 19:10:16 2009 From: jpratt at norwich.edu (James Pratt) Date: Thu, 9 Apr 2009 13:10:16 -0400 Subject: NRPE_NT Checks on Mapped Network Drive In-Reply-To: <49DDE843020000150023183B@poplar.cedarville.edu> References: <49DDE843020000150023183B@poplar.cedarville.edu> Message-ID: <8147CCE3C4A8764DA9980125EE70E823B3C504@nuexchg.norwich.edu> > -----Original Message----- > From: Michael McCoy [mailto:mmccoy at cedarville.edu] > Sent: Thursday, April 09, 2009 12:21 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE_NT Checks on Mapped Network Drive > > For off let me say this is my first mailing list, so I'm new at this, so > please excuse any mailing list etiquette that I violate :-) > > I am attempting to monitor the file count of a directory on a remote > Windows XP machine. I have installed NRPE_NT on the remote box and > check_nrpe on my Nagios machine. The two are talking to one another fine. > The problem is that the directory that I need to monitor is on a mapped > network drives. Here is the command I am running... > > command[directory_file_count]=c:\WINDOWS\system32\cscript.exe //NoLogo > //T:30 c:\temp\nagioschecks\file_count.wsf g: \folder1\folder2\ 0 10 > > Basically if run this command from the DOS command line on the XP machine > it works fine. Once I try to run the command from check_nrpe on the > Nagios host it gives me the following error... > > c:\temp\nagioschecks\file_count.wsf(123, 2) Microsoft VBScript runtime > error: Path not found > Hello Michael - Just a quick stab in the dark here, but in your command def above, you have a space character after your g: - is that correct, or could it be causing your issue? Also, are your drives mapped as persistent, as I'm not positive the user running the script would see them either way if not "logged on interactively". Can you use UNC pathing instead? Ie \\machine\share$ ? That should work if the user has rights, and you won't have to deal with the mapped drive issue(s) . HTH, Regards, jamie ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ejtrochim at alaska.edu Thu Apr 9 18:58:48 2009 From: ejtrochim at alaska.edu (Edward Trochim) Date: Thu, 9 Apr 2009 08:58:48 -0800 Subject: Excluding a hostgroup from a service check Message-ID: <0AAD1497-3734-42E9-A608-B06B0A9B63A6@alaska.edu> I have a service template that specifies several host groups and one host to check. One of the services that inherits this template should not be executed by one of the host groups defined. I read the object tricks documentation page and found that I could include a ! before the name in a hostgroup_name definition in the service definition to exclude that hostgroup from that service. However, when I do that nagios excludes all hostgroups from the list from running that service. That explanation of the problem might be a little thick so here is an abbreviated example. I have a service template like this: define service{ name standard-check use generic-service hostgroup_name hostgroup1, hostgroup2, hostgroup3,\ hostgroup4, hostgroup5, hostgroup6,\ hostgroup7 host_name host1 servicegroups standard_checks register 0 } And a service definition like this. I want to exclude hostgroup5 from this one service definition: define service{ use standard-check hostgroup_name !hostgroup5 service_description Disk Space } Instead of doing what I want this excludes every hostgroup defined in the template. host1 still gets the service though. I am currently running nagios version 3.0.6. Is this a bug in nagios or am I misunderstanding the way this should behave? ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jim at jimavery.me.uk Thu Apr 9 20:41:46 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 9 Apr 2009 19:41:46 +0100 Subject: Excluding a hostgroup from a service check In-Reply-To: <0AAD1497-3734-42E9-A608-B06B0A9B63A6@alaska.edu> References: <0AAD1497-3734-42E9-A608-B06B0A9B63A6@alaska.edu> Message-ID: <765d77c80904091141x271a7788naa60b781b3f2fcd@mail.gmail.com> 2009/4/9 Edward Trochim : > I have a service template that specifies several host groups and one > host to check. One of the services that inherits this template should > not be executed by one of the host groups defined. I read the object > tricks documentation page and found that I could include a ! before > the name in a hostgroup_name definition in the service definition to > exclude that hostgroup from that service. However, when I do that > nagios excludes all hostgroups from the list from running that service. > > That explanation of the problem might be a little thick so here is an > abbreviated example. > > I have a service template like this: > > define service{ > ? ? ? ? name ? ? ? ? ? ? ? ? ? ? ? ? ? standard-check > ? ? ? ? use ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?generic-service > ? ? ? ? hostgroup_name ? ? ? ? hostgroup1, hostgroup2, hostgroup3,\ > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?hostgroup4, hostgroup5, hostgroup6,\ > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?hostgroup7 > ? ? ? ? host_name ? ? ? ? ? ? ? ? ? ? ?host1 > ? ? ? ? servicegroups ? ? ? ? ?standard_checks > ? ? ? ? register ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 0 > } > > And a service definition like this. I want to exclude hostgroup5 from > this one service definition: > > define service{ > ? ? ? ? use ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?standard-check > ? ? ? ? hostgroup_name ? ? ? ? !hostgroup5 > ? ? ? ? service_description ? ?Disk Space > } > > Instead of doing what I want this excludes every hostgroup defined in > the template. host1 still gets the service though. > > I am currently running nagios version 3.0.6. > > Is this a bug in nagios or am I misunderstanding the way this should > behave? > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > The line "hostgroup_name !hostgroup5" will completely supercede anything previously specified for hostgroup_name in the template. If you want it to be processed as an addition to what was in your template, you need to prefix the list with a "+". So in your service definition, you need to put: hostgroup_name +!hostgroup5 I've only ever used this syntax myself for specifying additional contacts, but I guess the logic would be the same for hostgroups too. Give it a try anyway and come back if it doesn't work. I assume you're using Nagios 3. I don't think use of "+" in this way was possible in version 2. Cheers, Jim ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From smcafee at collaborativefusion.com Thu Apr 9 20:44:51 2009 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Thu, 09 Apr 2009 14:44:51 -0400 Subject: Excluding a hostgroup from a service check In-Reply-To: <0AAD1497-3734-42E9-A608-B06B0A9B63A6@alaska.edu> References: <0AAD1497-3734-42E9-A608-B06B0A9B63A6@alaska.edu> Message-ID: <49DE4223.1060701@collaborativefusion.com> Edward Trochim wrote: > And a service definition like this. I want to exclude hostgroup5 from > this one service definition: > > define service{ > use standard-check > hostgroup_name !hostgroup5 > service_description Disk Space > } > > Instead of doing what I want this excludes every hostgroup defined in > the template. host1 still gets the service though. > > I am currently running nagios version 3.0.6. > > Is this a bug in nagios or am I misunderstanding the way this should > behave? I believe you're just missing the magic "+" that indicates additive inheritance instead of making it override. Try: define service{ use standard-check hostgroup_name +!hostgroup5 service_description Disk Space } -- Sean McAfee System Engineer ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ejtrochim at alaska.edu Thu Apr 9 20:53:17 2009 From: ejtrochim at alaska.edu (Edward Trochim) Date: Thu, 9 Apr 2009 10:53:17 -0800 Subject: Excluding a hostgroup from a service check In-Reply-To: <765d77c80904091141x271a7788naa60b781b3f2fcd@mail.gmail.com> References: <0AAD1497-3734-42E9-A608-B06B0A9B63A6@alaska.edu> <765d77c80904091141x271a7788naa60b781b3f2fcd@mail.gmail.com> Message-ID: <0225E47F-B6AC-45DB-A9F2-744E67B787C9@alaska.edu> Ah, that is exactly what I was missing. Thanks! On Apr 9, 2009, at 10:41 AM, Jim Avery wrote: > 2009/4/9 Edward Trochim : >> I have a service template that specifies several host groups and one >> host to check. One of the services that inherits this template should >> not be executed by one of the host groups defined. I read the object >> tricks documentation page and found that I could include a ! before >> the name in a hostgroup_name definition in the service definition to >> exclude that hostgroup from that service. However, when I do that >> nagios excludes all hostgroups from the list from running that >> service. >> >> That explanation of the problem might be a little thick so here is an >> abbreviated example. >> >> I have a service template like this: >> >> define service{ >> name standard-check >> use generic-service >> hostgroup_name hostgroup1, hostgroup2, hostgroup3,\ >> hostgroup4, >> hostgroup5, hostgroup6,\ >> hostgroup7 >> host_name host1 >> servicegroups standard_checks >> register 0 >> } >> >> And a service definition like this. I want to exclude hostgroup5 from >> this one service definition: >> >> define service{ >> use standard-check >> hostgroup_name !hostgroup5 >> service_description Disk Space >> } >> >> Instead of doing what I want this excludes every hostgroup defined in >> the template. host1 still gets the service though. >> >> I am currently running nagios version 3.0.6. >> >> Is this a bug in nagios or am I misunderstanding the way this should >> behave? >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by: >> High Quality Requirements in a Collaborative Environment. >> Download a free trial of Rational Requirements Composer Now! >> http://p.sf.net/sfu/www-ibm-com >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> > > The line "hostgroup_name !hostgroup5" will completely > supercede anything previously specified for hostgroup_name in the > template. > > If you want it to be processed as an addition to what was in your > template, you need to prefix the list with a "+". So in your service > definition, you need to put: > > hostgroup_name +!hostgroup5 > > I've only ever used this syntax myself for specifying additional > contacts, but I guess the logic would be the same for hostgroups too. > Give it a try anyway and come back if it doesn't work. > > I assume you're using Nagios 3. I don't think use of "+" in this way > was possible in version 2. > > Cheers, > > Jim ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gevery at gmail.com Thu Apr 9 20:54:42 2009 From: gevery at gmail.com (Gary Every) Date: Thu, 9 Apr 2009 11:54:42 -0700 Subject: Excluding a hostgroup from a service check In-Reply-To: <49DE4223.1060701@collaborativefusion.com> References: <0AAD1497-3734-42E9-A608-B06B0A9B63A6@alaska.edu> <49DE4223.1060701@collaborativefusion.com> Message-ID: On Thu, Apr 9, 2009 at 11:44 AM, Sean McAfee < smcafee at collaborativefusion.com> wrote: > Edward Trochim wrote: > > > And a service definition like this. I want to exclude hostgroup5 from > > this one service definition: > > > > define service{ > > use standard-check > > hostgroup_name !hostgroup5 > > service_description Disk Space > > } > > > > Instead of doing what I want this excludes every hostgroup defined in > > the template. host1 still gets the service though. > > > > I am currently running nagios version 3.0.6. > > > > Is this a bug in nagios or am I misunderstanding the way this should > > behave? > > I believe you're just missing the magic "+" that indicates additive > inheritance instead of making it override. > > Try: > > define service{ > use standard-check > hostgroup_name +!hostgroup5 > service_description Disk Space > } > > -- > Sean McAfee > System Engineer > Sean is right. Otherwise, you're REDEFINING the hostgroup_name directive. -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From amontibello at gmail.com Fri Apr 10 02:54:54 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 9 Apr 2009 20:54:54 -0400 Subject: NSClient not providing results In-Reply-To: <5a6fb4e0904082115y64b46720j2f73257e36d39334@mail.gmail.com> References: <5a6fb4e0904082115y64b46720j2f73257e36d39334@mail.gmail.com> Message-ID: IF you are running all your checks through Check_nt you could convert over to NC_NEt or to NSCLient(the older version) but several things to try, I am not sure now NSCLient installs, but read its manuals and nsclient++ forum to see if you can find a solution. NC_Net installs as a service then you can configure it to startup automatically using window service manage. If you MUST use NSCLient and the ONLY way you can get it runnng is by the commadn line, then load a schedualed task that runs a bat file to start it. Hope this helps Tony (Author of NC_NEt) On Thu, Apr 9, 2009 at 12:15 AM, Murali Krishnan S < muralikrishnan.s at gmail.com> wrote: > Hi, > > When I set NSClient++ to start automatically in services, its running but > not providing the results. All I'm getting is > > "could not fetch information from server" . > > Even when I run the "check_nt" plugin manually also, I'm getting the same > result. > > [root at nagios libexec]# /usr/local/nagios/libexec/check_nt -H 192.168.0.119 > -p 12489 -v MEMUSE -w 80 -c 90 > could not fetch information from server > > After searching and reading mailing lists I've tweaked certain things like > "disabling firewall", "enabling DEP", etc. Still the same result. > > Only one way I could make the NSClient to respond is, running it in > Command line with "-test" option. > > c:\NSClient++>"NSClient++.exe" -test > > When I run this, I'm getting the CHECKS GREEN.. > > [root at nagios libexec]# /usr/local/nagios/libexec/check_nt -H 192.168.0.119 > -p 12489 -v MEMUSE -w 80 -c 90 > Memory usage: total:4308.71 Mb - used: 1606.41 Mb (37%) - free: 2702.30 Mb > (63%) | 'Memory usage'=1606.41Mb;3446.97;3877.84;0.00;4308.71 > > Everytime I reboot the machine. I need to start this in command line. Any > solution, inputs ? Please provide... > > Thanks. > > -- > Regards > Mkrish > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From finchs at stgeorge.com.au Fri Apr 10 06:51:48 2009 From: finchs at stgeorge.com.au (Simon Finch) Date: Fri, 10 Apr 2009 14:51:48 +1000 Subject: Centreon Message-ID: <49DF5D04020000480008D21D@stgeorge.com.au> Chris, Centreon is a very powerful addition to Nagios, so good that I have managed to replace a large enterprise deployment of IBM Tivoli monitoring with Nagios, but only by using Centreon, Nagios by itself wouldn't have stood a chance. I started using it from version 2.0 beta 4 and the doco was terrible or non existent. I am currently using version 2.1 and the doco is still non existent, but the wiki / forum support more than makes up for it. If you compiled Nagios, nrpe, ndo and got it all working then you could easily get Centreon working. I work in IT for a moderately large bank in Australia who has recently been taken over by a larger bank. The new IT top dog is an American who used to run IT for a huge US aircraft manufacturer, he was impressed by what he saw in our NOC / war room. It was Nagios3 front ended by Centreon with management eye candy provided by NagVis, so I truly believe it when I say it's worth the effort because I am in the middle of doing it. If you want more details the feel free to ask as I found a number of traps in the beginning, eg, I don't recommend Redhat RHEL5 for the main server that runs Centreon, I switched to Ubuntu 8.04 , but I still use Redhat RHEL4 & 5 for the remote satellite Nagios servers. Rgds, Simon Simon Finch ESM Team Leader St George Bank ********************************************************************** ***** IMPORTANT INFORMATION ***** This document should be read only by those persons to whom it is addressed and its content is not intended for use by any other persons. If you have received this message in error, please notify us immediately. Please also destroy and delete the message from your computer. Any unauthorised form of reproduction of this message is strictly prohibited. St George Bank Limited AFSL 240997, Advance Asset Management Limited AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management Limited AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. ********************************************************************** ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Surajit.Mukherjee at ness.com Fri Apr 10 06:56:44 2009 From: Surajit.Mukherjee at ness.com (Surajit Mukherjee) Date: Fri, 10 Apr 2009 10:26:44 +0530 Subject: serious performance issue In-Reply-To: <6db4a4200904090655s1771fd29h658ff20c6c41e792@mail.gmail.com> References: <6db4a4200904072054u38fcb2e4hd13690bdf3539d01@mail.gmail.com> <6db4a4200904090655s1771fd29h658ff20c6c41e792@mail.gmail.com> Message-ID: <7288B253FF8D33498BF175A570821F5601CBC6@INBLRNT11.ness.com> Hi All, Even I am also facing the same kind of issue. I am using Nagios 3.0.6 and Redhat 5 OS. I am not getting archive logs in the notification area and it says Error: Cannot open log file '/usr/local/nagios/var/archives/nagios-04-10-2009-00.log' for reading! Please help. Surajit ________________________________ From: shadih rahman [mailto:shadhin71 at gmail.com] Sent: Thursday, April 09, 2009 7:25 PM To: fancyrabbit Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] serious performance issue Now my nagios is not running any check at all. I get a lot of "looks like it was orphaned" message and then nagios just sit there. Can someone help me with this. I will add some entries from nagios.debug and nagios.log along with my nagios.cfg. Thanks in advance. nagios.debug: [1239284464.560241] [016.2] [pid=15690] Found another host check event for this host @ Thu Apr 9 08:59:56 2009 [1239284464.560248] [016.2] [pid=15690] New host check event occurs after the ex isting event, so we'll ignore it. [1239284464.560253] [016.2] [pid=15690] Keeping original host check event (ignor ing the new one). [1239284464.560261] [016.1] [pid=15690] ** Async check result for host 'iab323pc 20.atg.columbia.edu' handled: new state=0 nagios.log: [1239254607] Warning: The check of host 'et251pc70.atg.columbia.edu' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host... [1239254607] Warning: The check of host 'et251pc71.atg.columbia.edu' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host... [1239254607] Warning: The check of host 'et251pc72.atg.columbia.edu' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host... nagiostats: Nagios Stats 3.0.6 Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org) Last Modified: 12-01-2008 License: GPL CURRENT STATUS DATA ------------------------------------------------------ Status File: /var/log/nagios/status.dat Status File Age: 0d 0h 0m 4s Status File Version: 3.0.6 Program Running Time: 0d 15h 37m 5s Nagios PID: 15690 Used/High/Total Command Buffers: 0 / 1 / 4096 Total Services: 2783 Services Checked: 2783 Services Scheduled: 2782 Services Actively Checked: 2783 Services Passively Checked: 0 Total Service State Change: 0.000 / 38.820 / 0.328 % Active Service Latency: 244.062 / 37353.761 / 22185.948 sec Active Service Execution Time: 0.010 / 15.072 / 0.293 sec Active Service State Change: 0.000 / 38.820 / 0.328 % Active Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Passive Service Latency: 0.000 / 0.000 / 0.000 sec Passive Service State Change: 0.000 / 0.000 / 0.000 % Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 2571 / 14 / 143 / 55 Services Flapping: 19 Services In Downtime: 0 Total Hosts: 3037 Hosts Checked: 3005 Hosts Scheduled: 3030 Hosts Actively Checked: 3037 Host Passively Checked: 0 Total Host State Change: 0.000 / 57.170 / 0.448 % Active Host Latency: 0.000 / 36712.008 / 19785.947 sec Active Host Execution Time: 0.000 / 30.011 / 1.589 sec Active Host State Change: 0.000 / 57.170 / 0.448 % Active Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 299 Passive Host Latency: 0.000 / 0.000 / 0.000 sec Passive Host State Change: 0.000 / 0.000 / 0.000 % Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Hosts Up/Down/Unreach: 2854 / 183 / 0 Hosts Flapping: 16 Hosts In Downtime: 0 Active Host Checks Last 1/5/15 min: 0 / 0 / 0 Scheduled: 0 / 0 / 0 On-demand: 0 / 0 / 0 Parallel: 0 / 0 / 0 Serial: 0 / 0 / 0 Cached: 0 / 0 / 0 Passive Host Checks Last 1/5/15 min: 0 / 0 / 0 Active Service Checks Last 1/5/15 min: 0 / 0 / 0 Scheduled: 0 / 0 / 0 On-demand: 0 / 0 / 0 Cached: 0 / 0 / 0 Passive Service Checks Last 1/5/15 min: 0 / 0 / 0 External Commands Last 1/5/15 min: 0 / 0 / 0 nagios.cfg: log_file=/var/log/nagios/nagios.log cfg_file=/etc/nagios/commands.cfg cfg_file=/etc/nagios/contacts.cfg cfg_file=/etc/nagios/timeperiods.cfg cfg_file=/etc/nagios/templates.cfg cfg_dir=/etc/nagios/hosts cfg_dir=/etc/nagios/services object_cache_file=/var/log/nagios/objects.cache precached_object_file=/var/log/nagios/objects.precache resource_file=/etc/nagios/resource.cfg status_file=/var/log/nagios/status.dat status_update_interval=60 nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/var/log/nagios/rw/nagios.cmd external_command_buffer_slots=4096 lock_file=/var/log/nagios/nagios.lock temp_file=/var/log/nagios/nagios.tmp temp_path=/tmp event_broker_options=8 broker_module=/usr/lib64/nagios/ndomod.o config_file=/etc/nagios/ndomod.cfg log_rotation_method=m log_archive_path=/var/log/nagios/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=1 service_inter_check_delay_method=s max_service_check_spread=30 service_interleave_factor=s host_inter_check_delay_method=s max_host_check_spread=30 max_concurrent_checks=0 check_result_reaper_frequency=10 max_check_result_reaper_time=20 check_result_path=/var/log/nagios/spool/checkresults max_check_result_file_age=3600 cached_host_check_horizon=15 cached_service_check_horizon=15 enable_predictive_host_dependency_checks=1 enable_predictive_service_dependency_checks=1 soft_state_dependencies=0 auto_reschedule_checks=0 auto_rescheduling_interval=30 auto_rescheduling_window=180 sleep_time=0.25 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=60 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=var/log/nagios/retention.dat retention_update_interval=60 use_retained_program_state=1 use_retained_scheduling_info=1 retained_host_attribute_mask=0 retained_service_attribute_mask=0 retained_process_host_attribute_mask=0 retained_process_service_attribute_mask=0 retained_contact_host_attribute_mask=0 retained_contact_service_attribute_mask=0 interval_length=60 use_aggressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 execute_host_checks=1 accept_passive_host_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 translate_passive_host_checks=0 passive_host_checks_are_soft=0 check_for_orphaned_services=1 check_for_orphaned_hosts=1 check_service_freshness=1 service_freshness_check_interval=60 check_host_freshness=0 host_freshness_check_interval=60 additional_freshness_latency=15 enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us enable_embedded_perl=0 use_embedded_perl_implicitly=0 illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=0 use_true_regexp_matching=0 admin_email=sr2690 at columbia.edu daemon_dumps_core=0 use_large_installation_tweaks=1 enable_environment_macros=1 debug_level=-1 debug_verbosity=2 debug_file=/var/log/nagios/nagios.debug max_debug_file_size=1000000 On Wed, Apr 8, 2009 at 1:56 AM, fancyrabbit wrote: i met almost the same issue. after tweaking enable_embedded_perl=0, the load average was brought up but latencies became lower. On Wed, Apr 8, 2009 at 11:54 AM, shadih rahman wrote: I am seeing a ton of orphaned error message for both services and hosts. I am running nagios on a quad core 2.2 GHZ machine running 4 GHZ memory. I will paste my configuration file below. I have the machine sending ndo to a local database sitting on a 170 GB Hard drive. nagios is obcessing on both host and services and sending data to a machine with identical configuration. I am doing failover using NSCA. Please advise on this. nagios.cfg log_file=/var/log/nagios/nagios.log cfg_file=/etc/nagios/commands.cfg cfg_file=/etc/nagios/contacts.cfg cfg_file=/etc/nagios/timeperiods.cfg cfg_file=/etc/nagios/templates.cfg cfg_dir=/etc/nagios/hosts cfg_dir=/etc/nagios/services object_cache_file=/var/log/nagios/objects.cache precached_object_file=/var/log/nagios/objects.precache resource_file=/etc/nagios/resource.cfg status_file=/var/log/nagios/status.dat status_update_interval=60 nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/var/log/nagios/rw/nagios.cmd external_command_buffer_slots=8192 lock_file=/var/log/nagios/nagios.lock temp_file=/var/log/nagios/nagios.tmp temp_path=/tmp event_broker_options=8 broker_module=/usr/lib64/nagios/ndomod.o config_file=/etc/nagios/ndomod.cfg log_rotation_method=m log_archive_path=/var/log/nagios/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=1 service_inter_check_delay_method=n max_service_check_spread=30 service_interleave_factor=s host_inter_check_delay_method=s max_host_check_spread=30 max_concurrent_checks=0 check_result_reaper_frequency=2 max_check_result_reaper_time=10 check_result_path=/var/log/nagios/spool/checkresults max_check_result_file_age=3600 cached_host_check_horizon=15 cached_service_check_horizon=15 enable_predictive_host_dependency_checks=1 enable_predictive_service_dependency_checks=1 soft_state_dependencies=1 auto_reschedule_checks=1 auto_rescheduling_interval=30 auto_rescheduling_window=180 sleep_time=0.25 service_check_timeout=30 host_check_timeout=20 event_handler_timeout=30 notification_timeout=60 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=var/log/nagios/retention.dat retention_update_interval=60 use_retained_program_state=1 use_retained_scheduling_info=1 retained_host_attribute_mask=0 retained_service_attribute_mask=0 retained_process_host_attribute_mask=0 retained_process_service_attribute_mask=0 retained_contact_host_attribute_mask=0 retained_contact_service_attribute_mask=0 interval_length=60 use_aggressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 execute_host_checks=1 accept_passive_host_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 obsess_over_services=1 ocsp_command=send_service_check ochp_command=send_host_check obsess_over_hosts=1 translate_passive_host_checks=0 passive_host_checks_are_soft=0 check_for_orphaned_services=1 check_for_orphaned_hosts=1 check_service_freshness=1 service_freshness_check_interval=60 check_host_freshness=0 host_freshness_check_interval=60 additional_freshness_latency=15 enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us enable_embedded_perl=1 use_embedded_perl_implicitly=1 illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=0 use_true_regexp_matching=0 admin_email=sr2690 at columbia.edu daemon_dumps_core=0 use_large_installation_tweaks=1 enable_environment_macros=1 debug_level=-1debug_verbosity=2 debug_file=/var/log/nagios/nagios.debug max_debug_file_size=1000000 my nagiostats output [sr2690>nagiostats Nagios Stats 3.0.6 Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org ) Last Modified: 12-01-2008 License: GPL CURRENT STATUS DATA ------------------------------------------------------ Status File: /var/log/nagios/status.dat Status File Age: 0d 0h 0m 19s Status File Version: 3.0.6 Program Running Time: 0d 2h 5m 28s Nagios PID: 12139 Used/High/Total Command Buffers: 0 / 0 / 8192 Total Services: 2783 Services Checked: 2783 Services Scheduled: 2782 Services Actively Checked: 2783 Services Passively Checked: 0 Total Service State Change: 0.000 / 52.830 / 0.263 % Active Service Latency: 1.304 / 12092.843 / 1469.130 sec Active Service Execution Time: 0.011 / 15.103 / 0.468 sec Active Service State Change: 0.000 / 52.830 / 0.263 % Active Services Last 1/5/15/60 min: 0 / 0 / 0 / 129 Passive Service Latency: 0.000 / 0.000 / 0.000 sec Passive Service State Change: 0.000 / 0.000 / 0.000 % Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 2560 / 13 / 186 / 24 Services Flapping: 17 Services In Downtime: 0 Total Hosts: 3037 Hosts Checked: 3005 Hosts Scheduled: 3029 Hosts Actively Checked: 3037 Host Passively Checked: 0 Total Host State Change: 0.000 / 53.620 / 0.227 % Active Host Latency: 0.000 / 12080.792 / 3770.409 sec Active Host Execution Time: 0.000 / 104.093 / 2.500 sec Active Host State Change: 0.000 / 53.620 / 0.227 % Active Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 256 Passive Host Latency: 0.000 / 0.000 / 0.000 sec Passive Host State Change: 0.000 / 0.000 / 0.000 % Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Hosts Up/Down/Unreach: 2849 / 188 / 0 Hosts Flapping: 10 Hosts In Downtime: 0 Active Host Checks Last 1/5/15 min: 0 / 0 / 1 Scheduled: 0 / 0 / 0 On-demand: 0 / 0 / 1 Parallel: 0 / 0 / 0 Serial: 0 / 0 / 0 Cached: 0 / 0 / 1 Passive Host Checks Last 1/5/15 min: 0 / 0 / 0 Active Service Checks Last 1/5/15 min: 0 / 0 / 0 Scheduled: 0 / 0 / 0 On-demand: 0 / 0 / 0 Cached: 0 / 0 / 0 Passive Service Checks Last 1/5/15 min: 0 / 0 / 0 External Commands Last 1/5/15 min: 0 / 0 / 0 -- Cordially, Shadhin Rahman ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 -- Cordially, Shadhin Rahman The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to MailAdmin at ness.com and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asam30 at gmail.com Fri Apr 10 09:38:37 2009 From: asam30 at gmail.com (asam30 at gmail.com) Date: Fri, 10 Apr 2009 13:08:37 +0530 Subject: Monitor netstat connection states using nagios. In-Reply-To: <20090409.wA5.35170600@www.zarrelli.org> References: <77300A69-2466-4AA9-B3C1-FDAC313545EE@ena.com> <20090409.wA5.35170600@www.zarrelli.org> Message-ID: <25251aec0904100038l5171a097l2ade9bae2850e567@mail.gmail.com> Hi Giorgio, I tried all the ways to fix the problem but still no luck. Do not know how to run the custom scripts, i will explain in detail here, please someone guide me here, Nagios server: Running the below command, this command will go to nagios client (172.16.17.18) and execute check_netstat script. The netstat script will check for port 80 listen status also if there are any TIME_WAIT connections happens, then it should alert us (WARNING - STATUS= TIME_WAIT port status on airlin | WARNING - STATUS=TIME_WAIT port status on airlin). For testing I made some connections happend to be listen on port 80 and as TIME_WAIT status. But it still reports as (OK, which means this is reporting incorrectly) [nagios at lnx-nagios ~]$ /usr/local/nagios/libexec/check_nrpe -H 172.16.17.18 -c check_netstat OK - The port is up and running NO established connections on airlin on Nagios client:, I executed below command here, and this reports exactly correct as there are some TIME_WAIT listening on port 80 [nagios at airlin nagios]$ netstat -an | grep 80 tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN tcp 0 0 172.16.17.18:80 10.10.19.85:2293 TIME_WAIT [nagios at airlin nagios]$ /usr/local/nagios/libexec/check_netstat WARNING - STATUS= TIME_WAIT port status on airlin | WARNING - STATUS=TIME_WAIT port status on airlin. The same warning message should appear when I execute first command on nagios server but it reports incorrectly as (OK, no port status).... I am running above commands as nagios user because this as preivileges to run nrpe. the check_nrpe , nrpe , check_netstat owned by nagios:nagios on both the servers. in /etc/sudoers file I wrote below line on both the servers nagios ALL=/bin/netstat and [root at airlin libexec]# sudo -u nagios sudo -l Password: User nagios may run the following commands on this host: (root) /bin/netstat in the check_netstat script I wrote the netstat command as, netstat -an | grep 80 > synport12 should I add sudo here??? Please help your valuable suggestions...... thanks On Thu, Apr 9, 2009 at 8:52 PM, Giorgio Zarrelli wrote: > Hi > > As I told before, that netstat command won't work "out of the box", with an > unprivileged user. > > Giorgio > > Marc Powell (marc at ena.com) scritto: > > > > > > On Apr 9, 2009, at 8:26 AM, asam30 at gmail.com wrote: > > > > > Hi, > > > > > > I did copy the scipt to the remote host as check_netstat and used > > > check_nrpe method to excute from nagios server. It looks when > > > executing the command on remote server works well, > > > > > > [root at airlin libexec]# /usr/local/nagios/libexec/check_netstat > > > WARNING - STATUS= TIME_WAIT port status on airlin | WARNING - > > > STATUS=TIME_WAIT port status on airlin > > > > You're testing as root here. Test as the user nrpe runs as. It could > > very well be a difference in privileges... > > > > -- > > Marc > > > > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by: > > High Quality Requirements in a Collaborative Environment. > > Download a free trial of Rational Requirements Composer Now! > > http://p.sf.net/sfu/www-ibm-com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marcismael at gmail.com Fri Apr 10 14:32:57 2009 From: marcismael at gmail.com (Marc Ismael) Date: Fri, 10 Apr 2009 20:32:57 +0800 Subject: how macros on event handlers work Message-ID: <48603ddb0904100532v4a9c7e98m581f29309987a683@mail.gmail.com> Hi, I'm slightly unsure about how i used event_handler in this situation > [Fri Apr 10 05:38:16 2009];Nagios 3.0.6 starting... (PID=1017) > [Fri Apr 10 05:38:16 2009];Local time is Fri Apr 10 05:38:16 EDT 2009 > [Fri Apr 10 05:38:16 2009];LOG VERSION: 2.0 > [Fri Apr 10 05:38:16 2009];Finished daemonizing... (New PID=1018) > [Fri Apr 10 05:38:16 2009];INITIAL HOST STATE: remotehost;UP;HARD;1; > [Fri Apr 10 05:38:16 2009];INITIAL HOST STATE: mynagios;UP;HARD;1; > [Fri Apr 10 05:38:16 2009];INITIAL SERVICE STATE: > remotehost;check_nagios_cronjob;OK;HARD;1;(null) > [Fri Apr 10 05:38:16 2009];INITIAL SERVICE STATE: mynagios;Current > Load;OK;HARD;1;(null) > [Fri Apr 10 05:51:16 2009];Warning: The results of service > 'check_nagios_cronjob' on host 'remotehost' are stale by 0d 0h 3m 0s > (threshold=0d 0h 10m 0s). I'm forcing an immediate check of the service. > [Fri Apr 10 05:51:21 2009];SERVICE ALERT: > remotehost;check_nagios_cronjob;WARNING;HARD;1;WARNING: no information > received from passive check (stale) > [Fri Apr 10 05:51:21 2009];SERVICE EVENT HANDLER: > remotehost;check_nagios_cronjob;(null);(null);(null);check_by_ssh > > > define command{ > command_name check_by_ssh > command_line $USER1$/eventhandlers/check_by_ssh.pl > $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ $HOSTNAME$ > } > > > > define service{ > use passive_template > service_description check_nagios_cronjob > hostgroup_name testgroup > check_command i_am_stale > event_handler check_by_ssh > freshness_treshold 600 > } > > > define command{ > command_name i_am_stale > command_line $USER1$/check_dummy 1 "no information received from > passive check (stale)" > } > based on the configuration above, im expecting a passive check to timeout after 10 mins. Then check_command will kick in, but it just returns WARNING which is HARD (i've set max_check_attempts to 1). it will then execute the event_handler, passing the macros $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ $HOSTNAME$ as argument to check_by_ssh.pl. But based on the log output above, these macros contain 'null'? i'm not sure why but im pretty sure macros are working since $HOSTNAME$ was passed correctly. Please give me a hint on what im missing. Thanks, Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nccomp at gmail.com Fri Apr 10 16:45:32 2009 From: nccomp at gmail.com (Andrew Davis) Date: Fri, 10 Apr 2009 10:45:32 -0400 Subject: Integrating host notes into Nagios html... Message-ID: <49DF5B8C.4040701@gmail.com> I'm thinking about using something like sysreport to generate info about our hosts. It (and other tools like it) have the ability to output to html. To me that makes it somewhat logical to add a per-host html link into Nagios (clicking the host name would take you to a page that shows the detailed info). Have any of you tried this or something similar? Care to share your experience or what you edited, etc? -- A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ssimmons at cymfony.com Fri Apr 10 17:51:37 2009 From: ssimmons at cymfony.com (Seth Simmons) Date: Fri, 10 Apr 2009 11:51:37 -0400 Subject: Centreon In-Reply-To: <49DF5D04020000480008D21D@stgeorge.com.au> References: <49DF5D04020000480008D21D@stgeorge.com.au> Message-ID: <4881ECF1AB752843908A20CEE07A8EB1127F0A@buf-ex01.cymfony.com> Just wondering, why do you not recommend RH5 for centreon? -----Original Message----- From: Simon Finch [mailto:finchs at stgeorge.com.au] Sent: Friday, April 10, 2009 12:52 AM To: nagios-users at lists.sourceforge.net; nagios-users-request at lists.sourceforge.net Subject: Re: [Nagios-users] Centreon Chris, Centreon is a very powerful addition to Nagios, so good that I have managed to replace a large enterprise deployment of IBM Tivoli monitoring with Nagios, but only by using Centreon, Nagios by itself wouldn't have stood a chance. I started using it from version 2.0 beta 4 and the doco was terrible or non existent. I am currently using version 2.1 and the doco is still non existent, but the wiki / forum support more than makes up for it. If you compiled Nagios, nrpe, ndo and got it all working then you could easily get Centreon working. I work in IT for a moderately large bank in Australia who has recently been taken over by a larger bank. The new IT top dog is an American who used to run IT for a huge US aircraft manufacturer, he was impressed by what he saw in our NOC / war room. It was Nagios3 front ended by Centreon with management eye candy provided by NagVis, so I truly believe it when I say it's worth the effort because I am in the middle of doing it. If you want more details the feel free to ask as I found a number of traps in the beginning, eg, I don't recommend Redhat RHEL5 for the main server that runs Centreon, I switched to Ubuntu 8.04 , but I still use Redhat RHEL4 & 5 for the remote satellite Nagios servers. Rgds, Simon Simon Finch ESM Team Leader St George Bank ********************************************************************** ***** IMPORTANT INFORMATION ***** This document should be read only by those persons to whom it is addressed and its content is not intended for use by any other persons. If you have received this message in error, please notify us immediately. Please also destroy and delete the message from your computer. Any unauthorised form of reproduction of this message is strictly prohibited. St George Bank Limited AFSL 240997, Advance Asset Management Limited AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management Limited AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. ********************************************************************** ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From naloi at experisdatacenters.com Fri Apr 10 18:57:42 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Fri, 10 Apr 2009 16:57:42 +0000 Subject: trouble w/SNMP Message-ID: I am trying to get something to work in Nagios and my command generates a response of unknown, but the snmpwalk generates a value of 2 I also tried another oid and the values generated are identical for the snmpwalk and the snmpget (the one for the upsBatteryStatus is the one I am curious about) [root at nagios mibwalk]# /usr/lib/nagios/plugins/check_snmp -H 10.1.102.40 -C public -o SNMPv2-SMI::mib-2.33.1.2.2.0 SNMP OK - 0 seconds | UPS-MIB::upsSecondsOnBattery.0=0 seconds [root at nagios mibwalk]# /usr/lib/nagios/plugins/check_snmp -H 10.1.102.40 -C public -o SNMPv2-SMI::mib-2.33.1.2.1.0 SNMP OK - unknown(1) | UPS-MIB::upsBatteryStatus.0=unknown(1) [root at nagios mibwalk]# Data from snmpwalk is below: UPS-MIB::upsBatteryStatus.0 = INTEGER: batteryNormal(2) UPS-MIB::upsSecondsOnBattery.0 = INTEGER: 0 seconds Natalie Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:naloi at experisdatacenters.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From torresgi at ninds.nih.gov Fri Apr 10 19:05:09 2009 From: torresgi at ninds.nih.gov (Giovanni Torres) Date: Fri, 10 Apr 2009 13:05:09 -0400 Subject: trouble w/SNMP In-Reply-To: References: Message-ID: <49DF7C45.3000700@ninds.nih.gov> try: /usr/lib/nagios/plugins/check_snmp -H 10.1.102.40 -C public -o SNMPv2-SMI::mib-2.33.1.2.1.0 -r ok Giovanni Natalie Aloi wrote: > I am trying to get something to work in Nagios and my command generates > a response of unknown, but the snmpwalk generates a value of 2 > I also tried another oid and the values generated are identical for the > snmpwalk and the snmpget > > (the one for the upsBatteryStatus is the one I am curious about) > > [root at nagios mibwalk]# /usr/lib/nagios/plugins/check_snmp -H 10.1.102.40 > -C public -o SNMPv2-SMI::mib-2.33.1.2.2.0 > SNMP OK - 0 seconds | UPS-MIB::upsSecondsOnBattery.0=0 seconds > > [root at nagios mibwalk]# /usr/lib/nagios/plugins/check_snmp -H 10.1.102.40 > -C public -o SNMPv2-SMI::mib-2.33.1.2.1.0 > SNMP OK - unknown(1) | UPS-MIB::upsBatteryStatus.0=unknown(1) > [root at nagios mibwalk]# > > Data from snmpwalk is below: > > UPS-MIB::upsBatteryStatus.0 = INTEGER: batteryNormal(2) > UPS-MIB::upsSecondsOnBattery.0 = INTEGER: 0 seconds > > Natalie > > Experis Data Center LLC > 8209 Valley Pike > PO Box 535 > Middletown,VA 22645 > phone:540-869-8702 > cell:240-988-3267 > fax:540-869-8710 > e-mail:naloi at experisdatacenters.com > ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From perldork at webwizarddesign.com Fri Apr 10 19:18:36 2009 From: perldork at webwizarddesign.com (Max) Date: Fri, 10 Apr 2009 13:18:36 -0400 Subject: trouble w/SNMP In-Reply-To: References: Message-ID: Natalie, On Fri, Apr 10, 2009 at 12:57 PM, Natalie Aloi wrote: > I am trying to get something to work in Nagios and my command generates a > response of unknown, but the snmpwalk generates a value of 2 > I also tried another oid and the values generated are identical for the > snmpwalk and the snmpget > > (the one for the upsBatteryStatus is the one I am curious about) If you do an SNMP get for the battery status from the CLI using the Net-SNMP snmpget command do you get the same response (unknown) as you do from the check_snmp command? - Max ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From allanc at chickenandporn.com Fri Apr 10 19:19:31 2009 From: allanc at chickenandporn.com (Allan Clark) Date: Fri, 10 Apr 2009 13:19:31 -0400 Subject: trouble w/SNMP In-Reply-To: References: Message-ID: <37c712e0904101019n4863b0c6lede1a4454cc7346a@mail.gmail.com> On Fri, Apr 10, 2009 at 12:57, Natalie Aloi wrote: > I am trying to get something to work in Nagios and my command generates a > response of unknown, but the snmpwalk generates a value of 2 > I also tried another oid and the values generated are identical for the > snmpwalk and the snmpget > > (the one for the upsBatteryStatus is the one I am curious about) > > [root at nagios mibwalk]# /usr/lib/nagios/plugins/check_snmp -H 10.1.102.40 > -C public -o SNMPv2-SMI::mib-2.33.1.2.2.0 > SNMP OK - 0 seconds | UPS-MIB::upsSecondsOnBattery.0=0 seconds > > [root at nagios mibwalk]# /usr/lib/nagios/plugins/check_snmp -H 10.1.102.40 > -C public -o SNMPv2-SMI::mib-2.33.1.2.1.0 > SNMP OK - unknown(1) | UPS-MIB::upsBatteryStatus.0=unknown(1) > [root at nagios mibwalk]# > > Data from snmpwalk is below: > > UPS-MIB::upsBatteryStatus.0 = INTEGER: batteryNormal(2) > UPS-MIB::upsSecondsOnBattery.0 = INTEGER: 0 seconds > > try something like: snmpget -v 1 -c public 10.1.102.40 SNMPv2-SMI::mib-2.33.1.2.1.0 Assuming SNMP-v1; try with "-v 2c" as well, to see which one matches your results. I don't have a commandline available to check which the snmp command plugin uses, but maybe this will give you an idea whether the snmpwalk differs form the snmpget result, perhaps an avenue to investigate further. Allan -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish please, no proprietary attachments (http://tinyurl.com/cbgq) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From naloi at experisdatacenters.com Fri Apr 10 19:28:57 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Fri, 10 Apr 2009 17:28:57 +0000 Subject: trouble w/SNMP Message-ID: [root at nagios mibwalk]# snmpget -v 1 -c public 10.1.102.40 SNMPv2-SMI::mib-2.33.1.2.1.0 SNMPv2-SMI::mib-2.33.1.2.1.0 = INTEGER: 1 [root at nagios mibwalk]# Huh? - weird! why would snmpget give me 1, but walk gives me 2? -----Original Message----- From: Allan Clark [mailto:allanc at chickenandporn.com] Sent: Friday, April 10, 2009 01:19 PM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] trouble w/SNMP On Fri, Apr 10, 2009 at 12:57, Natalie Aloi wrote: I am trying to get something to work in Nagios and my command generates a response of unknown, but the snmpwalk generates a value of 2 I also tried another oid and the values generated are identical for the snmpwalk and the snmpget (the one for the upsBatteryStatus is the one I am curious about) [root at nagios mibwalk]# /usr/lib/nagios/plugins/check_snmp -H 10.1.102.40 -C public -o SNMPv2-SMI::mib-2.33.1.2.2.0 SNMP OK - 0 seconds | UPS-MIB::upsSecondsOnBattery.0=0 seconds [root at nagios mibwalk]# /usr/lib/nagios/plugins/check_snmp -H 10.1.102.40 -C public -o SNMPv2-SMI::mib-2.33.1.2.1.0 SNMP OK - unknown(1) | UPS-MIB::upsBatteryStatus.0=unknown(1) [root at nagios mibwalk]# Data from snmpwalk is below: UPS-MIB::upsBatteryStatus.0 = INTEGER: batteryNormal(2) UPS-MIB::upsSecondsOnBattery.0 = INTEGER: 0 seconds try something like: snmpget -v 1 -c public 10.1.102.40 SNMPv2-SMI::mib-2.33.1.2.1.0 Assuming SNMP-v1; try with "-v 2c" as well, to see which one matches your results. I don't have a commandline available to check which the snmp command plugin uses, but maybe this will give you an idea whether the snmpwalk differs form the snmpget result, perhaps an avenue to investigate further. Allan -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish please, no proprietary attachments (http://tinyurl.com/cbgq) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From naloi at experisdatacenters.com Fri Apr 10 19:34:54 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Fri, 10 Apr 2009 17:34:54 +0000 Subject: trouble w/SNMP Message-ID: tried v 2c too - same results - testing walk again still gives a value of 2 UPS-MIB::upsBatteryStatus.0 = INTEGER: batteryNormal(2) [root at nagios mibwalk]# snmpget -v 2c -c public 10.1.102.40 SNMPv2-SMI::mib-2.33.1.2.1.0 SNMPv2-SMI::mib-2.33.1.2.1.0 = INTEGER: 1 -----Original Message----- From: Natalie Aloi [mailto:naloi at experisdatacenters.com] Sent: Friday, April 10, 2009 01:28 PM To: 'Allan Clark', 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] trouble w/SNMP [root at nagios mibwalk]# snmpget -v 1 -c public 10.1.102.40 SNMPv2-SMI::mib-2.33.1.2.1.0 SNMPv2-SMI::mib-2.33.1.2.1.0 = INTEGER: 1 [root at nagios mibwalk]# Huh? - weird! why would snmpget give me 1, but walk gives me 2? -----Original Message----- From: Allan Clark [mailto:allanc at chickenandporn.com] Sent: Friday, April 10, 2009 01:19 PM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] trouble w/SNMP On Fri, Apr 10, 2009 at 12:57, Natalie Aloi wrote: I am trying to get something to work in Nagios and my command generates a response of unknown, but the snmpwalk generates a value of 2 I also tried another oid and the values generated are identical for the snmpwalk and the snmpget (the one for the upsBatteryStatus is the one I am curious about) [root at nagios mibwalk]# /usr/lib/nagios/plugins/check_snmp -H 10.1.102.40 -C public -o SNMPv2-SMI::mib-2.33.1.2.2.0 SNMP OK - 0 seconds | UPS-MIB::upsSecondsOnBattery.0=0 seconds [root at nagios mibwalk]# /usr/lib/nagios/plugins/check_snmp -H 10.1.102.40 -C public -o SNMPv2-SMI::mib-2.33.1.2.1.0 SNMP OK - unknown(1) | UPS-MIB::upsBatteryStatus.0=unknown(1) [root at nagios mibwalk]# Data from snmpwalk is below: UPS-MIB::upsBatteryStatus.0 = INTEGER: batteryNormal(2) UPS-MIB::upsSecondsOnBattery.0 = INTEGER: 0 seconds try something like: snmpget -v 1 -c public 10.1.102.40 SNMPv2-SMI::mib-2.33.1.2.1.0 Assuming SNMP-v1; try with "-v 2c" as well, to see which one matches your results. I don't have a commandline available to check which the snmp command plugin uses, but maybe this will give you an idea whether the snmpwalk differs form the snmpget result, perhaps an avenue to investigate further. Allan -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish please, no proprietary attachments (http://tinyurl.com/cbgq) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From egalstad at nagios.org Fri Apr 10 19:49:46 2009 From: egalstad at nagios.org (Ethan Galstad) Date: Fri, 10 Apr 2009 12:49:46 -0500 Subject: Survey: Nagios Conference at LISA '09 Message-ID: <49DF86BA.6000906@nagios.org> Hey Nagios Admins - [Apologies for cross-posting. This message originally went to the -announce list last week. So far we've had ~70 responses to the survey, which isn't yet statistically significant enough for us to make a decision on a conference...] We're considering holding a Nagios event of some sort to be co-located with the USENIX LISA Conference November 1?6 in Baltimore, MD (see http://www.usenix.org/events/lisa09/). We're currently thinking of a one-day or two-day "mini conference" to be held the Sunday and/or Monday, November 1/2. This is in the idea stage at the moment, and we'd like to gauge the community's interest before we get too far down the planning path. If you would be interested in attending or participating in the conference, please take our survey by visiting the nagios.org website using the URL below: http://www.surveymonkey.com/s.aspx?sm=G9_2f6HPGVHeRUuY9008Wv_2bA_3d_3d Until later, happy monitoring! - Ethan Galstad ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-devel mailing list Nagios-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-devel From allanc at chickenandporn.com Fri Apr 10 19:57:56 2009 From: allanc at chickenandporn.com (Allan Clark) Date: Fri, 10 Apr 2009 13:57:56 -0400 Subject: trouble w/SNMP In-Reply-To: References: Message-ID: <37c712e0904101057o484ef66bo658fa322aec60635@mail.gmail.com> 2009/4/10 Natalie Aloi > > ?moved top-post) > > -----Original Message----- > *From:* Allan Clark [mailto:allanc at chickenandporn.com] > *Sent:* Friday, April 10, 2009 01:19 PM > *To:* 'Natalie Aloi' > *Cc:* 'Nagios Users Mail-list' > *Subject:* Re: [Nagios-users] trouble w/SNMP > > On Fri, Apr 10, 2009 at 12:57, Natalie Aloi wrote: > >> I am trying to get something to work in Nagios and my command generates >> a response of unknown, but the snmpwalk generates a value of 2 >> I also tried another oid and the values generated are identical for the >> snmpwalk and the snmpget >> >> (the one for the upsBatteryStatus is the one I am curious about) >> >> [root at nagios mibwalk]# /usr/lib/nagios/plugins/check_snmp -H 10.1.102.40 >> -C public -o SNMPv2-SMI::mib-2.33.1.2.2.0 >> SNMP OK - 0 seconds | UPS-MIB::upsSecondsOnBattery.0=0 seconds >> >> [root at nagios mibwalk]# /usr/lib/nagios/plugins/check_snmp -H 10.1.102.40 >> -C public -o SNMPv2-SMI::mib-2.33.1.2.1.0 >> SNMP OK - unknown(1) | UPS-MIB::upsBatteryStatus.0=unknown(1) >> [root at nagios mibwalk]# >> >> Data from snmpwalk is below: >> >> UPS-MIB::upsBatteryStatus.0 = INTEGER: batteryNormal(2) >> UPS-MIB::upsSecondsOnBattery.0 = INTEGER: 0 seconds >> >> > > try something like: > > snmpget -v 1 -c public 10.1.102.40 > SNMPv2-SMI::mib-2.33.1.2.1.0 > > Assuming SNMP-v1; try with "-v 2c" as well, to see which one matches your > results. I don't have a commandline available to check which the snmp > command plugin uses, but maybe this will give you an idea whether the > snmpwalk differs form the snmpget result, perhaps an avenue to investigate > further. > > Allan > > > [root at nagios mibwalk]# snmpget -v 1 -c public 10.1.102.40 SNMPv2-SMI::mib-2.33.1.2.1.0 > SNMPv2-SMI::mib-2.33.1.2.1.0 = INTEGER: 1 > [root at nagios mibwalk]# > > Huh? - weird! why would snmpget give me 1, but walk gives me 2? If we assume Nagios is doing snmpget rather than snmpwalk, then the problem is slightly different: how would we get snmpget to produce the desired/accurate "2" rather than "1". For giggles, try: snmpget -v 1 -c public 10.1.102.40 SNMPv2-SMI::mib-2.33.1.2.1 (dropping the .0) I'm curious about this because I remember something with snmpwalk needing a .0 in places where snmpget didn't seem to. Don't recall exactly what it was. Allan -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish please, no proprietary attachments (http://tinyurl.com/cbgq) Sent from New York, NY, United States -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From naloi at experisdatacenters.com Fri Apr 10 20:23:18 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Fri, 10 Apr 2009 18:23:18 +0000 Subject: trouble w/SNMP Message-ID: Thanks Allan! That's what its doing a getnext - see below! note mib oid and value! [root at nagios mibwalk]# snmpgetnext -v 1 -c public 10.1.102.40 SNMPv2-SMI::mib-2.33.1.1.5.0 SNMPv2-SMI::mib-2.33.1.2.1.0 = INTEGER: 1 [root at nagios mibwalk]# hmmm now I need to figure out how to tell nagios to do a walk on that oid... -----Original Message----- From: Allan Clark [mailto:allanc at chickenandporn.com] Sent: Friday, April 10, 2009 01:57 PM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] trouble w/SNMP 2009/4/10 Natalie Aloi ?moved top-post) -----Original Message----- From: Allan Clark [mailto:allanc at chickenandporn.com] Sent: Friday, April 10, 2009 01:19 PM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] trouble w/SNMP On Fri, Apr 10, 2009 at 12:57, Natalie Aloi wrote: I am trying to get something to work in Nagios and my command generates a response of unknown, but the snmpwalk generates a value of 2 I also tried another oid and the values generated are identical for the snmpwalk and the snmpget (the one for the upsBatteryStatus is the one I am curious about) [root at nagios mibwalk]# /usr/lib/nagios/plugins/check_snmp -H 10.1.102.40 -C public -o SNMPv2-SMI::mib-2.33.1.2.2.0 SNMP OK - 0 seconds | UPS-MIB::upsSecondsOnBattery.0=0 seconds [root at nagios mibwalk]# /usr/lib/nagios/plugins/check_snmp -H 10.1.102.40 -C public -o SNMPv2-SMI::mib-2.33.1.2.1.0 SNMP OK - unknown(1) | UPS-MIB::upsBatteryStatus.0=unknown(1) [root at nagios mibwalk]# Data from snmpwalk is below: UPS-MIB::upsBatteryStatus.0 = INTEGER: batteryNormal(2) UPS-MIB::upsSecondsOnBattery.0 = INTEGER: 0 seconds try something like: snmpget -v 1 -c public 10.1.102.40 SNMPv2-SMI::mib-2.33.1.2.1.0 Assuming SNMP-v1; try with "-v 2c" as well, to see which one matches your results. I don't have a commandline available to check which the snmp command plugin uses, but maybe this will give you an idea whether the snmpwalk differs form the snmpget result, perhaps an avenue to investigate further. Allan > [root at nagios mibwalk]# snmpget -v 1 -c public 10.1.102.40 SNMPv2-SMI::mib-2.33.1.2.1.0 > SNMPv2-SMI::mib-2.33.1.2.1.0 = INTEGER: 1 > [root at nagios mibwalk]# > > Huh? - weird! why would snmpget give me 1, but walk gives me 2? If we assume Nagios is doing snmpget rather than snmpwalk, then the problem is slightly different: how would we get snmpget to produce the desired/accurate "2" rather than "1". For giggles, try: snmpget -v 1 -c public 10.1.102.40 SNMPv2-SMI::mib-2.33.1.2.1 (dropping the .0) I'm curious about this because I remember something with snmpwalk needing a .0 in places where snmpget didn't seem to. Don't recall exactly what it was. Allan -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish please, no proprietary attachments (http://tinyurl.com/cbgq) Sent from New York, NY, United States -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From naloi at experisdatacenters.com Fri Apr 10 20:26:08 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Fri, 10 Apr 2009 18:26:08 +0000 Subject: trouble w/SNMP Message-ID: TADA! Thanks you so much! [root at nagios mibwalk]# snmpwalk -v 1 -c public 10.1.102.40 UPS-MIB::upsBatteryStatus.0 UPS-MIB::upsBatteryStatus.0 = INTEGER: unknown(1) [root at nagios mibwalk]# snmpwalk -v 1 -c public 10.1.102.40 UPS-MIB::upsBatteryStatus UPS-MIB::upsBatteryStatus.0 = INTEGER: batteryNormal(2) [root at nagios mibwalk]# -----Original Message----- From: Allan Clark [mailto:allanc at chickenandporn.com] Sent: Friday, April 10, 2009 01:57 PM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] trouble w/SNMP 2009/4/10 Natalie Aloi ?moved top-post) -----Original Message----- From: Allan Clark [mailto:allanc at chickenandporn.com] Sent: Friday, April 10, 2009 01:19 PM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] trouble w/SNMP On Fri, Apr 10, 2009 at 12:57, Natalie Aloi wrote: I am trying to get something to work in Nagios and my command generates a response of unknown, but the snmpwalk generates a value of 2 I also tried another oid and the values generated are identical for the snmpwalk and the snmpget (the one for the upsBatteryStatus is the one I am curious about) [root at nagios mibwalk]# /usr/lib/nagios/plugins/check_snmp -H 10.1.102.40 -C public -o SNMPv2-SMI::mib-2.33.1.2.2.0 SNMP OK - 0 seconds | UPS-MIB::upsSecondsOnBattery.0=0 seconds [root at nagios mibwalk]# /usr/lib/nagios/plugins/check_snmp -H 10.1.102.40 -C public -o SNMPv2-SMI::mib-2.33.1.2.1.0 SNMP OK - unknown(1) | UPS-MIB::upsBatteryStatus.0=unknown(1) [root at nagios mibwalk]# Data from snmpwalk is below: UPS-MIB::upsBatteryStatus.0 = INTEGER: batteryNormal(2) UPS-MIB::upsSecondsOnBattery.0 = INTEGER: 0 seconds try something like: snmpget -v 1 -c public 10.1.102.40 SNMPv2-SMI::mib-2.33.1.2.1.0 Assuming SNMP-v1; try with "-v 2c" as well, to see which one matches your results. I don't have a commandline available to check which the snmp command plugin uses, but maybe this will give you an idea whether the snmpwalk differs form the snmpget result, perhaps an avenue to investigate further. Allan > [root at nagios mibwalk]# snmpget -v 1 -c public 10.1.102.40 SNMPv2-SMI::mib-2.33.1.2.1.0 > SNMPv2-SMI::mib-2.33.1.2.1.0 = INTEGER: 1 > [root at nagios mibwalk]# > > Huh? - weird! why would snmpget give me 1, but walk gives me 2? If we assume Nagios is doing snmpget rather than snmpwalk, then the problem is slightly different: how would we get snmpget to produce the desired/accurate "2" rather than "1". For giggles, try: snmpget -v 1 -c public 10.1.102.40 SNMPv2-SMI::mib-2.33.1.2.1 (dropping the .0) I'm curious about this because I remember something with snmpwalk needing a .0 in places where snmpget didn't seem to. Don't recall exactly what it was. Allan -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish please, no proprietary attachments (http://tinyurl.com/cbgq) Sent from New York, NY, United States -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From srianirudh at gmail.com Fri Apr 10 21:16:11 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Fri, 10 Apr 2009 15:16:11 -0400 Subject: upgrading nagios Message-ID: <699b436a0904101216h13e8e6f8u83a4106ab8268b0e@mail.gmail.com> has anyone done upgrage from 2.x to 3.x the previous guy who has installed 2.8 had specified different directories , instead of /usr/local/nagios. I almost figured it out what the directories are. Now should i specify them in ./configure --bindir=/usr/bin --sbindir=/usr/lib/nagios/cgi --datadir=/usr/share/nagios --sysconfdir=/etc/nagios --localstatedir=/var/log/nagios What is --prefix will do, and is there any thing else that is left over? Can any one guide me through proper direction -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jpratt at norwich.edu Fri Apr 10 21:29:24 2009 From: jpratt at norwich.edu (James Pratt) Date: Fri, 10 Apr 2009 15:29:24 -0400 Subject: upgrading nagios In-Reply-To: <699b436a0904101216h13e8e6f8u83a4106ab8268b0e@mail.gmail.com> References: <699b436a0904101216h13e8e6f8u83a4106ab8268b0e@mail.gmail.com> Message-ID: <8147CCE3C4A8764DA9980125EE70E823B3CA0E@nuexchg.norwich.edu> > -----Original Message----- > From: Anirudh Srinivasan [mailto:srianirudh at gmail.com] > Sent: Friday, April 10, 2009 3:16 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] upgrading nagios > > has anyone done upgrage from 2.x to 3.x > the previous guy who has installed 2.8 had specified different > directories , instead of /usr/local/nagios. I almost figured it out what > the directories are. > > Now should i specify them in ./configure > > --bindir=/usr/bin > --sbindir=/usr/lib/nagios/cgi > --datadir=/usr/share/nagios > --sysconfdir=/etc/nagios > --localstatedir=/var/log/nagios > > What is --prefix will do, and is there any thing else that is left over? > Can any one guide me through proper direction > > > -- > Anirudh Srinivasan > --prefix=/usr/local/nagios would install all files in: /usr/local/nagios/ . (i.e /usr/local/nagios/bin ,/usr/local/nagios/etc [....] In other words, it would put the whole nagios install under /usr/local/nagios, the "default" location if you do not specify an alternate prefix. Personally, if I were you, I would _not_ rebuild it in a non-standard way like you mention above unless you have very good reason to do so - Yes, there may be more work involved, but the end result will be worth it. (The guy who takes over your job down the road will also be grateful, and you won't have to hunt over the whole system to find the stuff you need!) Cheers, Jamie ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marcismael at gmail.com Sat Apr 11 04:36:50 2009 From: marcismael at gmail.com (Marc Ismael) Date: Sat, 11 Apr 2009 10:36:50 +0800 Subject: how macros on event handlers work In-Reply-To: <48603ddb0904100532v4a9c7e98m581f29309987a683@mail.gmail.com> References: <48603ddb0904100532v4a9c7e98m581f29309987a683@mail.gmail.com> Message-ID: <48603ddb0904101936w1a24873fjce1ecacc1a6ac826@mail.gmail.com> Hi, I'm slightly unsure about how i used event_handler in this situation > [Fri Apr 10 05:38:16 2009];Nagios 3.0.6 starting... (PID=1017) > [Fri Apr 10 05:38:16 2009];Local time is Fri Apr 10 05:38:16 EDT 2009 > [Fri Apr 10 05:38:16 2009];LOG VERSION: 2.0 > [Fri Apr 10 05:38:16 2009];Finished daemonizing... (New PID=1018) > [Fri Apr 10 05:38:16 2009];INITIAL HOST STATE: remotehost;UP;HARD;1; > [Fri Apr 10 05:38:16 2009];INITIAL HOST STATE: mynagios;UP;HARD;1; > [Fri Apr 10 05:38:16 2009];INITIAL SERVICE STATE: > remotehost;check_nagios_cronjob;OK;HARD;1;(null) > [Fri Apr 10 05:38:16 2009];INITIAL SERVICE STATE: mynagios;Current > Load;OK;HARD;1;(null) > [Fri Apr 10 05:51:16 2009];Warning: The results of service > 'check_nagios_cronjob' on host 'remotehost' are stale by 0d 0h 3m 0s > (threshold=0d 0h 10m 0s). I'm forcing an immediate check of the service. > [Fri Apr 10 05:51:21 2009];SERVICE ALERT: > remotehost;check_nagios_cronjob;WARNING;HARD;1;WARNING: no information > received from passive check (stale) > [Fri Apr 10 05:51:21 2009];SERVICE EVENT HANDLER: > remotehost;check_nagios_cronjob;(null);(null);(null);check_by_ssh > > > define command{ > command_name check_by_ssh > command_line $USER1$/eventhandlers/check_by_ssh.pl > $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ $HOSTNAME$ > } > > > > define service{ > use passive_template > service_description check_nagios_cronjob > hostgroup_name testgroup > check_command i_am_stale > event_handler check_by_ssh > freshness_treshold 600 > } > > > define command{ > command_name i_am_stale > command_line $USER1$/check_dummy 1 "no information received from > passive check (stale)" > } > based on the configuration above, im expecting a passive check to timeout after 10 mins. Then check_command will kick in, but it just returns WARNING which is HARD (i've set max_check_attempts to 1). it will then execute the event_handler, passing the macros $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ $HOSTNAME$ as argument to check_by_ssh.pl. But based on the log output above, these macros contain 'null'? i'm not sure why but im pretty sure macros are working since $HOSTNAME$ was passed correctly. Please give me a hint on what im missing. Thanks, Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From natxo.asenjo at gmail.com Sat Apr 11 21:15:13 2009 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Sat, 11 Apr 2009 21:15:13 +0200 Subject: NSClient not providing results In-Reply-To: <5a6fb4e0904082115y64b46720j2f73257e36d39334@mail.gmail.com> References: <5a6fb4e0904082115y64b46720j2f73257e36d39334@mail.gmail.com> Message-ID: <90f6e8270904111215h7fd879c5jaeeaa501d128a83e@mail.gmail.com> On Thu, Apr 9, 2009 at 6:15 AM, Murali Krishnan S wrote: > Hi, > > ? When I set NSClient++ to start automatically in services, its running but > not providing the results. All I'm getting is > > "could not fetch information from server" . > > Even when I run the "check_nt" plugin manually also, I'm getting the same > result. > > [root at nagios libexec]# /usr/local/nagios/libexec/check_nt -H 192.168.0.119 > -p 12489 -v MEMUSE? -w 80 -c 90 > could not fetch information from server can you telnet to the windows box port 12489? If you cannot, then it is firewalled or you have not configured nsc.ini correctly -- Natxo Asenjo ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mark at suso.org Sun Apr 12 11:21:03 2009 From: mark at suso.org (Mark Krenz) Date: Sun, 12 Apr 2009 09:21:03 +0000 Subject: check_snmp memory leak Message-ID: <20090412092102.GS4592@arvo.suso.org> I've run into some kind of memory leak in Nagios. After removing checks and services to narrow it down, I've determined that its the check_snmp command that is leaking memory. With 33 hosts and almost each one having 1 check that uses check_snmp in it, it leaks about 1MB every couple checks. It only takes a day for it to get to the point where nagiops is using 200-300MB of RAM. I'd say that's pretty bad. Anyways, I've tried recompiling nagios and the nagios plugins and I've upgraded all the packages on my system to make sure it wasn't something there and then recompiled again. Any ideas as to what this might be? Here are my system specs for the nagios server: System type: Xen virtual machine. Architecture: x86_64 Physical memory: 512MB Distribution: CentOS 5.3 gcc ver: gcc-4.1.2-44.el5 Nagios ver: 3.0.6 Nagios Configure settings: configure --with-command-group=nagcmd --enable-embedded-perl Nagios plugins ver: 1.4.13 Nagios Plugins Configure settings: configure --with-nagios-user=nagios --with-nagios-group=nagios --with-mysql I actually have another machine that I was running Nagios on recently where I don't have this problem. It has the same setup except its RHEL 5.2. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mark at suso.org Sun Apr 12 16:20:08 2009 From: mark at suso.org (Mark Krenz) Date: Sun, 12 Apr 2009 14:20:08 +0000 Subject: check_snmp memory leak In-Reply-To: <20090412092102.GS4592@arvo.suso.org> References: <20090412092102.GS4592@arvo.suso.org> Message-ID: <20090412142008.GT4592@arvo.suso.org> Nevermind, figured it out. I just tried recompiling without the --enable-embedded-perl option and that seems to have fixed it. Now the memory usage is staying at just a couple MB. Not sure why check_snmp was the only check that seemed to aggravate it though. On Sun, Apr 12, 2009 at 09:21:03AM GMT, Mark Krenz [mark at suso.org] said the following: > > I've run into some kind of memory leak in Nagios. After removing > checks and services to narrow it down, I've determined that its the > check_snmp command that is leaking memory. With 33 hosts and almost > each one having 1 check that uses check_snmp in it, it leaks about 1MB > every couple checks. It only takes a day for it to get to the point > where nagiops is using 200-300MB of RAM. I'd say that's pretty bad. > > Anyways, I've tried recompiling nagios and the nagios plugins and I've > upgraded all the packages on my system to make sure it wasn't something > there and then recompiled again. Any ideas as to what this might be? > > Here are my system specs for the nagios server: > > System type: Xen virtual machine. > Architecture: x86_64 > Physical memory: 512MB > Distribution: CentOS 5.3 > gcc ver: gcc-4.1.2-44.el5 > > Nagios ver: 3.0.6 > Nagios Configure settings: > configure --with-command-group=nagcmd --enable-embedded-perl > > Nagios plugins ver: 1.4.13 > Nagios Plugins Configure settings: > configure --with-nagios-user=nagios --with-nagios-group=nagios --with-mysql > > > I actually have another machine that I was running Nagios on recently > where I don't have this problem. It has the same setup except its RHEL > 5.2. > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Mark S. Krenz IT Director Suso Technology Services, Inc. http://suso.org/ ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ti1ion2005 at gmail.com Sun Apr 12 20:52:54 2009 From: ti1ion2005 at gmail.com (David A.) Date: Sun, 12 Apr 2009 14:52:54 -0400 Subject: APC UPS Monitoring Setup. Message-ID: <4417b8200904121152w567785c9y7f64c92268bfa46d@mail.gmail.com> Hello, I have been searching for help in setting up SNMP monitoring of an APC UPS. I found a plug-in called check_snmp_apcups and have been trying to configure it -- with no success. I am using nagios 3.0.6 and plugins 1.4.13 I placed check_snmp_apcups into the libexec folder and ran it from the command line. It worked well, giving me UPS information. However, I cannot figure out what to do to make it work in the web interface. The latest instructions I found (and followed) were from the wiki: http://community.nagios.org/wiki/index.php/Howtos:snmp-apc-smart-ups Now, these instructions refer to the check_snmp command, but this did not work from the command line for me. It got no response from the UPS. So, I changed the command to check_snmp_apcups. I added the command definitions to the command.cfg file and then created a ups.cfg file with the following: #### HOST #### define host{ use generic-host host_name apc-smart-ups alias apc-smart-ups address 192.168.1.10 hostgroups ups } #### HOST GROUP #### define hostgroup{ hostgoup_name ups alias ups } #### SERVICES #### define service{ use generic-service host_name apc-smart-ups service_description Environment-Temperature check_command snmp_ups_envtemp!nagmon } define service{ use generic-service host_name apc-smart-ups service_description Battery-Status check_command snmp_ups_stat!nagmon } define service{ use generic-service host_name apc-smart-ups service_description Battery-Status check_command snmp_ups_capa!nagmon } define service{ use generic-service host_name apc-smart-ups service_description Battery-Status check_command snmp_ups_freq!nagmon } define service{ use generic-service host_name apc-smart-ups service_description Battery-Status check_command snmp_ups_volt!nagmon } define service{ use generic-service host_name apc-smart-ups service_description Battery-Status check_command snmp_ups_current!nagmon } define service{ use generic-service host_name apc-smart-ups service_description Battery-Status check_command snmp_ups_load!nagmon } I then modified the nagios.cfg file to point to to the ups.cfg file. Next, I ran the verification command and received a warning of NULL value in the line that points to my ups.cfg file. I don't know what is wrong with it, or what I am missing. Could anyone give me some pointers as to what I am doing wrong? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jmoseley at corp.xanadoo.com Mon Apr 13 01:26:36 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Sun, 12 Apr 2009 18:26:36 -0500 Subject: check_snmp memory leak In-Reply-To: <20090412142008.GT4592@arvo.suso.org> References: <20090412142008.GT4592@arvo.suso.org> Message-ID: You could have also just disabled the embedded perl interpreter in the plugin itself. By disabling the embedded perl function, your load and memory usage will certainly be higher. The real question, though, is since you're using Cent OS, why not use the Nagios RPM's available via yum repository? It makes upgrading and keeping track of dependencies a breeze. Not sure what the problem was, but I compiled Nagios 3.0.6 on a RHEL 3 system using the exact options that were found in the RPM spec file. I ended up with a nagios binary that was twice as large as the one that came in the RPM package and the version I compiled myself ran using more memory and processor resources than the RPM version. The difference was probably the compiler flags I was using were not optimized for my (or any RHEL) system. Nine times out of ten, using yum rpm's will ultimately end up yielding better results when factoring in system performce, upgrades, etc - and save tons of time and headaches. That's why you're using RHEL, right? Yes, I still have to make RPM's via compilation of source RPM's when the yum repository version doesn't include the feature's I need. For example, I have to roll my own Postfix because I need mysql support. James Moseley Mark Krenz To 04/12/2009 09:20 nagios-users at lists.sourceforge.net AM cc Subject Re: [Nagios-users] check_snmp memory leak Nevermind, figured it out. I just tried recompiling without the --enable-embedded-perl option and that seems to have fixed it. Now the memory usage is staying at just a couple MB. Not sure why check_snmp was the only check that seemed to aggravate it though. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jmoseley at corp.xanadoo.com Mon Apr 13 01:37:46 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Sun, 12 Apr 2009 18:37:46 -0500 Subject: APC UPS Monitoring Setup. In-Reply-To: <4417b8200904121152w567785c9y7f64c92268bfa46d@mail.gmail.com> References: <4417b8200904121152w567785c9y7f64c92268bfa46d@mail.gmail.com> Message-ID: The instructions you are referring to use check_snmp and have nothing to do with the plugin you are trying to use. I'm not familiar with that plugin, but you should be able to get all the status you want with a single service entry. If you'll give me an example of the command line call, I'll give you an example service and command definition. James Moseley "David A." To nagios-users at lists.sourceforge.net 04/12/2009 01:52 cc PM Subject [Nagios-users] APC UPS Monitoring Setup. Hello, I have been searching for help in setting up SNMP monitoring of an APC UPS.? I found a plug-in called check_snmp_apcups and have been trying to configure it -- with no success.? I am using nagios 3.0.6 and plugins 1.4.13 I placed check_snmp_apcups into the libexec folder and ran it from the command line.? It worked well, giving me UPS information.? However, I cannot figure out what to do to make it work in the web interface. The latest instructions I found (and followed) were from the wiki: http://community.nagios.org/wiki/index.php/Howtos:snmp-apc-smart-ups Now, these instructions refer to the check_snmp command, but this did not work from the command line for me.? It got no response from the UPS.? So, I changed the command to check_snmp_apcups.? I added the command definitions to the command.cfg file and then created a ups.cfg file with the following: #### HOST #### define host{??????? use???????????????????? generic-host host_name?????????????? apc-smart-ups??????? alias apc-smart-ups??????? address???????????????? 192.168.1.10 hostgroups????????????? ups??????? } #### HOST GROUP #### define hostgroup{??????? hostgoup_name?????????? ups alias?????????????????? ups??????? } #### SERVICES #### define service{??????? use generic-service??????? host_name?????????????????????? apc-smart-ups service_description???????????? Environment-Temperature check_command?????????????????? snmp_ups_envtemp!nagmon??????? } define service{??????? use generic-service??????? host_name?????????????????????? apc-smart-ups service_description???????????? Battery-Status check_command?????????????????? snmp_ups_stat!nagmon??????? } define service{??????? use generic-service??????? host_name?????????????????????? apc-smart-ups service_description???????????? Battery-Status check_command?????????????????? snmp_ups_capa!nagmon??????? } define service{??????? use generic-service??????? host_name?????????????????????? apc-smart-ups service_description???????????? Battery-Status check_command?????????????????? snmp_ups_freq!nagmon??????? } define service{??????? use generic-service??????? host_name?????????????????????? apc-smart-ups service_description???????????? Battery-Status check_command?????????????????? snmp_ups_volt!nagmon??????? } define service{??????? use generic-service??????? host_name?????????????????????? apc-smart-ups service_description???????????? Battery-Status check_command?????????????????? snmp_ups_current!nagmon??????? } define service{??????? use generic-service??????? host_name?????????????????????? apc-smart-ups service_description???????????? Battery-Status check_command?????????????????? snmp_ups_load!nagmon??????? } I then modified the nagios.cfg file to point to to the ups.cfg file.? Next, I ran the verification command and received a warning of NULL value in the line that points to my ups.cfg file.? I don't know what is wrong with it, or what I am missing. Could anyone give me some pointers as to what I am doing wrong? Thanks. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jmoseley at corp.xanadoo.com Mon Apr 13 04:26:49 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Sun, 12 Apr 2009 21:26:49 -0500 Subject: APC UPS Monitoring Setup. In-Reply-To: <4417b8200904121719p27b29e74ub651ba0f134e3e8b@mail.gmail.com> References: <4417b8200904121719p27b29e74ub651ba0f134e3e8b@mail.gmail.com> Message-ID: Remember to CC the nagios users' list... From looking at the script, it doesn't look like there are any options for setting critical/warning thresholds for temperature, load, etc. It appears they are all predefined. In that case, the command configuration would look something like: define command { command_name check_apcups command_line $USER1$/check_snmp_apcups -H $HOSTADDRESS$ -C $ARG1$ } The service check configuration would look like: define service{??????? use generic-service??????? host_name????????????????????? apc-smart-ups service_description APC_STATUS??????? check_command check_apcups!public ??????? } Obviously, you would replace 'public' above with whatever SNMP community string you have setup... The host group and host defintions you supplied earlier should be fine. Remember, this script is fairly elementary in that it appears it predetermines all the critical/warning levels for things like temp, battery capacity, input/output voltage, etc. So, there's nothing else you need to do. It will either return an 'OK' value or generate a critical or warning alert with the simple configuration above. Obviously, you could edit the script to change any of the thresholds by hardcoding them into the script, or you could modify it to accept warning/critical threshold limits as variables. James Moseley "David A." To jmoseley at corp.xanadoo.com 04/12/2009 07:19 cc PM Subject Re: [Nagios-users] APC UPS Monitoring Setup. Thanks again. The command I issue in the libexec folder is: ./check_snmp_apcups -H xxx.xxx.xxx.xxx -C public (I changed that to something different) The reply from the system is: Status is OK - Symmetra xxxx - BATTERY:(capacity 100%, temperature 38 C, runtime 40 minutes, 00.00) INPUT:(voltage 120 V, frequency 59 Hz) OUTPUT:(voltage 119 V, frequency 59 Hz, load 18%) SELF TEST:(Passed on 04/02/2009) LAST EVENT:(UPS self test) What I am trying to do is display this information in the web interface under its own device type. Thank you for any help you can provide. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From finchs at stgeorge.com.au Mon Apr 13 06:40:05 2009 From: finchs at stgeorge.com.au (Simon Finch) Date: Mon, 13 Apr 2009 14:40:05 +1000 Subject: NSClient not providing results In-Reply-To: <5a6fb4e0904082115y64b46720j2f73257e36d39334@mail.gmail.com> References: <5a6fb4e0904082115y64b46720j2f73257e36d39334@mail.gmail.com> Message-ID: <49E34EC5.B47D.0048.0@stgeorge.com.au> Murali, In the NSC.ini config file under [Settings] is the parameter called allowed_hosts= Is the IP address of your Nagios server in the list ? If so then do you have multiple IP addresses in this list, if you do then make sure that there are no spaces between the entries. Even when you get past this problem I found that check_nt didn't always return performance data, switch to check_nrpe if you want it to be reliable. It is slightly more complicated to use, but it is much more flexible after you get going. Simon Finch | ESM Specialist Ground Floor, 4-16 Montgomery St, Kogarah NSW 2217 (+61 2 9952 2574 7 +61 412 256 814 Email: finchs at stgeorge.com.au www.stgeorge.com.au ______________________________________ St.George Bank IT - Good with people. Good with monitoring. ********************************************************************** ***** IMPORTANT INFORMATION ***** This document should be read only by those persons to whom it is addressed and its content is not intended for use by any other persons. If you have received this message in error, please notify us immediately. Please also destroy and delete the message from your computer. Any unauthorised form of reproduction of this message is strictly prohibited. St George Bank Limited AFSL 240997, Advance Asset Management Limited AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management Limited AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/xxx Size: 1753 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: applicaton/octect-stream Size: 6060 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From finchs at stgeorge.com.au Mon Apr 13 06:53:23 2009 From: finchs at stgeorge.com.au (Simon Finch) Date: Mon, 13 Apr 2009 14:53:23 +1000 Subject: Centreon In-Reply-To: <4881ECF1AB752843908A20CEE07A8EB1127F0A@buf-ex01.cymfony.com> References: <49DF5D04020000480008D21D@stgeorge.com.au> <4881ECF1AB752843908A20CEE07A8EB1127F0A@buf-ex01.cymfony.com> Message-ID: <49E351E3.B47D.0048.0@stgeorge.com.au> The only reason I don't recommend RHEL5 for the main Centreon server was the prerequisites, I found that many of the packages that were needed were behind the versions needed. So I was uninstalling the packages and compiling from source code, which is fine up to a point. I spent a couple of weeks on it and then out of frustration looked for something more suitable, for me that was Ubuntu server 8.04 LTS. Virtually all of the dependancies needed were available directly from ubuntu and there was an install script available that downloads everything you need to build Centreon and Nagios. Simon Finch | ESM Specialist Ground Floor, 4-16 Montgomery St, Kogarah NSW 2217 (+61 2 9952 2574 7 +61 412 256 814 Email: finchs at stgeorge.com.au www.stgeorge.com.au ______________________________________ St.George Bank IT - Good with people. Good with monitoring. ********************************************************************** ***** IMPORTANT INFORMATION ***** This document should be read only by those persons to whom it is addressed and its content is not intended for use by any other persons. If you have received this message in error, please notify us immediately. Please also destroy and delete the message from your computer. Any unauthorised form of reproduction of this message is strictly prohibited. St George Bank Limited AFSL 240997, Advance Asset Management Limited AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management Limited AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/xxx Size: 1753 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: applicaton/octect-stream Size: 6093 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asam30 at gmail.com Mon Apr 13 07:01:02 2009 From: asam30 at gmail.com (asam30 at gmail.com) Date: Mon, 13 Apr 2009 10:31:02 +0530 Subject: Fwd: Monitor netstat connection states using nagios. In-Reply-To: <25251aec0904100236ne545d27qb3dd712c6fc5352c@mail.gmail.com> References: <25251aec0904100038l5171a097l2ade9bae2850e567@mail.gmail.com> <20090410.rrm.11728800@www.zarrelli.org> <25251aec0904100236ne545d27qb3dd712c6fc5352c@mail.gmail.com> Message-ID: <25251aec0904122201g511d2d4dr81dbd94e78243349@mail.gmail.com> Hi All, I've tried all suggestions and there are not worked. Please find the files/permissions, provide any help would be appreciated SCRIPT ************************************************************************* #!/bin/sh STATE_OK=0 STATE_WARNING=1 STATE_CRITICAL=2 STATE_UNKNOWN=3 netstat -an | grep 80 > synport12 err=`cat synport12 | grep -i TIME_WAIT | wc -l |awk '{print $1}'` if [ $err -gt 0 ] then echo "WARNING - STATUS= TIME_WAIT port status on $HOSTNAME | "WARNING - STATUS=TIME_WAIT port status on $HOSTNAME exit $STATE_CRITICAL else echo "OK - The port is up and running NO established connections on $HOSTNAME" exit $STATE_OK fi ******************************************************************************* ON nagios server ******************* [nagios at lnx-nagios libexec]$ pwd /usr/local/nagios/libexec drwxrwxr-x 2 nagios nagios 4.0K Apr 9 18:37 . drwxrwxr-x 8 nagios nagios 4.0K Dec 26 12:43 .. -rwxr-xr-x 1 nagios nagios 53K Aug 7 2008 check_apt -rwxr-xr-x 1 nagios nagios 2.3K Aug 7 2008 check_breeze -rwxr-xr-x 1 nagios nagios 63K Aug 7 2008 check_by_ssh lrwxrwxrwx 1 root root 9 Aug 7 2008 check_clamd -> check_tcp -rwxr-xr-x 1 nagios nagios 38K Aug 7 2008 check_cluster -r-sr-xr-x 1 root nagios 65K Aug 7 2008 check_dhcp -rwxr-xr-x 1 nagios nagios 59K Aug 7 2008 check_dig -rwxr-xr-x 1 nagios nagios 89K Aug 7 2008 check_disk -rwxr-xr-x 1 nagios nagios 8.0K Aug 7 2008 check_disk_smb -rwxr-xr-x 1 nagios nagios 64K Aug 7 2008 check_dns -rwxr-xr-x 1 nagios nagios 34K Aug 7 2008 check_dummy -rwxr-xr-x 1 nagios nagios 3.1K Aug 7 2008 check_file_age -rwxr-xr-x 1 nagios nagios 6.3K Aug 7 2008 check_flexlm lrwxrwxrwx 1 root root 9 Aug 7 2008 check_ftp -> check_tcp -rwxr-xr-x 1 nagios nagios 141K Aug 7 2008 check_http -r-sr-xr-x 1 root nagios 71K Aug 7 2008 check_icmp -rwxr-xr-x 1 nagios nagios 43K Aug 7 2008 check_ide_smart -rwxr-xr-x 1 nagios nagios 15K Aug 7 2008 check_ifoperstatus -rwxr-xr-x 1 nagios nagios 13K Aug 7 2008 check_ifstatus lrwxrwxrwx 1 root root 9 Aug 7 2008 check_imap -> check_tcp -rwxr-xr-x 1 nagios nagios 7.3K Aug 7 2008 check_ircd lrwxrwxrwx 1 root root 9 Aug 7 2008 check_jabber -> check_tcp -rwxr-xr-x 1 nagios nagios 53K Aug 7 2008 check_ldap lrwxrwxrwx 1 root root 10 Aug 7 2008 check_ldaps -> check_ldap -rwxr-xr-x 1 nagios nagios 49K Aug 7 2008 check_load -rwxr-xr-x 1 nagios nagios 6.0K Aug 7 2008 check_log -rwxr-xr-x 1 nagios nagios 20K Aug 7 2008 check_mailq -rwxr-xr-x 1 nagios nagios 44K Aug 7 2008 check_mrtg -rwxr-xr-x 1 nagios nagios 43K Aug 7 2008 check_mrtgtraf -rwxr-xr-x 1 nagios nagios 63K Aug 7 2008 check_mysql -rwxr-xr-x 1 nagios nagios 59K Aug 7 2008 check_mysql_query -rwxr-xr-x 1 nagios nagios 50K Aug 7 2008 check_nagios lrwxrwxrwx 1 root root 9 Aug 7 2008 check_nntp -> check_tcp lrwxrwxrwx 1 root root 9 Aug 7 2008 check_nntps -> check_tcp -rwxr-xr-x 1 nagios nagios 53K Aug 8 2008 check_nrpe -rwxr-xr-x 1 nagios nagios 64K Aug 7 2008 check_nt -rwxr-xr-x 1 nagios nagios 67K Aug 7 2008 check_ntp -rwxr-xr-x 1 nagios nagios 61K Aug 7 2008 check_ntp_peer -rwxr-xr-x 1 nagios nagios 60K Aug 7 2008 check_ntp_time -rwxr-xr-x 1 nagios nagios 84K Aug 7 2008 check_nwstat -rwxr-xr-x 1 nagios nagios 8.3K Dec 17 14:22 check_oracle -rwxr-xr-x 1 nagios nagios 54K Aug 7 2008 check_overcr -rwxr-xr-x 1 nagios nagios 68K Aug 7 2008 check_ping lrwxrwxrwx 1 root root 9 Aug 7 2008 check_pop -> check_tcp -rwxr-xr-x 1 nagios nagios 67K Aug 7 2008 check_procs -rwxr-xr-x 1 nagios nagios 52K Aug 7 2008 check_real -rwxr-xr-x 1 nagios nagios 9.5K Aug 7 2008 check_rpc -rwxr-xr-x 1 nagios nagios 1.2K Aug 7 2008 check_sensors lrwxrwxrwx 1 root root 9 Aug 7 2008 check_simap -> check_tcp -rwxr-xr-x 1 nagios nagios 99K Aug 7 2008 check_smtp lrwxrwxrwx 1 root root 9 Aug 7 2008 check_spop -> check_tcp -rwxr-xr-x 1 nagios nagios 49K Aug 7 2008 check_ssh lrwxrwxrwx 1 root root 9 Aug 7 2008 check_ssmtp -> check_tcp -rwxr-xr-x 1 nagios nagios 52K Aug 7 2008 check_swap -rwxr-xr-x 1 nagios nagios 88K Aug 7 2008 check_tcp -rwxr-xr-x 1 nagios nagios 52K Aug 7 2008 check_time lrwxrwxrwx 1 root root 9 Aug 7 2008 check_udp -> check_tcp -rwxr-xr-x 1 nagios nagios 59K Aug 7 2008 check_ups -rwxr-xr-x 1 nagios nagios 48K Aug 7 2008 check_users -rwxr-xr-x 1 nagios nagios 3.0K Aug 7 2008 check_wave -rwxr-xr-x 1 nagios nagios 49K Aug 7 2008 negate -rwxr-xr-x 1 nagios nagios 86K Aug 8 2008 nrpe -rwxr-xr-x 1 nagios nagios 7.1K Aug 8 2008 nrpe.cfg -rwxr-xr-x 1 nagios nagios 47K Aug 7 2008 urlize -rwxr-xr-x 1 nagios nagios 2.1K Aug 7 2008 utils.pm -rwxr-xr-x 1 nagios nagios 862 Aug 7 2008 utils.sh On Nagios client ******************** [nagios at airlin libexec]$ pwd /usr/local/nagios/libexec total 2828 -rwxr-xr-x 1 root root 169277 Jul 28 2008 check_apt -rwxr-xr-x 1 root root 2265 Jul 28 2008 check_breeze -rwxr-xr-x 1 root root 57891 Jul 28 2008 check_by_ssh lrwxrwxrwx 1 root root 9 Jul 28 2008 check_clamd -> check_tcp -rwxr-xr-x 1 root root 34870 Jul 28 2008 check_cluster -r-sr-xr-x 1 root root 59896 Jul 28 2008 check_dhcp -rwxr-xr-x 1 root root 53316 Jul 28 2008 check_dig -rwxr-xr-x 1 root root 202136 Jul 28 2008 check_disk -rwxr-xr-x 1 root root 8163 Jul 28 2008 check_disk_smb -rwxr-xr-x 1 root root 58043 Jul 28 2008 check_dns -rwxr-xr-x 1 root root 30895 Jul 28 2008 check_dummy -rwxr-xr-x 1 root root 3143 Jul 28 2008 check_file_age -rwxr-xr-x 1 root root 6395 Jul 28 2008 check_flexlm lrwxrwxrwx 1 root root 9 Jul 28 2008 check_ftp -> check_tcp -rwxr-xr-x 1 root root 257943 Jul 28 2008 check_http -r-sr-xr-x 1 root root 64965 Jul 28 2008 check_icmp -rwxr-xr-x 1 root root 39055 Jul 28 2008 check_ide_smart -rwxr-xr-x 1 root root 15310 Jul 28 2008 check_ifoperstatus -rwxr-xr-x 1 root root 12853 Jul 28 2008 check_ifstatus lrwxrwxrwx 1 root root 9 Jul 28 2008 check_imap -> check_tcp -rwxr-xr-x 1 root root 7429 Jul 28 2008 check_ircd lrwxrwxrwx 1 root root 9 Jul 28 2008 check_jabber -> check_tcp -rwxr-xr-x 1 root root 48777 Jul 28 2008 check_ldap lrwxrwxrwx 1 root root 10 Jul 28 2008 check_ldaps -> check_ldap -rwxr-xr-x 1 root root 43795 Jul 28 2008 check_load -rwxr-xr-x 1 root root 6062 Jul 28 2008 check_log -rwxr-xr-x 1 root root 20367 Jul 28 2008 check_mailq -rwxr-xr-x 1 root root 40486 Jul 28 2008 check_mrtg -rwxr-xr-x 1 root root 39055 Jul 28 2008 check_mrtgtraf -rwxr-xr-x 1 root root 45592 Jul 28 2008 check_nagios -rwxr-xr-x 1 nagios nagios 444 Apr 10 12:37 check_netstat lrwxrwxrwx 1 root root 9 Jul 28 2008 check_nntp -> check_tcp lrwxrwxrwx 1 root root 9 Jul 28 2008 check_nntps -> check_tcp -rwxr-xr-x 1 nagios nagios 55872 Jul 28 2008 check_nrpe -rwxr-xr-x 1 root root 57239 Jul 28 2008 check_nt -rwxr-xr-x 1 root root 60513 Jul 28 2008 check_ntp -rwxr-xr-x 1 root root 55544 Jul 28 2008 check_ntp_peer -rwxr-xr-x 1 root root 53548 Jul 28 2008 check_ntp_time -rwxr-xr-x 1 root root 75669 Jul 28 2008 check_nwstat -rwxr-xr-x 1 root root 8366 Jul 28 2008 check_oracle -rwxr-xr-x 1 root root 49971 Jul 28 2008 check_overcr -rwxr-xr-x 1 root root 47093 Jul 28 2008 check_pgsql -rwxr-xr-x 1 root root 62651 Jul 28 2008 check_ping lrwxrwxrwx 1 root root 9 Jul 28 2008 check_pop -> check_tcp -rwxr-xr-x 1 root root 61001 Jul 28 2008 check_procs -rwxr-xr-x 1 root root 47725 Jul 28 2008 check_real -rwxr-xr-x 1 root root 9707 Jul 28 2008 check_rpc -rwxr-xr-x 1 root root 1176 Jul 28 2008 check_sensors lrwxrwxrwx 1 root root 9 Jul 28 2008 check_simap -> check_tcp -rwxr-xr-x 1 root root 215773 Jul 28 2008 check_smtp lrwxrwxrwx 1 root root 9 Jul 28 2008 check_spop -> check_tcp -rwxr-xr-x 1 root root 44229 Jul 28 2008 check_ssh lrwxrwxrwx 1 root root 9 Jul 28 2008 check_ssmtp -> check_tcp -rwxr-xr-x 1 root root 47371 Jul 28 2008 check_swap -rwxr-xr-x 1 root root 82929 Jul 28 2008 check_tcp -rwxr-xr-x 1 root root 47012 Jul 28 2008 check_time lrwxrwxrwx 1 root root 9 Jul 28 2008 check_udp -> check_tcp -rwxr-xr-x 1 root root 54897 Jul 28 2008 check_ups -rwxr-xr-x 1 root root 42488 Jul 28 2008 check_users -rwxr-xr-x 1 root root 3019 Jul 28 2008 check_wave -rwxr-xr-x 1 root root 44410 Jul 28 2008 negate -rwxr-xr-x 1 nagios nagios 83120 Jul 28 2008 nrpe -rwxrwxrwx 1 nagios nagios 8336 Apr 9 14:34 nrpe.cfg -rw-r--r-- 1 root root 484 Apr 9 17:50 synport -rw-r--r-- 1 nagios nagios 162 Apr 10 13:59 synport12 -rwxr-xr-x 1 root root 41991 Jul 28 2008 urlize -rwxr-xr-x 1 root root 2070 Jul 28 2008 utils.pm -rwxr-xr-x 1 root root 862 Jul 28 2008 utils.sh On nagios server ******************* [nagios at lnx-nagios xinetd.d]$ pwd /etc/xinetd.d [nagios at lnx-nagios xinetd.d]$ cat nrpe # default: on # description: NRPE service nrpe { flags = REUSE socket_type = stream wait = no user = nagios groups = yes server = /usr/local/nagios/libexec/nrpe server_args = -c /usr/local/nagios/libexec/nrpe.cfg --inetd log_on_failure += USERID disable = no # Change this to your primary Nagios server only_from = 10.10.13.34 } Thanks for your patience -Shankar On Fri, Apr 10, 2009 at 1:28 PM, Giorgio Zarrelli wrote: > Hi, > > It won't work this way. If you define > > nagios ALL=/bin/netstat > > The script will hang, waiting for you to input a password for the user. > Modify > it to this string: > > nagios ALL=NOPASSWD:/bin/netstat > > Please, send me a copy of your script an ls -lah of your plugin libexec > directory content and a > > cat /etc/xinetd.d/nrpe > > Giorgio > > > asam30 at gmail.com scritto: > > > > Hi Giorgio, > > > > I tried all the ways to fix the problem but still no luck. Do not know > how > > to run the custom scripts, i will explain in detail here, please someone > > guide me here, > > > > Nagios server: > > > > Running the below command, this command will go to nagios client > > (172.16.17.18) and execute check_netstat script. The netstat script will > > check for port 80 listen status also if there are any TIME_WAIT > connections > > happens, then it should alert us (WARNING - STATUS= TIME_WAIT port status > on > > airlin | WARNING - STATUS=TIME_WAIT port status on airlin). For testing > I > > made some connections happend to be listen on port 80 and as TIME_WAIT > > status. But it still reports as (OK, which means this is reporting > > incorrectly) > > > > [nagios at lnx-nagios ~]$ /usr/local/nagios/libexec/check_nrpe -H > 172.16.17.18 > > -c check_netstat > > OK - The port is up and running NO established connections on airlin > > > > > > on Nagios client:, > > > > I executed below command here, and this reports exactly correct as there > are > > some TIME_WAIT listening on port 80 > > > > [nagios at airlin nagios]$ netstat -an | grep 80 > > tcp 0 0 0.0.0.0:80 0.0.0.0:* > LISTEN > > tcp 0 0 172.16.17.18:80 10.10.19.85:2293 > > TIME_WAIT > > > > [nagios at airlin nagios]$ /usr/local/nagios/libexec/check_netstat > > WARNING - STATUS= TIME_WAIT port status on airlin | WARNING - > > STATUS=TIME_WAIT port status on airlin. > > > > The same warning message should appear when I execute first command on > > nagios server but it reports incorrectly as (OK, no port status).... > > > > I am running above commands as nagios user because this as preivileges to > > run nrpe. > > > > the check_nrpe , nrpe , check_netstat owned by nagios:nagios on both the > > servers. > > > > in /etc/sudoers file I wrote below line on both the servers > > > > nagios ALL=/bin/netstat > > > > and > > > > [root at airlin libexec]# sudo -u nagios sudo -l > > Password: > > User nagios may run the following commands on this host: > > (root) /bin/netstat > > > > in the check_netstat script I wrote the netstat command as, > > > > netstat -an | grep 80 > synport12 > > > > should I add sudo here??? > > > > Please help your valuable suggestions...... > > thanks > > > > > > > > > > > > > > > > > > On Thu, Apr 9, 2009 at 8:52 PM, Giorgio Zarrelli >wrote: > > > > > Hi > > > > > > As I told before, that netstat command won't work "out of the box", > with an > > > unprivileged user. > > > > > > Giorgio > > > > > > Marc Powell (marc at ena.com) scritto: > > > > > > > > > > > > On Apr 9, 2009, at 8:26 AM, asam30 at gmail.com wrote: > > > > > > > > > Hi, > > > > > > > > > > I did copy the scipt to the remote host as check_netstat and used > > > > > check_nrpe method to excute from nagios server. It looks when > > > > > executing the command on remote server works well, > > > > > > > > > > [root at airlin libexec]# /usr/local/nagios/libexec/check_netstat > > > > > WARNING - STATUS= TIME_WAIT port status on airlin | WARNING - > > > > > STATUS=TIME_WAIT port status on airlin > > > > > > > > You're testing as root here. Test as the user nrpe runs as. It could > > > > very well be a difference in privileges... > > > > > > > > -- > > > > Marc > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > This SF.net email is sponsored by: > > > > High Quality Requirements in a Collaborative Environment. > > > > Download a free trial of Rational Requirements Composer Now! > > > > http://p.sf.net/sfu/www-ibm-com > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at 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: > > > High Quality Requirements in a Collaborative Environment. > > > Download a free trial of Rational Requirements Composer Now! > > > http://p.sf.net/sfu/www-ibm-com > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at 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 > > > > > > > > > > > -- > > Shankar Asam > > > > -- Shankar Asam -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mnmis at hotmail.com Mon Apr 13 07:09:43 2009 From: mnmis at hotmail.com (mnmis at hotmail.com) Date: Sun, 12 Apr 2009 22:09:43 -0700 Subject: [SPAM] Vacation reply In-Reply-To: References: Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ledondo2000 at gmail.com Mon Apr 13 08:57:45 2009 From: ledondo2000 at gmail.com (Mika Chu) Date: Mon, 13 Apr 2009 14:57:45 +0800 Subject: how to let nagios think host is online Message-ID: Hi all, I have one host need to be monitoring, but it is not allow ping. So the nagios plug-in check_ping can not work. Host line in the web page is red. How can I let nagios think it is OK? I checked the manual, about host definition, check_command This directive is used to specify the *short name* of the command that should be used to check if the host is up or down. Typically, this command would try and ping the host to see if it is "alive". The command must return a status of OK (0) or Nagios will assume the host is down. If you leave this argument blank, the host will *not* be actively checked. Thus, Nagios will likely always assume the host is up (it may show up as being in a "PENDING" state in the web interface). This is useful if you are monitoring printers or other devices that are frequently turned off. The maximum amount of time that the notification command can run is controlled by the host_check_timeout option. sorry, I don't understand what should I do. Please advice me. Thanks a lot! -- --- Mika Chu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From vmanojv at rediffmail.com Mon Apr 13 10:17:29 2009 From: vmanojv at rediffmail.com (Nair) Date: 13 Apr 2009 08:17:29 -0000 Subject: Service Dependency Config Message-ID: <20090413081729.9078.qmail@f5mail-237-205.rediffmail.com> Friends, I need to define mutal dependancy between two web services in different hosts. PLease see the config below which end up throwing error: ----------------------- Error: A circular execution dependency (which could result in a deadlock) exists for service 'www' on host 'host2'! ----------------------- # Service Dependency Definition for cfservd define servicedependency{ host_name host1 service_description www dependent_host_name host2 dependent_service_description www execution_failure_criteria o notification_failure_criteria c,p } define servicedependency{ host_name host2 service_description www dependent_host_name host1 dependent_service_description www execution_failure_criteria o notification_failure_criteria c,p } Please share your thoughts for getting the config right. Thank you in advance ? Nair -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cloved at gmail.com Mon Apr 13 10:43:46 2009 From: cloved at gmail.com (Lei Chen) Date: Mon, 13 Apr 2009 16:43:46 +0800 Subject: status map In-Reply-To: <804329.8333.qm@web56807.mail.re3.yahoo.com> References: <804329.8333.qm@web56807.mail.re3.yahoo.com> Message-ID: 2009/4/9 Genet Tesfaye : > Hi All, > > i have installed and configured nagios 3.0.6 on SUSE linux.i plan to monitor > Servers, Printers and Switches for which i have added samples. i need help > on how to configure: > 1. if i have more than two partitions on windows machine. i have managed to > monitor c and D partitions but could't for the additional partition why not other partitions, can u provide your conf files? > 2. i have a problem with the status map. clicking on it brings an error > "Object Not found" status map need gd support, download and install gd first, then re configure/make and cp status map cgi to the proper position. > > Thank you very much > GT from Ethiopia > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Thanks, Chenlei & ??++ MSN Messenger: chnl at 163.com ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cloved at gmail.com Mon Apr 13 10:52:58 2009 From: cloved at gmail.com (Lei Chen) Date: Mon, 13 Apr 2009 16:52:58 +0800 Subject: Integrating host notes into Nagios html... In-Reply-To: <49DF5B8C.4040701@gmail.com> References: <49DF5B8C.4040701@gmail.com> Message-ID: I think that action_url can do that. Such as: action_url /some_dir/some_pages?host=$HOSTNAME$&some_key=some_value 2009/4/10 Andrew Davis : > I'm thinking about using something like sysreport to generate info about our > hosts. It (and other tools like it) have the ability to output to html. To > me that makes it somewhat logical to add a per-host html link into Nagios > (clicking the host name would take you to a page that shows the detailed > info). Have any of you tried this or something similar? Care to share your > experience or what you edited, etc? > > -- > > > A. Davis > Email: nccomp at gmail.com > > "There is no limit to what a man can accomplish > if he doesn't care who gets the credit." - Ronald Reagan > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Thanks, Chenlei & ??++ MSN Messenger: chnl at 163.com ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cloved at gmail.com Mon Apr 13 11:05:18 2009 From: cloved at gmail.com (Lei Chen) Date: Mon, 13 Apr 2009 17:05:18 +0800 Subject: how to let nagios think host is online In-Reply-To: References: Message-ID: You can use other check_command instead of check_ping. Such as check_tcp, check_http or other. For example: This is a router, not permmit ping, but it's port 23 is open. define host{ use generic-switch ; Inherit default values from a template host_name qz-gw alias qz-gw address x.x.x.x parents sjhl-gw icon_image switch.gif icon_image_alt Switch vrml_image switch.gif statusmap_image switch.gd2 hostgroups gws check_command check_tcp!23 } 2009/4/13 Mika Chu : > Hi all, > I have one host need to be monitoring, but it is not allow ping. So the > nagios plug-in check_ping can not work. Host line in the web page is red. > How can I let nagios think it is OK? > I checked the manual, about host definition, check_command > > This directive is used to specify the short name of the command that should > be used to check if the host is up or down. Typically, this command would > try and ping the host to see if it is "alive". The command must return a > status of OK (0) or Nagios will assume the host is down. If you leave this > argument blank, the host will not be actively checked. Thus, Nagios will > likely always assume the host is up (it may show up as being in a "PENDING" > state in the web interface). This is useful if you are monitoring printers > or other devices that are frequently turned off. The maximum amount of time > that the notification command can run is controlled by the > host_check_timeout option. > > sorry, I don't understand what should I do. Please advice me. > > Thanks a lot! > > -- > --- > Mika Chu > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Thanks, Chenlei & ??++ MSN Messenger: chnl at 163.com ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cloved at gmail.com Mon Apr 13 11:09:42 2009 From: cloved at gmail.com (Lei Chen) Date: Mon, 13 Apr 2009 17:09:42 +0800 Subject: Service Dependency Config In-Reply-To: <20090413081729.9078.qmail@f5mail-237-205.rediffmail.com> References: <20090413081729.9078.qmail@f5mail-237-205.rediffmail.com> Message-ID: Not permmit a circular execution dependency here. That may be like this: define servicedependency{ host_name host1 service_description www dependent_host_name host3 dependent_service_description www execution_failure_criteria o notification_failure_criteria c,p } define servicedependency{ host_name host2 service_description www dependent_host_name host3 dependent_service_description www execution_failure_criteria o notification_failure_criteria c,p } Or: define servicedependency{ host_name host1 service_description www dependent_host_name host1 dependent_service_description ping execution_failure_criteria o notification_failure_criteria c,p } define servicedependency{ host_name host2 service_description www dependent_host_name host1 dependent_service_description ping execution_failure_criteria o notification_failure_criteria c,p } 2009/4/13 Nair : > Friends, > I need to define mutal dependancy between two web services in different > hosts. > > PLease see the config below which end up throwing error: > ----------------------- > Error: A circular execution dependency (which could result in a deadlock) > exists for service 'www' on host 'host2'! > ----------------------- > # Service Dependency Definition for cfservd > define servicedependency{ > host_name host1 > service_description www > dependent_host_name host2 > dependent_service_description www > execution_failure_criteria o > notification_failure_criteria c,p > } > > define servicedependency{ > host_name host2 > service_description www > dependent_host_name host1 > dependent_service_description www > execution_failure_criteria o > notification_failure_criteria c,p > } > > Please share your thoughts for getting the config right. > > Thank you in advance > Nair > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Thanks, Chenlei & ??++ MSN Messenger: chnl at 163.com ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jim at jimavery.me.uk Mon Apr 13 11:22:50 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 13 Apr 2009 10:22:50 +0100 Subject: Service Dependency Config In-Reply-To: <20090413081729.9078.qmail@f5mail-237-205.rediffmail.com> References: <20090413081729.9078.qmail@f5mail-237-205.rediffmail.com> Message-ID: <765d77c80904130222h429ab9a2rf57d1663934b7ae8@mail.gmail.com> 2009/4/13 Nair : > Friends, > I need to define mutal dependancy between two web services in different > hosts. Define each as individual services in the usual way, then use Nagios Business Process Addons http://nagiosbp.projects.nagiosforge.org/ to define a service view which is dependent on both of those services. Cheers, Jim ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From vmanojv at rediffmail.com Mon Apr 13 15:37:33 2009 From: vmanojv at rediffmail.com (Nair) Date: 13 Apr 2009 13:37:33 -0000 Subject: Service Dependency Config Message-ID: <20090413133733.51845.qmail@f5mail-237-214.rediffmail.com> Thanks you, Lei. But, I have two web servers in cluster. Webserver may be online in any one of the servers. So I have defined www services in web servers - host1 and host2. And dont need an alert when www is online in any one of the servers. Is there any config to support this senario. Thank you Nair. On Mon, 13 Apr 2009 Lei Chen wrote : >Not permmit a circular execution dependency here. > >That may be like this: > >define servicedependency{ >host_name host1 >service_description www >dependent_host_name host3 >dependent_service_description www >execution_failure_criteria o >notification_failure_criteria c,p >} > >define servicedependency{ >host_name host2 >service_description www >dependent_host_name host3 >dependent_service_description www >execution_failure_criteria o >notification_failure_criteria c,p >} > >Or: >define servicedependency{ >host_name host1 >service_description www >dependent_host_name host1 >dependent_service_description ping >execution_failure_criteria o >notification_failure_criteria c,p >} > >define servicedependency{ >host_name host2 >service_description www >dependent_host_name host1 >dependent_service_description ping >execution_failure_criteria o >notification_failure_criteria c,p >} > > >2009/4/13 Nair : > > Friends, > > I need to define mutal dependancy between two web services in different > > hosts. > > > > PLease see the config below which end up throwing error: > > ----------------------- > > Error: A circular execution dependency (which could result in a deadlock) > > exists for service 'www' on host 'host2'! > > ----------------------- > > # Service Dependency Definition for cfservd > > define servicedependency{ > > host_name host1 > > service_description www > > dependent_host_name host2 > > dependent_service_description www > > execution_failure_criteria o > > notification_failure_criteria c,p > > } > > > > define servicedependency{ > > host_name host2 > > service_description www > > dependent_host_name host1 > > dependent_service_description www > > execution_failure_criteria o > > notification_failure_criteria c,p > > } > > > > Please share your thoughts for getting the config right. > > > > Thank you in advance > > Nair > > > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by: > > High Quality Requirements in a Collaborative Environment. > > Download a free trial of Rational Requirements Composer Now! > > http://p.sf.net/sfu/www-ibm-com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > >-- >Thanks, >Chenlei & ????++ >MSN Messenger: chnl at 163.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Apr 13 15:59:34 2009 From: marc at ena.com (Marc Powell) Date: Mon, 13 Apr 2009 08:59:34 -0500 Subject: Service Dependency Config In-Reply-To: <20090413133733.51845.qmail@f5mail-237-214.rediffmail.com> References: <20090413133733.51845.qmail@f5mail-237-214.rediffmail.com> Message-ID: <69702060-536D-4E1D-BCCE-934574585A29@ena.com> On Apr 13, 2009, at 8:37 AM, Nair wrote: > Thanks you, Lei. But, I have two web servers in cluster. Webserver > may be online in any one of the servers. So I have defined www > services in web servers - host1 and host2. And dont need an alert > when www is online in any one of the servers. > It sounds like you want to use the check_cluster plugin, not service dependencies... -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mbogdanov at ncport.ru Mon Apr 13 16:12:14 2009 From: mbogdanov at ncport.ru (Mihail N Bogdanov) Date: Mon, 13 Apr 2009 18:12:14 +0400 Subject: i want post in nagios-users mail list Message-ID: <49E3483E.4040405@ncport.ru> mbogdanov at ncport.ru -- Mihail N. Bogdanov, Programmer of Software Design Dept., mbogdanov at ncport.ru "Newcom Port" JSC ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at gridshield.net Mon Apr 13 17:02:59 2009 From: marc at gridshield.net (Marc DeTrano) Date: Mon, 13 Apr 2009 09:02:59 -0600 Subject: Name or service not known Message-ID: <49E35423.9070004@gridshield.net> On Wednesday 08 April 2009 14:41:27 Thierry Lavall?e wrote: > > Hi, > > I am getting the following about 50 times per day: > > > > HTTP CRITICAL 04-08-2009 09:37:29 0d 0h 1m 50s 1/4 Name or service not > > known SSH UNKNOWN 04-08-2009 09:34:39 0d 0h 4m 40s 1/4 Usage:check_ssh > > [-46] [-t ] [-r ] [-p ] > > > > I am somewhat at lost here... > > Can anyone help with this? > I'd recommend to first check your DNS setup on the machine. If that's good, monitor your DNS servers. Marc Gridshield, S.A. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jim at jimavery.me.uk Mon Apr 13 17:26:30 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 13 Apr 2009 16:26:30 +0100 Subject: Service Dependency Config In-Reply-To: <20090413133733.51845.qmail@f5mail-237-214.rediffmail.com> References: <20090413133733.51845.qmail@f5mail-237-214.rediffmail.com> Message-ID: <765d77c80904130826y4f47f7a7r4f19153bec118ccd@mail.gmail.com> 2009/4/13 Nair : > Thanks you, Lei. But, I have two web servers in cluster. Webserver may be > online in any one of the servers. So I have defined www services in web > servers - host1 and host2. And dont need an alert when www is online in any > one of the servers. > > Is there any config to support this senario. > > Thank you > Nair. Another option is you could define the cluster address as a host in its own right, and specify host1 and host2 as parents. Cheers, Jim ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cbeattie at geninfo.com Mon Apr 13 17:29:48 2009 From: cbeattie at geninfo.com (Chris Beattie) Date: Mon, 13 Apr 2009 11:29:48 -0400 Subject: Compliance: Re: check_snmp memory leak In-Reply-To: References: Message-ID: <49E35A6C.3040603@geninfo.com> jmoseley at corp.xanadoo.com wrote: > > The real question, though, is since you're using Cent OS, why not use the > Nagios RPM's available via yum repository? It makes upgrading and keeping > track of dependencies a breeze. A long time ago I got frustrated with a package provider installing Nagios in a different location. I'd been compiling Nagios from source since the NetSaint days, so I just went back to doing what I'd always done. That's worked on Red Hat 7.x, various Fedora versions, RHEL4, CentOS 5.x, and Debian so far. I do use the disto provider's mechanisms to take care of Nagios' dependencies, however. That does make life much easier than the RPM Hell days! -- Chris Beattie ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mark at suso.org Mon Apr 13 13:45:59 2009 From: mark at suso.org (Mark Krenz) Date: Mon, 13 Apr 2009 11:45:59 +0000 Subject: check_snmp memory leak In-Reply-To: References: <20090412142008.GT4592@arvo.suso.org> Message-ID: <20090413114559.GC8147@arvo.suso.org> Think your so smart, then why doesn't the Fedora quickinstall in the Nagios manual just tell you to do that. ;-) Doh! On Sun, Apr 12, 2009 at 11:26:36PM GMT, jmoseley at corp.xanadoo.com [jmoseley at corp.xanadoo.com] said the following: > > The real question, though, is since you're using Cent OS, why not use the > Nagios RPM's available via yum repository? It makes upgrading and keeping > track of dependencies a breeze. > > Not sure what the problem was, but I compiled Nagios 3.0.6 on a RHEL 3 > system using the exact options that were found in the RPM spec file. I > ended up with a nagios binary that was twice as large as the one that came > in the RPM package and the version I compiled myself ran using more memory > and processor resources than the RPM version. The difference was probably > the compiler flags I was using were not optimized for my (or any RHEL) > system. > > Nine times out of ten, using yum rpm's will ultimately end up yielding > better results when factoring in system performce, upgrades, etc - and save > tons of time and headaches. That's why you're using RHEL, right? Yes, I > still have to make RPM's via compilation of source RPM's when the yum > repository version doesn't include the feature's I need. For example, I > have to roll my own Postfix because I need mysql support. > > > James Moseley > > > > > > Mark Krenz > > To > 04/12/2009 09:20 nagios-users at lists.sourceforge.net > AM cc > > Subject > Re: [Nagios-users] check_snmp > memory leak > > > > > > > > > > > > Nevermind, figured it out. I just tried recompiling without the > --enable-embedded-perl option and that seems to have fixed it. Now the > memory usage is staying at just a couple MB. > > Not sure why check_snmp was the only check that seemed to aggravate it > though. > -- Mark S. Krenz IT Director Suso Technology Services, Inc. http://suso.org/ ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Apr 13 17:54:59 2009 From: marc at ena.com (Marc Powell) Date: Mon, 13 Apr 2009 10:54:59 -0500 Subject: i want post in nagios-users mail list In-Reply-To: <49E3483E.4040405@ncport.ru> References: <49E3483E.4040405@ncport.ru> Message-ID: Error -3324: Access Granted On Apr 13, 2009, at 9:12 AM, Mihail N Bogdanov wrote: > mbogdanov at ncport.ru ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dermoth at aei.ca Mon Apr 13 18:13:25 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 13 Apr 2009 12:13:25 -0400 Subject: check_snmp memory leak In-Reply-To: References: Message-ID: <49E364A5.6010803@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/04/09 07:26 PM, jmoseley at corp.xanadoo.com wrote: > You could have also just disabled the embedded perl interpreter in the > plugin itself. By disabling the embedded perl function, your load and > memory usage will certainly be higher. > > The real question, though, is since you're using Cent OS, why not use the > Nagios RPM's available via yum repository? It makes upgrading and keeping > track of dependencies a breeze. > > Not sure what the problem was, but I compiled Nagios 3.0.6 on a RHEL 3 > system using the exact options that were found in the RPM spec file. I > ended up with a nagios binary that was twice as large as the one that came > in the RPM package and the version I compiled myself ran using more memory > and processor resources than the RPM version. The difference was probably > the compiler flags I was using were not optimized for my (or any RHEL) > system. Are you sure your nagios binaries have been stripped? > $ ls -lh /usr/src/nagios-3.0.1-cvs/base/nagios /usr/local/nagios/bin/nagios > -rwxrwxr-- 1 nagios nagios 1.5M 2008-05-06 11:15 /usr/local/nagios/bin/nagios* > -rwxr-xr-x 1 user user 2.1M 2008-05-06 10:08 /usr/src/nagios-3.0.1-cvs/base/nagios* > $ file /usr/src/nagios-3.0.1-cvs/base/nagios /usr/local/nagios/bin/nagios > /usr/src/nagios-3.0.1-cvs/base/nagios: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), not stripped > /usr/local/nagios/bin/nagios: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped The memory and processor (system time) is directly related to the size of the running process (which includes executable image size). Every time Nagios executes a check it has to fork two or three times (depending on configuration) and the kernel has to map/copy the executable memory for the new processes. Performance degradation can become even worse on systems that does not support copy-on-write for forked processes as they perform a full copy of the process memory during forks only to free it seconds later. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ42Sl6dZ+Kt5BchYRAkMpAKCZTMJLOmfelHxjRfwOcV3qfYyrIACeMwaC 8u+QBWjmHfSjOvcYg3pQhK4= =pL0b -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jimmyjose2980 at gmail.com Mon Apr 13 20:19:37 2009 From: jimmyjose2980 at gmail.com (Jimmyboy) Date: Mon, 13 Apr 2009 23:49:37 +0530 Subject: Apache Server configuration for Nagios 3.0 Message-ID: Hi All, I am following the Quickstart Guide for installing NAGIOS using http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html. One of the prerequisites is Apache2, which I installed, and was successful in getting "*It Works!!"* for http://127.0.0.1. However, I am stuck at point 5) Configure the Web Interface, *make install-webconf*. *When this command is issued, this is what I get*. /usr/bin/install -c -m 644 sample-config/httpd.conf /etc/httpd/conf.d/nagios.conf /usr/bin/install: cannot create regular file '/etc/httpd/conf.d/nagios.conf': No such file or directory make: *** [install-webconf] Error 1 Prefix for Apache: /etc/apache2 I believe the httpd.conf file and a few others also need to be edited for Nagios. Can some please guide me through this? Thanks, Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jimmyjose2980 at gmail.com Mon Apr 13 20:25:12 2009 From: jimmyjose2980 at gmail.com (Jimmyboy) Date: Mon, 13 Apr 2009 23:55:12 +0530 Subject: Fwd: Apache Server configuration for Nagios 3.0 In-Reply-To: References: Message-ID: Hi, On reading https://help.ubuntu.com/8.10/serverguide/C/httpd.html, I understand that /etc/apache2/*apache2.conf* is the most important file. Though I have installed Apache in */etc/apache2* location, I do not have apache2.conf file as mentioned in the site. However, when I stop/start the Apache service using the command '/etc/apache2/bin/apachectl -k stop/start' respectively, and check http://127.0.0.1 and ps -A | grep httpd, the results are OK. Thanks, Jim =-=-=-=-= ---------- Forwarded message ---------- From: Jimmyboy Date: Mon, Apr 13, 2009 at 11:49 PM Subject: Apache Server configuration for Nagios 3.0 To: nagios-users at lists.sourceforge.net Hi All, I am following the Quickstart Guide for installing NAGIOS using http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html. One of the prerequisites is Apache2, which I installed, and was successful in getting "*It Works!!"* for http://127.0.0.1. However, I am stuck at point 5) Configure the Web Interface, *make install-webconf*. *When this command is issued, this is what I get*. /usr/bin/install -c -m 644 sample-config/httpd.conf /etc/httpd/conf.d/nagios.conf /usr/bin/install: cannot create regular file '/etc/httpd/conf.d/nagios.conf': No such file or directory make: *** [install-webconf] Error 1 Prefix for Apache: /etc/apache2 I believe the httpd.conf file and a few others also need to be edited for Nagios. Can some please guide me through this? Thanks, Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marco.tirado at gmail.com Mon Apr 13 21:46:56 2009 From: marco.tirado at gmail.com (Marco Tirado) Date: Mon, 13 Apr 2009 21:46:56 +0200 Subject: Integrating host notes into Nagios html... In-Reply-To: References: <49DF5B8C.4040701@gmail.com> Message-ID: Actually it is the notes_url you are interested in, this is a variable you can set in the host definition. The action url is normally used to display extra actions for a host, this is normally a pnp graph with the host performance data from pnp4nagios, nagiosgraph or some other graphing plugin. >From the nagios documentation: *notes_url: This variable is used to define an optional URL that can be used to provide more information about the host. If you specify an URL, you will see a red folder icon in the CGIs (when you are viewing host information) that links to the URL you specify here. Any valid URL can be used. If you plan on using relative paths, the base path will the the same as what is used to access the CGIs (i.e. **/cgi-bin/nagios/). This can be very useful if you want to make detailed information on the host, emergency contact methods, etc. available to other support staff. * //Marco 2009/4/13 Lei Chen > I think that action_url can do that. > Such as: > action_url /some_dir/some_pages?host=$HOSTNAME$&some_key=some_value > > 2009/4/10 Andrew Davis : > > I'm thinking about using something like sysreport to generate info about > our > > hosts. It (and other tools like it) have the ability to output to html. > To > > me that makes it somewhat logical to add a per-host html link into Nagios > > (clicking the host name would take you to a page that shows the detailed > > info). Have any of you tried this or something similar? Care to share > your > > experience or what you edited, etc? > > > > -- > > > > > > A. Davis > > Email: nccomp at gmail.com > > > > "There is no limit to what a man can accomplish > > if he doesn't care who gets the credit." - Ronald Reagan > > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by: > > High Quality Requirements in a Collaborative Environment. > > Download a free trial of Rational Requirements Composer Now! > > http://p.sf.net/sfu/www-ibm-com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > -- > Thanks, > Chenlei & ??++ > MSN Messenger: chnl at 163.com > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lraymond at weatherflow.com Mon Apr 13 22:49:16 2009 From: lraymond at weatherflow.com (lance raymond) Date: Mon, 13 Apr 2009 16:49:16 -0400 Subject: initial setups, hostgroup help requested Message-ID: <49E3A54C.1010407@weatherflow.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Apr 13 23:23:15 2009 From: marc at ena.com (Marc Powell) Date: Mon, 13 Apr 2009 16:23:15 -0500 Subject: initial setups, hostgroup help requested In-Reply-To: <49E3A54C.1010407@weatherflow.com> References: <49E3A54C.1010407@weatherflow.com> Message-ID: <9CCE7FC8-3A91-46C4-BACD-608E3B160BB8@ena.com> On Apr 13, 2009, at 3:49 PM, lance raymond wrote: > still getting things in order, and having a problem with adding my > 1st hostgroup. Side note, is there any kind of logging, or > debugging to see where a failure occurs? run /path/to/nagios -v /path/to/nagios.cfg > Ex. I add a new config file with the following basic line in the > main conf; > cfg_file=/usr/local/nagios/etc/hostgroups.cfg > The file has the following; > define hostgroup{ > hostgroup_name webservers > alias webservers > contact_groups sysadmins > members cs0 > } > > The alias I just made up, the contact group sysadmin's exists and > the member cs0 is one of my webservers. In the actual server.cfg > file for that server I have a line; > hostgroups webservers > > I don't know if that needs to be there as I am defining his as a > member in the hostgroups.cfg file. It needs to be in one or the other, not both; either on the members line in the hostgroup definition or the hostgroup specified in the service definition (I think the latter is more maintainable, IMHO). -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From BChan at Shawcor.com Mon Apr 13 23:11:13 2009 From: BChan at Shawcor.com (Brian Chan) Date: Mon, 13 Apr 2009 17:11:13 -0400 Subject: Chan, Brian is out of the office. Message-ID: I will be out of the office starting 04/13/2009 and will not return until 04/14/2009. I will respond to your message when I return. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ti1ion2005 at gmail.com Mon Apr 13 23:56:00 2009 From: ti1ion2005 at gmail.com (David A.) Date: Mon, 13 Apr 2009 17:56:00 -0400 Subject: APC UPS Monitoring Setup. In-Reply-To: References: <4417b8200904121719p27b29e74ub651ba0f134e3e8b@mail.gmail.com> Message-ID: <4417b8200904131456h2cfac3ebw60d6d744b8bfda74@mail.gmail.com> Thank you, James. Turns out I had two problems. I edited my command definition in the commands.cfg file to match yours (I actually had that at one point, but changed it when I could not the plugin to work!) I then used the switch.cfg sample file to set up the host, group and service definitions. And that is when I discovered my second problem. After editing the nagios.cfg file to include a pointer to my ups monitoring config file I ran the verification command (/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg) and got the same darned WARNING (null value on line 48) message I have been getting all weekend! I don't know what made me do it this time, but I decided to check the nagios.cfg file for errors. I had an error in my pointer line -- used a "-" isntead of an "=". $%&@#$*! Sigh. All is well now. Thanks again. And I ran out this morning and picked up Wolfgang Barth's book on Nagios to assist me with the rest of my configurations. On Sun, Apr 12, 2009 at 10:26 PM, wrote: > Remember to CC the nagios users' list... From looking at the script, it > doesn't look like there are any options for setting critical/warning > thresholds for temperature, load, etc. It appears they are all predefined. > > In that case, the command configuration would look something like: > > define command { > command_name check_apcups > command_line $USER1$/check_snmp_apcups -H $HOSTADDRESS$ -C $ARG1$ > } > > The service check configuration would look like: > > define service{ use > generic-service host_name apc-smart-ups > service_description APC_STATUS check_command > check_apcups!public > } > > Obviously, you would replace 'public' above with whatever SNMP community > string you have setup... > > The host group and host defintions you supplied earlier should be fine. > Remember, this script is fairly elementary in that it appears it > predetermines all the critical/warning levels for things like temp, battery > capacity, input/output voltage, etc. So, there's nothing else you need to > do. It will either return an 'OK' value or generate a critical or warning > alert with the simple configuration above. Obviously, you could edit the > script to change any of the thresholds by hardcoding them into the script, > or you could modify it to accept warning/critical threshold limits as > variables. > > > > James Moseley > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jpratt at norwich.edu Tue Apr 14 00:20:40 2009 From: jpratt at norwich.edu (James Pratt) Date: Mon, 13 Apr 2009 18:20:40 -0400 Subject: Fwd: Apache Server configuration for Nagios 3.0 In-Reply-To: References: Message-ID: <8147CCE3C4A8764DA9980125EE70E823B3CF6A@nuexchg.norwich.edu> Hi - sounds like your issue is that the generic make install in nagios src tries to drop a file called nagios.conf into httpd's (usually the default) location, /etc/httpd/conf.d/, which, appears does not exist on your server... If you can find what directory your apache uses for "/etc/httpd/conf.d/" you can manually copy and paste whatever is in nagios.conf (the one trying to be installed from nagios src dir) into your "/etc/httpd/conf/httpd.conf" (You can likely disregard the "apache2.conf" stuff - sounds like they used their own file naming, as the default is normally "httpd.conf") - Apache itself is very flexible, there are many ways to configure it - nagios simply guesses you are using redhat, so it tries to drop it's httpd config into /etc/httpd/conf.d) HTH ... Regards, jamie > -----Original Message----- > From: Jimmyboy [mailto:jimmyjose2980 at gmail.com] > Sent: Monday, April 13, 2009 2:25 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Fwd: Apache Server configuration for Nagios 3.0 > > Hi, > > On reading https://help.ubuntu.com/8.10/serverguide/C/httpd.html, I > understand that /etc/apache2/apache2.conf is the most important file. > Though I have installed Apache in /etc/apache2 location, I do not have > apache2.conf file as mentioned in the site. > > However, when I stop/start the Apache service using the command > '/etc/apache2/bin/apachectl -k stop/start' respectively, and check > http://127.0.0.1 and ps -A | grep httpd, the results > are OK. > > Thanks, > Jim > > =-=-=-=-= > > > ---------- Forwarded message ---------- > From: Jimmyboy > Date: Mon, Apr 13, 2009 at 11:49 PM > Subject: Apache Server configuration for Nagios 3.0 > To: nagios-users at lists.sourceforge.net > > > > Hi All, > > I am following the Quickstart Guide for installing NAGIOS using > http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html. > > One of the prerequisites is Apache2, which I installed, and was successful > in getting "It Works!!" for http://127.0.0.1 . > > However, I am stuck at point 5) Configure the Web Interface, make install- > webconf. > > When this command is issued, this is what I get. > /usr/bin/install -c -m 644 sample-config/httpd.conf > /etc/httpd/conf.d/nagios.conf > /usr/bin/install: cannot create regular file > '/etc/httpd/conf.d/nagios.conf': No such file or directory > make: *** [install-webconf] Error 1 > > Prefix for Apache: /etc/apache2 > > I believe the httpd.conf file and a few others also need to be edited for > Nagios. Can some please guide me through this? > > > Thanks, > Jim > > ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jaiho8 at gmail.com Tue Apr 14 01:10:00 2009 From: jaiho8 at gmail.com (Jai Ram) Date: Mon, 13 Apr 2009 19:10:00 -0400 Subject: Files Missing While upgrading. Message-ID: <9cfff3f00904131610u43b39eaaobcd9f59ca4d62488@mail.gmail.com> Hello, I have upgraded nagios from version 2.8 to 3.0.6 on Solaris-10. When I was going through upgrade it has requested me for *statusmap.cgi*,*histogram.cgi * and *trends.cgi*, was not found so I copied it from version 2.8. ** Is this because the above three files belongs to Version 2.8, If so how would i get those three files for Nagios-3.0.6. I looked in to Nagios-3.0.6 and those three files are missing. So how do I compile them for Nagios-3.0.6** **When I try to access from webinterface below is the situation I am facing. When I click trends on the webinterface Host and Service State Trends Last Updated: Mon Apr 13 18:56:33 EDT 2009 Logged in as *nagiosadmin* - Notifications are disabled - Service checks are disabled When I click Alert Histogram on the webinterface Whoops! *Error: Could not read object configuration data!* Here are some things you should check in order to resolve this error: 1. Verify configuration options using the *-v* command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. and when I click Status Map on webinterface Whoops! *Error: Could not read object configuration data!* Here are some things you should check in order to resolve this error: 1. Verify configuration options using the *-v* command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org Any help in this is highly appreciated. Thanks Jai. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Apr 14 03:56:35 2009 From: marc at ena.com (Marc Powell) Date: Mon, 13 Apr 2009 20:56:35 -0500 Subject: Files Missing While upgrading. In-Reply-To: <9cfff3f00904131610u43b39eaaobcd9f59ca4d62488@mail.gmail.com> References: <9cfff3f00904131610u43b39eaaobcd9f59ca4d62488@mail.gmail.com> Message-ID: On Apr 13, 2009, at 6:10 PM, Jai Ram wrote: > Hello, > > I have upgraded nagios from version 2.8 to 3.0.6 on Solaris-10. When > I was going through upgrade it has requested me for > statusmap.cgi,histogram.cgi and trends.cgi, was not found so I > copied it from version 2.8. > > ** Is this because the above three files belongs to Version 2.8, If > so how would i get those three files for Nagios-3.0.6. I looked in > to Nagios-3.0.6 and those three files are missing. So how do I > compile them for Nagios-3.0.6** It's because the GD libs (devel) are not installed or were not found in standard locations. There's a FAQ entry for it but it looks like the FAQ is broken right now. Examine the output of ./configure or config.log for information and links. if the GD devel libraries are installed, you may need to pass their location to ./configure with -- --with-gd-lib=DIR sets location of the gd library --with-gd-inc=DIR sets location of the gd include files -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Steve.Onotsky at broadridge.com Tue Apr 14 03:49:42 2009 From: Steve.Onotsky at broadridge.com (Onotsky, Steve x55328) Date: Mon, 13 Apr 2009 21:49:42 -0400 Subject: i want post in nagios-users mail list In-Reply-To: <49E3483E.4040405@ncport.ru> References: <49E3483E.4040405@ncport.ru> Message-ID: <30A417B62E7EE448B3864ADC881CEFD60855B9B6@missemsa01.bsg.ad.adp.com> Mission accomplished. -----Original Message----- From: Mihail N Bogdanov [mailto:mbogdanov at ncport.ru] Sent: April 13, 2009 10:12 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] i want post in nagios-users mail list mbogdanov at ncport.ru -- Mihail N. Bogdanov, Programmer of Software Design Dept., mbogdanov at ncport.ru "Newcom Port" JSC This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mohandas.k at tcs.com Tue Apr 14 06:37:45 2009 From: mohandas.k at tcs.com (mohandas.k at tcs.com) Date: Tue, 14 Apr 2009 10:07:45 +0530 Subject: Pppnp4nagios graph customization In-Reply-To: <1853954049.1213381239289409843.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <586023538.1213291239289390729.JavaMail.root@zimbra16-e3.priv.proxad.net> <1853954049.1213381239289409843.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: Hi Mad, I have checked and tried to changed php template file of " Swap Utilization" but am not able to generate colors in graph as per service status (i.e. Green,Yellow,Red as per service status ). Have attached php file and graph as well for your reference. obviously I have changed hostname in PHP file. I am not PHP expert to make changes in pnp template. Could you please suggest what changes need to make for the same ? Mohandas Kudva K ASE Tata Consultancy Services Cell:- +91 9619144048 Mailto: mohandas.k at tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ MAD 04/09/2009 08:33 PM To mohandas k cc nagios-users at lists.sourceforge.net Subject Re: [Nagios-users] Pppnp4nagios graph customization I managed to create some templates graphing in different colors according to the threshold defined with your services This will graph in green if the value is under the warning threshold, in yellow if it is between warning and critical threshold and red if it is beyond critical threshold or unknown... I don't know how to do this if the performance and the state are independent (for example if perf are the execution time of the check script...) Marc-Andr? ----- Mail Original ----- De: "mohandas k" ?: nagios-users at lists.sourceforge.net Envoy?: Jeudi 9 Avril 2009 15h30:05 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] Pppnp4nagios graph customization Hi All, We have installed nagios (3.0.5) on Solaris sparc box and configured rrdtool (1.2.19) along with pnp4nagios- npcd (0.4.13) for dashboard/graph. By default we are getting following graph for locolhost free swap. I want to configure following requirements : (1) can we add more variable (i.e say "Total Swap" ) in graph ? (2) Can we create different-different color in graph for different-different status critical-> RED,OK->Green,Warnijng->Yellow ? (3) last question how can we change graph updation time interval (here it's showing as 20 Minutes) however in our service definition,it's 10 Minutes Following is default graph for your better understanding : =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 ForwardSourceID:NT00000F5E =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 11215 bytes Desc: not available URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_swap.php.txt URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kaushalshriyan at gmail.com Tue Apr 14 08:33:22 2009 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Tue, 14 Apr 2009 12:03:22 +0530 Subject: No notifications while restarting any services on remote host Message-ID: <6b16fb4c0904132333s19827858h7b6e865d13dd451f@mail.gmail.com> Hi, When i restart any services on the remote client For example tomcat application server running on port 8080. I dont get any notifications or alerts. Just want to understand the technique is it because of the normal_check_interval 5 configured in services.cfg and interval_length=60 defined in nagios.cfg. Please explain. Thanks and Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From roy at karlsbakk.net Tue Apr 14 09:35:18 2009 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Tue, 14 Apr 2009 09:35:18 +0200 Subject: No notifications while restarting any services on remote host In-Reply-To: <6b16fb4c0904132333s19827858h7b6e865d13dd451f@mail.gmail.com> References: <6b16fb4c0904132333s19827858h7b6e865d13dd451f@mail.gmail.com> Message-ID: <52323B85-8C5C-4762-AA70-6C1F3B00ED78@karlsbakk.net> On 14. april. 2009, at 08.33, Kaushal Shriyan wrote: > Hi, > > When i restart any services on the remote client For example tomcat > application server running on port 8080. I dont get any > notifications or alerts. Just want to understand the technique is it > because of the normal_check_interval 5 configured in services.cfg > and interval_length=60 defined in nagios.cfg. When you restart something like a tomcat server, it takes to short a time for Nagios to notice. If you want a notice when something is restarted, write a script that checks the root PID of the process and make this generate an email. I don't Nagios is very well suited for this operation, but a small script written in can do it without much problems. Example: --- $ cat pidcheck.sh #!/bin/sh PIDDIR=/var/pidcheck PIDFILE=$PIDDIR/$1 [ -d $PIDDIR ] || mkdir -p $PIDDIR thispid=`pidof apache2 | cut -d" " -f1` if [ ! -f $PIDFILE ] then echo -n $thispid > $PIDFILE exit 0 fi # implicit 'else' oldpid=`cat $PIDFILE` if [ $thispid -ne $oldpid ] then echo New pid for $1: $thispid echo -n $thispid > $PIDFILE exit 1 else exit 0 fi # ---- $ ./pidcheck.sh apache2 $ ./pidcheck.sh apache2 $ sudo /etc/init.d/apache2 restart * Restarting web server apache2 ...done. $ ./pidcheck.sh apache2 New pid for apache2: 3125 $ echo $? 1 $ ./pidcheck.sh apache2 $ echo $? 0 -- Roy Sigurd Karlsbakk (+47) 97542685 / 98013356 roy at karlsbakk.net -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er en element?rt imperativ for alle pedagoger ? unng? eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer p? norsk. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sri.lumpa at free.fr Tue Apr 14 09:39:50 2009 From: sri.lumpa at free.fr (MAD) Date: Tue, 14 Apr 2009 09:39:50 +0200 (CEST) Subject: Pppnp4nagios graph customization In-Reply-To: <1789857409.1799401239694739561.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <1789857409.1799401239694739561.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <453851747.1799471239694790454.JavaMail.root@zimbra16-e3.priv.proxad.net> Hi Mohandas Here is a template for swap utilization performances with colours changing following the service state. I hope this will be what you've been looking for. I didn't tested it by I'm quite confident ;). All you have to do is to copy the file in the 'templates' directory (not in the 'templates.dist' one) and this should work. In fact, that's not really about PHP coding, but more about RPN (Reverse Polish Notation) and RRD. See http://oss.oetiker.ch/rrdtool/doc/index.en.html (and more precisely the rrdgraphs sections) fore more information. Marc-Andr? ----- Mail Original ----- De: "mohandas k" ?: "MAD" Cc: nagios-users at lists.sourceforge.net Envoy?: Mardi 14 Avril 2009 06h37:45 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [Nagios-users] Pppnp4nagios graph customization Hi Mad, I have checked and tried to changed php template file of " Swap Utilization" but am not able to generate colors in graph as per service status (i.e. Green,Yellow,Red as per service status ). Have attached php file and graph as well for your reference. obviously I have changed hostname in PHP file. I am not PHP expert to make changes in pnp template. Could you please suggest what changes need to make for the same ? Mohandas Kudva K ASE Tata Consultancy Services Cell:- +91 9619144048 Mailto: mohandas.k at tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ MAD 04/09/2009 08:33 PM To mohandas k cc nagios-users at lists.sourceforge.net Subject Re: [Nagios-users] Pppnp4nagios graph customization I managed to create some templates graphing in different colors according to the threshold defined with your services This will graph in green if the value is under the warning threshold, in yellow if it is between warning and critical threshold and red if it is beyond critical threshold or unknown... I don't know how to do this if the performance and the state are independent (for example if perf are the execution time of the check script...) Marc-Andr? ----- Mail Original ----- De: "mohandas k" ?: nagios-users at lists.sourceforge.net Envoy?: Jeudi 9 Avril 2009 15h30:05 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] Pppnp4nagios graph customization Hi All, We have installed nagios (3.0.5) on Solaris sparc box and configured rrdtool (1.2.19) along with pnp4nagios- npcd (0.4.13) for dashboard/graph. By default we are getting following graph for locolhost free swap. I want to configure following requirements : (1) can we add more variable (i.e say "Total Swap" ) in graph ? (2) Can we create different-different color in graph for different-different status critical-> RED,OK->Green,Warnijng->Yellow ? (3) last question how can we change graph updation time interval (here it's showing as 20 Minutes) however in our service definition,it's 10 Minutes Following is default graph for your better understanding : =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 ForwardSourceID:NT00000F5E =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- A non-text attachment was scrubbed... Name: check_swap.php Type: application/octet-stream Size: 2091 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From roy at karlsbakk.net Tue Apr 14 09:40:33 2009 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Tue, 14 Apr 2009 09:40:33 +0200 Subject: No notifications while restarting any services on remote host In-Reply-To: <52323B85-8C5C-4762-AA70-6C1F3B00ED78@karlsbakk.net> References: <6b16fb4c0904132333s19827858h7b6e865d13dd451f@mail.gmail.com> <52323B85-8C5C-4762-AA70-6C1F3B00ED78@karlsbakk.net> Message-ID: <4D6D6D5F-9E39-4E95-BB1F-E94C25E581C6@karlsbakk.net> > > When you restart something like a tomcat server, it takes to short a > time for Nagios to notice. If you want a notice when something is > restarted, write a script that checks the root PID of the process > and make this generate an email. I don't Nagios is very well suited > for this operation, but a small script written in language> can do it without much problems. Example: There were a few errors in that - see this for fewer bugs: Fixed up version here http://karlsbakk.net/nagios/pidcheck.sh.txt -- Roy Sigurd Karlsbakk (+47) 97542685 / 98013356 roy at karlsbakk.net -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er en element?rt imperativ for alle pedagoger ? unng? eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer p? norsk. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From giorgio at zarrelli.org Tue Apr 14 09:46:39 2009 From: giorgio at zarrelli.org (Giorgio Zarrelli) Date: Tue, 14 Apr 2009 09:46:39 +0200 Subject: initial setups, hostgroup help requested In-Reply-To: <49E3A54C.1010407@weatherflow.com> References: <49E3A54C.1010407@weatherflow.com> Message-ID: <20090414.8FW.30513000@www.zarrelli.org> nagios -h -v, --verify-config Verify all configuration data Use: nagios -v /path/to/your/nagios.cfg > I don't know if that needs to be there as I am defining his as a member > in the hostgroups.cfg file. No, you do not need to mention it twice. The first snippet is enough. > Now if I comment out the hostgroup line in the main conf, things start, > but I would like to use hostgroups for the obvious reasons.? I am sure > these and the new ones will be pretty basic as the needs are simple, > and if I can debug where it stopping would be even easier, but again, > this will be a1 or 2 sentence reply I bet! Try nagios -v and paste here the output. -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jim at jimavery.me.uk Tue Apr 14 09:48:19 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 14 Apr 2009 08:48:19 +0100 Subject: No notifications while restarting any services on remote host In-Reply-To: <6b16fb4c0904132333s19827858h7b6e865d13dd451f@mail.gmail.com> References: <6b16fb4c0904132333s19827858h7b6e865d13dd451f@mail.gmail.com> Message-ID: <765d77c80904140048x2e93d325na75b6703eb76177a@mail.gmail.com> 2009/4/14 Kaushal Shriyan : > Hi, > > When i restart any services on the remote client For example tomcat > application server running on port 8080. I dont get any notifications or > alerts. Just want to understand the technique is it because of the > normal_check_interval? 5 configured in services.cfg and interval_length=60 > defined in nagios.cfg. > > Please explain. > > Thanks and Regards > > Kaushal With those settings, Nagios will check the service every five minutes. If you restart the service in between those checks, Nagios will not notice. Even if Nagios does notice, it won't send you a notification until the specified number of retries specified by max_check_attempts. Make sure notifications are enabled, and that you have the correct notification_options set. A common error is accidentally to set the "n" option in notification_options which disables all notifications for that service. Another parameter which can have an effect on whether notifications are sent (new in 3.0 Nagios) is first_notification_delay. I assume you are using the check_http plugin, as you haven't said. If you want to be notified even for very short duration outages, you're probably best off checking the event log and/or one or more of the tomcat logs too. hth, Jim ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bpel4ws at gmail.com Tue Apr 14 10:09:27 2009 From: bpel4ws at gmail.com (ankaboot) Date: Tue, 14 Apr 2009 12:09:27 +0400 Subject: e-mail notification customization guidence Message-ID: Hello, I receive more than 10 e-mails daily from nagios about the backup status. I want to change those 10 e-mails to only one, updating me the status of backup (either failed or successful etc). Shall i change some macro or command or what? i can not understand what to do. Pleaes guide. Thanks and regards, -Ankaboot -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pitchfork at ederdrom.de Tue Apr 14 10:44:26 2009 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 14 Apr 2009 10:44:26 +0200 Subject: Pppnp4nagios graph customization In-Reply-To: <453851747.1799471239694790454.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <453851747.1799471239694790454.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <49E44CEA.7040809@ederdrom.de> MAD schrieb: > Hi Mohandas > > Here is a template for swap utilization performances with colours changing following the service state. I hope this will be what you've been looking for. I didn't tested it by I'm quite confident ;). All you have to do is to copy the file in the 'templates' directory (not in the 'templates.dist' one) and this should work. @MAD: Good Job! i would like to include this Template in PNP-0.4.14 How do you feel about this? Cheers Joerg ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sri.lumpa at free.fr Tue Apr 14 11:19:36 2009 From: sri.lumpa at free.fr (MAD) Date: Tue, 14 Apr 2009 11:19:36 +0200 (CEST) Subject: Pppnp4nagios graph customization In-Reply-To: <749089641.1825261239700752860.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <749089641.1825261239700752860.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <96820720.1825421239700776698.JavaMail.root@zimbra16-e3.priv.proxad.net> Thank you. Feel free to use it, distribute it and modify it as you want. After all, it is the grounds of Open Source, isn't it ? ;) Marc-Andr? ----- Mail Original ----- De: "Joerg Linge" Cc: nagios-users at lists.sourceforge.net Envoy?: Mardi 14 Avril 2009 10h44:26 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [Nagios-users] Pppnp4nagios graph customization MAD schrieb: > Hi Mohandas > > Here is a template for swap utilization performances with colours changing following the service state. I hope this will be what you've been looking for. I didn't tested it by I'm quite confident ;). All you have to do is to copy the file in the 'templates' directory (not in the 'templates.dist' one) and this should work. @MAD: Good Job! i would like to include this Template in PNP-0.4.14 How do you feel about this? Cheers Joerg ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From arabbaj at gmail.com Tue Apr 14 12:19:54 2009 From: arabbaj at gmail.com (Idriss ARABBAJ) Date: Tue, 14 Apr 2009 10:19:54 +0000 Subject: Problem with MySql log Message-ID: <1ebd356a0904140319o29639f8dqae68d7fc45b7f9a9@mail.gmail.com> hi all, I have a problem with my mysql bin log, the log is growing in a very fast and because of the changes effected by nagios for recording performance data, so I need your advice about this subject, how can I solve this problem -- Cordialement, Idriss ARABBAJ ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From daniel-listas at gmx.net Tue Apr 14 12:29:01 2009 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Tue, 14 Apr 2009 07:29:01 -0300 Subject: Doubt about email notifications Message-ID: <20090414102901.GG28777@defiant.freesoftware.org> Hi all! Is there any variable where I can configure each how long are sent the email notifications for the services? At first I see that these are sent hourly. On the other hand, I would like also to know if it is possible to define the maximum number of notifications that are sent. I read exist variables that allow to configure both things using escalations, although I do not have defined escalations. I am using Nagios 3.0.1 in Debian GNU/Linux Thanks in advance. Regards, Daniel -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Squeeze - Linux user #188.598 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sascha.Runschke at gfkl.com Tue Apr 14 12:33:24 2009 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Tue, 14 Apr 2009 12:33:24 +0200 Subject: Antwort: Problem with MySql log In-Reply-To: <1ebd356a0904140319o29639f8dqae68d7fc45b7f9a9@mail.gmail.com> References: <1ebd356a0904140319o29639f8dqae68d7fc45b7f9a9@mail.gmail.com> Message-ID: Idriss ARABBAJ schrieb am 14.04.2009 12:19:54: > I have a problem with my mysql bin log, the log is growing in a very > fast and because of the changes effected by nagios for recording > performance data, so I need your advice about this subject, how can I > solve this problem Uhm, disable mysql binlogging? S -- Sascha Runschke IT-Infrastruktur GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Edgar.Matzinger at valid.nl Tue Apr 14 12:37:57 2009 From: Edgar.Matzinger at valid.nl (Edgar Matzinger) Date: Tue, 14 Apr 2009 12:37:57 +0200 Subject: upgrading nagios In-Reply-To: <8147CCE3C4A8764DA9980125EE70E823B3CA0E@nuexchg.norwich.edu> References: <699b436a0904101216h13e8e6f8u83a4106ab8268b0e@mail.gmail.com> <8147CCE3C4A8764DA9980125EE70E823B3CA0E@nuexchg.norwich.edu> Message-ID: LS, > > In other words, it would put the whole nagios install under > /usr/local/nagios, the "default" location if you do not specify an > alternate prefix. > Great! I've always had nagios in /usr/local. And is also documented in our installation documents. So, I (or we) prefer to have nagios in /usr/local. > Personally, if I were you, I would _not_ rebuild it in a non-standard > way like you mention above unless you have very good reason to do so - > Yes, there may be more work involved, but the end result will be worth > it. > Which non-standard way? Oh, with regard to other tools... Or the docs on nagios.org... And because there's more work involved (where is this or that file located?), we keep nagios in a central place. > (The guy who takes over your job down the road will also be grateful, > and you won't have to hunt over the whole system to find the stuff you > need!) That guy needs to read our docs first... :-))). And when I store everything in /usr/local/nagios, I don't have to hunt anything... ;-)) Just my $0,10, cu l8r, Edgar. PS And /opt would be a suitable location also. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Paradijslaan 36 \ /| /\| : : 5611 KN Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From arabbaj at gmail.com Tue Apr 14 12:56:22 2009 From: arabbaj at gmail.com (Idriss ARABBAJ) Date: Tue, 14 Apr 2009 10:56:22 +0000 Subject: Antwort: Problem with MySql log In-Reply-To: References: <1ebd356a0904140319o29639f8dqae68d7fc45b7f9a9@mail.gmail.com> Message-ID: <1ebd356a0904140356t5e383f4cmb43180414aa8b81f@mail.gmail.com> you think that this solution helpful? and I would not need this log? 2009/4/14 : > Idriss ARABBAJ schrieb am 14.04.2009 12:19:54: > >> I have a problem with my mysql bin log, the log is growing in a very >> fast and ?because of the changes effected by nagios for recording >> performance data, so I need your advice about this subject, how can I >> solve this problem > > Uhm, disable mysql binlogging? > > S > > -- > Sascha Runschke > IT-Infrastruktur > > > > GFKL Financial Services AG > Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Tom Haverkamp > Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma > Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Cordialement, Idriss ARABBAJ ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Deborah.Martin at Kognitio.com Tue Apr 14 13:07:23 2009 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Tue, 14 Apr 2009 12:07:23 +0100 Subject: Business objects plugin Message-ID: <84836290D5AD43418C40DCF0C4A54ED38E3BF4@kogex02.pmpl.co.uk> Folks, Does anyone know if a plugin exists for Business Objects. We have a requirement to replicate end users and their use of Business Objects so that we can determine if they are receiving a service within their agreed SLA. Basically, we want Nagios to connect to the BO environment and actually run a BO report in the same way as the end user. I've googled but so far not seen anything that can help. If anyone has any ideas, pointers etc, it would be really appreciated. thanks, deborah *************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA *************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From misch at multinet.de Tue Apr 14 13:34:47 2009 From: misch at multinet.de (Michael Schwartzkopff) Date: Tue, 14 Apr 2009 13:34:47 +0200 Subject: Monitoring steeleye lifekeeper Message-ID: <200904141334.48033.misch@multinet.de> Hi, anybody monitoring a steeleye lifekeeper cluster with nagios? Is there any good nagios plugin for this task? Thanks for any help. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Sudhakar_B at i2.com Tue Apr 14 13:22:22 2009 From: Sudhakar_B at i2.com (Sudhakar_B at i2.com) Date: Tue, 14 Apr 2009 16:52:22 +0530 Subject: Is Clientless monitoring possible Message-ID: Hi, I have installed nagios on one of the system running redhat. Our network has around 25-30 server incluing windows and other network devices such as switches etc. Please let me know if we can monitor the server (Including windows) without installing any client on the remote host. Regards, Sudhakar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From asam30 at gmail.com Tue Apr 14 13:58:51 2009 From: asam30 at gmail.com (asam30 at gmail.com) Date: Tue, 14 Apr 2009 17:28:51 +0530 Subject: Is Clientless monitoring possible In-Reply-To: References: Message-ID: <25251aec0904140458l1a4e6a7am6076d62e0467e12c@mail.gmail.com> I think it is not possible with nagios. you need to install nagios-plugins or nrpe on the remote clients end. -Shankar On Tue, Apr 14, 2009 at 4:52 PM, wrote: > > Hi, > > I have installed nagios on one of the system running redhat. Our network > has around 25-30 server incluing windows and other network devices such as > switches etc. > > Please let me know if we can monitor the server (Including windows) without > installing any client on the remote host. > > Regards, > Sudhakar > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From subscription at kkeane.com Tue Apr 14 13:58:13 2009 From: subscription at kkeane.com (Kevin Keane) Date: Tue, 14 Apr 2009 04:58:13 -0700 Subject: Is Clientless monitoring possible In-Reply-To: References: Message-ID: <49E47A55.4060307@kkeane.com> Depends what you want to monitor about them. If you simply want to find out if they are up and running, check_ping should work very well. You can also use SNMP, WMI and other mechanisms that allow a degree of agentless monitoring. Sudhakar_B at i2.com wrote: > > Hi, > > I have installed nagios on one of the system running redhat. Our > network has around 25-30 server incluing windows and other network > devices such as switches etc. > > Please let me know if we can monitor the server (Including windows) > without installing any client on the remote host. > > Regards, > Sudhakar -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Apr 14 14:03:52 2009 From: marc at ena.com (Marc Powell) Date: Tue, 14 Apr 2009 07:03:52 -0500 Subject: e-mail notification customization guidence In-Reply-To: References: Message-ID: <0B34708C-0BA1-4850-B125-DF930B81BFDB@ena.com> On Apr 14, 2009, at 3:09 AM, ankaboot wrote: > > > Hello, > > I receive more than 10 e-mails daily from nagios about the backup > status. > I want to change those 10 e-mails to only one, updating me the > status of backup (either failed or successful etc). > Shall i change some macro or command or what? > i can not understand what to do. Without the service and contact definition and information about how you're checking your backup status, it's difficult to say what you need to change. An arbitrary guess is that you may need to change the normal_check_interval to be 1440 (i.e. once a day). There are other things you may need to change but config information will keep us from just guessing. -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From treibholz at sozial-inkompetent.de Tue Apr 14 14:07:55 2009 From: treibholz at sozial-inkompetent.de (Klaus Umbach) Date: Tue, 14 Apr 2009 14:07:55 +0200 Subject: Doubt about email notifications In-Reply-To: <20090414102901.GG28777@defiant.freesoftware.org> References: <20090414102901.GG28777@defiant.freesoftware.org> Message-ID: <20090414120755.GC12246@umbach-racing.de> On 14/04/09 07:29, Daniel Bareiro wrote: > Hi all! > > Is there any variable where I can configure each how long are sent the > email notifications for the services? At first I see that these are sent > hourly. look for notification_interval in the documentation (I've set it to zero, so there is only one mail) > > On the other hand, I would like also to know if it is possible to define > the maximum number of notifications that are sent. > > I read exist variables that allow to configure both things using > escalations, although I do not have defined escalations. This can be defined with the "Notification Escalations" (see. the documentation about more) - Klaus -- BOFH excuse #179: multicasts on broken packets ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Apr 14 14:11:28 2009 From: marc at ena.com (Marc Powell) Date: Tue, 14 Apr 2009 07:11:28 -0500 Subject: Doubt about email notifications In-Reply-To: <20090414102901.GG28777@defiant.freesoftware.org> References: <20090414102901.GG28777@defiant.freesoftware.org> Message-ID: On Apr 14, 2009, at 5:29 AM, Daniel Bareiro wrote: > Hi all! > > Is there any variable where I can configure each how long are sent the > email notifications for the services? At first I see that these are > sent > hourly. notification_interval -- http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service > On the other hand, I would like also to know if it is possible to > define > the maximum number of notifications that are sent. > > I read exist variables that allow to configure both things using > escalations, although I do not have defined escalations. yes, I believe an escalation would do for this. I haven't done this but I expect you could set your first notification to the number of the last notification you want to receive (i.e. 3 for the third notification) and your last notification to some high number (99). Create a contact with a notification period of 'none' and set it as the contact for the escalation. -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Apr 14 14:20:58 2009 From: marc at ena.com (Marc Powell) Date: Tue, 14 Apr 2009 07:20:58 -0500 Subject: Is Clientless monitoring possible In-Reply-To: References: Message-ID: On Apr 14, 2009, at 6:22 AM, Sudhakar_B at i2.com wrote: > > Hi, > > I have installed nagios on one of the system running redhat. Our > network has around 25-30 server incluing windows and other network > devices such as switches etc. > > Please let me know if we can monitor the server (Including windows) > without installing any client on the remote host. Only for things that are visible from the network (i.e. web services, dns services, pinging the host, etc). If you're wanting to know things like disk usage, cpu utilization and things like that, some kind of agent is needed whether that be nsclient++, SNMP, WMI, etc... http://www.nagiosexchange.org is a good resource for WMI and SNMP plugins. -- Marc ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jim at jimavery.me.uk Tue Apr 14 14:26:40 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 14 Apr 2009 13:26:40 +0100 Subject: Business objects plugin In-Reply-To: <84836290D5AD43418C40DCF0C4A54ED38E3BF4@kogex02.pmpl.co.uk> References: <84836290D5AD43418C40DCF0C4A54ED38E3BF4@kogex02.pmpl.co.uk> Message-ID: <765d77c80904140526pcd99042u10e49f7c9a08233f@mail.gmail.com> 2009/4/14 Deborah Martin : > Folks, > > Does anyone know if a plugin exists for Business Objects. > > We have a requirement to replicate end users and their use of Business > Objects so that we can determine if they are receiving a service > > within their agreed SLA. > > Basically, we want Nagios to connect to the BO environment and actually run > a BO report in the same way as the end user. > > I've googled but so far not seen anything that can help. > > If anyone has any ideas, pointers etc, it would be really appreciated. > > thanks, > deborah Searching for Business Objects at http://nagiosexchange.org shows there is a plugin check_bo.pl available there. I wouldn't have a clue whether it would help in your particular case though. If the application has a web interface, I expect you could try WebInject http://www.webinject.org/ to script the end user monitoring and return results back to Nagios. I keep meaning to try WebInject myself sometime, but haven't gotten around to it yet. hth, Jim ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Apr 14 14:36:15 2009 From: ae at op5.se (Andreas Ericsson) Date: Tue, 14 Apr 2009 14:36:15 +0200 Subject: Is Clientless monitoring possible In-Reply-To: References: Message-ID: <49E4833F.20100@op5.se> Sudhakar_B at i2.com wrote: > Hi, > > I have installed nagios on one of the system running redhat. Our network > has around 25-30 server incluing windows and other network devices such as > switches etc. > > Please let me know if we can monitor the server (Including windows) > without installing any client on the remote host. > That depends on your definition of client. Without any sort of program answering questions at all you won't be able to monitor anything but network services. NRPE, SNMP, NSClient, NSClient++, NC.NET, ssh or some other means of accessing the server is necessary to get disk-usage and other data that servers do not publicly advertise. It's up to you to pick your poison. -- Andreas Ericsson andreas.ericsson at 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. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sri.lumpa at free.fr Tue Apr 14 14:38:10 2009 From: sri.lumpa at free.fr (MAD) Date: Tue, 14 Apr 2009 14:38:10 +0200 (CEST) Subject: Pppnp4nagios graph customization In-Reply-To: <1944670873.1868971239712645960.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <1944670873.1868971239712645960.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <1938185696.1869121239712690315.JavaMail.root@zimbra16-e3.priv.proxad.net> I knew I should have tested it... I assumed check_swap was giving the swap utilization but it gives the free space left. So I had to make some changes to reverse the situation and print the space the swap actually uses. Marc-Andr? ----- Mail Original ----- De: "MAD" ?: "Joerg Linge" Cc: nagios-users at lists.sourceforge.net Envoy?: Mardi 14 Avril 2009 11h19:36 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [Nagios-users] Pppnp4nagios graph customization Thank you. Feel free to use it, distribute it and modify it as you want. After all, it is the grounds of Open Source, isn't it ? ;) Marc-Andr? ----- Mail Original ----- De: "Joerg Linge" Cc: nagios-users at lists.sourceforge.net Envoy?: Mardi 14 Avril 2009 10h44:26 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [Nagios-users] Pppnp4nagios graph customization MAD schrieb: > Hi Mohandas > > Here is a template for swap utilization performances with colours changing following the service state. I hope this will be what you've been looking for. I didn't tested it by I'm quite confident ;). All you have to do is to copy the file in the 'templates' directory (not in the 'templates.dist' one) and this should work. @MAD: Good Job! i would like to include this Template in PNP-0.4.14 How do you feel about this? Cheers Joerg ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: check_swap_v2.php Type: application/octet-stream Size: 2068 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marcismael at gmail.com Tue Apr 14 14:42:00 2009 From: marcismael at gmail.com (Marc Ismael) Date: Tue, 14 Apr 2009 20:42:00 +0800 Subject: Is Clientless monitoring possible In-Reply-To: References: Message-ID: <48603ddb0904140542v2147dcb8s24cd57c104e02836@mail.gmail.com> On Tue, Apr 14, 2009 at 7:22 PM, wrote: > > Hi, > > I have installed nagios on one of the system running redhat. Our network > has around 25-30 server incluing windows and other network devices such as > switches etc. > > Please let me know if we can monitor the server (Including windows) without > installing any client on the remote host. > > Regards, > Sudhakar > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > You can also take a look at nsca. It does require you to install and run a daemon on the nagios server, but atleast you don't need to worry about running daemons on the clients. You'll need to schedule the checks on the clients via cron or something else. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From antoine.musso at laposte.fr Tue Apr 14 14:03:28 2009 From: antoine.musso at laposte.fr (Antoine Musso) Date: Tue, 14 Apr 2009 14:03:28 +0200 Subject: Is Clientless monitoring possible In-Reply-To: References: Message-ID: <49E47B90.9060602@laposte.fr> Sudhakar_B at i2.com a ?crit : > > Hi, > > I have installed nagios on one of the system running redhat. Our network > has around 25-30 server incluing windows and other network devices such > as switches etc. > > Please let me know if we can monitor the server (Including windows) > without installing any client on the remote host. hello, Your routers and switches most probably support SNMP which you can use to monitor your devices. It is just a matter of configuration. For MS Windows, you will need the SNMP Service : http://support.microsoft.com/kb/324263 http://www.loriotpro.com/ServiceAndSupport/How_to/InstallWXPAgent_EN.php cheers, -- Antoine MUSSO DISIT/PROD/QFO/OUT mailto:antoine.musso at laposte.fr t?l. 02 40 12 73 62 -------------- next part -------------- Post-scriptum La Poste Ce message est confidentiel. Sous r?serve de tout accord conclu par ?crit entre vous et La Poste, son contenu ne repr?sente en aucun cas un engagement de la part de La Poste. Toute publication, utilisation ou diffusion, m?me partielle, doit ?tre autoris?e pr?alablement. Si vous n'?tes pas destinataire de ce message, merci d'en avertir imm?diatement l'exp?diteur. -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From msantana.asyst at suzano.com.br Tue Apr 14 14:49:23 2009 From: msantana.asyst at suzano.com.br (Marcos Antonio Santana Junior) Date: Tue, 14 Apr 2009 09:49:23 -0300 Subject: Help Message-ID: <0FDA5E70C2A0654EB7B5B5D38DFBF699127B3DCACB@kraft3.suzano.com.br> The nagios processID can monitor the application ? When a processid > 99999 nagios shows the alarm? Marcos Antonio Sant' Ana Junior Esta mensagem pode conter informa??o confidencial. Se voc? n?o for o destinat?rio ou a pessoa autorizada a receber esta mensagem, n?o poder? usar, copiar ou divulgar as informa??es nela contidas ou tomar qualquer a??o baseada nessas informa??es. Se voc? recebeu esta mensagem por engano, favor avisar imediatamente o remetente, respondendo o e-mail e, em seguida, apague-o. Agradecemos sua coopera??o. This message may contain confidential information. If you are not the addressee or authorized person to receive it for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by replying this e-mail message and delete it. Thanks in advance for your cooperation. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lflacayo at cps.k12.il.us Tue Apr 14 14:59:06 2009 From: lflacayo at cps.k12.il.us (Luis Fernando Lacayo) Date: Tue, 14 Apr 2009 07:59:06 -0500 Subject: Nagios - rpoerting. In-Reply-To: <1938185696.1869121239712690315.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <1938185696.1869121239712690315.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <1239713946.25058.10.camel@UNIX-TEAM-LACAYO> HI All, hope all is well with everyone. Quick Question.... I been tasked with producing uptime reports for our management team. I have been able to produce the reports they want from NAGIOS, but I need a way to automate them, I am thinking CRON (but open to suggestions). Can anyone point me in the right direction? Thanks Live well, and Prosper. Luis -- ______________________________________________________ Luis Fernando Lacayo Chicago Public Schools Senior Unix Administrator ITS/ UNIX Infrastructure Office: 773-553-3835 Cell: 773-203-4493 lflacayo at cps.k12.il.us ______________________________________________________ "In God we trust, the rest we monitor ..." -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From srianirudh at gmail.com Tue Apr 14 16:22:30 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Tue, 14 Apr 2009 10:22:30 -0400 Subject: downtime scheduling Message-ID: <699b436a0904140722l2405e880g49f978d409d76d89@mail.gmail.com> When we schedule a downtime for a host does it mean it automatically schedules a downtime for its services also? I remember when we were patching our servers , we scheduled downtime for the entire hostgroup by selecting "schedule downtime for all host in this hostgroup". Inspite of it we still got alerts for few services under certail hosts. Should we select "schedule downtime for all the services in this hostgroup" ? Can some one explain me what this is all about and how does it work? Thank you very much -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cristoir at gmail.com Tue Apr 14 16:25:01 2009 From: cristoir at gmail.com (Christopher McAtackney) Date: Tue, 14 Apr 2009 15:25:01 +0100 Subject: Centreon In-Reply-To: <49E351E3.B47D.0048.0@stgeorge.com.au> References: <49DF5D04020000480008D21D@stgeorge.com.au> <4881ECF1AB752843908A20CEE07A8EB1127F0A@buf-ex01.cymfony.com> <49E351E3.B47D.0048.0@stgeorge.com.au> Message-ID: Thanks to all for the replies, I appreciate the offers of help. I was thinking of trying to port Centreon to run against Oracle instead of MySQL. I took a quick skim over the source and it looks like a lot of the database calls are going through PEAR and are fairly generic, so I'm hoping that it won't be overly complicated. The installation scripts look simple enough to port too. Does anyone have any pointers on this idea? I've noticed in some places that NDOUtils is mentioned in connection with Centreon, but I can't determine if it's actually required or not. Anyway, hopefully someone out there has tried something like this before! Cheers, Chris ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jim at jimavery.me.uk Tue Apr 14 18:11:44 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 14 Apr 2009 17:11:44 +0100 Subject: downtime scheduling In-Reply-To: <699b436a0904140722l2405e880g49f978d409d76d89@mail.gmail.com> References: <699b436a0904140722l2405e880g49f978d409d76d89@mail.gmail.com> Message-ID: <765d77c80904140911jd17b5f9we31fc0474215ac21@mail.gmail.com> 2009/4/14 Anirudh Srinivasan : > When we schedule a downtime for a host does it mean it automatically > schedules a downtime for its services also? > I remember when we were patching our servers , we scheduled downtime for the > entire hostgroup by selecting "schedule downtime for all host in this > hostgroup". Inspite of it we still got alerts for few services under certail > hosts. Should we select "schedule downtime for all the services in this > hostgroup" ? > > Can some one explain me what this is all about and how does it work? > Thank you very much > -- > Anirudh Srinivasan If you schedule downtime for the host, then this should stop notifications both for the host and the services. If you have this problem again, please check the Nagios logs and post some more detail about it. I've noticed on earlier versions of Nagios you could sometimes get notifications through for hosts which were in downtime for a brief period following restart of the Nagios daemon. Cheers, Jim ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mmccoy at cedarville.edu Tue Apr 14 18:58:37 2009 From: mmccoy at cedarville.edu (Michael McCoy) Date: Tue, 14 Apr 2009 12:58:37 -0400 Subject: NRPE_NT Checks on Mapped Network Drive In-Reply-To: <8147CCE3C4A8764DA9980125EE70E823B3C504@nuexchg.norwich.edu> References: <49DDE843020000150023183B@poplar.cedarville.edu> <8147CCE3C4A8764DA9980125EE70E823B3C504@nuexchg.norwich.edu> Message-ID: <49E4887D02000015002319D6@poplar.cedarville.edu> The space after the g: is correct, the check then concatenates the drive and the folder together. I'm pretty sure the drives the mapped as persistent (I didn't originally set them up so not 100%). I tried UNC pathing and again it works fine on the windows box itself but same result as using normal absolute path. I have noticed in the NRPE documentation (for UNIX) that it has you add a nagios user to the remote host. Being that there's not a whole lot of official documentation for nrpe_nt itself is there something to this affect that I have to do on the Windows machine? Run the check as a specific user? I've tried running the nrpe_nt service as every user on th