Re: [Nagios-users] pnp4nagios?
that should be an RRD issue, not pnp4nagios at all. if you would like to include the historical data, you need a process to "restore" them into the RRD files. after that pnp4nagios can show all honestly and add new data for you from now on. On Fri, Apr 15, 2011 at 6:10 AM, Jeremiah D. Jester wrote: > I should have been more specific. > > > > I just want to include all historical data from nagios into pnp. It’s only > showing data from the install date forward. > > > > Thanks,JJ > > > > Jeremiah Jester > Informatics Specialist > > Microbiology – Katze Lab > > 206-732-6185 > > > > From: Phil K. [mailto:phillip.kenn...@yankeeairmuseum.org] > Sent: Thursday, April 14, 2011 12:17 PM > To: Nagios Users List > Subject: Re: [Nagios-users] pnp4nagios? > > > > What 'issues' are you seeing? I've noticed ubuntu and apt can mark some > dependancies as unused and safe for removal depending on how you installed > nagios in the first place. That led to a bit of hair pulling on my end > ~Phil > -- > Sent from my Android phone with K-9. > > "Jeremiah D. Jester" wrote: > > Anyone here using pnp4nagios for graphing? I’m having some configuration > issues and wanted to see if there was someone who could assist? > > Thanks, > > JJ > > > > Jeremiah Jester > Informatics Specialist > > Microbiology – Katze Lab > > 206-732-6185 > > > > -- > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] independant plugin
Hi, Thanks Kevin and Michael. I'll check out TNTMonitoring but the lua scripting idea is very interesting to me... Thanks for all the ideas and I'll work on those. 2011/4/14 Michael Medin > Hello, > > Writing a script in lua which does this would be fairly simple for > NSClient++. > > // Michael Medin > > > 2011-04-13 15:06 Michel Cote skrev: > > Hi list, > > First time poster here but I've read a lot of emails so many thanks for > that. > > I don't know how to search for what I'm looking so I'm going to simply ask > and hope someone has seen or made something that would suit what I need. > > So here's the setup: > > I currently use Nagios to scan over 700 routers (Cisco 1800 series) on our > network. Basically we have a little over 700 stores connected to the > internet and using a VPN to form a network with our servers. So currently > Nagios is pinging those routers to make sure they are up and connected. > > Behind those routeurs I have an office computer and several cash > registers. As a security precaution those computers are not reachable from > my linux box and Nagios of course. > > There is a very simple system that allows those computers to send files > back to our servers by secure FTP. > > Ok so what I'm looking for is a software that would work in the background > on those computers and scan for CPU usage, Memory, hard drives and if > possible temperature. If certain conditions are met (like shortage of disk > space) a file would be produced in a specific folder and the our automatic > FTP system would grab it and transfer that to our servers... From there it's > a simple matter to transfer it to my linux box and make it availlable to > Nagios as a passive check. > > Has anyone heard of such a software? I've looked into NsClient++ but I > have no clue if it's able to save the scans to file if it does it would > probably be a pretty good tool for what I'm looking for. > > Another question I have is about the passive check function. I understand > how it works but what I'm not sure of is how to make sure the files that > would be produced by the remote software will be correctly formated for > Nagios to understand it. > > Thanks in advance for any help offered. > > Michel Côté > > > -- > Forrester Wave Report - Recovery time is now measured in hours and minutes > not days. Key insights are discussed in the 2010 Forrester Wave Report as > part of an in-depth evaluation of disaster recovery service providers. > Forrester found the best-in-class provider in terms of services and vision. > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > > > ___ > Nagios-users mailing > listNagios-users@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 > > > > > -- > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] pnp4nagios?
I should have been more specific. I just want to include all historical data from nagios into pnp. It’s only showing data from the install date forward. Thanks,JJ Jeremiah Jester Informatics Specialist Microbiology – Katze Lab 206-732-6185 From: Phil K. [mailto:phillip.kenn...@yankeeairmuseum.org] Sent: Thursday, April 14, 2011 12:17 PM To: Nagios Users List Subject: Re: [Nagios-users] pnp4nagios? What 'issues' are you seeing? I've noticed ubuntu and apt can mark some dependancies as unused and safe for removal depending on how you installed nagios in the first place. That led to a bit of hair pulling on my end ~Phil -- Sent from my Android phone with K-9. "Jeremiah D. Jester" mailto:jj...@u.washington.edu>> wrote: Anyone here using pnp4nagios for graphing? I’m having some configuration issues and wanted to see if there was someone who could assist? Thanks, JJ Jeremiah Jester Informatics Specialist Microbiology – Katze Lab 206-732-6185 -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] pnp4nagios?
What 'issues' are you seeing? I've noticed ubuntu and apt can mark some dependancies as unused and safe for removal depending on how you installed nagios in the first place. That led to a bit of hair pulling on my end ~Phil -- Sent from my Android phone with K-9. "Jeremiah D. Jester" wrote: Anyone here using pnp4nagios for graphing? I’m having some configuration issues and wanted to see if there was someone who could assist? Thanks, JJ Jeremiah Jester Informatics Specialist Microbiology – Katze Lab 206-732-6185 -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] pnp4nagios?
yes, i just upgraded our install as well , so i went through a bit of hair pulling myself. I am using sync mode, and found the best tool for setup was the verify_pnp script, it finally got me sorted out... From: Jeremiah D. Jester [mailto:jj...@u.washington.edu] Sent: Thursday, April 14, 2011 3:00 PM To: 'nagios-users@lists.sourceforge.net' Subject: [Nagios-users] pnp4nagios? Anyone here using pnp4nagios for graphing? I'm having some configuration issues and wanted to see if there was someone who could assist? Thanks, JJ Jeremiah Jester Informatics Specialist Microbiology - Katze Lab 206-732-6185 -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] pnp4nagios?
> I've configured pnp and it has been successfully graphing data since the > actual installation. However, I have nagios perfdata logs from the past > year (host_perfdata.log, service_perfdata.log) that are not being parsed > that I want to be included. ... > Is there a certain method, configuration I need to follow if I want to > include this historical data? H... RRD databases expect to be updated in a sequential fashion, on regular-ish intervals. I'm not sure that you can "go back" and add the past data. I will defer to those on the list that are more familiar with RRD - is that even possible? Benny -- "You were doing well until everyone died." -- "God", Futurama -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] pnp4nagios?
Thanks Benny. I've configured pnp and it has been successfully graphing data since the actual installation. However, I have nagios perfdata logs from the past year (host_perfdata.log, service_perfdata.log) that are not being parsed that I want to be included. Currently my nagios.cfg is using the following commands: define command{ command_nameprocess-service-perfdata command_line /usr/bin/perl /usr/local/pnp4nagios/libexec/process_perfdata.pl -d /usr/local/pnp4nagios/var/perfdata/service-perfdata.log } define command{ command_nameprocess-host-perfdata command_line /usr/bin/perl /usr/local/pnp4nagios/libexec/process_perfdata.pl -d /usr/local/pnp4nagios/var/perfdata/host-perfdata.log } Is there a certain method, configuration I need to follow if I want to include this historical data? Thanks, JJ Jeremiah Jester Informatics Specialist Microbiology - Katze Lab 206-732-6185 -Original Message- From: C. Bensend [mailto:be...@bennyvision.com] Sent: Thursday, April 14, 2011 12:18 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] pnp4nagios? > Anyone here using pnp4nagios for graphing? I'm having some > configuration issues and wanted to see if there was someone who could assist? Sure, I know several of us use it. What issues are you having? Benny -- "Hairy ape nads."-- Colleen, playing Neverwinter Nights -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] pnp4nagios?
> Anyone here using pnp4nagios for graphing? I'm having some configuration > issues and wanted to see if there was someone who could assist? Sure, I know several of us use it. What issues are you having? Benny -- "Hairy ape nads."-- Colleen, playing Neverwinter Nights -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] pnp4nagios?
Anyone here using pnp4nagios for graphing? I'm having some configuration issues and wanted to see if there was someone who could assist? Thanks, JJ Jeremiah Jester Informatics Specialist Microbiology - Katze Lab 206-732-6185 -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Why is check_openmanage so slow on PowerEdge R510?
> Unfortunately OMSA has no info on when the charge cycle is expected to > be finished, or how long it has been in its current learn/charge state: > > # omreport storage battery controller=1 > Battery 0 on Controller PERC 6/E Adapter (Slot 1) > > Controller PERC 6/E Adapter (Slot 1) > ID: 0 > Status: Non-Critical > Name : Battery 0 > State : Charging > Recharge Count: Not Applicable > Max Recharge Count: Not Applicable > Predicted Capacity Status : Ready > Learn State : Requested > Next Learn Time : 0 hours > Maximum Learn Delay : 7 days 0 hours > Learn Mode: Auto > > I could make the plugin record it, but then I would violate my principle > that the plugin should be stateless... Introducing state in the plugin > complicates things. Hmmm, that's unfortunate that they don't track a duration or start time. :( And no, I fully agree - plugins should be stateless. Keeping track of state is an ugly, error-prone business. Benny -- "Hairy ape nads."-- Colleen, playing Neverwinter Nights -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Why is check_openmanage so slow on PowerEdge R510?
"C. Bensend" writes: >Is there anything in OMSA that tells how *long* a battery has > been charging? I simply got so tired of the charging warnings > that I blacklisted the bat_charge totally, but I'd still like to > detect that type of error - where the battery never finishes > charging. > >If OMSA has it, it would be great to have the option within > check_openmanage to specify a length of time threshold for battery > charging. :) Hi Benny, Unfortunately OMSA has no info on when the charge cycle is expected to be finished, or how long it has been in its current learn/charge state: # omreport storage battery controller=1 Battery 0 on Controller PERC 6/E Adapter (Slot 1) Controller PERC 6/E Adapter (Slot 1) ID: 0 Status: Non-Critical Name : Battery 0 State : Charging Recharge Count: Not Applicable Max Recharge Count: Not Applicable Predicted Capacity Status : Ready Learn State : Requested Next Learn Time : 0 hours Maximum Learn Delay : 7 days 0 hours Learn Mode: Auto I could make the plugin record it, but then I would violate my principle that the plugin should be stateless... Introducing state in the plugin complicates things. There is another reason that you would want to know that the battery is charging, and I suspect that this is also why Dell has OMSA report it as a non-critical (warning) status. During (some of) the charge cycle, write-back for vdisks (i.e. use of the cache) is disabled. This means that the RAID performance is degraded, and depending on the nature of your disk usage you'll want to know about this when it happens. OMSA also lets you delay the charge cycle for up to seven days. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Why is check_openmanage so slow on PowerEdge R510?
> At one time we had a battery that didn't finish charging for a week, > called Dell and got a replacement battery. This was during a regular > charge cycle. In your case I would give it a few more days. ... > But, as we in fact did experience a case where the battery never > finished charging I would advice against this. We just ignore the > battery charge warnings unless they persist for days. It can be > annoying, but we decided that we can live with it :) Trond, Is there anything in OMSA that tells how *long* a battery has been charging? I simply got so tired of the charging warnings that I blacklisted the bat_charge totally, but I'd still like to detect that type of error - where the battery never finishes charging. If OMSA has it, it would be great to have the option within check_openmanage to specify a length of time threshold for battery charging. :) Benny -- "Hairy ape nads."-- Colleen, playing Neverwinter Nights -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios from master/slave to chained configuration
Let me get this right , you want the slave to report to a master , but that master is a "pass-through" slave to another server which is the final master ? Why not just send to the final master and the other server as an easier way ? You can add the send line in the send_nsca script to submit the data to another server and that way you get the data on both servers , and adding the other slaves to the final server is not that complicated . Guy wrote: > Hi, > > I'm new to Nagios, but have been asked to add another Nagios server to > our current configuration. Our current setup has a master Nagios > server (master-nagios1) and a slave (slave-nagios1) that monitors a > different part of the network. There are also 2 other standalone > master servers (nagios-master2 and 3) monitoring their own networks. > > I've been asked to add another overview Nagios. So all it's checks set > to passive and the 3 masters replicate to the overview Nagios server. > Connecting the 2 standalone masters to the overview Nagios seems > simple enough as a normal master/slave config, but I'm not certain > whether the master/slave setup can be chained with the overview > Nagios. > > My googlefu hasn't given me any answers but I'm assuming that if it's > possible, I should set up master-nagios1 with ocdp/nsca/send-nsca so > it's got the configuration of a master and a slave. So slave-nagios1 > replicates to master-nagios1 which in turn replicates to the overview > Nagios. > > Is anyone aware of obvious problems with the idea or know of any > documentation covering this sort of configuration? The things I did > find were all simple master/slave set ups. > > Thanks > Guy > > -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Why is check_openmanage so slow on PowerEdge R510?
Am 14.04.2011 um 13:26 schrieb Trond Hasle Amundsen: Helmut Wollmersdorfer writes: At one time we had a battery that didn't finish charging for a week, called Dell and got a replacement battery. This was during a regular charge cycle. In your case I would give it a few more days. Thx for your experience - I will be patient. Also I tried to '--blacklist bat_charge=0,0' (and other combinations), but blacklisting does not work. Look in the debug output for the battery ID, which consists of the controller number and battery number with colon as delimiter. In your case it would be --blacklist bat_charge=0:0 or simply use 'all': --blacklist bat_charge=all Oh, my fault not reading the docs carefully enough;-) But, as we in fact did experience a case where the battery never finished charging I would advice against this. We just ignore the battery charge warnings unless they persist for days. It can be annoying, but we decided that we can live with it :) Agreed. IMHO it's better to have annoying warnings about (maybe) degraded components then a complete outage, because e.g. one of the redundant components was out of order for some time and the second also died. Cheers Helmut Wollmersdorfer -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios from master/slave to chained configuration
Hi, I'm new to Nagios, but have been asked to add another Nagios server to our current configuration. Our current setup has a master Nagios server (master-nagios1) and a slave (slave-nagios1) that monitors a different part of the network. There are also 2 other standalone master servers (nagios-master2 and 3) monitoring their own networks. I've been asked to add another overview Nagios. So all it's checks set to passive and the 3 masters replicate to the overview Nagios server. Connecting the 2 standalone masters to the overview Nagios seems simple enough as a normal master/slave config, but I'm not certain whether the master/slave setup can be chained with the overview Nagios. My googlefu hasn't given me any answers but I'm assuming that if it's possible, I should set up master-nagios1 with ocdp/nsca/send-nsca so it's got the configuration of a master and a slave. So slave-nagios1 replicates to master-nagios1 which in turn replicates to the overview Nagios. Is anyone aware of obvious problems with the idea or know of any documentation covering this sort of configuration? The things I did find were all simple master/slave set ups. Thanks Guy -- Don't just do something...sit there! -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Why is check_openmanage so slow on PowerEdge R510?
Helmut Wollmersdorfer writes: > Another question: > > I always get on all of the R510s (few days old): > > root@xen11:~# /usr/lib/nagios/plugins/check_openmanage > Cache Battery 0 in controller 0 is Charging (Ready) [probably harmless] > root@xen11:~# uptime > 12:08:35 up 2 days, 1:22, 1 user, load average: 0.00, 0.00, 0.00 > > I wonder a little bit that the batteries are not full after some days powered, > or if the information is wrong. The plugin is simply reporting what OMSA says, so if the info is wrong it would have to be in the hardware or OMSA level. However I don't think that this is the case. Batteries take a long time to charge for new servers, i.e. if the battery is brand new and hasn't been charged before. At one time we had a battery that didn't finish charging for a week, called Dell and got a replacement battery. This was during a regular charge cycle. In your case I would give it a few more days. > Also I tried to '--blacklist bat_charge=0,0' (and other combinations), but > blacklisting does not work. Look in the debug output for the battery ID, which consists of the controller number and battery number with colon as delimiter. In your case it would be --blacklist bat_charge=0:0 or simply use 'all': --blacklist bat_charge=all But, as we in fact did experience a case where the battery never finished charging I would advice against this. We just ignore the battery charge warnings unless they persist for days. It can be annoying, but we decided that we can live with it :) Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] independant plugin
Hello, Writing a script in lua which does this would be fairly simple for NSClient++. // Michael Medin 2011-04-13 15:06 Michel Cote skrev: Hi list, First time poster here but I've read a lot of emails so many thanks for that. I don't know how to search for what I'm looking so I'm going to simply ask and hope someone has seen or made something that would suit what I need. So here's the setup: I currently use Nagios to scan over 700 routers (Cisco 1800 series) on our network. Basically we have a little over 700 stores connected to the internet and using a VPN to form a network with our servers. So currently Nagios is pinging those routers to make sure they are up and connected. Behind those routeurs I have an office computer and several cash registers. As a security precaution those computers are not reachable from my linux box and Nagios of course. There is a very simple system that allows those computers to send files back to our servers by secure FTP. Ok so what I'm looking for is a software that would work in the background on those computers and scan for CPU usage, Memory, hard drives and if possible temperature. If certain conditions are met (like shortage of disk space) a file would be produced in a specific folder and the our automatic FTP system would grab it and transfer that to our servers... From there it's a simple matter to transfer it to my linux box and make it availlable to Nagios as a passive check. Has anyone heard of such a software? I've looked into NsClient++ but I have no clue if it's able to save the scans to file if it does it would probably be a pretty good tool for what I'm looking for. Another question I have is about the passive check function. I understand how it works but what I'm not sure of is how to make sure the files that would be produced by the remote software will be correctly formated for Nagios to understand it. Thanks in advance for any help offered. Michel Côté -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Why is check_openmanage so slow on PowerEdge R510?
Hi Trond, Am 13.04.2011 um 17:39 schrieb Trond Hasle Amundsen: The simple answer is that omreport commands take time. They represent the vast majority of the plugin execution time. First, thanks for the fast reaction. The reason that 'check_openmanage --only fans' takes significantly more time than the corresponding omreport command is that the plugin first runs 'omreport -?' to determine if this is a blade or not. If you add the time it takes to run 'omreport -?', the omreport fans command and perl interpreter time you should arrive at about the time it takes 'check_openmanage --only fans' to finish. OK, then this is the price for convenience. After having close looks into the alternative plugins I choosed this one because of the automagic, the very good documentation and the "good practice" Perl code. Congratulations - fine code. I will try check_linux_bonding too. The plugin is much faster if used in SNMP mode, especially if you lots of storage. Example from a 2950 with a couple of MD1000 shelves of extra storage: $ time ./check_openmanage -H foo OK - System: 'PowerEdge 2950 III', SN: 'XXX', 16 GB ram (8 dimms), 3 logical drives, 32 physical drives real0m1.725s user0m0.397s sys 0m0.013s Yesterday after posting my question I took a look in the Perl code for maybe finding the reason. And then I tried SNMP mode: root@xen10:/# time perl /usr/lib/nagios/plugins/check_openmanage -H localhost --only fans FANS OK - 5 fan probes checked real0m0.191s Thus over SNMP it is 3-4 times faster and CPU consumption is ~40% lower. Another question: I always get on all of the R510s (few days old): root@xen11:~# /usr/lib/nagios/plugins/check_openmanage Cache Battery 0 in controller 0 is Charging (Ready) [probably harmless] root@xen11:~# uptime 12:08:35 up 2 days, 1:22, 1 user, load average: 0.00, 0.00, 0.00 I wonder a little bit that the batteries are not full after some days powered, or if the information is wrong. Also I tried to '--blacklist bat_charge=0,0' (and other combinations), but blacklisting does not work. Cheers Helmut Wollmersdorfer -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null