Re: [Nagios-users] command for por monitor
http://nagiosplugins.org/man On 22 May 2013 22:13, Atul Dubey adu...@ramtech-corp.com wrote: Dear Team, Actually I have to monitor my server’s all the service like smtp ( port 25) and pop3 (port 110). Kindly help me to configure it. Regards, Atul Dubey 7838370198 -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ 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 -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ 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] Same contact - two different notification methods
Yes, you create separate contacts. AFAIK there is no way to distinguish which alert method you want to use, so unless the user wants to be SMS'd about every notification you need to separate them out. On 21 May 2013 21:49, Peter Wood peterwood...@gmail.com wrote: Hi, I have two services monitoring http on two servers: http on server1 - Email notifications http on server2 - Email + SMS notifications Http on server1 is not critical and notifications should go out via email. Http on server2 is critical and notifications should go out via email and SMS. The only place where I can setup how an user should be contacted is in the contact definition. Does that mean I have to create two contact definitions for each user: one for email notifications and one for sms notifications? For example: define contact { contact_name user1 ... email us...@company.com } define contact { contact_name user1-sms ... email phone number@txt.att.net ; I have ATT but it can be any other email-to-sms service } define service { host_name server1 ... contacts user1 } define service { host_name server2 ... contacts user1-sms } Am I missing something? Is there a way to do it without creating two contact definitions for the same user? Thanks, -- Peter -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ 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 -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_snmp syntax question
Have you tried the actual HP JetDirect plugin instead of trying to reinvent the wheel? check_hpjd? http://nagiosplugins.org/man/check_hpjd Steve On 5 February 2013 16:22, Kaplan, Andrew H. ahkap...@partners.org wrote: Hello -- I am testing out check_snmp on our printers, and I have been successful using the following syntax: ./check_snmp -H ip adddress -C public -o sysDescr.0 which has provided the following output: SNMP OK - HP ETHERNET MULTI-ENVIRONMENT,ROM R.22.01,JETDIRECT,JD95,EEPROM R.25.57,CIDATE 05/02/2006 | What I am trying to do now is get the status of the printer with the goal of generating output that would indicate if toner is low, or if other components are in need of service. What would be the correct syntax to use to accomplish this? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb ___ 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 -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb ___ 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] Monitoring remote server oracle from nagios server using check_oracle_health
What do you have in your tnsnames.ora file for the database you are trying to connect to? http://www.orafaq.com/wiki/Tnsnames.ora http://docs.oracle.com/cd/B28359_01/network.111/b28317/tnsnames.htm Steve On 25 January 2013 02:08, Yu Watanabe yu.watan...@jp.fujitsu.com wrote: Hi all. I have some trouble executing check_oracle_health. It would be helpful if someone can help me out. I have successfully compiled both ORACLE DBD and check_oracle_health on a nagios server. And as a test , I am trying to execute tnsping to the remote oracle server. Whenever I execute the plugin , I get the follwoing error. check_oracle_health --connect=xe --user=system --password=root --mode=connection-time CRITICAL - cannot connect to xe. ORA-12154: TNS:could not resolve the connect identifier specified (DBD ERROR: OCIServerAttach) The error it self is obvious that its because remote ip address is not defined. Does anyone know where can you defien the info about address or hostname? Thanks, Yu -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Viewing defined notifications for a specific contact/contact-group
On 7 November 2012 12:30, Esteban Monge este...@nuevaeralatam.com wrote: Hello: Do you use MK Livestatus? No I don't. Not sure how it would help though? MK Livestatus is for accessing the status data not the underlying configuration? Steve -- LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Viewing defined notifications for a specific contact/contact-group
Hi list, Does anyone know of a way of or have a script that can print a list of all defined notifications that could be sent for a particular contact/contact-group? I want to list the notifications for a contact/contact-group so that I can see what they will be notified about so I can add anything that is missing, but I don't want to have to check each host/service individually. Thanks Steve -- LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] send SMS to BlackBerry
A user switching off their Blackberry should not have any impact to your GSM modem sending SMS messages to the phone which is switched off, the messages will be stored by their cell provider and then forwarded to the Blackberry when it's powered back on. Steve On 29 October 2012 09:12, Marco Borsani m.bors...@it.net wrote: Hi all ! From six months , all our technicians used BB phone. I noticed that if someone of them shut the phone, the radiomodem used by Nagios to send SMS receive an error signal. I develop some procedure to be sure than all SMS are sent (verify the GSM network , radiomodem on, etc.), but this BB behaviour can hang my radiomodem … did you meet same problems in your environments? regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Società con socio unico Direzione e Coordinamento di Libero S.r.l. -- The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ ___ 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 -- The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ ___ 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] R: send SMS to BlackBerry
I think it's more of a co-incidence than actually a problem with the Blackberry. SMS is a cell provider service, not a Blackberry specific service, so it wouldn't make any difference what contract you are on as it isn't dependant in any way on Blackberry. What is the actual error message that you are getting back from the GSM modem? (you're probably going to have to turn on full debugs to get the raw commands/responses) Steve On 29 October 2012 10:15, Marco Borsani m.bors...@it.net wrote: HI Steve I wrote what I see ;-) When we used other kind of mobile we never had these problems. I make some test...shut my BB, send some SMS..at the beginning no problem...after some time (I don't know exactly) the problems start. Could depend on our BB contract ? We have BlackBerry Internet Service, NOT BlackBerry Enterprise Server Marco -- The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ ___ 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] Monitoring a host behind VPN/Firewall
So 4800 will allow your tests to go stale for 80mins before reporting them as stale, you might wanna drop that down to just abit more than when you expect them to update, e.g. if your tests run every 5 mins then set the staleness to 510. But in passive mode you are never going to get even close to realtime notification. Like others have suggested, perhaps looks at a more distributed setup with a poller on the other side of the firewall. Steve On 22 October 2012 13:54, Gilberto Ferreira gilberto.nu...@selbetti.com.br wrote: Hi Mark, I check freshness configuration and it's set like that: Check Freshness Yes Freshness Threshold 4800 seconds Any suggestions??? Thanks Gilberto Nunes Ferreira - Mensagem original - De: Mark Elsen mark.el...@gmail.com Para: Nagios Users List nagios-users@lists.sourceforge.net Enviadas: Segunda-feira, 22 de Outubro de 2012 10:00:27 Assunto: Re: [Nagios-users] Monitoring a host behind VPN/Firewall Hi folks.. I'm trouble here... We have a thousand host behind VPN/Firewall. For now, we use NC_NET to collect WMI data from server, and send this datas to Nagios server, throught NSCA. We do it in passive mode... What happen here is that, even host came down, I still see the status ok for services on Nagios panel... I'm use FAN, Fully Automatic Nagios here... Using Centreon to configure hosts and services... Nobody, will gracefully except a few $ for a pint this evening ; If you use passive mode to acquire WMI data, you must sufficiently debate your freshness settings for the passive service defined, and or in this case negate wether you will, per default, go into a fault mode ,when nothing is received and the freshness timer is expired. Otherwise you get in the situation, you describe. M. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ 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 -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ 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 -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ 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] Remote event handlers using NRPE
You could create an NRPE command who's sole purpose is to restart a single service, that way all you do is call the command and it restarts the service. Though yes, if you have lots of services to restart then you are going to have to configure lots of separate NRPE commands. Steve On 30 August 2012 01:54, Daniel Wittenberg daniel.wittenberg.r...@statefarm.com wrote: WMI assumes you are running Windows… With NRPE I haven't seen a way to do it without being pass arguments. I'm just careful with scripts that can take arguments that they scrub what's being passed in. Dan -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] What all ports need to be opened?
You don't really specify what about Nagios you are firewalling. Inbound/outbound? NRPE? Outbound you will need to ensure that any ports Nagios is testing are open, NRPE uses port 5666 by default. Inbound depends on what is trying to contact Nagios. Steve On 23 August 2012 14:10, Aravinth Anto Intern t-aravi...@juspay.in wrote: HI all, I'm very new to Nagios. I want to know what all ports need to be opened in order to work with Nagios. Thanks in advance. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] issue with http_check
What is the status output of the command in Nagios? does it give you any messages as to why it's critical? and when you run the command on the CLI are you running that as the nagios user or root? Steve On 23 August 2012 01:28, Subash Tetali subashtet...@yahoo.com wrote: Hi Team, I am facing an issue with the check_http. When i run the check_http command manully, I get HTTP OK and when i add to teh config, the nagios UI shows as critical ./check_http -H nc1-dc1.corp.abc.com -p 5270 -u /service/assortment -P '{context = {language=en-us ; } ; }' -T application/text-plist -w 1.0 -c 1.5 HTTP OK: HTTP/1.0 200WebObjects - 6614 bytes in 0.256 second response time |time=0.256244s;1.00;1.50;0.00 size=6614B;;;0 The added the same to the commands.cfg and made changes to the services.cfg and servicegroup.cfg. Your help is highly appreciated Thanks Tetali Subash -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_snmp Issue
So as the error suggests it can't find the SNMPv2-SMI mib. Do you know where/if this mib is located on your system? Steve On 21 August 2012 05:44, Anjana Gonagala anja...@goodhope-lk.com wrote: Hi Team, We implemented the Nagios latest version in our organization and we are experiencing following mentioned issue. - We need to monitor switches, routers through check_snmp plugin and when executed the plugin, got the below error. *root@bescmbex:/usr/lib/nagios/plugins#* ./check_snmp -H 192.168.7.9 -C ahlbs_snmp -o ifOperStatus.1 -r 1 -m RFC1213-MIB External command error: MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp Cannot find module (SNMPv2-SMI): At line 0 in (none) ifOperStatus.1: Unknown Object Identifier (Sub-id not found: (top) - ifOperStatus) *root@bescmbex:/usr/lib/nagios/plugins#* *Environment Details* - Ubuntu 11.0 - Nagios 3.4.1 Appreciate your quick response regarding above. Regards, == The information contained in this message and any attachments are confidential and/or privileged. It is intended solely for the use of the individual or entity to whom it is addressed. Any retransmission, dissemination or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you receive this e-mail in error please notifyhelpd...@goodhope-lk.com immediately and delete this message. Official business transactions of the Company are subject to written contract and/or formal official correspondence by the Company. Visit Our Corporate Website: www.goodhopeholdings.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 image/jpeg-- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_disk v1.4.16-29-g3c10 (nagios-plugins 1.4.16)
Check the readme for the options... ./check_disk -h On my system it would work out to be: ./check_disk -w 10240 -c 5120 -m -p /path Steve On 20 August 2012 23:37, Havi Arevalo havi.arev...@gowireless.net wrote: What would be the syntax line command, using this plugin, that will alert warning at 10Gb Free and Critical at 5Gb Free? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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