gnokii
Brad Dunn
Brad at pretzel.com.au
Wed Apr 9 10:31:23 CEST 2003
Hey there,
I've got gnokii working manually and I'm now looking at using it with
nagios, I've set it up in miscommands like so
# 'Notify-by-sms' command definition
define command{
command_name notify-by-sms
command_line /usr/local/bin/gnokii --sendsms $CONTACTPAGER$
'$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$ ($OUTP
UT$)'
}
# 'Host-Notify-by-sms'
define command{
command_name host-notify-by-sms
command_line /usr/local/bin/gnokii --sendsms $CONTACTPAGER$
'$NOTIFICATIONTYPE$: $HOSTNAME$ is $HOSTSTATE$ ($OUTPUT$)'
}
I'm assuming there is probably a lot wrong with this because I got the
template from the only SMS page I could find in the FAQ's (it was using
yaps)
Anyways, If there is something wrong with the above can u let me know. (the
/usr/local/bin/gnokii is the correct path)
What I'm after is maybe all the config files that someone has that relate to
gnokii directly so I can use them as a guide. If anyone is using gnokii and
wouldn't mind just emailing me the files I would greatly appreciate it.
Thanks
-Brad
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list