Hi Craig, I'm using a old-school Nokia device that sends out SMS notification messages. I use the program Gnokkii to send the text messages from my nagios server and a command line in my nagios config to execute Gnokii.
Hope this helps you a bit. Gr. Dennis. -------------------------------------------------- From: <[email protected]> Sent: Wednesday, September 02, 2009 11:26 AM To: <[email protected]> Subject: Nagios-users Digest, Vol 40, Issue 3 > Send Nagios-users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/nagios-users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Nagios-users digest..." > > > Today's Topics: > > 1. Re: Monitoring a router (Marc Powell) > 2. Re: Monitoring a router (Jim Avery) > 3. Re: Why are there "commands"? (???) > 4. Nagio + SMS ([email protected]) > 5. Re: Monitoring Unix machine from a windows machine (Grant Sewell) > 6. Re: Nagio + SMS (Masopust, Christian) > 7. Re: Nagio + SMS (Alex Dehaini) > 8. Re: Nagio + SMS ([email protected]) > 9. Re: Nagio + SMS (Martyn) > 10. check_by_ssh error - Remote command execution failed (Juki) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 1 Sep 2009 16:54:49 -0500 > From: Marc Powell <[email protected]> > Subject: Re: [Nagios-users] Monitoring a router > To: Nagios User list <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > > On Sep 1, 2009, at 4:41 PM, David Dyer-Bennet wrote: > >> Right now I'm just pinging it. That works, in the sense that I get >> the >> ping back. But I am suspicious that, if the link went down, the router >> would still respond to pings. >> >> Is this "best practice" in the opinion of the community? > > We monitor about 3000 routers with ping only. We ping an RFC 1918 IP > assigned to the loopback interface on the router. That way, as long as > any serial interface on the router is up, the router is still 'up' > without us having to configure every a ping for every serial > interface. This is sufficiently 'up' for our SLA purposes... For the > purposes of parenting, the ping check is likely sufficient. > > We also monitor the individual interfaces via SNMP to know when any > one goes down. We have a process such that we don't need to add each > specific serial interface into nagios but just figure what should be > up in real time. > > -- > Marc > > > > > ------------------------------ > > Message: 2 > Date: Tue, 1 Sep 2009 23:41:25 +0100 > From: Jim Avery <[email protected]> > Subject: Re: [Nagios-users] Monitoring a router > To: [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > 2009/9/1 David Dyer-Bennet <[email protected]>: >> Is this "best practice" in the opinion of the community? ?Or is using >> SNMP >> to monitor something inside the router better somehow? ?And if so, WHAT? > > > Good question. One person's 'best practice' is another person's > over-kill or under-kill. > > My golden rule is "only monitor something if you're going to be > interested in it". For routers this usually means I simply ping them, > but often I'm interested in bandwidth of specific interfaces too so I > make sure specific WAN links are monitored for bandwidth, errors, > discards and so on using the plugins from http://www.manubulon.com > > It's often a good idea to have the router send you SNMP traps - you'll > need to configure snmptt to handle them though, maybe using NagTrap. > I often find I get more traps than I'm interested in though - which > breaks the golden rule (see above) - so I then need either to filter > the traps out in the snmptt config or prevent the router from sending > them in the first place. > > I used to monitor each router interface using ping, but now I think > that's usually overkill. It just depends ... > > > > ------------------------------ > > Message: 3 > Date: Wed, 02 Sep 2009 09:29:07 +0800 > From: ??? <[email protected]> > Subject: Re: [Nagios-users] Why are there "commands"? > To: David Dyer-Bennet <[email protected]> > Cc: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > > If you code relevant checking command in each service, Nagios should > register every single command in system memory. > But by using command "templates", Nagios needs only register command > definitions "once" and parameters for each service, > this is more memory efficient. > > > David Dyer-Bennet ??: >> I don't really understand the purpose / utility of the "command" level of >> abstraction in Nagios configuration. (2.10; we're still on Centos 4.7). >> >> To define a new service to check particular Windows web services we've >> written, I define a service, and then it has to refer to a command, and >> over in the command I have to hard-code the parameters needed to test >> this >> specific service -- so in fact I need a separate command for each >> service. >> This seems, to me, to just introduce confusion, and separate bits of >> information that belong together. >> >> Is this just a historical artifact that in fact doesn't make much sense, >> or are there lots of cases where it's useful and makes it easier or >> clearer to do what you want? >> >> (I'm fine with "that's the way it works, but it doesn't really make much >> sense as it turns out", I've got plenty of that in my own code; I'm just >> looking for more understanding, in case it makes more sense than I've so >> far figured out.) >> >> As a broader question, are there documents that give more of a logical >> overview of Nagios, explaining how and why things are broken up and how >> they work together? >> >> ------------------------------------------------------------------------ >> >> >> No virus found in this incoming message. >> Checked by AVG - www.avg.com >> Version: 8.5.409 / Virus Database: 270.13.71/2330 - Release Date: >> 08/27/09 18:02:00 >> >> > > -- > ??? Liu,Yueh-Hung > ?????????? 0937044076 > ????????[???]????[?]????[?]???? [email protected] > SCSA + ITIL Foundation + ISO 27001 Auditor > > > > > ------------------------------ > > Message: 4 > Date: Wed, 2 Sep 2009 09:28:49 +0100 > From: "[email protected]" <[email protected]> > Subject: [Nagios-users] Nagio + SMS > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=utf-8 > > Hi all > > I'm looking for an SMS solution for my Nagios set-up > and noticed on the Nagios page that you lean towards > the SMS FoxBox, this looks like a nice solution but > at the cost of 850 Euro's this is way outside of my > budget. > > What does this community use and recommend for a nice > and simple as well a cheap SMS solutions. > > Thanks > > Craig > > > > > ------------------------------ > > Message: 5 > Date: Wed, 2 Sep 2009 09:38:41 +0100 > From: Grant Sewell <[email protected]> > Subject: Re: [Nagios-users] Monitoring Unix machine from a windows > machine > To: [email protected] > Message-ID: <20090902093841.75e83...@tempmail> > Content-Type: text/plain; charset=US-ASCII > > On Tue, 1 Sep 2009 16:46:19 +0200 > "Steven Battaille" wrote: > >> Hi all >> >> Is there somebody who got experience in monitoring Unix machines from >> a windows machine? >> >> I'm not able to install the nagios plugins on the Unix machine. So it >> is the windows machine that will launch the scripts on the Unix >> machine. >> >> Would this be done by SSH or any other manner? >> >> Thx >> >> Steven Battaille >> >> Advanced Projects & Products >> >> Belgium > > If you have SSH access to the machine, can you not compile the various > Nagios plugins on the target machine, place the compiled binary > executables into something like ~/bin, setup passwordless SSH access > (using keys) and then create your own commands to execute the > appropriate Nagios plugin remotely? > > Grant. > > > > ------------------------------ > > Message: 6 > Date: Wed, 2 Sep 2009 10:55:12 +0200 > From: "Masopust, Christian" <[email protected]> > Subject: Re: [Nagios-users] Nagio + SMS > To: <[email protected]>, <[email protected]> > Message-ID: > <60721b67eaf0994eaffb561767b7001403f6a...@nets13ha.ww300.siemens.net> > Content-Type: text/plain; charset="iso-8859-1" > > > Hello Craig, > > I'm using smstools (http://smstools.meinemullemaus.de/) with a simple > GSM-Modem (Siemens TC35) here and it does all I need. > > 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 > >> -----Original Message----- >> From: [email protected] [mailto:[email protected]] >> Sent: Wednesday, September 02, 2009 10:29 AM >> To: [email protected] >> Subject: [Nagios-users] Nagio + SMS >> >> Hi all >> >> I'm looking for an SMS solution for my Nagios set-up >> and noticed on the Nagios page that you lean towards >> the SMS FoxBox, this looks like a nice solution but >> at the cost of 850 Euro's this is way outside of my >> budget. >> >> What does this community use and recommend for a nice >> and simple as well a cheap SMS solutions. >> >> Thanks >> >> Craig >> >> >> -------------------------------------------------------------- >> ---------------- >> Let Crystal Reports handle the reporting - Free Crystal >> Reports 2008 30-Day >> trial. Simplify your report design, integration and >> deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Nagios-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS >> when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------ > > Message: 7 > Date: Wed, 2 Sep 2009 09:00:19 +0000 > From: Alex Dehaini <[email protected]> > Subject: Re: [Nagios-users] Nagio + SMS > To: "Masopust, Christian" <[email protected]> > Cc: [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > we use an email2sms gateway and it works well too. > > On Wed, Sep 2, 2009 at 8:55 AM, Masopust, Christian < > [email protected]> wrote: > >> >> Hello Craig, >> >> I'm using smstools (http://smstools.meinemullemaus.de/) with a simple >> GSM-Modem (Siemens TC35) here and it does all I need. >> >> 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 >> >> > -----Original Message----- >> > From: [email protected] [mailto:[email protected]] >> > Sent: Wednesday, September 02, 2009 10:29 AM >> > To: [email protected] >> > Subject: [Nagios-users] Nagio + SMS >> > >> > Hi all >> > >> > I'm looking for an SMS solution for my Nagios set-up >> > and noticed on the Nagios page that you lean towards >> > the SMS FoxBox, this looks like a nice solution but >> > at the cost of 850 Euro's this is way outside of my >> > budget. >> > >> > What does this community use and recommend for a nice >> > and simple as well a cheap SMS solutions. >> > >> > Thanks >> > >> > Craig >> > >> > >> > -------------------------------------------------------------- >> > ---------------- >> > Let Crystal Reports handle the reporting - Free Crystal >> > Reports 2008 30-Day >> > trial. Simplify your report design, integration and >> > deployment - and focus on >> > what you do best, core application coding. Discover what's new with >> > Crystal Reports now. http://p.sf.net/sfu/bobj-july >> > _______________________________________________ >> > Nagios-users mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: Please include Nagios version, plugin version (-v) and OS >> > when reporting any issue. >> > ::: Messages without supporting info will risk being sent to /dev/null >> > >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and >> focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Nagios-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - [email protected] > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 8 > Date: Wed, 2 Sep 2009 10:15:22 +0100 > From: "[email protected]" <[email protected]> > Subject: Re: [Nagios-users] Nagio + SMS > To: [email protected], [email protected], > [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=utf-8 > > Thanks for the replies, I guess we have to be looking > at a GSM gateway then as our rack manager will not > allow us to have loose mobiles in cabs. > > I have just had a quick Google on some GSM Modems and > wondered if any of these would be OK and use > something like gnokii. > > GSM Modems > http://www.rfsolutions.co.uk/acatalog/GSM_Modems.html > > Looking at this: > http://www.rfsolutions.co.uk/acatalog/Maestro_Industrial_GSM_Modem.html > > Thanks > > > ------- Original Message ------- >>From : Masopust, > Christian[mailto:[email protected]] > Sent : 02/09/2009 09:55:12 > To : [email protected]; > [email protected] > Cc : > Subject : RE: [Nagios-users] Nagio + SMS > > > Hello Craig, > > I'm using smstools ( > http://smstools.meinemullemaus.de/ ) with a simple > GSM-Modem (Siemens TC35) here and it does all I need. > > 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 > >> -----Original Message----- >> From: [email protected] [ > mailto:[email protected]] >> Sent: Wednesday, September 02, 2009 10:29 AM >> To: [email protected] >> Subject: [Nagios-users] Nagio + SMS >> >> Hi all >> >> I'm looking for an SMS solution for my Nagios set-up >> and noticed on the Nagios page that you lean towards >> the SMS FoxBox, this looks like a nice solution but >> at the cost of 850 Euro's this is way outside of my >> budget. >> >> What does this community use and recommend for a nice >> and simple as well a cheap SMS solutions. >> >> Thanks >> >> Craig >> >> >> > -------------------------------------------------------------- >> ---------------- >> Let Crystal Reports handle the reporting - Free > Crystal >> Reports 2008 30-Day >> trial. Simplify your report design, integration and >> deployment - and focus on >> what you do best, core application coding. Discover > what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Nagios-users mailing list >> [email protected] >> > https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version > (-v) and OS >> when reporting any issue. >> ::: Messages without supporting info will risk > being sent to /dev/null >> > > > > > > ------------------------------ > > Message: 9 > Date: Wed, 2 Sep 2009 10:21:06 +0100 > From: "Martyn" <[email protected]> > Subject: Re: [Nagios-users] Nagio + SMS > To: <[email protected]>, <[email protected]>, > <[email protected]> > Message-ID: > <!&!aaaaaaaaaaayaaaaaaaaadw1ftpxxwxaqgspfermtgrcgaaaeaaaagwplhxgolfmrefsowy4ydmbaaaaa...@chetnet.co.uk> > > Content-Type: text/plain; charset="us-ascii" > > Craig not sure if this is a correct statement but I think that gnokii only > supports Nokia Mobiles, like I said not 100% sure. > > -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: 02 September 2009 10:15 > To: [email protected]; [email protected]; > [email protected] > Subject: RE: [Nagios-users] Nagio + SMS > > Thanks for the replies, I guess we have to be looking at a GSM gateway > then > as our rack manager will not allow us to have loose mobiles in cabs. > > I have just had a quick Google on some GSM Modems and wondered if any of > these would be OK and use something like gnokii. > > GSM Modems > http://www.rfsolutions.co.uk/acatalog/GSM_Modems.html > > Looking at this: > http://www.rfsolutions.co.uk/acatalog/Maestro_Industrial_GSM_Modem.html > > Thanks > > > ------- Original Message ------- >>From : Masopust, > Christian[mailto:[email protected]] > Sent : 02/09/2009 09:55:12 > To : [email protected]; > [email protected] > Cc : > Subject : RE: [Nagios-users] Nagio + SMS > > > Hello Craig, > > I'm using smstools ( > http://smstools.meinemullemaus.de/ ) with a simple GSM-Modem (Siemens > TC35) > here and it does all I need. > > 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 > >> -----Original Message----- >> From: [email protected] [ > mailto:[email protected]] >> Sent: Wednesday, September 02, 2009 10:29 AM >> To: [email protected] >> Subject: [Nagios-users] Nagio + SMS >> >> Hi all >> >> I'm looking for an SMS solution for my Nagios set-up and noticed on >> the Nagios page that you lean towards the SMS FoxBox, this looks like >> a nice solution but at the cost of 850 Euro's this is way outside of >> my budget. >> >> What does this community use and recommend for a nice and simple as >> well a cheap SMS solutions. >> >> Thanks >> >> Craig >> >> >> > -------------------------------------------------------------- >> ---------------- >> Let Crystal Reports handle the reporting - Free > Crystal >> Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and >> focus on what you do best, core application coding. Discover > what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Nagios-users mailing list >> [email protected] >> > https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version > (-v) and OS >> when reporting any issue. >> ::: Messages without supporting info will risk > being sent to /dev/null >> > > > > > > ------------------------------ > > Message: 10 > Date: Wed, 2 Sep 2009 12:26:08 +0300 > From: Juki <[email protected]> > Subject: [Nagios-users] check_by_ssh error - Remote command execution > failed > To: Nagios Users Mail-list <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > Hello people, > I'm trying to implement check_by_ssh to monitor local resource usage on a > remote host running Solaris 10. I'm following instructions as described in > the attachment. > > Following the instructions, I have managed to ensure that the central > Nagios > server (running Nagios v3.0rc2 on SuSE Linux 10.0) is able to connect to > the > remote host via SSH in a manner that does not require a password. Below > are > my command and service definitions, as defined on the central Nagios > server, > for one of the resources (root partition disk usage) I intend to monitor; > > > +++++ Service Definition +++++ > > define service{ > use generic-service ; Name > of service template to use > host_name sauga02 > service_description Root Partition > check_command check_ssh_disk!25%!20%! > notifications_enabled 0 > } > > > +++++ Command Definition +++++ > > # 'check_ssh_disk' command definition > define command { > command_name check_ssh_disk > command_line $USER1$/check_by_ssh -i /home/nagios/.ssh/id_dsa > -l nagios -H 10.151.28.22 -C /export/home/nagios/plugins/check_disk -w > $ARG1$ -c $ARG2$ -p $ARG3$ > } > > > I created a password-less public/private keypair as the user running the > Nagios service (typically "nagios"), sending the public key to the remote > server, and then (as user "nagios") logging into the remote system. > > After completing the setup, I run the following command from the central > Nagios server as a test and encountered the error as shown below; > > nag...@central-host:~> /usr/local/nagios/libexec/check_by_ssh -H > x.x.x.x -C > "/export/home/nagios/plugins/check_swap -w 50% -c 10%" > > Remote command execution failed: ###################### !!! WARNING !!! > ############################# > > where; > > - x.x.x.x - the IP of the remote host. > - /export/home/nagios/plugins - the location on the remote host where > the > plugins are run from > > > I also run the same command using the host name of the remote host but > that > gave me the same error. The web GUI also shows the same error. > > > Can someone please point me in the right direction towards solving this > issue? > > > Thanks, > Juki > -------------- next part -------------- > An HTML attachment was scrubbed... > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: Linux012009.pdf > Type: application/pdf > Size: 41456 bytes > Desc: not available > > ------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > ------------------------------ > > _______________________________________________ > Nagios-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > End of Nagios-users Digest, Vol 40, Issue 3 > ******************************************* > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
