Re: [Nagios-users] Using Nagios to restart a Power Strip, Switch, Router, etc. via SNMP
Ofcourse it iswhile the consequence sound a little scary too. Think about it.ur intention is to have nagios trigger an request if a condition is met. The intention can be satisfied over SNMP With the trigger being called when a plugin check is performed Nagios per say may not be equipped with the capability to perform a whole lot of business process checks towards concluding whether the applications really down. It will be able to ping for resources using standard/custom plugins and verify the availability/lack of it using its existing framework. Hence...while you due to lack of accessibility to a switch for some reason your plugin may decide based on your coded business rules that its unreachable and send an snmp request to reset the device. In turn what you have actually done is...during a moment of large n/w traffic not been able to reach the switch and as a result sent a request to reset the switch which i would recieve and probable reset it once the instantaenous peak is done with. Am unsure if i have been able to relate to you in the right manner. But since nagios doesnt have a rule engine it might be best to let nagios do what it does best and have it integrate with a rule engine which takes care of all of your other misc requests over snmp. Hope this helped. Thanks and Regards Trevor On 2/22/07, patrickm <[EMAIL PROTECTED]> wrote: Hello, I've been scouring Google all day long and I can't seem to find anything regarding Nagios being able to reboot switches, routers, or power strips via SNMP. We have some HP Procurve Switches, Some Cisco 7200 Routers, and some APC Power strips, all being monitored via SNMP already and via Nagios, but it would be great if we could reboot these devices (or sections of the power strip by outlet) using SNMP write permissions. Is this possible? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ 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 -- ___ ( >- / Scaling FreeSoftware & OpenSource\ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ | |_|_ \/ _|_| An eye for an eye will soon turn the world blind - MKG "You cannot see me, yet I am the light you see by. You cannot hear me, yet I speak through your voice. You cannot feel me, yet I am the power at work in your hands. I am at work, though you do not understand my ways. I am not strange visions. I am not mysteries. Only in absolute stillness, beyond self, can you know me as I am, and then but as a feeling and a faith. Yet I am here. Yet I hear. Yet I answer. -anon " - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ 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] Scheduling queue falling behind.
Hey folks this is Trevor here, While i used to have a lot of nagios deployments for clients i did have these issues more than one. I had about 25-30 servers and all the checks on these servers would be way behind the actual scheduled time. It would wary from a few mins to hours at length. Never got around to solving the prob. Thought i had a bad config but i too had the same settings like Robert here. Was baffled as to why was nagios delaying the checks. The box wasnt topping out and the network wasnt an issue either. I have found such issues when running nagios with a huge number of metrics being monitored. 400-500 in total. Am not sure if this helps..but this is precisely what i too went through. Thanks and Regards Trevor On 2/15/07, Trask <[EMAIL PROTECTED]> wrote: On 2/15/07, Robert Stafford <[EMAIL PROTECTED]> wrote: > I'm not sure this is the right place to ask this, but I've been trying to > figure out why the scheduling queue on my nagios server is always 20-30 > minutes behind the current time. What I mean by that is the next check item > is 20-30 minutes past the current time. I have 49 servers and 3 checks per > server (ping, a process check, and syslog-ng(passive). I've tried tweaking > all the settings for scheduling checks and only seem to make it worse. I'm > currently running version 2.5. I didn't think that it would run into > problems with this few since I've seen 300+ servers with 1000+ service > checks. Am I just missing something? Are you reporting these checks passively to another server? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ 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 -- ___ ( >- / Scaling FreeSoftware & OpenSource\ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ | |_|_ \/ _|_| An eye for an eye will soon turn the world blind - MKG "You cannot see me, yet I am the light you see by. You cannot hear me, yet I speak through your voice. You cannot feel me, yet I am the power at work in your hands. I am at work, though you do not understand my ways. I am not strange visions. I am not mysteries. Only in absolute stillness, beyond self, can you know me as I am, and then but as a feeling and a faith. Yet I am here. Yet I hear. Yet I answer. -anon " - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ 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] to anyone monitoring windows machines with nagios (wmi, etc.)
Good stuff mike. Keep up the great work. Am going to have this checked out and revert back. Hope you will keep adding to the project when you can. TrevorOn 8/29/06, Mike Conigliaro <[EMAIL PROTECTED]> wrote: sorry, documentation is a bit light at this point. =/your guess is correct. if you have to monitor a network of windowsmachines, its hard to beat doing it with wmi. unfortunately, you cantquery wmi directly from *nix (as far as i know), but you can run an nrpe service on one of your windows machines and "proxy" the checks throughthat machine. you only need the check_nrpe plugin on the *nix side todo this.my project is simply a collection of plugins, plus a framework for simplifying plugin development in c# .net. i started it because icouldnt find a good replacement for the official nagios plugins for*nix, and i didnt want just a direct win32 port either, because i wanted the power of wmi for windows monitoring.i hope this helps.Trevor Warren wrote:> Hello Mike,>> You indeed have an interesting project here. Was trying to find> documentation towards understanding how it works but couldnt make any > progress. Am guessing..,>> You configure a service on the nagios box to call the nagiosnt plugin over> nrpe which can then call any other windows machine using wmi. Is this> how it > works???.>> Thanks and Regards Mike.>> Trevor>> On 8/29/06, mike conigliaro <[EMAIL PROTECTED]> wrote: hey guys, i recently started a project to simplify windows monitoring with>> nagios. my>> goal was to create a comprehensive set of plugins similar to the official >> nagios>> plugins for *nix, but for win32 nrpe daemons. so far, i have wmi plugins>> for>> monitoring basic performance metrics like cpu, memory, disk, swap,>> service >> state, etc. i've also written some basic snmp, tcp, and icmp plugins, so>> this>> project is not at all limited to monitoring windows machines. a very nice side effect of this project was ending up with a simple >> object>> oriented framework for writing future plugins. this has improved my>> plugin>> development time immensely. for example, its now possible for me to>> write >> a>> brand new, fully-functional wmi plugin from start-to-finish in>> literally 2>> minutes! the project page is here: http://nagiospluginsnt.getproactivenow.com i hope someone out there finds this stuff useful, and im interested in>> any>> feedback you might have. -- >> Mike Conigliaro>> ProActive Technologies>> [EMAIL PROTECTED]>> 203.239.0440 ext:317>> www.getproactivenow.com ->> Using Tomcat but need to do more? Need to support web services, security?>> Get stuff done quickly with pre-integrated technology to make your job >> easier>> Download IBM WebSphere Application Server v.1.0.1 based on Apache>> Geronimo>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>> ___>> 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>- Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ 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-- ___( >- / Scaling FreeSoftware & OpenSource\ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ ||_|_ \/ _|_| An eye for an eye will soon turn the world blind - MKG"You cannot see me, yet I am the light you see by. You cannot hear me, yet I speak through your voice. You cannot feel me, yet I am the power at work in your hands. I am at work, though you do not understand my ways. I am not strange visions. I am not mysteries.Only in absolute stillness, beyond self, can you know me as I am, and then but as a feeling and a faith. Yet I am here. Yet I hear. Yet I answer. -anon " - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM Web
Re: [Nagios-users] to anyone monitoring windows machines with nagios (wmi, etc.)
Hello Mike, You indeed have an interesting project here. Was trying to find documentation towards understanding how it works but couldnt make any progress. Am guessing.., You configure a service on the nagios box to call the nagiosnt plugin over nrpe which can then call any other windows machine using wmi. Is this how it works???. Thanks and Regards Mike. TrevorOn 8/29/06, mike conigliaro <[EMAIL PROTECTED]> wrote: hey guys,i recently started a project to simplify windows monitoring with nagios. mygoal was to create a comprehensive set of plugins similar to the official nagiosplugins for *nix, but for win32 nrpe daemons. so far, i have wmi plugins for monitoring basic performance metrics like cpu, memory, disk, swap, servicestate, etc. i've also written some basic snmp, tcp, and icmp plugins, so thisproject is not at all limited to monitoring windows machines. a very nice side effect of this project was ending up with a simple objectoriented framework for writing future plugins. this has improved my plugindevelopment time immensely. for example, its now possible for me to write a brand new, fully-functional wmi plugin from start-to-finish in literally 2 minutes!the project page is here:http://nagiospluginsnt.getproactivenow.com i hope someone out there finds this stuff useful, and im interested in anyfeedback you might have.--Mike ConigliaroProActive Technologies [EMAIL PROTECTED]203.239.0440 ext:317www.getproactivenow.com-Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Nagios-users mailing list Nagios-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-- ___( >- / Scaling FreeSoftware & OpenSource\ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ ||_|_ \/ _|_| An eye for an eye will soon turn the world blind - MKG"You cannot see me, yet I am the light you see by. You cannot hear me, yet I speak through your voice. You cannot feel me, yet I am the power at work in your hands. I am at work, though you do not understand my ways. I am not strange visions. I am not mysteries.Only in absolute stillness, beyond self, can you know me as I am, and then but as a feeling and a faith. Yet I am here. Yet I hear. Yet I answer. -anon " - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ 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] visualization tool
Check nagvis out. Have used it. It simply rocks!!!. TrevorOn 7/17/06, angel cuevas rumin <[EMAIL PROTECTED]> wrote: Hello, I am using nagios in my network. Now I need to have a global vision of my network (if it is possible I would like to place every element in the position that I wish in this way I will be able to create an screen with the network´s element whereever I want). Later I would like that over this screen a link appears red when this link present problems and the same for a node, I would like a node appears in red color when it has a problem. Could some one tell me if I can do this with nagios or if I can install a tool which cooperating with nagios gives to me this functionality? Thanks in advance. Kind regards. -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Nagios-users mailing list Nagios-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-- ___( >- / Scaling FreeSoftware & OpenSource\ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ ||_|_ \/ _|_| An eye for an eye will soon turn the world blind - MKG"You cannot see me, yet I am the light you see by. You cannot hear me, yet I speak through your voice. You cannot feel me, yet I am the power at work in your hands. I am at work, though you do not understand my ways. I am not strange visions. I am not mysteries.Only in absolute stillness, beyond self, can you know me as I am, and then but as a feeling and a faith. Yet I am here. Yet I hear. Yet I answer. -anon " - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ 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] NRPE in AIX5L...?
Have tired many a time to get nrpe running on aix but never have had a smooth experience. Aix n HpUX have always been issues to get up and running on. We ended up writing our own plugins on the older *nix boxes. But now even those are outdated and have be to redone for AIX5L. Some of us needs(probably i will sometime soon) to take ownership on the aix front. This is the only way we will ever get stable plugins for aix/hpux/solaris. Is there a plugin roadmap on the risc front?. TrevorOn 7/14/06, Alexander Harvey <[EMAIL PROTECTED]> wrote: Sorry, should have done my research first but I discovered this in the archives: http://sourceforge.net/mailarchive/message.php?msg_id=6818296 Does anyone know if there was ever a patch released? Am I on the wrong track? Has anyone made NRPE work on AIX such that when we run the following test on the host instead of getting:/usr/local/nagios/libexec/check_nrpe -H grenados CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host?we get/usr/local/nagios/libexec/check_nrpe -H cairnsNRPE v1.9as expected? On 7/14/06, Alexander Harvey <[EMAIL PROTECTED] > wrote: Hi,I found some more information:The following message gets written to syslog:/var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error nrpe[876772]: Error: Request packet had invalid CRC32. /var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error nrpe[876772]: Client request was invalid, bailing out... I see this happens in the following code fragment: /* DECRYPT REQUEST **/ /* check the crc 32 value */ packet_crc32=ntohl(pkt->crc32_value); pkt->crc32_value=0L; calculated_crc32=calculate_crc32((char *)pkt,sizeof(packet)); if(packet_crc32!=calculated_crc32){ syslog(LOG_ERR,"Error: Request packet had invalid CRC32."); return ERROR; }Anyone have any idea why this would happen? (My configure options etc were given in previous post).Thanks,Alex On 7/13/06, Alexander Harvey <[EMAIL PROTECTED] > wrote: Hi List,I am having a lot of grief trying to make NRPE 2.5.2 (and I've tried 2.5.1 and 2.5 as well) work in AIX5.3.From the Nagios host I'm getting:# /usr/local/nagios/libexec/check_nrpe -H grenados CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host?and on the client I just see the following in the syslog:Jul 11 06:49:04 ns1 nrpe[29329]: [ID 927837 mail.info ] connect from 202.139.122.88 (Aside: why's the logging going to " mail.info"??)I'm building nrpe using:# ./configure --disable-ssl # make allThen# grep nrpe /etc/servicesnrpe 5666/tcp # NRPE# grep nrpe /etc/inetd.confnrpe stream tcp nowait nagios /usr/local/bin/tcpd /usr/local/nagios/libexec/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i # cat /etc/hosts.allownrpe: : ALLOWI tried trussing it without finding anything much. If anyone can help I'd be most appreciative; I'm out of ideas as to how to troubleshoot this any further. Thanks in advance,Alex -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Nagios-users mailing list Nagios-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-- ___( >- / Scaling FreeSoftware & OpenSource\ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ ||_|_ \/ _|_| An eye for an eye will soon turn the world blind - MKG"You cannot see me, yet I am the light you see by. You cannot hear me, yet I speak through your voice. You cannot feel me, yet I am the power at work in your hands. I am at work, though you do not understand my ways. I am not strange visions. I am not mysteries.Only in absolute stillness, beyond self, can you know me as I am, and then but as a feeling and a faith. Yet I am here. Yet I hear. Yet I answer. -anon " - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/l
[Nagios-users] Fwd: remote host checks for Microsoft and *nix
Guys/Gals, Had a small lil query. Have seen couple of remote check plugins for both MS and *nix. Wanted to know the most mature and usable plugin project for implementation in our network from both and MS and *nix perspective. Is anyone using this in production...and what do you think about the functionality of the same. Any suggestions would be appreciated. Trevor-- ___( >- / Scaling FreeSoftware & OpenSource\ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ ||_|_ \/ _|_| An eye for an eye will soon turn the world blind - MKG"You cannot see me, yet I am the light you see by. You cannot hear me, yet I speak through your voice. You cannot feel me, yet I am the power at work in your hands. I am at work, though you do not understand my ways. I am not strange visions. I am not mysteries.Only in absolute stillness, beyond self, can you know me as I am, and then but as a feeling and a faith. Yet I am here. Yet I hear. Yet I answer. -anon " Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ 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] remote host checks for Microsoft and *nix
Guys/Gals, Had a small lil query. Have seen couple of remote check plugins for both MS and *nix. Wanted to know the most mature and usable plugin project for implementation in our network from both and MS and *nix perspective. Is anyone using this in production...and what do you think about the functionality of the same. Any suggestions would be appreciated. Trevor-- ___( >- / Scaling FreeSoftware & OpenSource\ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ ||_|_ \/ _|_| An eye for an eye will soon turn the world blind - MKG"You cannot see me, yet I am the light you see by. You cannot hear me, yet I speak through your voice. You cannot feel me, yet I am the power at work in your hands. I am at work, though you do not understand my ways. I am not strange visions. I am not mysteries.Only in absolute stillness, beyond self, can you know me as I am, and then but as a feeling and a faith. Yet I am here. Yet I hear. Yet I answer. -anon " Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ 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