|Subject:||RE: Alerts through Nagios very temperamental|
|Date:||Thu, 22 Dec 2011 11:19:28 +0000|
Thanks Michael for the suggestion…….
I have installed MYSQL and SMSD for MYSQL this morning.
I have added the table into the db by using this command
mysql -u root Nagios_text_db < /usr/share/doc/gnokii-smsd-mysql/sms.tables.mysql.sql
In my db I now have an Inbox/ Outbox and multipartinbox tables.
I then tried to run this command to start the smsd
/usr/sbin/smsd -u root -p rootpasswd -d Nagios_text_db -c 127.0.0.1 -m mysql -f /home/nagios/Desktop/smsd.log
But it gets in a continuous loop that ends in
Lowlevel.c:435 error 8. Unknown error – well better than nothing!!
Too many consecutive errors, restarting connection
Then starts up again
Serial device: closing device
Using Gnokii 0.6.29 , Nokia 6301, Ubuntu 11.04 Desktop 32bit
Any suggestions please guys?
Are you using the smsd? That would resolve the contention problem.
The smsd is a daemon that comes with gnokii, it reads from a mysql database table.
Your nagios notification script would write a row into the table. Meanwhile the smsd scans the table for unsent messages.
Thats how we do it at my site.
|[Prev in Thread]||Current Thread||[Next in Thread]|