[Nagios-users] notifications for downed services
Hello everyone, I have just configured some service checks for services such as http, smtp, etc.. The commands are defined in the commands.cfg file and then called in the services.cfg file. The following is an example of how a commands.cfg and services.cfg looks: # 'check_http' command definition define command{ command_namecheck_http command_line$USER1$/check_http -H $HOSTADDRESS$ } Generic services template define service{ name generic-service; active_checks_enabled 1; obsess_over_service 1; check_freshness 0; notifications_enabled 1; event_handler_enabled 1; flap_detection_enabled 1; retain_status_information 1; retain_nonstatus_information 1; register 0; } define service{ use generic-service namebasic-service is_volatile 0 check_period24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval1 notification_interval 240 notification_period 24x7 register0 } define service{ use basic-service name smtp-service check_command check_smtp notification_options c,r register 0 } Example service called for a specific host (same services.cfg file as where the above services are declared in the beginning) define service{ use dns-service host_name serv01 servicegroups mygroup service_description DNS contact_groups localadmin,supportpro } The contacts are setup correctly since our check_ping which is declared in the hosts.cfg file works perfectly fine and we do get the correct alerts. Could someone point me in the right direction of what I'm doing wrong here? I can't seem to get emails if a service is down. It's most likely in my syntax, but I'm not sure where since I get no errors when reloading Nagios. Thanks for your help. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] notifications for downed services
Hello everyone, I have just configured some service checks for services such as http, smtp, etc.. The commands are defined in the commands.cfg file and then called in the services.cfg file. The following is an example of how a commands.cfg and services.cfg looks: # 'check_http' command definition define command{ command_namecheck_http command_line$USER1$/check_http -H $HOSTADDRESS$ } Generic services template define service{ name generic-service; active_checks_enabled 1; obsess_over_service 1; check_freshness 0; notifications_enabled 1; event_handler_enabled 1; flap_detection_enabled 1; retain_status_information 1; retain_nonstatus_information 1; register 0; } define service{ use generic-service namebasic-service is_volatile 0 check_period24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval1 notification_interval 240 notification_period 24x7 register0 } define service{ use basic-service name smtp-service check_command check_smtp notification_options c,r register 0 } Example service called for a specific host (same services.cfg file as where the above services are declared in the beginning) define service{ use dns-service host_name serv01 servicegroups mygroup service_description DNS contact_groups localadmin,supportpro } The contacts are setup correctly since our check_ping which is declared in the hosts.cfg file works perfectly fine and we do get the correct alerts. Could someone point me in the right direction of what I'm doing wrong here? I can't seem to get emails if a service is down. It's most likely in my syntax, but I'm not sure where since I get no errors when reloading Nagios. Thanks for your help. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] service notifications not sent
Hello everyone, I have just configured some service checks for services such as http, smtp, etc.. The commands are defined in the commands.cfg file and then called in the services.cfg file. The following is an example of how a commands.cfg and services.cfg looks: # 'check_http' command definition define command{ command_namecheck_http command_line$USER1$/check_http -H $HOSTADDRESS$ } Generic services template define service{ name generic-service; active_checks_enabled 1; obsess_over_service 1; check_freshness 0; notifications_enabled 1; event_handler_enabled 1; flap_detection_enabled 1; retain_status_information 1; retain_nonstatus_information 1; register 0; } define service{ use generic-service namebasic-service is_volatile 0 check_period24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval1 notification_interval 240 notification_period 24x7 register0 } define service{ use basic-service name smtp-service check_command check_smtp notification_options c,r register 0 } Example service called for a specific host (same services.cfg file as where the above services are declared in the beginning) define service{ use dns-service host_name serv01 servicegroups mygroup service_description DNS contact_groups localadmin,supportpro } The contacts are setup correctly since our check_ping which is declared in the hosts.cfg file works perfectly fine and we do get the correct alerts. Could someone point me in the right direction of what I'm doing wrong here? I can't seem to get emails if a service is down. It's most likely in my syntax, but I'm not sure where since I get no errors when reloading Nagios. Thanks for your help. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] notifications for downed services
Hello everyone, I have just configured some service checks for services such as http, smtp, etc.. The commands are defined in the commands.cfg file and then called in the services.cfg file. The following is an example of how a commands.cfg and services.cfg looks: # 'check_http' command definition define command{ command_namecheck_http command_line$USER1$/check_http -H $HOSTADDRESS$ } Generic services template define service{ name generic-service; active_checks_enabled 1; obsess_over_service 1; check_freshness 0; notifications_enabled 1; event_handler_enabled 1; flap_detection_enabled 1; retain_status_information 1; retain_nonstatus_information 1; register 0; } define service{ use generic-service namebasic-service is_volatile 0 check_period24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval1 notification_interval 240 notification_period 24x7 register0 } define service{ use basic-service name smtp-service check_command check_smtp notification_options c,r register 0 } Example service called for a specific host (same services.cfg file as where the above services are declared in the beginning) define service{ use dns-service host_name serv01 servicegroups mygroup service_description DNS contact_groups localadmin,supportpro } The contacts are setup correctly since our check_ping which is declared in the hosts.cfg file works perfectly fine and we do get the correct alerts. Could someone point me in the right direction of what I'm doing wrong here? I can't seem to get emails if a service is down. It's most likely in my syntax, but I'm not sure where since I get no errors when reloading Nagios. Thanks for your help. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] service notifications not sent
Hello everyone, I have just configured some service checks for services such as http, smtp, etc.. The commands are defined in the commands.cfg file and then called in the services.cfg file. The following is an example of how a commands.cfg and services.cfg looks: # 'check_http' command definition define command{ command_namecheck_http command_line$USER1$/check_http -H $HOSTADDRESS$ } Generic services template define service{ name generic-service; active_checks_enabled 1; obsess_over_service 1; check_freshness 0; notifications_enabled 1; event_handler_enabled 1; flap_detection_enabled 1; retain_status_information 1; retain_nonstatus_information 1; register 0; } define service{ use generic-service namebasic-service is_volatile 0 check_period24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval1 notification_interval 240 notification_period 24x7 register0 } define service{ use basic-service name smtp-service check_command check_smtp notification_options c,r register 0 } Example service called for a specific host (same services.cfg file as where the above services are declared in the beginning) define service{ use dns-service host_name serv01 servicegroups mygroup service_description DNS contact_groups localadmin,supportpro } The contacts are setup correctly since our check_ping which is declared in the hosts.cfg file works perfectly fine and we do get the correct alerts. Could someone point me in the right direction of what I'm doing wrong here? I can't seem to get emails if a service is down. It's most likely in my syntax, but I'm not sure where since I get no errors when reloading Nagios. Thanks for your help. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] notifications for downed services
Hello everyone, I have just configured some service checks for services such as http, smtp, etc.. The commands are defined in the commands.cfg file and then called in the services.cfg file. The following is an example of how a commands.cfg and services.cfg looks: # 'check_http' command definition define command{ command_namecheck_http command_line$USER1$/check_http -H $HOSTADDRESS$ } Generic services template define service{ name generic-service; active_checks_enabled 1; obsess_over_service 1; check_freshness 0; notifications_enabled 1; event_handler_enabled 1; flap_detection_enabled 1; retain_status_information 1; retain_nonstatus_information 1; register 0; } define service{ use generic-service namebasic-service is_volatile 0 check_period24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval1 notification_interval 240 notification_period 24x7 register0 } define service{ use basic-service name smtp-service check_command check_smtp notification_options c,r register 0 } Example service called for a specific host (same services.cfg file as where the above services are declared in the beginning) define service{ use dns-service host_name serv01 servicegroups mygroup service_description DNS contact_groups localadmin,supportpro } The contacts are setup correctly since our check_ping which is declared in the hosts.cfg file works perfectly fine and we do get the correct alerts. Could someone point me in the right direction of what I'm doing wrong here? I can't seem to get emails if a service is down. It's most likely in my syntax, but I'm not sure where since I get no errors when reloading Nagios. Thanks for your help. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] notifications for downed services
Hello everyone, I have just configured some service checks for services such as http, smtp, etc.. The commands are defined in the commands.cfg file and then called in the services.cfg file. The following is an example of how a commands.cfg and services.cfg looks: # 'check_http' command definition define command{ command_namecheck_http command_line$USER1$/check_http -H $HOSTADDRESS$ } Generic services template define service{ name generic-service; active_checks_enabled 1; obsess_over_service 1; check_freshness 0; notifications_enabled 1; event_handler_enabled 1; flap_detection_enabled 1; retain_status_information 1; retain_nonstatus_information 1; register 0; } define service{ use generic-service namebasic-service is_volatile 0 check_period24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval1 notification_interval 240 notification_period 24x7 register0 } define service{ use basic-service name smtp-service check_command check_smtp notification_options c,r register 0 } Example service called for a specific host (same services.cfg file as where the above services are declared in the beginning) define service{ use dns-service host_name serv01 servicegroups mygroup service_description DNS contact_groups localadmin,supportpro } The contacts are setup correctly since our check_ping which is declared in the hosts.cfg file works perfectly fine and we do get the correct alerts. Could someone point me in the right direction of what I'm doing wrong here? I can't seem to get emails if a service is down. It's most likely in my syntax, but I'm not sure where since I get no errors when reloading Nagios. Thanks for your help. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] notifications for downed services
Hello everyone, I have just configured some service checks for services such as http, smtp, etc.. The commands are defined in the commands.cfg file and then called in the services.cfg file. The following is an example of how a commands.cfg and services.cfg looks: # 'check_http' command definition define command{ command_namecheck_http command_line$USER1$/check_http -H $HOSTADDRESS$ } Generic services template define service{ name generic-service; active_checks_enabled 1; obsess_over_service 1; check_freshness 0; notifications_enabled 1; event_handler_enabled 1; flap_detection_enabled 1; retain_status_information 1; retain_nonstatus_information 1; register 0; } define service{ use generic-service namebasic-service is_volatile 0 check_period24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval1 notification_interval 240 notification_period 24x7 register0 } define service{ use basic-service name smtp-service check_command check_smtp notification_options c,r register 0 } Example service called for a specific host (same services.cfg file as where the above services are declared in the beginning) define service{ use dns-service host_name serv01 servicegroups mygroup service_description DNS contact_groups localadmin,supportpro } The contacts are setup correctly since our check_ping which is declared in the hosts.cfg file works perfectly fine and we do get the correct alerts. Could someone point me in the right direction of what I'm doing wrong here? I can't seem to get emails if a service is down. It's most likely in my syntax, but I'm not sure where since I get no errors when reloading Nagios. Thanks for your help. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] running multiple nagios instances?
Hello, We currently only have one instance of nagios running. We are looking to setup a 2nd node in a different location for redundancy purposes. We are thinking of installing Nagios on it and then using rsync and some crons to update the slave server from our currently running server so we only have to add new hosts to a single box. Has anyone done this before and how does it work? Also, it would be nice to set it up somehow so that only our main server sends out the notifications when it's online or we'll get twice the notifications for same failed services, which is a no-no. The secondary server could send out the alerts if the primary fails numerous checks from the secondary for uptime. Hopefully I didn't confuse anyone. If any of you guys/gals know of a plugin or a nice way of setting this up, please do speak up! - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ 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] putting a Subject into the notification email
Hello, What command do you use to give the notification email a subject. Right now, if a box is down, it just sends an email with no subject at all. It would be nice to put a subject in there that has the Host's IP for instance. Currently, here's what we have: # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf %b \nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n | /usr/lib/sendmail Host $HOSTSTATE$ alert for $HOSTNAME$ $CONTACTEMAIL$ } I take it the part after '| /usr/lib/senmail' is the subject of the email. Anyone know why it does not process it? We currently usq qmail server. Thank you for the help! - 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.phpp=sourceforgeCID=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 bandwidth usage
Hello, I would like to get some input on what everyone thinks the best way to monitor and alert our techs is in regards to bandwidth usage. I know you can setup Cacti and Nagios to work together. For example, we can set a base mbit per day for a user and if they go over this limit, we will be notified via Nagios and can contact the user to let them know that they are on track to go over their allotted transfer. Thank you all for your input and help! - 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.phpp=sourceforgeCID=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] Adding Contacts
Sorry for posting again but was not able to reply to [EMAIL PROTECTED] via email for some reason. Here's the Contact issue continued. I'm sure that I'm just missing something simple, just don't know what. Thanks for the help Max, I did just that. Added them under contactgroups and then also in contacts.cfg seperated by a comma for the contact. For some reason, no emails are being sent still. here's what I have in my contactgroups.cfg define contactgroup{ contactgroup_name localadmin alias Site Administrator members nagios, monitor } here's my contact.cfg define contact{ contact_name monitor alias AYK monitoring host_notification_period 24x7 service_notification_period 24x7 service_notification_options w,u,c,r,f host_notification_options d,u,r,f service_notification_commands notify-by-email host_notification_commands host-notify-by-email email [EMAIL PROTECTED] } Any ideas what may be wrong or why they are not being sent? I'll check the mail logs, but the email account does work. - 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.phpp=sourceforgeCID=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] Adding contacts
Hello, Is it possible to declare multiple email contacts for a single contact? For instance: email [EMAIL PROTECTED], [EMAIL PROTECTED] The reason I'm asking is because I added it, restarted and it didn't throw any errors. However, when I got the notification for something, it only got sent to the first contact, not the second. Thanks for your help - 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.phpp=sourceforgeCID=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] Upgrading to latest
Hello, One other question I have is regarding the whole upgrading process. We currently run 2.0, but want to upgrade to 2.6. We do nightly backups, but does anything get overwritten that we would need to reconfigure again, such as the .cfg files, the web interface, icons, etc..? Or do we just upload hte files and run configure make make install and that's it? Thank you again - 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.phpp=sourceforgeCID=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] Using external commands with web interface
Hello, I am trying to enable the full usage of the web interface. I looked at the faq and setup the correct permissions on /var/nagios/rw/nagios.cmd. The nagios config file also looks correct, but for some reason it still says that there is an issue with permissions when I try to add a Comment to a host via the web interface. Could someone please point me in the right direction? Thank you --- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html - 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.phpp=sourceforgeCID=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] Scheduling Downtime more
Hello, I am having some issues with scheduling downtime via the web interface. I have enabled it in the nagios.cfg file and gave my 'nagios' user all the permissions in the cgi.cfg file, but I still get the following message: Sorry, but you are not authorized to commit the specified command. I am not sure why I am not authorized as I gave myself permissions to do this. Any advice here would be greatly appreciated. Secondly, I would like to substitute the question marks in the Status Map with some images of routers, computers, etc.. to make it more appealing. I checked the docs but could not find anything dealing with this. Could someone please point me in the right direction? Thank you very much, Artyom --- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html - 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=lnkkid=120709bid=263057dat=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] Scheduling Downtime more
Thanks for your reply. I login when prompted for it, but it doesn't say anywhere that user 'nagios' is logged in. I will take a look at those sections. Thank you! --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi 1[showUid]=21008 I am having some issues with scheduling downtime via the web interface. I have enabled it in the nagios.cfg file and gave my 'nagios' user all the permissions in the cgi.cfg file, but I still get the following message: Sorry, but you are not authorized to commit the specified command. Does the web interface show that you are logged in? Secondly, I would like to substitute the question marks in the Status Map with some images of routers, computers, etc.. to make it more appealing. I checked the docs but could not find anything dealing with this. Could someone please point me in the right direction? See the hostextinfo and serviceextinfo sections of the docs. --- -- 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=lnkkid=120709bid=263057dat =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 easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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] getting some flyby errors
My check_ping command is as follows: define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p $ARG3$ } The above is also the structure of my check-host-alive in checkcommands.c fg same goes for the check-host-alive command which is what I have in the hosts.cfg file -- check_commmand check-host-alive. For my actual check_ping command in services.cfg I have the following: check_command check_ping!100.0,10%!500.0,40%!5 So, is passing that last argument '5' to $ARG3$ a problem? I did that with my first host and did not have a problem. Thanks again for the help --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi 1[showUid]=20646 - 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.phpp=sourceforgeCID=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] getting some flyby errors
My directory structure is as follows: /etc/nagios/ contains the main files (cgi, nagios, resources) /etc/nagios/mysite contains all the other files (hosts, services, servicegroups, checkcommands, etc..) What files do you think I should grep for check ping? Also, I have disabled check_ping altogether and am now using only check-host-alive as check_ping throws some errors. So, I now have in hosts.cfg check_command check-host-alive and in services I also have check_command check-host-alive One of them has arguments to pass to macros, the hosts.cfg I believe. I will try to run grep on all the files as mentioned however. Thanks for your help! --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi 1[showUid]=20668 - 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.phpp=sourceforgeCID=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] getting some flyby errors
That certainly makes sense. Thanks for the input everyone, but I believe I have resolved my problem. What I did was change check_ping to check_icmp, then setup the correct permissions (chmod 4711 and chown root.nagios on check_icmp), then changed the checkcommands.cfg, hosts.cfg and services.cfg files to reflect this. All of them are now showing up. Now I just need to see if the notificatio ns work with them. Thanks once again for everyone's help. --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi 1[showUid]=20678 - 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.phpp=sourceforgeCID=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] Please Help!! error on verify main config file
As John said, you have two definitions. Just rename minimal.cfg to minimal.cfg-old and simply copy/paste commands from it to your checkcommands.cfg file. --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi 1[showUid]=20711 - 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.phpp=sourceforgeCID=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] getting some flyby errors
Hello and thank you for your reply. I figured out 99% of my problems. I completely overlooked minimal.cfg and that is where it was pulling everything from. I also had those already defined errors before and had to move my checkcommands.cfg file as well as a few other ones. Now I know why. I just had to comment out/move minimal.cfg to a different directory and now everything 's working like a charm. Thanks for all your help. --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi 1[showUid]=20578 - 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.phpp=sourceforgeCID=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] Oreon feedback
Did a search on here for it but the posts were rather old. Just wanted to get some feedback on Oreon or anything else that's like it. I run v2.0 right now, so it should support that. Anyone using this front-end? I noticed most of the notes on it are in French and during the installati on process, it asks for non-existent directories (such as /usr/local/nagi os/etc), I assume that's from v1. Thanks for your suggestions --- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html - 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.phpp=sourceforgeCID=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] getting some flyby errors
Hello, I am having another slight issue and would like some guidance on this. Here's the situation: I have one host that is being pinged and the SMTP is being checked just fine. It's in Group A. Now, I went ahead and defined 6 new hosts that need to be just pinged. I used the same templates in the hosts.cfg and services.cfg files that I am using for the Group A host which works fine. I have also renamed minimal.cfg to something else, so that is not a problem any longer. It pulls everything from checkcommands.cfg file where check_ping and check-host-alive are defined. I am also using macros, so, I have the following for check_ping in services: check_ping!100.0,10%!500.0,40%!5 Now, I reloaded Nagios just fine and thought that everything should work. Wrong, I am now getting the following error for all of my new 6 Hosts: check_ping: %s: Warning threshold must be integer or percentage! They all are UP and ping fine. What I can't figure out is how my first host works just fine but the new ones, which share the same templates and service group are throwing that annoying error. What am I overlooking here? Please let me know if you would like for me to paste anything to help with the explanation of my issue. Thank you kindly for your help --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi 1[showUid]=20587 - 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.phpp=sourceforgeCID=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] getting some flyby errors
Any suggestions on how I would go about doing this? I've been testing this out for the better part of the day, but still get the following error(s) on the flyby test: Error: Service check command 'check_smtp' specified in service 'SMTP' for host 'aykshared' not defined anywhere! Checked 7 services. In the hosts.cfg file, I have the following: define host{ name Linux register 0 check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 240 notification_period 24x7 notification_options d,r,u,f contact_groups localadmin #notification_enabled 1 #event_handler_enabled 1 flap_detection_enabled 1 #failure_detection_enabled 1 #process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 } define host{ use Linux host_name aykshared hostgroups linux_aykshared alias AYK PING address 1.1.1.1 } #define host{ #name Linux-SMTP #register 0 #check_command check_smtp #max_check_attempts 10 #check_period 24x7 #notification_interval 240 #notification_period 24x7 #notification_options d,r,u,f #contact_groups localadmin #notification_enabled 1 #event_handler_enabled 1 #flap_detection_enabled 1 #failure_detection_enabled 1 #process_perf_data 1 #retain_status_information 1 #retain_nonstatus_information 1 #} #define host{ #use Linux-SMTP #host_name aykshared-smtp #hostgroups linux_aykshared #alias AYK SMTP #address mail.server.com #} In the services.cfg file I have the following: define service{ namebasic-service is_volatile 0 check_period24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval1 notification_interval 240 notification_period 24x7 register0 } define service{ use basic-service name ping-service check_command check_ping!100.0,10%!500.0,40%!5 notification_options u,c,r,f register 0 } define service{ use ping-service hostgroup_name linux_aykshared servicegroups shared service_description PING contact_groups localadmin } define service{ use basic-service name smtp-service check_command check_smtp notification_options c,r register 0 } define service{ use smtp-service hostgroup_name linux_aykshared servicegroups shared service_description SMTP contact_groups localadmin } I commented out the second half for the time being as it didn't work, but that is what I have. Also, please note that I do not want to define 'aykshared-smtp' as a new user but would like to have it all under 'aykshared'. This is mostly for us when we view through the web interface, so all the checks are under'aykshared' host. I tried using just host {}, but of course that did not work. When I uncomment the above part, I still get the same error, that it was not defined. Thanks for the help! P.S. Before I get jumped at for not replying to a specific mailing list, can someone please tell me how I can do that? Each reply button seems to be replying directly to the poster and not the whole thread. - 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.phpp=sourceforgeCID=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] getting some flyby errors
Hello, Thank you for the reply. I do believe I have the plugin and it is defined in checkcommands.cfg. I thought it may be the directory structure at first, but it's not as my PING works just fine and they are located in the same directory/file. Any other ideas? Was my syntax correct as far as defining goes, etc..? Sincerely, - Artyom Khmelnitsky (temak82) --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi 1[showUid]=20567 - 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.phpp=sourceforgeCID=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