Re: [Nagios-users] No email alerts ??
So what do you think about me execting from the command line i still cant get it to execute from the nagios I will check out this manaul link On 10/4/07, Jim Perrin [EMAIL PROTECTED] wrote: On 10/4/07, Nedim Bicic [EMAIL PROTECTED] wrote: OK check this out..funny thing is regarding the path /bin/mail doesnt exist anywhere from the root i tryed tracing back so i tryed executing this from the command line and i am able to recieve the email which now at least i know MTA is defintly working: I didnt put any argumetns as u can see this is just to test usr/bin/sendmail -s [EMAIL PROTECTED] works from command line but not from commands.cfg?? Now i editted the commands.cfg file copy and pasted the same exact above line, but doesnt send anything when i take down the host, I also had to tweak the linux firewall to allolw 25 in and out of that port. I did add nagios user and group that was when i configured apache and to accept external commands I cant answer that last question i dont even know wat kselinux is not to mention enabled , in one sentence wat is it and how does this affect emails for nagios on my issue https://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/ It is a security context that is enabled by default on RHEL4+. It prevents programs from doing things the system thinks it shouldn't be allowed to do. See the link. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell - 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
Re: [Nagios-users] No email alerts ??
Your definitly right about only sending from the root (usr/bin/sendmail) not a typo i tried that since /bin/mail didnt work for me so i thought i would try it out cause thats all it can do i tried placing that in the commands cfg obviusly didnt work... now i also tried making the user root and gave it permission but now i think i played way to much with mail and sendmail i screwed it up big time with the permissions.wat i think will end up doing is reinstalling nagios again..crap I didnt know that sendmail and mail are two different i guess i was wrong .. i mean i did installation word by word as written in manaul i have everything working expet email ? one small question is bin/mail a relay client ? and where is $contactemail$ defined anywhere except commands.cfg i see in the nagios.log file as mention in my eearlier posts that i see its trying to send it out but keeps getting line code error 127 unkown email address (which is my gmail) On 10/4/07, Hugo van der Kooij [EMAIL PROTECTED] wrote: On Thu, 4 Oct 2007, Nedim Bicic right about only sending from the root casue thats all it can do i tried placing that in the commands cfg obviusly didnt work... now i also tried making the user root and gave it permission OK check this out..funny thing is regarding the path /bin/mail doesnt exist anywhere from the root i tryed tracing back so i tryed executing this from the command line and i am able to recieve the email which now at least i know MTA is defintly working: I didnt put any argumetns as u can see this is just to test usr/bin/sendmail -s [EMAIL PROTECTED] works from command line but not from commands.cfg?? Wether it is sloppiness or a typo is not clear to me. But /usr/bin/sendmail is something entirely different from usr/bin/sendmail The second option will only happen to work if you happen to be in the root directory. It will fail from any other directory. Please be a 1000% more accurate. Because it will get back at you with in ways you do not seem to comprehend yet. Hugo. -- [EMAIL PROTECTED]http://hugo.vanderkooij.org/ 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 this quote of George Bernard Shaw.) - 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 - 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] Maintaning Nagios 2.9
Hey all i have nagios 2.9 installed everything working nice and peachy so far. I have question in terms of maintanace of nagios does the mysql databe needs to be truncated every one in a while, and what about the logs should i be running cron jobs on the linux box to delete logs and data that are more then 5 months old or does it overwrite information each day. Does anyone have doc on that since the maunal does focuse on maintace just installtion. For ex: i dont want to be running out of space any time soon do to these problems that may occur in the future thanks - 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] No email alerts ??
Hey all have nagios 2.9 running linux red hat enterprise 4 the email for nagios sending notifications arent working for some reason i know the box can send email because the it has the MTA agent installed cuase i can send other emials from that machine I can see host down in nagios webpage i have the contact groups set appropritaley and of course my email address in contacts group i even did a sanity check to see if i have any syntex errors nothing so far. this is what i have in commands.cfg file under emails: # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf %b * Nagios 2.9 *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n | /bin/mail -s Host $HOSTSTATE$ alert for $HOSTNAME$! $CONTACTEMAIL$ } and i also took out the option not to notify in my host file. something has to be tweaked for sure any help thanks - 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
Re: [Nagios-users] No email alerts ??
Here are my contact.cfg file define contact{ contact_nameNedo alias Nedo Bicic service_notification_period 24x7 host_notification_period24x7 service_notification_optionsw,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email [EMAIL PROTECTED] } this is my contactsgroup.cfg define contactgroup{ contactgroup_name Nedo alias Nedo Admin members Nedo } adn this is for my host file i disconnect in order to get email alerts: define host{ use generic-host; Name of host template to use host_name Test1 alias Test1 address 10.8.2.40 check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 120 notification_period 24x7 notification_optionsd,r contact_groups Nedo } and these are the serivice.cfg file for the above define service{ use generic-service ; Name of service template to use host_name Test1 service_description PING is_volatile 0 check_period24x7 max_check_attempts 4 normal_check_interval 2 retry_check_interval1 contact_groups Nedo notification_options w,u,c,r notification_interval 60 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% } and here is my commands.cfg file just incase something i am doing wrong # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf %b * Nagios 2.9 *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n | /bin/mail -s Host $HOSTSTATE$ alert for $HOSTNAME$! $CONTACTEMAIL$ } also i checked the nagios.log this is wat i get but my gmail is working i am sending email right now [1191443852] Warning: Attempting to execute the command /usr/bin/printf %b * Nagios 2.9 *\n\nNotification Type: PROBLEM\nHost: Test1\nState: DOWN\nAddress: 10.8.2.40\nInfo: PING CRITICAL - Packet loss = 100%\n\nDate/Time: Wed Oct 3 15:37:32 CDT 2007\n | /bin/mail -s Host DOWN alert for Test1! [EMAIL PROTECTED] resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... someone any clues On 10/3/07, Jim Perrin [EMAIL PROTECTED] wrote: On 10/3/07, Nedim Bicic [EMAIL PROTECTED] wrote: Hey all have nagios 2.9 running linux red hat enterprise 4 the email for nagios sending notifications arent working for some reason i know the box can send email because the it has the MTA agent installed cuase i can send other emials from that machine I can see host down in nagios webpage i have the contact groups set appropritaley and of course my email address in contacts group i even did a sanity check to see if i have any syntex errors nothing so far. this is what i have in commands.cfg file under emails: # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf %b * Nagios 2.9*\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n | /bin/mail -s Host $HOSTSTATE$ alert for $HOSTNAME$! $CONTACTEMAIL$ } and i also took out the option not to notify in my host file. something has to be tweaked for sure any help Did you set your contacts up so that they recieve notifications? -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell - 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
Re: [Nagios-users] No email alerts ??
Hey sounds good but what exctly am i exucuting at the commadn line is this the line i am executing: i replaced $CONTACTEMAIL$ with my email address but says cant find directory i tried executing from root: su nagios s /bin/sh but says cant find directory ?? help please */bin/mail -s Host $HOSTSTATE$ alert for $HOSTNAME$! [EMAIL PROTECTED] On 10/3/07, Hugo van der Kooij [EMAIL PROTECTED] wrote: On Wed, 3 Oct 2007, Nedim Bicic wrote: Hey all have nagios 2.9 running linux red hat enterprise 4 the email for nagios sending notifications arent working for some reason i know the box can send email because the it has the MTA agent installed cuase i can send other emials from that machine I can see host down in nagios webpage i have the contact groups set appropritaley and of course my email address in contacts group i even did a sanity check to see if i have any syntex errors nothing so far. this is what i have in commands.cfg file under emails: # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf %b * Nagios 2.9*\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n | /bin/mail -s Host $HOSTSTATE$ alert for $HOSTNAME$! $CONTACTEMAIL$ } and i also took out the option not to notify in my host file. Do you have events logged by Nagios? Does it show notifications? If that happens to be the case then llok at the delivery of the notifications. If one assumes you run this as the nagios user then test is as such. Become the nagios user with: su - nagios s /bin/sh Then execute the command as shown on the commandline but substitute $CONTACTEMAIL for the intended recipient. If that fails to deliver then you need to fix your MTA. Get to the logs of it to check it out. Hugo. -- [EMAIL PROTECTED]http://hugo.vanderkooij.org/ 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 this quote of George Bernard Shaw.) - 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 - 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] Canot read nagios.cfg after the doing precheck help
Hey all just installed nagios 2.9 and upgrade from wat i had 2.4 i dont see a diffrence anyways i am trying to run on command line to check for any errors */usr/local/nagios/bin/nagios -v nagios.cfg* ** this is what i get: * /usr/local/nagios/bin/nagios -v nagios.cfg* Nagios 2.9 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 04-10-2007 License: GPL Reading configuration data... Error: Cannot open main configuration file '//nagios.cfg' for reading! *** One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. *it has to be a permission issue on the nagios.cfg file her are my permission :* * ls -l* total 80 -rw-rw-r-- 1 nagios nagios 9577 Sep 29 19:30 cgi.cfg -rw-rw-r-- 1 nagios nagios 8579 Sep 29 18:46 commands.cfg -rw-r--r-- 1 root root 26 Sep 29 19:28 htpasswd.users -rw-rw-r-- 1 nagios nagios 12469 Sep 29 18:46 localhost.cfg -rw-rw-r-- 1 nagios nagios 31134 Oct 1 13:45 nagios.cfg -rw-rw 1 nagios nagios 1338 Sep 29 18:46 resource.cfg i restarted my apache and because the file cant be ready getting host down on the local host obiusly this has to do with my problem above also i may add i renamed the files from nagios.cfg-sample to nagios.cfg to all .cfg-sample files thanks for help in advance - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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] can not read localhost.cfg file that is crated webgui
Hi all running noagios 2.9 i have a localhost.cfg file that was created during the installtion I started restarted nagios when i go to host check i get this localhosthttps://10.8.1.100/nagios/cgi-bin/extinfo.cgi?type=1host=localhost Current Loadhttps://10.8.1.100/nagios/cgi-bin/extinfo.cgi?type=2host=localhostservice=Current+Load CRITICAL 10-01-2007 14:44:56 0d 0h 58m 11s 1/4 (Return code of 127 is out of bounds - plugin may be missing) Current Usershttps://10.8.1.100/nagios/cgi-bin/extinfo.cgi?type=2host=localhostservice=Current+Users CRITICAL 10-01-2007 14:45:56 0d 0h 57m 11s 1/4 (Return code of 127 is out of bounds - plugin may be missing) PINGhttps://10.8.1.100/nagios/cgi-bin/extinfo.cgi?type=2host=localhostservice=PING CRITICAL 10-01-2007 14:41:56 0d 0h 56m 11s 1/4 (Return code of 127 is out of bounds - plugin may be missing) Root Partitionhttps://10.8.1.100/nagios/cgi-bin/extinfo.cgi?type=2host=localhostservice=Root+Partition CRITICAL 10-01-2007 14:42:56 0d 0h 55m 11s 1/4 (Return code of 127 is out of bounds - plugin may be missing) Total Processeshttps://10.8.1.100/nagios/cgi-bin/extinfo.cgi?type=2host=localhostservice=Total+Processes CRITICAL 10-01-2007 14:43:56 0d 0h 54m 11s 1/4 (Return code of 127 is out of bounds - plugin may be missing) this is what i have in my nagios.cfg file *# Host and service definitions for monitoring this machine cfg_file=/usr/local/nagios/etc/localhost.cfg* as i understand it checkes this file thru the sanity precheck i did as i didnt get and warrrign messages or errors why doesnt it display the lcoal host information? thanks for your help in advance - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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
Re: [Nagios-users] can not read localhost.cfg file that is crated webgui
Is is possible not to run the macros i see ur right dont see the plugin in the path shown in the resource.cfg i want to use an existing commands.cfg , i dotn want to use no plugin is this possible or do i still have to install nagios plugin in order to get local info running again basically i am going to be using nagios for just pinging devices and setting up parenting i am not going o be doing anything fancy like checking nrpe not yet that is? thanks On 10/1/07, Jim Perrin [EMAIL PROTECTED] wrote: On 10/1/07, Nedim Bicic [EMAIL PROTECTED] wrote: this is what i have in my nagios.cfg file # Host and service definitions for monitoring this machine cfg_file=/usr/local/nagios/etc/localhost.cfg as i understand it checkes this file thru the sanity precheck i did as i didnt get and warrrign messages or errors why doesnt it display the lcoal host information? No. Running nagios -v /path/to/nagios.cfg will check for errors, but it mostly just checks syntax. Your error would seem to indicate that either you've not installed the plugins, or your $USER1$ value is set improperly in your resource.cfg -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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
Re: [Nagios-users] can not read localhost.cfg file that is cratedwebgui
Here is what i have in the commands.cfg file *# 'check_ping' command definition define command{ command_namecheck_ping command_line$USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 }* this should be workign regardless i mean i dont need a plugin this is a standard check that came with the distribution package why do i need to install a plugin i dont understand when i dont need to be running fancy commnads. also some one mentioned the resource.cfg file its pointing to the follwing : *# Sets $USER1$ to be the path to the plugins $USER1$=/usr/local/nagios/libexec* ** *should this last line be tweaked to be like this:* *$USER1$=/usr/local/nagios/commands.cfg --- since the commads are defined here how to do the checks??* ** Please help me thanks ** ** ** On 10/1/07, Marc Powell [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Nedim Bicic Sent: Monday, October 01, 2007 2:24 PM To: Jim Perrin Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] can not read localhost.cfg file that is cratedwebgui Is is possible not to run the macros i see ur right dont see the plugin in the path shown in the resource.cfg i want to use an existing commands.cfg , i dotn want to use no plugin is this possible or do i still have to install nagios plugin in order to get local info running again I believe you had/have a working nagios that is checking hosts and services already, correct? What did you change? Are the previous checks you had still working? If so, how are the new service checks different than the working ones? Without seeing your service/command definitions in question, it sounds like you've got a check_command or command_line wrong. -- Marc - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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] Upgrade or No upgrade
Hi all i have nagios 2.4 i was wondering if i should upgrade my nagios to 2.9 the newest version ? I am monitoring currently 800 hosts just ping service and dependecnies is it worth upgrading i mean i dont find the currnt version i am running problamatic what u guys think thanks - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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] General Questions
I have nagio 2.4 How many hosts can Nagios handle i have 598 hosts i think its freaking out a little ? I dont know if i can add more ? Question how many process can nagios run i have default threshold set to 300 i think it usulally braks this threshold? - 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
Re: [Nagios-users] General Questions
Well i have 598 hosts and i am using only ping serivce for each host as far as pooling i think its every 30 sec i need to know as soon as something goes down thats why its so low freaking out in terms of i get critical threholds breahes on the local machine, i mean i can always raise it but i wanted to know if that will somehow impact the server of running slow or burning up because its working to hard to be checking so many processes. So if i wanted to know if its save to add more hosts Maybe distributed checking where put another server to be checking for procceses and the other reporting in ( i was reading online) but thats money and effort maybe in near future would have to do On 7/29/07, Rogelio Bastardo [EMAIL PROTECTED] wrote: Nedim Bicic wrote: I have nagio 2.4 How many hosts can Nagios handle i have 598 hosts i think its freaking out a little ? I dont know if i can add more ? A few questions about your setup. How many services in all are you checking? And how often are you polling these services? Define freaking out, please. Is it slow? Or is it just taking forever to run your various checks? - 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 - 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
Re: [Nagios-users] Nagios Message Acknowledgment
Do i have to stop nagios and restart it again for it to work thanks for the command thou On 6/21/07, Marc Powell [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Nedim Bicic Sent: Wednesday, June 20, 2007 7:57 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios Message Acknowledgment Hi all i have nagios 2.4 i was wondering when a user would acknowledges a down host and it sends an email as well i want to include the message the user has input of why the host is down Add the $HOSTACKCOMMENT$ macro to your notification command like -- define command { command_name host-notify-by-email command_line /bin/echo -e Subject: $NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$\n\n* Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\nAcknowledged By: $HOSTACKAUTHOR$\nAcnkowledgement: $HOSTACKCOMMENT$ | /bin/mail $CONTACTEMAIL$ } A full list of macros available is listed in the documentation under 'Using Macros in Commands'. -- Marc - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Nagios Message Acknowledgment
Hey this is the error i get when i try to debug the above command for the acknowledgement does anyone know why or how to fix it this is what i get: * nagios -v /etc/nagios/nagios.cfg* Nagios 2.4 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 05-31-2006 License: GPL Reading configuration data... Error: Invalid command object directive '$HOSTACKAUTHOR$\nAcnkowledgement:'. Error: Could not add object property in file '/etc/nagios/misccommands.cfg' on line 54. *** One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. On 6/21/07, Jim Perrin [EMAIL PROTECTED] wrote: On 6/21/07, Nedim Bicic [EMAIL PROTECTED] wrote: Do i have to stop nagios and restart it again for it to work Or reload nagios, yes. This is the case with most/all changes to config files. You have read the documentation, right? -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Nagios Message Acknowledgment
I wish it was that easy but its still not working regardless of spelling I changed it of course but same error * nagios -v /etc/nagios/nagios.cfg* Nagios 2.4 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 05-31-2006 License: GPL Reading configuration data... Error: Invalid command object directive '$HOSTACKAUTHOR$\nAcknowledged:'. Error: Could not add object property in file '/etc/nagios/misccommands.cfg' on line 54. On 6/21/07, Palle Jensen [EMAIL PROTECTED] wrote: Could it be a spelling problem Acnkowledgement: - Acknowledgement? Error: Invalid command object directive '$HOSTACKAUTHOR$\nAcnkowledgement:'. - Palle -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Nedim Bicic *Sent:* Thursday, June 21, 2007 2:11 PM *To:* Jim Perrin *Cc:* nagios-users@lists.sourceforge.net *Subject:* Re: [Nagios-users] Nagios Message Acknowledgment Hey this is the error i get when i try to debug the above command for the acknowledgement does anyone know why or how to fix it this is what i get: * nagios -v /etc/nagios/nagios.cfg* Nagios 2.4 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 05-31-2006 License: GPL Reading configuration data... Error: Invalid command object directive '$HOSTACKAUTHOR$\nAcnkowledgement:'. Error: Could not add object property in file '/etc/nagios/misccommands.cfg' on line 54. *** One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. On 6/21/07, *Jim Perrin* [EMAIL PROTECTED] wrote: On 6/21/07, Nedim Bicic [EMAIL PROTECTED] wrote: Do i have to stop nagios and restart it again for it to work Or reload nagios, yes. This is the case with most/all changes to config files. You have read the documentation, right? -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Nagios Message Acknowledgment
NO ERROR NICE !! Good job that was the mistake i just dont know weather i should reload nagios or restart it for it to take affect On 6/21/07, Adam Kennedy [EMAIL PROTECTED] wrote: Make sure there is no LF/CR (i.e. the enter button was hit) at the end of the line that has Acknowledged By: at the end. Nedim Bicic wrote: This is the command i have in and that i keep getting the same errors but printf that shouldnt matter because why would it work in general for host down noticifations Here is the command i have in now: define command { command_name host-notify-by-email command_line /bin/echo -e Subject: $NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$\n\n* Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\nAcknowledged By: $HOSTACKAUTHOR$\nAcknowledgement: $HOSTACKCOMMENT$ | /bin/mail $CONTACTEMAIL$ } On 6/21/07, *Adam Kennedy* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: What is the full config entry for that command? I fear you are not using printf when you should be. Nedim Bicic wrote: I wish it was that easy but its still not working regardless of spelling I changed it of course but same error * nagios -v /etc/nagios/nagios.cfg* Nagios 2.4 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 05-31-2006 License: GPL Reading configuration data... Error: Invalid command object directive '$HOSTACKAUTHOR$\nAcknowledged:'. Error: Could not add object property in file '/etc/nagios/misccommands.cfg' on line 54. On 6/21/07, *Palle Jensen* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Could it be a spelling problem Acnkowledgement: - Acknowledgement? Error: Invalid command object directive '$HOSTACKAUTHOR$\nAcnkowledgement:'. - Palle *From:* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]] *On Behalf Of *Nedim Bicic *Sent:* Thursday, June 21, 2007 2:11 PM *To: * Jim Perrin *Cc:* nagios-users@lists.sourceforge.net mailto:nagios-users@lists.sourceforge.net mailto:nagios-users@lists.sourceforge.net mailto:nagios-users@lists.sourceforge.net *Subject:* Re: [Nagios-users] Nagios Message Acknowledgment Hey this is the error i get when i try to debug the above command for the acknowledgement does anyone know why or how to fix it this is what i get: ** nagios -v /etc/nagios/nagios.cfg** Nagios 2.4 Copyright (c) 1999-2006 Ethan Galstad ( http://www.nagios.org http://www.nagios.org/) Last Modified: 05-31-2006 License: GPL Reading configuration data... Error: Invalid command object directive '$HOSTACKAUTHOR$\nAcnkowledgement:'. Error: Could not add object property in file '/etc/nagios/misccommands.cfg' on line 54. *** One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. On 6/21/07, *Jim Perrin* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On 6/21/07, Nedim Bicic [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Do i have to stop nagios and restart it again for it to work Or reload nagios, yes. This is the case with most/all changes to config files. You have read the documentation, right
Re: [Nagios-users] Nagios Message Acknowledgment
Yea i got it to work i had to stop and restart its working now thanks alot people this macro thing is too cool On 6/21/07, Marc Powell [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Nedim Bicic Sent: Thursday, June 21, 2007 3:40 PM To: Adam Kennedy Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Message Acknowledgment NO ERROR NICE !! Good job that was the mistake i just dont know weather i should reload nagios or restart it for it to take affect http://nagios.sourceforge.net/docs/2_0/stoprestart.html -- Marc - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Nagios Message Acknowledgment
Hi all i have nagios 2.4 i was wondering when a user would acknowledges a down host and it sends an email as well i want to include the message the user has input of why the host is down Bellow is an example of what i get i want to include the external command that was inputed by the user in the message as well thanks * Nagios * Notification Type: ACKNOWLEDGEMENT Service: PING Host: Address: State: CRITICAL Date/Time: Wed Jun 20 13:30:38 EDT 2007 Additional Info: CRITICAL - Host Unreachable (X.X.X.X) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Host shown down but not down on Nagios
Hey everyone i have nagios 2.4 and i am monitoring about 500 services i have a problem with one of my hosts is shown in critical can not ping state but it can ping everything else fine its not disconnected i ca even ping the device from my laptop its up but shown in red as down?? also my harddrive is filling up really quickly and i mean really quickly it writes like 5GB per 1hour to sql database how can i stop this? i am also running cacti just an fyi but everything has been working for 6 months with no problem of any sort - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Nagios 2.4 has run out of space ??
Hey everyone i am running Nagios 2.4 and today i came in and i could no longer view any of my hosts i have nagios and Cact running on the same server everytime i try to log onto the web interface i get the follwing error see below does anyone have any ideas how to fix this problem it was working yesterday Error You have created a new database, but have not yet imported the 'cacti.sql' file. At the command line, execute the following to continue: mysql -u cactiuser -p cacti cacti.sql This error may also be generated if the cacti database user does not have correct permissions on the cacti database. Please ensure that the cacti database user has the ability to SELECT, INSERT, DELETE, UPDATE, CREATE, ALTER, DROP, INDEX on the cacti database. *Warning*: Unknown(): write failed: No space left on device (28) in *Unknown * on line *0* *Warning*: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in *Unknown* on line *0* - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Nagios 2.4 CGI authentication issue!!
Hi again everyone sold the intila issue i am having this appreared and i have 500 host running to monitor this is the error i get everytime i try to view the host It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. can anyone help i havent changed anything it has to do something with permission where do i find this folder and change it thanks - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Nagios 2.4 has run out of space ??
How do i delete some of the files i dont wont to delete sensitive informations its using linux wat can i delete i tryed deleting log files to free some space in cacti where do i find nagios log file i think that has been flodding it thanks On 5/30/07, David Gerbec [EMAIL PROTECTED] wrote: Nedim Bicic pravi: Error You have created a new database, but have not yet imported the 'cacti.sql' file. At the command line, execute the following to continue: mysql -u cactiuser -p cacti cacti.sql This error may also be generated if the cacti database user does not have correct permissions on the cacti database. Please ensure that the cacti database user has the ability to SELECT, INSERT, DELETE, UPDATE, CREATE, ALTER, DROP, INDEX on the cacti database. *Warning*: Unknown(): write failed: No space left on device (28) in *Unknown* on line *0* By the looks of things, your disk space on the server is full. *Warning*: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in *Unknown* on line *0* Regards, David Gerbec Agenda Open Systems [www.agenda.si] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] There doesn't appear to be any host status information in the status log
That is the error i am getting when i start nagios 2.4 i dont know what happended is there anyway i can fix this problem actually bellow is the the exact error when i lick on hosts There doesn't appear to be any host status information in the status log... Make sure that Nagios is running and that you have specified the location of you status log correctly in the configuration files. this is what i have done so far i restarted nagios stoped and resrted the service, i checked if all the authenications was correct i checked if i am getting any errors when i add a host with command ( nagios -v /etc/nagios/nagios.cfg) i dont know why this happened today it was working fine yeterday and plus the server is running out of space is there a way i can delete some log files i dont need that to free some space up please any help is appriciated - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Status log is empty but is not Host are not dispalyed anymore ??
Hey i am running nagios 2.4 when i go into host problems on the web interface it keeps telling me There doesn't appear to be any service status information in the status log... Make sure that Nagios is running and that you have specified the location of you status log correctly in the configuration files. But i cheked the status.log its not empty i also have checked the nagios.cfgit is pointing to status.log file in the right directory as soon as i restarted the server i see 500 host pending and then they all disapear with the above message i run the debug command as well but nothing still Any help - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Status log is empty but is not Host are not dispalyed anymore ??
How can i free up more space can i delete the log file so it can start from scratch again not to be confused with deleting the host file and ifo so where can i find this log file to delete i mean there must be a way i can delete information i dont need. It would be very helpful if i can delete or dump a file that is huge that i can safely delete i dont want to create another nagios sever i dont have the time maybe in a long run i can but now i need something fast. i dont want to crewate another database either i am not an expert in that also Do you think if i can empty the nagios log file where nagios is writiting the issue will disapear?? On 5/30/07, Wil Schultz [EMAIL PROTECTED] wrote: Considering your previous post clearly shows that you are out of diskspace it would be safe to assume that you would have other problems, like empty logfiles since there is no room on the disk to write the logfile. Fix the disk issue and other problems will magically start to disappear... Possibly you could set up a second nagios box to monitor the disk space on your primary nagios box... :-) -wil On May 30, 2007, at 9:58 AM, Nedim Bicic wrote: Hey i am running nagios 2.4 when i go into host problems on the web interface it keeps telling me There doesn't appear to be any service status information in the status log... Make sure that Nagios is running and that you have specified the location of you status log correctly in the configuration files. But i cheked the status.log its not empty i also have checked the nagios.cfg it is pointing to status.log file in the right directory as soon as i restarted the server i see 500 host pending and then they all disapear with the above message i run the debug command as well but nothing still Any help -- --- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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 plugins in general
Hey everyone i have nagios 2.4 I am trying to use plugins i already have in the libiray folder but when ever i for example try check_disk on one of my hosts it brings an error on the nagios service page I mean i set the service description to check_disk and check command i even enabled snmp on one of my servers but it just doesnt work the only thing that have working fine is the PING thats it Can anyone help something i am doing wrong Forget the manual dont help that much - 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] Fwd: No Acknowledgment option for Host Devices
I definitly understand that thast no problem. But When the host is shown down there is no icon when i click on the downed host to acknowledge the device which is stranger because it had the icon of working person with a shovel ..lol 3 days ago Now you can only acknowledge the host only thru the ping device??? when its down for both thanks On 3/22/07, Andreas Ericsson [EMAIL PROTECTED] wrote: Nedim Bicic wrote: Ok at one point i have had the option to acknowledge when a host is down, now i dont anymore. I have this otion only on the ping device but no acknlowledgment option on host device You can only acknowledge hosts and services when they are in a non-OK state. It's common for the PING service to have stricter thresholds than the host alive check, meaning it's perfectly possible to have a WARNING or even CRITICAL service check that checks PING, while the host is still listed as up. -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 - 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] No Acknowledgment option for Host Devices
-- Forwarded message -- From: Nedim Bicic [EMAIL PROTECTED] Date: Mar 20, 2007 8:28 PM Subject: No Acknowledgment option for Host Devices To: nagios-users@lists.sourceforge.net Hi all I have nagios 2.4 small problem i can acknowledge Ping services but not host devices when something is down why is this i had it working before all of a sudden there is no acknowlegement option?? very weired - 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] Fwd: No Acknowledgment option for Host Devices
Ok at one point i have had the option to acknowledge when a host is down, now i dont anymore. I have this otion only on the ping device but no acknlowledgment option on host device Can anymone help thanks -- Forwarded message -- From: Nedim Bicic [EMAIL PROTECTED] Date: Mar 21, 2007 12:14 PM Subject: No Acknowledgment option for Host Devices To: nagios-users@lists.sourceforge.net -- Forwarded message -- From: Nedim Bicic [EMAIL PROTECTED] Date: Mar 20, 2007 8:28 PM Subject: No Acknowledgment option for Host Devices To: nagios-users@lists.sourceforge.net Hi all I have nagios 2.4 small problem i can acknowledge Ping services but not host devices when something is down why is this i had it working before all of a sudden there is no acknowlegement option?? very weired - 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] No Acknowledgment option for Host Devices
Hi all I have nagios 2.4 small problem i can acknowledge Ping services but not host devices when something is down why is this i had it working before all of a sudden there is no acknowlegement option?? very weired - 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 too many Nagios notifications
Set up parenting not dependencies on your network this will definitly reduce your emails and or also increase Ping latency if you are getting alot of warning messages as well afterwards On 3/13/07, Guy Rosen [EMAIL PROTECTED] wrote: Hi, I have a simple setup running Nagios 2.3.1 (actually NagiosVMA, configured using Groundwork Monarch). I have a host with many services on it (both remote checks performed using check_by_ssh and checks for various public services), and I get a barrage of notifications whenever something goes wrong. So, I defined dependencies. The services in a host are dependent on the host (and/or on the PING service, and some other general services). But, there are some timing issues that mean I still get hammered with a lot of alerts. What happens during outages it this: 1. The host itself goes down, but not before a few services manage to go down individually (so I get a few service down notifications) 2. More services that go down when the host is down do not generate any notifications - good. 3. When the outage is over, Nagios detects the host is up. 4. Now the services are detected as going up, and since the host is up there is no dependency to filter the notifications, so I get a whole barrage of service OK notifications. These are killing my cellphone :-). Can anyone direct me to the best way to better configure these things? Thanks! - 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 - 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] Nagios Users as Admin
Hey everyone i have Nagios 2.4 i have the default login as nagiosadmin as master administrator where everyone do external commands such as acknowledgements but i want to be able to add different users to view and have the same permission as admin to change stuff on nagios webinterface? i tryed adding a user1 as an example, but when i login no information can be seen (ex : no hosts are there no services) How do i enable this user to have same view and permission as admin I am sure this is possible thanks ??? -Nedim - 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] Disk space how ??
Hey thanks for your reply Looks like all check commands are for the local system do you know fo a global commad you have or link where i can dfine it for remote systems. It appears none are in the original configuration files thanks On 2/26/07, Morris, Patrick [EMAIL PROTECTED] wrote: i tried the bellow code and changing the host_name to whatever server but gives me the disk space of my localhost still dont know why cause its the same format isnt it unless i am suppose to create another define command as general service, but ping service works which is wiered. check_local_disk will (as the name implies) only check the local disk. If you want to check remote disks, you can use something like nrpe, or a plugin that will query the remote machine directly, such as nagios-statd or check_snmp. - 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] Disk space how ??
Hi i got nagios 2.4 I want to monitor disk space available on 30 servers i have does any one have a code so i can define the command in check_commands.cfg, i tried the bellow code and changing the host_name to whatever server but gives me the disk space of my localhost still dont know why cause its the same format isnt it unless i am suppose to create another define command as general service, but ping service works which is wiered. also for any future addtionall services do i have to define them globaly in the checkcommands.cfg? OR IS THERE ANOTHER FILE THAT I USE TO DEFINE A SERVICE thanks define service{ use generic-service ; Name of service template to use *host_name localhost* service_description Root Partition is_volatile 0 check_period24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval1 contact_groups gmaster notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_local_disk!20%!10%!/ } - 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] PING warning
Have you tried going into the service.cfg file and change the PING latency to 500ms if you want On 2/20/07, Sean Thomas [EMAIL PROTECTED] wrote: Hi guys I get the following warning from nagios: PING WARNING - Packet loss = 0%, RTA = 348.18 ms How do I set the the warning time threshold of the RTA to a higher number e.g 500ms so that we do not get so many PING warnings. I think the current(default) notification time is a 100ms. - 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 - 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] Adding hosts and services
On 2/1/07, Nedim Bicic [EMAIL PROTECTED] wrote: yeah i totally forgot about this let me ask you in order for nagios to see and compile these host files and services for example for I would uncomment bellow line in nagios.cfg #cfg_dir=/etc/nagios/routers create this extension in nagios give it full permission on the directory folder and file and it hould work ?? does that sound about right?? thanks On 2/1/07, Josh Yost [EMAIL PROTECTED] wrote: Nedim Bicic wrote: yeah i can create subdirectory for hosts and services and make a pointer in nagios.cfg but let me ask you could you have multiple host.cfg files and service.cfg files on the local host for example splitting hosts into areas and serivces into regions also my cpu is spiking in terms of processing i wonder if thats caused by my updated of host and services that are in the same files.??? Hi, If you define a cfg_dir, then it reads anything in that dir w/ a .cfg extension. So yes, you can split it into as many files as you like. From the nagios.cfg: # You can also tell Nagios to process all config files (with a .cfg # extension) in a particular directory by using the cfg_dir # directive as shown below: #cfg_dir=/etc/nagios/servers #cfg_dir=/etc/nagios/printers #cfg_dir=/etc/nagios/switches #cfg_dir=/etc/nagios/routers - Josh - 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] Adding hosts and services
yeah i can create subdirectory for hosts and services and make a pointer in nagios.cfg but let me ask you could you have multiple host.cfg files and service.cfg files on the local host for example splitting hosts into areas and serivces into regions also my cpu is spiking in terms of processing i wonder if thats caused by my updated of host and services that are in the same files.??? On 1/31/07, Jim Perrin [EMAIL PROTECTED] wrote: On 1/31/07, Nedim Bicic [EMAIL PROTECTED] wrote: Hey i am running nagios 2.4 You may wish to consider updating. The way i am updating by adding hosts to host cfg file and service.cfgfile is ther another way or a template that can be easily updated into by linux box now when i open my host file the text like froze it doesnt appear like its thinking or something any advise on this would be helpful You don't have to have all the hosts in one file and all the services in another. I have a hosts dir, in which I have subdirs for other locations I monitor. Inside these I have the host.cfg files calling a template from my templates directory as needed. Each hosts file contains all the info for that host, including services, and extended information. You can set this up any way you wish. It's all about what works best for you. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell - 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
[Nagios-users] Adding hosts and services
Hey i am running nagios 2.4 The way i am updating by adding hosts to host cfg file and service.cfg file is ther another way or a template that can be easily updated into by linux box now when i open my host file the text like froze it doesnt appear like its thinking or something any advise on this would be helpful - 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
[Nagios-users] Nagios legend on Map
I have nagios 2.4 Does anyone know if you can add a legend to the status map i have bunch of icons i just want my users to know what they mean or stand for? thanks - 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] nagios legend map??
I have nagios 2.4 Does anyone know if you can add a legend to the status map i have bunch of icons i just want my users to know what they mean or stand for? thanks - 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] nagios snmp traps??
Nagios 2.4 i have snmp translator installed and snmp, i would like to capture snmap traps and trsnalte the oid where i would view them in my log file how do i do this. A test for this would be a start I have read that you have to have MIBS uploaded in order for the snmp to translate proper oid ? as a test i have configured one of my routers to send traps to my linux box but i cant see any messages?? - 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] 3-D status map
i have nagios 2.4 ok i downloaded Cortona (Parallel Graphics)http://www.parallelgraphics.com/products/cortona/ on my local cpu now i dont know if you need to download this on the machine thats running nagios or or the computer where you are viewing the nagios interface i am try to click on 3-D status map it asks me to download the file i cant save it for some reason neither i can open it cause it gives me eror saying internet exploere could open statuswrl.cgi?hosts=all from (my ip address). Need help?? i took out the # in cgi.cfg file so that not the prblem thanks - 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] 3D Nagios?
Nagios 2.4 Hey people i has anyone attempted to make nagios look neater look better in terms of 3D view where you can rotate zoom in and out using a VRML i know its in the docs in extneded hosts just is it worth creating it and does it require or take up a lot of cpu load? *Status World CGI (VRML)* - 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] 3D Nagios?
yeah my boss want it too just dont want the local cpu box to spike because of the 3D java updatate that gonna do like every 15 sec. also i have about like 85 hosts so far, what would be best way to add these host in the extended host config file separte coordinate for every host ? How would you know where 0,0 would be on the map ? is this trial by error I downloaded corna that 3D generator once i make the changes and restart nagios i guess it will take affect ? right thanks On 1/23/07, Jim Perrin [EMAIL PROTECTED] wrote: On 1/23/07, Nedim Bicic [EMAIL PROTECTED] wrote: Nagios 2.4 Hey people i has anyone attempted to make nagios look neater look better in terms of 3D view where you can rotate zoom in and out using a VRML i know its in the docs in extneded hosts just is it worth creating it and does it require or take up a lot of cpu load? Status World CGI (VRML) Entirely up to you. I don't use it, but I have it enabled mostly because it keeps my boss occupied. Short of having him chase a laser pointer around the wall, it's the only way I can keep him out of my hair long enough for me to accomplish actual work. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell - 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] nagios.cmd external
ok this is how far i got with the documentation but same error keeps coming up when i try to put in external command ex: comment in host: Error: Could not open command file '/var/log/nagios/rw/nagios.cmd' for update! ok and here is what i have for my permission set since thats indicating to be the problem * ls -al* total 612 drwxr-xr-x 4 nagios nagios 4096 Jan 22 12:20 . drwxr-xr-x 6 root root 4096 Jan 21 04:02 .. drwxr-xr-x 2 nagios nagios 4096 Jan 22 00:00 archives -rw-rw-r-- 1 nagios nagios 238 Jan 21 09:18 comments.dat -rw--- 1 nagios nagios16161 Jan 2 09:45 dead.letter -rw-rw-r-- 1 nagios nagios 239 Nov 1 19:59 downtime.dat -rw-rw-r-- 1 nagios nagios24965 Jan 22 12:12 nagios.log -rw--- 1 nagios nagios18260 Jan 2 13:34 nagios.tmpXc4VgH -rw-r--r-- 1 nagios nagios 146210 Jan 22 11:53 objects.cache -rw--- 1 nagios nagios 180872 Jan 22 11:53 retention.dat drwxrwsr-x 2 nagios nagiocmd 4096 Jan 22 11:53 rw -rw-rw-r-- 1 nagios nagios 173636 Jan 22 12:20 status.dat * cd rw* * ls* nagios.cmd * ls -al* total 16 drwxrwsr-x 2 nagios nagiocmd 4096 Jan 22 11:53 . drwxr-xr-x 4 nagios nagios 4096 Jan 22 12:21 .. prw-rw 1 nagios nagiocmd0 Jan 22 11:53 nagios.cmd everything is how it suppose to be as shown in the manual need help nagios.cmd file is there just can not edit anything and i have external_command enables and interval check set to -1 thanks On 1/22/07, Marc Powell [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Nedim Bicic Sent: Sunday, January 21, 2007 5:33 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] nagios.cmd external Hi all, i have nagios 2.4 I need want to change and input settings via the web interface like scheduale downtime etc, which i read that the external command does this i enabled it in nagiod.cfg =1 but i aslo found out that you need to create a nagios.cmd file and give it directory permission , located in one of the folders that keeps this log my question is how do i create this file and make it point to external command so when i do isue an extenal command on web interface Please read the documentation for the section titled 'External Commands'. It answers all your questions. -- Marc - 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 - 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] nagios.cmd external
yeah i think thats the problem i am loging in as nagiosadmin but from what i copied and pasted from documentation in nagios created user nobody and nagios ' But when i log into nagios i am logging in as nagiosadmin not nobody or nagios i tried adding nagiosadmin with this command: */usr/sbin/usermod -G nagiocmd nagiosadmin* usermod: user nagiosadmin does not exist keeps giving me this error but i think difinitly this might be casuing the error can you show me what i can do to add the user to this group or check weather it has been added?? thanks On 1/22/07, Israel Brewster [EMAIL PROTECTED] wrote: On Jan 22, 2007, at 8:30 AM, Nedim Bicic wrote: ok and here is what i have for my permission set since thats indicating to be the problem ls -al total 612 drwxr-xr-x 4 nagios nagios 4096 Jan 22 12:20 . drwxr-xr-x 6 root root 4096 Jan 21 04:02 .. drwxr-xr-x 2 nagios nagios 4096 Jan 22 00:00 archives -rw-rw-r-- 1 nagios nagios 238 Jan 21 09:18 comments.dat -rw--- 1 nagios nagios16161 Jan 2 09:45 dead.letter -rw-rw-r-- 1 nagios nagios 239 Nov 1 19:59 downtime.dat -rw-rw-r-- 1 nagios nagios24965 Jan 22 12:12 nagios.log -rw--- 1 nagios nagios18260 Jan 2 13:34 nagios.tmpXc4VgH -rw-r--r-- 1 nagios nagios 146210 Jan 22 11:53 objects.cache -rw--- 1 nagios nagios 180872 Jan 22 11:53 retention.dat drwxrwsr-x 2 nagios nagiocmd 4096 Jan 22 11:53 rw -rw-rw-r-- 1 nagios nagios 173636 Jan 22 12:20 status.dat cd rw ls nagios.cmd ls -al total 16 drwxrwsr-x 2 nagios nagiocmd 4096 Jan 22 11:53 . drwxr-xr-x 4 nagios nagios 4096 Jan 22 12:21 .. prw-rw 1 nagios nagiocmd0 Jan 22 11:53 nagios.cmd everything is how it suppose to be as shown in the manual need help nagios.cmd file is there just can not edit anything and i have external_command enables and interval check set to -1 thanks I'm coming into this discussion late, and haven't read all the back messages, so I apologize if this has already been asked, but is the user your webserver runs under in the nagiocmd group? --- Israel Brewster Computer Support Technician Frontier Flying Service INC. 5245 Airport Industrial Rd Fairbanks, AK 99709 --- On 1/22/07, Marc Powell [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios- users- [EMAIL PROTECTED] On Behalf Of Nedim Bicic Sent: Sunday, January 21, 2007 5:33 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] nagios.cmd external Hi all, i have nagios 2.4 I need want to change and input settings via the web interface like scheduale downtime etc, which i read that the external command does this i enabled it in nagiod.cfg =1 but i aslo found out that you need to create a nagios.cmd file and give it directory permission , located in one of the folders that keeps this log my question is how do i create this file and make it point to external command so when i do isue an extenal command on web interface Please read the documentation for the section titled 'External Commands'. It answers all your questions. -- Marc -- --- 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 -- --- 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 - 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
Re: [Nagios-users] nagios.cmd external
thanks for the advice guys it was apache that needed to be added to the group it works now i can finnaly add comments and do external commands thanks On 1/22/07, Hugo van der Kooij [EMAIL PROTECTED] wrote: On Mon, 22 Jan 2007, Andy Shellam (Mailing Lists) wrote: You may be connecting to Nagios using nagiosadmin, but that is a user under your webserver, not an OS user. If your Apache runs under the user nobody, that is the user you need to add to the nagioscmd group. A better suggestion is in fact to run apache as it's own user. Letting nobody run all your daemons was a poor security concept and has been abonded for years on almost any system I know of. It's like break one and get the rest of them for free. 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.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 - 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] nagios.cmd external
Hi all, i have nagios 2.4 I need want to change and input settings via the web interface like scheduale downtime etc, which i read that the external command does this i enabled it in nagiod.cfg =1 but i aslo found out that you need to create a nagios.cmd file and give it directory permission , located in one of the folders that keeps this log my question is how do i create this file and make it point to external command so when i do isue an extenal command on web interface does anyone know how this is set ...manual doesnt tell me much from what i already did thanks - 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] Fwd: nagios.cmd external
ok here is what i have so far when i try putting in a comment error says: Error: Could not open command file '/var/log/nagios/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. and i set external command to 1 and check interval to 1 and then i checked for the permission with this command * cd /var/log/nagios/rw* * ls -l* total 0 prw-rw 1 nagios nagiocmd 0 Jan 21 19:52 nagios.cmd i restarted appache few times and stil with the same error could it be that i created a user nobody and i am accessing nagios web interface with a diffrent user?? thanks -- Forwarded message -- From: Nedim Bicic [EMAIL PROTECTED] Date: Jan 21, 2007 6:32 PM Subject: nagios.cmd external To: nagios-users@lists.sourceforge.net Hi all, i have nagios 2.4 I need want to change and input settings via the web interface like scheduale downtime etc, which i read that the external command does this i enabled it in nagiod.cfg =1 but i aslo found out that you need to create a nagios.cmd file and give it directory permission , located in one of the folders that keeps this log my question is how do i create this file and make it point to external command so when i do isue an extenal command on web interface does anyone know how this is set ...manual doesnt tell me much from what i already did thanks - 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 email again Nagios
I have Nagios 2.4 hey people i have been getting nagios notification email but dont get anymore after i added the hosts here is what i have so far I have MTA and tried sending email through my local server which is fine and this is how i have contacts.cfg set up : # 'Master' contact definition define contact{ contact_name genesis aliasgenesis net service_notification_period 24x7 host_notification_period 24x7 service_notification_options c,r host_notification_optionsd,r,n service_notification_commandsnotify-by-email host_notification_commands host-notify-by-email email[EMAIL PROTECTED] } and this is what i have for my contactgroup.cfg define contactgroup{ contactgroup_name gmaster alias test Group members genesis } And this is one sample host i have: define host{ use generic-host; Name of host template to use host_name cpu1 alias cpu1 address 10.8.1.53 check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 120 notification_period 24x7 notification_optionsd,r,n contact_groups gmaster } and this is what i have for my miscommands.cfg for my email commands: this is for hosts define command{ command_name host-notify-by-email command_line /bin/echo -e * Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n | /bin/mail -s Host $HOSTSTATE$ alert for $HOSTNAME$! $CONTACTEMAIL$ } -this is for services # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /bin/echo -e * Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$ | /bin/mail -s ** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** $CONTACTEMAIL$ } I dont why i dont get any email notifications after a host goes down when i unplug it thanks - 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 email again Nagios
Yea ok thanks I know RTFM If you specify *n* (none) as an option, no host notifications will be sent out very stupid of me damn i didnt see this On 1/19/07, Jim Perrin [EMAIL PROTECTED] wrote: On 1/19/07, Nedim Bicic [EMAIL PROTECTED] wrote: I have Nagios 2.4 hey people i have been getting nagios notification email but dont get anymore after i added the hosts You're telling nagios not to send email in the notification options. Look in the manual again at what the d,r,u,n options do, then look at the options you're using in your definitions. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell - 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] Resfresh rate for Nagios
I have nagios 2.4 i have the email setup and working just want to recive email right of way when a host goes down do i have to set the refresh rate or how do you do that or where in the manual do they explain what i want -thanks - 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] Inheritence and host dependencies
hey guys I have nagios 2.4 on my linux i also have 54 host dependencies set up the follwing way define hostdependency{ host_name parent dependent_host_name child1,child2,child3 notification_failure_criteria d,u ; These are the criteria for which notifications will be suppressed } parent is my master hostname and child1 and child2 and child3 are are the dependents as you can see Now what I read from the manual if parent goes down then logically child1, child2 and child3 are also down thats what i see on my network But i keep getting 4 emails from parent, child1, child2 and child 3 I want only to get email from parent i thought the host dependency cfg file above does that for me ?? Can you help out thanks I dont know if this command in the template is the answer but help would be appricated inherits_parent [0/1] - 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 snmp traps set on nagios
Ok I have nagios 2.4 My nagios is working fine just need some additional the docs I don't understand in nagios I am trying to get snmp on nagios at least get the logs working I have downloaded snmptt some beta version 1.2 but I don't know how to correlate it with nagios. For instructions and if someone has snmp traps set up and would like to share how they set it up would be nice Thanks - 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] Email notifications cont.
I am using Nagios 2.4 I can not get email notifications when my system is timing out but when i check the event log on nagios i see the log: [image: Service Warning][01-14-2007 23:47:16] SERVICE ALERT: nedo;PING;WARNING;HARD;4;PING WARNING - Packet loss = 0%, RTA = 135.06 ms [image: Service Warning][01-14-2007 23:46:16] SERVICE ALERT: nedo;PING;WARNING;SOFT;3;PING WARNING - Packet loss = 0%, RTA = 173.10 ms [image: Service Warning][01-14-2007 23:45:16] SERVICE ALERT: nedo;PING;WARNING;SOFT;2;PING WARNING - Packet loss = 0%, RTA = 141.35 ms [image: Service Critical][01-14-2007 23:44:56] SERVICE ALERT: nedo;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [image: Host Up][01-14-2007 23:44:56] HOST ALERT: nedo;UP;SOFT;4;PING WARNING - Packet loss = 85%, RTA = 17.35 ms [image: Host Down][01-14-2007 23:44:50] HOST ALERT: nedo;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds [image: Host Down][01-14-2007 23:44:40] HOST ALERT: nedo;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds i think my contacts are all set right since i can get notifications when a host is unreachable here is my misccomands.cfg file # 'host-notify-by-email' command definition # 'notify-by-email' command definition define command{ command_name host-notify-by-email command_line /bin/echo -e * Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n | /bin/mail -s Host $HOSTSTATE$ alert for $HOSTNAME$! $CONTACTEMAIL$ } thanks in advance - 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] nagios unreachable timeout
Hey guys i am using nagios 2.4 it sends out email alert when the host is unreachable but doesnt send out email when host is timing out Also when i restart a switch on the nagios staus map the service is shown up when in fact its restarting does this have to do with refreshing the status map how do you do this its not in the documentations!! why is this ? thanks - 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] general
ok here is exactly what i get when i run the folwing command when i try to restart nagios I guess this mean its working when i restart it using follwing command * /etc/rc.d/init.d/nagios restart* Running configuration check...done Stopping network monitor: nagios Waiting for nagios to exit . done. Starting network monitor: nagios Then i try to run this bellow is it set up right i dont know you tell me guys * nagios -v /etc/rc.d/init.d/nagios restart* Nagios 2.4 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 05-31-2006 License: GPL Reading configuration data... Error in configuration file '/etc/rc.d/init.d/nagios' - Line 31 (NULL variable) *** The name of the main configuration file looks suspicious... Make sure you are specifying the name of the MAIN configuration file on the command line and not the name of another configuration file. The main configuration file is typically '/usr/local/nagios/etc/nagios.cfg' *** One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. Nagios 2.4 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 05-31-2006 License: GPL Reading configuration data... Error: Cannot open main configuration file '/etc/nagios' for reading! *** The name of the main configuration file looks suspicious... Make sure you are specifying the name of the MAIN configuration file on the command line and not the name of another configuration file. The main configuration file is typically '/usr/local/nagios/etc/nagios.cfg' *** One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed thanks On 1/10/07, Jim Perrin [EMAIL PROTECTED] wrote: Be sure to copy the nagios list in your replies, not just me. On 1/9/07, Nedim Bicic [EMAIL PROTECTED] wrote: I am running Nagios version 2.4 I set them up by simply going to nagios.cfg edited out # for each object file ex: cfg_file=etc/nagios/host.cfg and so on then created the file in the nagios directory using touch and chown for full permission now when i add hosts and serives for each file and then go to webinterface nagios it works i can see several hosts and they are shown as being up but when i try editing out # next to conacts group and dependencies and try to restart nagios it keeps giving me an error Reading etc/nagios main config file line 31 Null variable soemthing like this. Then you're not doing something properly. Without seeing the config file you're talking about, I have no way of knowing what you're screwing up. running nagios -v /path/to/your/nagios/etc/nagios.cfg is a good way to help figure out what you're screwing up. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell - 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] general
* nagios -v /etc/nagios/nagios.cfg* Nagios 2.4 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 05-31-2006 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 7 services. Checking hosts... Checked 3 hosts. Checking host groups... Checked 1 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 1 contacts. Checking contact groups... Checked 1 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 22 commands. Checking time periods... Checked 1 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check ok i guess everything is ok here i can access the the webinterface and see my my hosts and servfices but i cant edit out # in nagios.cfg for other objects On 1/10/07, Marc Powell [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Nedim Bicic Sent: Wednesday, January 10, 2007 9:06 AM To: Jim Perrin Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] general ok here is exactly what i get when i run the folwing command when i try to restart nagios I guess this mean its working when i restart it using follwing command /etc/rc.d/init.d/nagios restart Running configuration check...done Stopping network monitor: nagios Waiting for nagios to exit . done. Starting network monitor: nagios Looks like nagios started successfully. Is it running? If not, look in your nagios.log file for error output. Then i try to run this bellow is it set up right i dont know you tell me guys nagios -v /etc/rc.d/init.d/nagios restart 'nagios -v' verifies the current nagios configuration. It's not a way to start nagios. Additionally, it expect its argument to be the path to nagios.cfg. It's complaining because /etc/rc.d/init.d/nagios isn't the nagios config file. Try -- '/path/to/nagios -v /path/to/nagios.cfg', substituting the correct path, of course. -- Marc - 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 - 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] email help
Hey how do you get the notifications to work and send emails it doesnt work i put in my email address in the conacts.cfg file i restart the server where nagios is installed but i dont get any emails - 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] email help
I get emails on my local machine its a sendmail option on the linux box whenever a host goes down it sends it to nagios mailbox on the local server cant i somehow redirect it so it can send it to [EMAIL PROTECTED] i tried adding myself to the contact group but says i am not part of the group and there is nothing in the manual or creating seprate pipes for email just says add email under contacts do you guys have a link that shows how to set this up thanks On 1/10/07, Lacayo, Luis F [EMAIL PROTECTED] wrote: Before you have nagios send emails, make sure that your mailer is working (sendmail, or whatever you have installed). If you are able to send mail from the command prompt look at your maillog. Luis Lacayo -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Nedim Bicic *Sent:* Wednesday, January 10, 2007 12:25 PM *To:* nagios-users@lists.sourceforge.net *Subject:* [Nagios-users] email help Hey how do you get the notifications to work and send emails it doesnt work i put in my email address in the conacts.cfg file i restart the server where nagios is installed but i dont get any emails - 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] general
hey i configured all .cfg files seperatly from the original nagios.cfg file but when i try to split them and add host to it but i cant add host dependencies its giving me an error Does anyone know how to fix it thanks - 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] need help
I am running Nagios version 2.4 I set them up by simply going to nagios.cfg edited out # for each object file ex: cfg_file=etc/nagios/host.cfg and so on then created the file in the nagios directory using touch and chown for full permission now when i add hosts and serives for each file and then go to webinterface nagios it works i can see several hosts and they are shown as being up but when i try editing out # next to conacts group and dependencies and try to restart nagios it keeps giving me an error Reading etc/nagios main config file line 31 Null variable soemthing like this. But Hosts and services do work when i restart nagios no problem just the other objects. I installed Cacti EZ on the linux box Red hat and had a nagios version along with the distribution cd thanks in advance - 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