LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Nagios - Some Lines Are Empty in Email (https://www.linuxquestions.org/questions/linux-software-2/nagios-some-lines-are-empty-in-email-4175490431/)

emrahgultekin 01-07-2014 08:57 AM

Nagios - Some Lines Are Empty in Email
 
I can't get some lines in notification mail
Service , status and Additional Info is EMPTY
How can i fix this? I am new at this subject.
Please help me


Here is mey codes

#HOST DEFINITION
define host{
use generic-host
host_name cerkezmusellim
alias cerkezmusellim
address 88.247.137.245
max_check_attempts 3
notification_interval 10
notification_period 24x7
notification_options d,r,u
contact_groups Fap-admins
}



# SERVICE DEFINITIONS
define service{
use generic-service
host_name cerkezmusellim
service_description HTTP_80
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 10
retry_check_interval 1
contact_groups Win-admins
notification_options u,c,r
notification_interval 30
notification_period 24x7
check_command check_tcp!80!10!20
}

TB0ne 01-07-2014 09:16 AM

Quote:

Originally Posted by emrahgultekin (Post 5093526)
I can't get some lines in notification mail
Service , status and Additional Info is EMPTY How can i fix this? I am new at this subject.
Please help me

..and like you were told in the OTHER thread that you hijacked/reopened, the solution is in there. Specifically, posts #2 and #5

emrahgultekin 01-07-2014 10:05 AM

Sory man. I am new about nagios. And my english is not perfect :(
Can you tell me the answer clearly.
what should i do

Quote:

Originally Posted by TB0ne (Post 5093534)
..and like you were told in the OTHER thread that you hijacked/reopened, the solution is in there. Specifically, posts #2 and #5


TB0ne 01-07-2014 10:29 AM

Quote:

Originally Posted by emrahgultekin (Post 5093568)
Sory man. I am new about nagios. And my english is not perfect :(
Can you tell me the answer clearly.
what should i do

You should READ THE OTHER THREAD. The answer is in there, VERY clearly, in post #5, with examples of what to do. If you can't follow the example there, I'm not sure what else we can do to help you.

Unless you define those things, they won't come through. You're not telling us WHAT isn't coming through, or showing us a sample of the email. Did you define the email command structure, again as the example in that other thread? Did you read the Nagios configuration guides?

http://nagios.sourceforge.net/docs/3...fications.html

emrahgultekin 01-08-2014 01:58 AM

3 Attachment(s)
Dear TB0ne
I am very new at this Nagios things. This is my first look to Nagios and I don't know any thing about nagios. I did read other thread post #5 but that example not like mine cfg files. I can't understand any thing
But i have some cfg files. If i attach cfg files can you help me please?
Attachment 14438

Attachment 14439

Attachment 14440


Quote:

Originally Posted by TB0ne (Post 5093581)
You should READ THE OTHER THREAD. The answer is in there, VERY clearly, in post #5, with examples of what to do. If you can't follow the example there, I'm not sure what else we can do to help you.

Unless you define those things, they won't come through. You're not telling us WHAT isn't coming through, or showing us a sample of the email. Did you define the email command structure, again as the example in that other thread? Did you read the Nagios configuration guides?

http://nagios.sourceforge.net/docs/3...fications.html


emrahgultekin 01-08-2014 02:00 AM

Here is mail example.
Service , State and Additional Info is EMPTY as you can see.


***** Nagios *****

Notification Type: PROBLEM

Service: $
Host: erzincan
Address: 78.188.233.202
State: $

Date/Time: Mon Jan 6 14:39:16 EET 2014

Additional Info:

$





Quote:

Originally Posted by emrahgultekin (Post 5094085)
Dear TB0ne
I am very new at this Nagios things. This is my first look to Nagios and I don't know any thing about nagios. I did read other thread post #5 but that example not like mine cfg files. I can't understand any thing
But i have some cfg files. If i attach cfg files can you help me please?
Attachment 14438

Attachment 14439

Attachment 14440


emrahgultekin 01-08-2014 02:02 AM

"erzincan" is ADSL modem (78.188.233.202) by the way :)
And I want to check HTTP_80 Port


Quote:

Originally Posted by emrahgultekin (Post 5094087)
Here is mail example.
Service , State and Additional Info is EMPTY as you can see.


***** Nagios *****

Notification Type: PROBLEM

Service: $
Host: erzincan
Address: 78.188.233.202
State: $

Date/Time: Mon Jan 6 14:39:16 EET 2014

Additional Info:

$



All times are GMT -5. The time now is 09:07 PM.