Search found 4 matches

by lukenio
Thu Sep 05, 2013 2:47 pm
Forum: Open Source Nagios Projects
Topic: nagios custom notifications do not work
Replies: 6
Views: 2921

Re: nagios custom notifications do not work

I changed debug level for nagios logging. This helped to explain why no sms was ever sent: [1378410241.024868] [032.1] [pid=15935] We shouldn't notify about this recovery. [1378410241.024877] [032.0] [pid=15935] Notification viability test failed. No notification will be sent out. Seems the script w...
by lukenio
Thu Sep 05, 2013 1:50 pm
Forum: Open Source Nagios Projects
Topic: nagios custom notifications do not work
Replies: 6
Views: 2921

Re: nagios custom notifications do not work

Thanks for quick reply and advice. I did check the temp file and it is owned by nagios. I went and deleted it to allow nagios to recreate it and it did as expected. Anyway now I am also logging output from the id command as well. I went and modified a few things a bit so presently the situation is a...
by lukenio
Wed Sep 04, 2013 5:21 pm
Forum: Open Source Nagios Projects
Topic: nagios custom notifications do not work
Replies: 6
Views: 2921

Re: nagios custom notifications do not work

it runs properly with nagios account. to be exact, i go from root with su to nagios account and run it from there. to put it more concisely, it runs fine on the nagios account, without any permission elevation. the only permission elevation is switching from root account to nagios account prior to t...
by lukenio
Wed Sep 04, 2013 9:15 am
Forum: Open Source Nagios Projects
Topic: nagios custom notifications do not work
Replies: 6
Views: 2921

nagios custom notifications do not work

Hi, I'm trying to make nagios send notifications via usb modem as text messages. This is not a part of the issue, because I have a working bash script that takes care of it and if I run it (via sudo as nagios user) it works flawlessy. I have configured the user object (in contacts.cfg) like so: defi...