It's worked !!!!!
Thanks a lot guys !!! you are the best !
Search found 25 matches
- Tue Jun 24, 2014 11:49 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios Output file
- Replies: 14
- Views: 5699
- Tue Jun 24, 2014 10:38 am
- Forum: Open Source Nagios Projects
- Topic: Nagios Output file
- Replies: 14
- Views: 5699
Re: Nagios Output file
define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "...
- Tue Jun 24, 2014 5:38 am
- Forum: Open Source Nagios Projects
- Topic: Nagios Output file
- Replies: 14
- Views: 5699
Re: Nagios Output file
You want to see how i define the service ?
This will help you to help me solved this issue ?
This will help you to help me solved this issue ?
- Mon Jun 23, 2014 9:35 am
- Forum: Open Source Nagios Projects
- Topic: Nagios Output file
- Replies: 14
- Views: 5699
Re: Nagios Output file
NP
Let me know if something is wrong ( This is how i define all my commands)
Thanks
Code: Select all
define command{
command_name check_cloud_watch_test
command_line /usr/bin/python /usr/local/nagios/libexec/check_cloud_watch_test.py
}Let me know if something is wrong ( This is how i define all my commands)
Thanks
- Sat Jun 21, 2014 2:13 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios Output file
- Replies: 14
- Views: 5699
Re: Nagios Output file
Hey ,
Thanks for your answer but i didn't understand it.
Can you explain to me exactly what i need to change ?
Thanks !!!
Thanks for your answer but i didn't understand it.
Can you explain to me exactly what i need to change ?
Thanks !!!
- Thu Jun 19, 2014 1:17 am
- Forum: Open Source Nagios Projects
- Topic: Nagios Output file
- Replies: 14
- Views: 5699
Re: Nagios Output file
Thanks for your help but still i can't see my full output . let me explain what i'm doing (Maybe i have mistakes) 1. Added this file nagios-4.0.7/include/nagios.h 2. Change this variable to this value : #define MAX_PLUGIN_OUTPUT_LENGTH 20192 After that Re-compile the nagios : 1 ./configure --with-co...
- Wed Jun 18, 2014 2:57 am
- Forum: Open Source Nagios Projects
- Topic: Nagios Output file
- Replies: 14
- Views: 5699
Nagios Output file
Hey Guys , Need you professional help again. I created my own script to nagios with HUGE output (That's fine for me) But nagios Email notification cut the output after the first new line. This is the example for the output : Job glowing-indexer-494:bqjob_r4ff798991b23117b_00000146ac7f8634_1 Job Type...
- Mon May 26, 2014 4:15 am
- Forum: Open Source Nagios Projects
- Topic: Exit code - Python script
- Replies: 18
- Views: 17780
Re: Exit code - Python script
Guys , Thank you all but i resolved the issue . let me share with you the solution. When you run the script with nagios / root you must create a file called .boto in the home directory with the accessKey & SecretKey. BUT when nagios run the script like daemon we need to use another method that i...
- Sun May 25, 2014 3:33 am
- Forum: Open Source Nagios Projects
- Topic: Exit code - Python script
- Replies: 18
- Views: 17780
Re: Exit code - Python script
yes of course .
if i run the script with nagios user everything is working fine.
(Manually run)
if i run the script with nagios user everything is working fine.
(Manually run)
- Thu May 22, 2014 12:33 am
- Forum: Open Source Nagios Projects
- Topic: Exit code - Python script
- Replies: 18
- Views: 17780
Re: Exit code - Python script
i'm define the command like that : define command{ command_name check_cloud_watch command_line /usr/bin/python /usr/local/nagios/libexec/check_cloud_watch.py } You mean that i have to change the command like that : define command{ command_name check_cloud_watch command_line /usr/local/nagios/libexec...