Re: [Nagios-users] Notifications by SMS
On Friday 23 February 2007 14:35, Martin Møller Pedersen wrote: > On 23/02/07, Chaim Keren Tzion <[EMAIL PROTECTED]> wrote: > > What are the recommended ways to have Nagios send SMS notifications via > > the net? (Non modem solutions please.) Free and non-free. > > > > TIA > > But then you will not get any notification if your network has problems ! > A GSM-modem is a good solution. I agree but I can't get one into my data center. The upside is that the servers are monitored 24x7 by the collocation staff for the type of things that having a GSM-modem would be most essential for, like network outages. I just need the SMS's for performance monitoring so I can be alerted to problems while they are happening which helps with debugging etc. > > Regards > Martin - 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] Notifications by SMS
On Friday 23 February 2007 14:28, Derek J. Balling wrote: > Chaim Keren Tzion wrote: > > What are the recommended ways to have Nagios send SMS notifications via > > the net? (Non modem solutions please.) Free and non-free. > > Via which "net"? Do you consider a GSM-Terminal solution to be a "modem > solution"? (I wouldn't FYI, but there's similarities, sure). What I mean by "net" is Internet. My servers are in a collocation center and I can't get a GSM modem or serially connected GSM-Terminal device in there. > We installed a Siemens TC65T in our data center and attached it to our > Nagios server. So our Nagios server has a GSM telephone number > associated with it, and it can happily issue SMS messages directly OTA > to our GSM phones. > > Like I said, it's not a "modem", but there are similarities. But also a > lot less error-prone (you'll never get notified a couple hundred times > after you bring up the mail server, that "the mail system is down", for > example). Also, since it's OTA, it's not like you have to bring POTS > service to the box. Contrarily, though, depending on your situation, > getting a GSM signal in the colo may not be the easiest thing in the world. > > Cheers, > D - 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
[Nagios-users] PHP parse error in NLG
Hello, just installed NLG 1.0.2, but stuck with a blank page on hitting URL. In apache error log I have: [client 192.168.1.5] PHP Parse error: parse error, unexpected T_STRING in /usr/share/nagios/client/s3_client.php on line 327 Any advice for me? Nagios 2.0 Thank you, Carlo Piccini - 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] Monitoring Cisco 3750 stack
On Sat, 24 Feb 2007, Andrea Gabellini wrote: > I would like to monitor the status of a stack of Cisco Catalyst 3750. > > Do someone know the SNMP OIDs to query? Or can someone share info or scripts? I guess a snmpwalk against the device will let it spill it's guts and you pick whatever you want to know about it. So the basic question is. What do you want to know about it? For example: You can gather the amount of non-unicast packets for a port if you like to. But is it usefull to you? Hugo. -- [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) - 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
[Nagios-users] Monitoring Cisco 3750 stack
Hi, I would like to monitor the status of a stack of Cisco Catalyst 3750. Do someone know the SNMP OIDs to query? Or can someone share info or scripts? Thanks, Andrea -- --- Computer analyst to programmer: "You start coding. I'll go find out what they want." --- Ing. Andrea Gabellini Email: [EMAIL PROTECTED] Tel: 0549 886111 (Italy) Tel. +378 0549 886111 (International) Telecom Italia San Marino S.p.A. Strada degli Angariari, 3 47891 Rovereta Repubblic of San Marino http://www.omniway.sm http://www.telecomitalia.sm - 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] Notifications by SMS
It seems that most folks who talk about these services (and the ones that are "good") seem to be referring to services for UK users. Is this something that's just more widely used in the UK and Europe that the US? Anyone recommend any good services for this stuff that would work for US customers? Thanks Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Avery Sent: Saturday, February 24, 2007 5:59 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Notifications by SMS I use http://www.intellisms.co.uk/ . Their options for formatting the mail for translation to SMS are many and varied. It can split long emails in to multiple SMSs (you specify what the max number is you will allow). SMS replys are fired back by email to the originator (in my case I spoof it back to my own email). You can use their web admin pages to see what texts have been sent to whom. They take either pre-pay or contract payment. With pre-pay, you can specify a list of emails which will get notified when credit drops to a certain number of texts (which you specify). You can put an endofmessage code in the email so the SMS won't include all the legal and marketing junk the corporate email system appends to every email. The feature I really like is you can set up a contact group within the intellisms system, and move contacts in and out of that group using the web interface. That's handy for me as I can administer the on-call rota that way without bothering to connect to the corporate network. The downside of using any of these email-SMS methods is that they won't notify you when your SMTP gateway is down. Ideally I would set up an alternative using POTS or whatever so I could escalate via another route entirely. - 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=DEVDE V ___ 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 - 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] Service checks in hosts.cfg?
On Sat, 24 Feb 2007, chiel wrote: > Thank you for your comments. I understand this way nagios must be > configured. > > define service{ > use mydyndns-template > host_name > ns2.mydyndns.org,ns3.mydyndns.org,ns4.mydyndns.org,ns5.mydyndns.org > service_description PING > check_command check_ping!300,20%!1000,60% > contact_groups mydyndns-org > } > > > In the above example you define all your hosts that you want to check with > ping on one line. Let say I want to check over a 100 hosts with this > services, must they al go on 1 line (?!). > I can't put the hostgroup here because not al the hosts in that hostgroup > respond to ping. > (Of course I split up the config files as much as I can with creating > cfg_dir's) Can't recall if you can have multiple host_name lines. I have not needed it yet. But it will take you only minutes to find out. Won't it? Please, don't top post: A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Hugo. -- [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. - 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] Service checks in hosts.cfg?
Hi Hugo, Thank you for your comments. I understand this way nagios must be configured. define service{ use mydyndns-template host_name ns2.mydyndns.org,ns3.mydyndns.org,ns4.mydyndns.org,ns5.mydyndns.org service_description PING check_command check_ping!300,20%!1000,60% contact_groups mydyndns-org } In the above example you define all your hosts that you want to check with ping on one line. Let say I want to check over a 100 hosts with this services, must they al go on 1 line (?!). I can't put the hostgroup here because not al the hosts in that hostgroup respond to ping. (Of course I split up the config files as much as I can with creating cfg_dir's) Michiel - Original Message - From: "Hugo van der Kooij" <[EMAIL PROTECTED]> To: "Nagios Users mailinglist" Sent: Saturday, February 24, 2007 3:06 PM Subject: Re: [Nagios-users] Service checks in hosts.cfg? > On Sat, 24 Feb 2007, chiel wrote: > >> I have been working with Nagios for a couple of days now and I'm just >> beginning to understand the principle of the config (.cfg) files. >> I understand that you create a service (let say Ping) and put all your >> hosts (or hostgroups) in there that you want to check with ping. > > First off. Print the manual in full or whatever allows you to read it > cover to cover. But go over the full manual at least once from cover to > cover. > >> But is it also possible to define these checks in the hosts.cfg file?? >> So I would become something like this: >> >> define host{ >>host_name server1 >>alias Linux server 1 >>address 10.0.0.1 >>contact_groups network_team >>checks check_ping, check_load, check_snmp <--- This line >> } > > This is rather completely wrong. I think you need to reverse your way of > thinking. > > Think of hosts as machines. You can add a check on the machine but it is > just to see if the hardware is there. For this most people use the default > check but in some cases you need to deviate. That is where the checks on a > host end. > > You care about service provided. You only check the host to make sure they > remain active because you need them to run the service. In this regard you > can think of CPU and memory usages as services on which other services > rely. (If your CPU is 0% idle your MySQL service is likely to be running > poorly.) > > So you need to add a 100 hosts if you have a 100 machines. But read the > part on templates very very carefully as it will save a lot of time and > work. > > Then you define service which may run on some hosts, mosts hosts or all > hosts. > > So define a service named POSTFIX for example and use the check_smtp check > to test it. > > If in doubt go over the manual a few times and study the mailinglist > archives. > > For example my 4 backup DNS servers: > > # 4 backup servers: > define hostgroup { > hostgroup_name mydyndns-org > alias mydyndns.org servers > members ns2.mydyndns.org > members ns3.mydyndns.org > members ns4.mydyndns.org > members ns5.mydyndns.org > } > > # Template for these hosts > define host { > namemydyndns-template > register0 > check_command check-host-alive > max_check_attempts 3 > active_checks_enabled 1 > passive_checks_enabled 0 > check_period24x7 > retain_status_information 1 > retain_nonstatus_information1 > notification_interval 60 > notification_period 24x7 > notification_optionsd,u,r,f > notifications_enabled 1 > } > > # The 4 machines: > define host{ > use mydyndns-template > host_name ns2.mydyndns.org > alias DNS server 2 > address 204.13.249.82 > parents transip-switch > hostgroups mydyndns-org > contact_groups mydyndns-org > } > > define host{ > use mydyndns-template > host_name ns3.mydyndns.org > alias DNS server 3 > address 204.13.250.82 > # address 63.209.15.211 > parents transip-switch > hostgroups mydyndns-org > contact_groups mydyndns-org > } > > define host{ > use
Re: [Nagios-users] Service checks in hosts.cfg?
On 24/02/07 08:21 AM, chiel wrote: > Hello, > > I have been working with Nagios for a couple of days now and I'm just > beginning to understand the principle of the config (.cfg) files. > I understand that you create a service (let say Ping) and put all your > hosts (or hostgroups) in there that you want to check with ping. > > But is it also possible to define these checks in the hosts.cfg file?? > So I would become something like this: > > define host{ > host_name server1 > alias Linux server 1 > address 10.0.0.1 > contact_groups network_team > checks check_ping, check_load, check_snmp <--- This line > } > > > This would make more sense to me, because if you got over a 100 hosts to > check, and you don't want to do it with a hostgroup, then all these host > most be in the services.cfg on one line (do I got this right?). Well, first keep in mind that any object configuration file is only a configuration file. The name is irrelevant. If you're building a huge host you should use cfg_dir so that you can config files simple by dropinf one in cfg_dir on one of its subdirectory. The best way to achieve your result is using templates. So let's say you have, among hostgroups, web1 web2 and web3 that all needs HTTP checks. You can create a template (I'm not looking at the doc so syntax may be wrong...): define service{ name web_service hostgroup_name web1 web2 web3 [optionally other options] usegeneric_service # ^^^ Only if you have a generic_service template with default options. register 0 } Then to define the HTTP check all you have to do is: define service { service_description HTTP Check host_name check_command check_http!args use web_service } If you build everything over whell-organized templates your config will be much smaller. Here's the comparisos of number of lines between objects config lines and the fully parsed objects cache on one of my hosts: # find /path/to/nagios/cfg -name \*.cfg|xargs cat|egrep -v '^.*?#' \ |egrep -v '^[[:space:]]*$'|wc -l 1755 # cat /path/to/var/objects.cache|egrep -v '^.*?#' \ |egrep -v '^[[:space:]]*$'|wc -l 29970 Thomas - 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] Service checks in hosts.cfg?
Hi Hugo, Thank you for your comments. I understand this way. But what I'm trying to say is that - Original Message - From: "MANUEL CANSECO GARCIA" <[EMAIL PROTECTED]> To: Sent: Saturday, February 24, 2007 3:07 PM Subject: Re: [Nagios-users] Service checks in hosts.cfg? > Mensaje Automatico *** > Este usuario no se encuentra operativo, para cualquier asunto le ruego > se pongan en contacto con Leandro Gayango [EMAIL PROTECTED] > > *** > nagios-users 02/24/07 15:06 >>> > > On Sat, 24 Feb 2007, chiel wrote: > >> I have been working with Nagios for a couple of days now and I'm just > beginning to understand the principle of the config (.cfg) files. >> I understand that you create a service (let say Ping) and put all your > hosts (or hostgroups) in there that you want to check with ping. > > First off. Print the manual in full or whatever allows you to read it > cover to cover. But go over the full manual at least once from cover to > cover. > >> But is it also possible to define these checks in the hosts.cfg file?? >> So I would become something like this: >> >> define host{ >>host_name server1 >>alias Linux server 1 >>address 10.0.0.1 >>contact_groups network_team >>checks check_ping, check_load, check_snmp <--- This > line >> } > > This is rather completely wrong. I think you need to reverse your way of > > thinking. > > Think of hosts as machines. You can add a check on the machine but it is > > just to see if the hardware is there. For this most people use the > default > check but in some cases you need to deviate. That is where the checks on > a > host end. > > You care about service provided. You only check the host to make sure > they > remain active because you need them to run the service. In this regard > you > can think of CPU and memory usages as services on which other services > rely. (If your CPU is 0% idle your MySQL service is likely to be running > > poorly.) > > So you need to add a 100 hosts if you have a 100 machines. But read the > part on templates very very carefully as it will save a lot of time and > work. > > Then you define service which may run on some hosts, mosts hosts or all > hosts. > > So define a service named POSTFIX for example and use the check_smtp > check > to test it. > > If in doubt go over the manual a few times and study the mailinglist > archives. > > For example my 4 backup DNS servers: > > # 4 backup servers: > define hostgroup { > hostgroup_name mydyndns-org > alias mydyndns.org servers > members ns2.mydyndns.org > members ns3.mydyndns.org > members ns4.mydyndns.org > members ns5.mydyndns.org > } > > # Template for these hosts > define host { > namemydyndns-template > register0 > check_command check-host-alive > max_check_attempts 3 > active_checks_enabled 1 > passive_checks_enabled 0 > check_period24x7 > retain_status_information 1 > retain_nonstatus_information1 > notification_interval 60 > notification_period 24x7 > notification_optionsd,u,r,f > notifications_enabled 1 > } > > # The 4 machines: > define host{ > use mydyndns-template > host_name ns2.mydyndns.org > alias DNS server 2 > address 204.13.249.82 > parents transip-switch > hostgroups mydyndns-org > contact_groups mydyndns-org > } > > define host{ > use mydyndns-template > host_name ns3.mydyndns.org > alias DNS server 3 > address 204.13.250.82 > # address 63.209.15.211 > parents transip-switch > hostgroups mydyndns-org > contact_groups mydyndns-org > } > > define host{ > use mydyndns-template > host_name ns4.mydyndns.org > alias DNS server 4 > address 213.155.150.206 > parents transip-switch > hostgroups mydyndns-org > contact_groups mydyndns-org > } > > define host{ > us
Re: [Nagios-users] Service checks in hosts.cfg?
Mensaje Automatico *** Este usuario no se encuentra operativo, para cualquier asunto le ruego se pongan en contacto con Leandro Gayango [EMAIL PROTECTED] *** >>> nagios-users 02/24/07 15:06 >>> On Sat, 24 Feb 2007, chiel wrote: > I have been working with Nagios for a couple of days now and I'm just beginning to understand the principle of the config (.cfg) files. > I understand that you create a service (let say Ping) and put all your hosts (or hostgroups) in there that you want to check with ping. First off. Print the manual in full or whatever allows you to read it cover to cover. But go over the full manual at least once from cover to cover. > But is it also possible to define these checks in the hosts.cfg file?? > So I would become something like this: > > define host{ >host_name server1 >alias Linux server 1 >address 10.0.0.1 >contact_groups network_team >checks check_ping, check_load, check_snmp <--- This line > } This is rather completely wrong. I think you need to reverse your way of thinking. Think of hosts as machines. You can add a check on the machine but it is just to see if the hardware is there. For this most people use the default check but in some cases you need to deviate. That is where the checks on a host end. You care about service provided. You only check the host to make sure they remain active because you need them to run the service. In this regard you can think of CPU and memory usages as services on which other services rely. (If your CPU is 0% idle your MySQL service is likely to be running poorly.) So you need to add a 100 hosts if you have a 100 machines. But read the part on templates very very carefully as it will save a lot of time and work. Then you define service which may run on some hosts, mosts hosts or all hosts. So define a service named POSTFIX for example and use the check_smtp check to test it. If in doubt go over the manual a few times and study the mailinglist archives. For example my 4 backup DNS servers: # 4 backup servers: define hostgroup { hostgroup_name mydyndns-org alias mydyndns.org servers members ns2.mydyndns.org members ns3.mydyndns.org members ns4.mydyndns.org members ns5.mydyndns.org } # Template for these hosts define host { namemydyndns-template register0 check_command check-host-alive max_check_attempts 3 active_checks_enabled 1 passive_checks_enabled 0 check_period24x7 retain_status_information 1 retain_nonstatus_information1 notification_interval 60 notification_period 24x7 notification_optionsd,u,r,f notifications_enabled 1 } # The 4 machines: define host{ use mydyndns-template host_name ns2.mydyndns.org alias DNS server 2 address 204.13.249.82 parents transip-switch hostgroups mydyndns-org contact_groups mydyndns-org } define host{ use mydyndns-template host_name ns3.mydyndns.org alias DNS server 3 address 204.13.250.82 # address 63.209.15.211 parents transip-switch hostgroups mydyndns-org contact_groups mydyndns-org } define host{ use mydyndns-template host_name ns4.mydyndns.org alias DNS server 4 address 213.155.150.206 parents transip-switch hostgroups mydyndns-org contact_groups mydyndns-org } define host{ use mydyndns-template host_name ns5.mydyndns.org alias DNS server 5 address 63.208.196.93 parents transip-switch hostgroups mydyndns-org contact_groups mydyndns-org } # Now group the services on the 4 hosts
Re: [Nagios-users] Service checks in hosts.cfg?
On Sat, 24 Feb 2007, chiel wrote: > I have been working with Nagios for a couple of days now and I'm just > beginning to understand the principle of the config (.cfg) files. > I understand that you create a service (let say Ping) and put all your hosts > (or hostgroups) in there that you want to check with ping. First off. Print the manual in full or whatever allows you to read it cover to cover. But go over the full manual at least once from cover to cover. > But is it also possible to define these checks in the hosts.cfg file?? > So I would become something like this: > > define host{ >host_name server1 >alias Linux server 1 >address 10.0.0.1 >contact_groups network_team >checks check_ping, check_load, check_snmp <--- This line > } This is rather completely wrong. I think you need to reverse your way of thinking. Think of hosts as machines. You can add a check on the machine but it is just to see if the hardware is there. For this most people use the default check but in some cases you need to deviate. That is where the checks on a host end. You care about service provided. You only check the host to make sure they remain active because you need them to run the service. In this regard you can think of CPU and memory usages as services on which other services rely. (If your CPU is 0% idle your MySQL service is likely to be running poorly.) So you need to add a 100 hosts if you have a 100 machines. But read the part on templates very very carefully as it will save a lot of time and work. Then you define service which may run on some hosts, mosts hosts or all hosts. So define a service named POSTFIX for example and use the check_smtp check to test it. If in doubt go over the manual a few times and study the mailinglist archives. For example my 4 backup DNS servers: # 4 backup servers: define hostgroup { hostgroup_name mydyndns-org alias mydyndns.org servers members ns2.mydyndns.org members ns3.mydyndns.org members ns4.mydyndns.org members ns5.mydyndns.org } # Template for these hosts define host { namemydyndns-template register0 check_command check-host-alive max_check_attempts 3 active_checks_enabled 1 passive_checks_enabled 0 check_period24x7 retain_status_information 1 retain_nonstatus_information1 notification_interval 60 notification_period 24x7 notification_optionsd,u,r,f notifications_enabled 1 } # The 4 machines: define host{ use mydyndns-template host_name ns2.mydyndns.org alias DNS server 2 address 204.13.249.82 parents transip-switch hostgroups mydyndns-org contact_groups mydyndns-org } define host{ use mydyndns-template host_name ns3.mydyndns.org alias DNS server 3 address 204.13.250.82 # address 63.209.15.211 parents transip-switch hostgroups mydyndns-org contact_groups mydyndns-org } define host{ use mydyndns-template host_name ns4.mydyndns.org alias DNS server 4 address 213.155.150.206 parents transip-switch hostgroups mydyndns-org contact_groups mydyndns-org } define host{ use mydyndns-template host_name ns5.mydyndns.org alias DNS server 5 address 63.208.196.93 parents transip-switch hostgroups mydyndns-org contact_groups mydyndns-org } # Now group the services on the 4 hosts: define servicegroup { servicegroup_name mydyndns-org alias mydyndns.org servers members ns2.mydyndns.org, * members ns3.mydyndns.org, * members
[Nagios-users] Service checks in hosts.cfg?
Hello, I have been working with Nagios for a couple of days now and I'm just beginning to understand the principle of the config (.cfg) files. I understand that you create a service (let say Ping) and put all your hosts (or hostgroups) in there that you want to check with ping. But is it also possible to define these checks in the hosts.cfg file?? So I would become something like this: define host{ host_name server1 alias Linux server 1 address 10.0.0.1 contact_groups network_team checks check_ping, check_load, check_snmp <--- This line } This would make more sense to me, because if you got over a 100 hosts to check, and you don't want to do it with a hostgroup, then all these host most be in the services.cfg on one line (do I got this right?). Please comment on this. - 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] Notifications by SMS
I use http://www.intellisms.co.uk/ . Their options for formatting the mail for translation to SMS are many and varied. It can split long emails in to multiple SMSs (you specify what the max number is you will allow). SMS replys are fired back by email to the originator (in my case I spoof it back to my own email). You can use their web admin pages to see what texts have been sent to whom. They take either pre-pay or contract payment. With pre-pay, you can specify a list of emails which will get notified when credit drops to a certain number of texts (which you specify). You can put an endofmessage code in the email so the SMS won't include all the legal and marketing junk the corporate email system appends to every email. The feature I really like is you can set up a contact group within the intellisms system, and move contacts in and out of that group using the web interface. That's handy for me as I can administer the on-call rota that way without bothering to connect to the corporate network. The downside of using any of these email-SMS methods is that they won't notify you when your SMTP gateway is down. Ideally I would set up an alternative using POTS or whatever so I could escalate via another route entirely. - 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