Search found 4 matches

by fscinfra
Thu Mar 01, 2018 8:18 am
Forum: Nagios Log Server
Topic: Alert Method: execute scrip (Arguments)
Replies: 6
Views: 1607

Re: Alert Method: execute scrip (Arguments)

Hi,

mmm ok Thanks :( for you help.
by fscinfra
Wed Feb 28, 2018 7:12 am
Forum: Nagios Log Server
Topic: Alert Method: execute scrip (Arguments)
Replies: 6
Views: 1607

Re: Alert Method: execute scrip (Arguments)

hi,

I dont know to pass the arguments. But I only want to pass a only host, beacuse I will configure a alert in a determined host.
by fscinfra
Mon Feb 26, 2018 7:49 am
Forum: Nagios Log Server
Topic: Alert Method: execute scrip (Arguments)
Replies: 6
Views: 1607

Re: Alert Method: execute scrip (Arguments)

hi lmiltchev, thank you, it worked!! I think it was not working for me because I was runing the script sh in another folder.... but do you know how to pass el "host" and the "message"? host.PNG message.PNG I need to pass the host that ran the alert and the message sended to Nagio...
by fscinfra
Fri Feb 23, 2018 2:28 pm
Forum: Nagios Log Server
Topic: Alert Method: execute scrip (Arguments)
Replies: 6
Views: 1607

Alert Method: execute scrip (Arguments)

I need to pass arguments to script sh, the variables that I need to pass are "host" and "message" only, I dont need anything other.

any idea how to do it?

Thanks