


Then you can test to send sms sendsms 12128654549 'test' Nagios ConfigurationĪfter this go under /usr/local/nagios/etc/objects/ and edit the file commands.cfg but that perform a backup of the config file: cd /usr/local/nagios/etc/objects/ cp commands.cfg Edit the commands.cfg file and you will add two commands ‘ notify-host-by-sms’ and ‘notify-service-by-sms’ notify-host-by-sms /usr/bin/printf “%b” ” hostname : $HOSTNAME$ State: $HOSTSTATE$ Address: $HOSTADDRESS$ Date/Time: $DATE$ ” | smssend $CONTACTPAGER$ Then restart the service using this command: service smsd restart Next step is to configure smstool service to autorun with the server. ( GSM Modem is on ttyACM0 in this example) device = /dev/ttyACM0 Make Sure you have the Following SMSTOOLS3 SERVER Files and Folders InstalledĪlso make sure that SMSTools has the Right Configuration Setting for your modem in: /etc/nf
#Datacrow java runtime environment install#
Now you need to install the smstool under nagios server using the flowing command in centos: yum install smstools Then check your configuration using dmesg | grep tty. Next step is to add usb controller to the nagios server.
#Datacrow java runtime environment how to#
In this tuto we will show to how to configure Nagios to send sms hosted in Vmware. Then you insert the card SIM in the modem GSM and will connect the modem GSM by USB to the server where nagios is hosted.

One of the most important feature of the monitoring platform is the notification system by default they use the local mail daemon (postfix, mail, exim) installed on the server to send the notifications.
