Re: Netsaint-users digest, Vol 1 #1454 - 8 msgs
amol sapkal <[email protected]>
| Newsgroups | gmane.network.netsaint.user |
|---|---|
| Message-ID | <[email protected]> |
###Subject: [netsaint] Problems accessing Netsaint Hi Sir, Regarding your Web access problem. first of all..pls chk your aliases and entries in httpd.conf. Make sure u have created the directory "netsaint" in /var/www/cgi-bin/ Also check your config file, nscgi.cfg at http://www.netsaint.org/docs/0_0_7/configcgi.html Pls recall what were the parameters u passed to the ./configure file during the configuration of NetSaint (eg. ./configure --with-cgiurl=/cgi-bin/netsaint/ ... ) This has to match the one in the config file. Regarding ur entries in the httpd.conf file..I dont think its necessary to make these entries for netsaint : **** AllowOverride AuthConfig order allow,deny allow from all **** I suppose it will work without that too (though nagios requires it) If all the above doesnt work..try running this as a superuser ..I dunno if it will help in ur case. (only if you are ona secure n/w) # ipchains -X # ipchains -F Friends, do correct me if anything above is worng. Regds, Amol Sapkal GTL Ltd. [email protected] wrote:Send Netsaint-users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/netsaint-users or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Netsaint-users digest..." Today's Topics: 1. Re: Problem sending SMS (Tom DE BLENDE) 2. Re: Problem sending SMS (Stanley Hopcroft) 3. Problems accessing Netsaint (Darrin Owen) 4. SMS + GNOKII (Giulius) 5. Re: SMS + GNOKII (Tom DE BLENDE) 6. HOW TO USE SMS NOTIFICATION + GNOKII (Giulius) 7. Timing issue (John Doak) 8. check_http (Shawn Jones) --__--__-- Message: 1 Date: Fri, 30 Aug 2002 10:00:16 +0200 From: "Tom DE BLENDE" Organization: DHL GCC To: Didi Setiadi CC: [email protected] Subject: Re: [netsaint] Problem sending SMS http://www.smsclient.org Didi Setiadi wrote: I would like to know is there any other linux software which handle SMS device like Nokia 30 or Siemens TC35. For alerting purpose? Appreciated to whom may share with me. DIDI > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf > Of Giulius > Sent: Jumat, 30 Agustus 2002 14:22 > To: [email protected] > Subject: [netsaint] Problem sending SMS > > > Hi all. > > I'm using netsaint 007b8 on a linux rh72. > I'm trying to send notification using gnokii but there is a > problem. I created a command line like this: > command[notify-by-sms]=/bin/printf "TEXTMESSAGE+VARIBLES" | > /usr/bin/gnokii --sendsms xxxxxxx -C0 > command[host-notify-by-sms]=/bin/printf "TEXTMESSAGE+VARIBLES" | > /usr/bin/gnokii --sendsms xxxxxxx -C0 > and added > contact[netsaint]=Netsaint > User;24x7;24x7;1;1;1;1;1;1;notify-by-email,notify-by- > epager,notify-by-sms;host-notify-by-email,host-notify-by-epage > r,host-notify-by-s > ms;netsaint;netsaint,netsaint > > During a service/host notification, i can read correctly on > netsaint.log > 3 NOTIFICATION: > [1030691698] SERVICE NOTIFICATION: > netsaint;host;FTP;CRITICAL;notify-by-sms;Connection refused > by host [1030691698] SERVICE NOTIFICATION: > netsaint;host;FTP;CRITICAL;notify-by-epager;Connection > refused by host [1030691698] SERVICE NOTIFICATION: > netsaint;host;FTP;CRITICAL;notify-by-email;Connection refused by host > > 2 email arrives at my box (notify-by-email and > notify-by-epager) but nothing arrivie at my gsm. > > Using the same notification by command line : > #/bin/printf "TEXTMESSAGE+VARIBLES" | /usr/bin/gnokii > --sendsms xxxxxxx -C0 the sms arrives correctly. > > Reading the logs i cannot find debug about notification, i > don't know if > it is a problem about permission or other things. > Someone can help me to understand this? > > Many Thanks. > Giulius. > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same > old cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1> &refcode1=vs3390 > > > _______________________________________________ > Netsaint-users mailing list [email protected] > https://lists.sourceforge.net/lists/listinfo/netsaint-users > > ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Netsaint-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/netsaint-users --__--__-- Message: 2 Date: Fri, 30 Aug 2002 19:15:32 +1000 From: Stanley Hopcroft To: Didi Setiadi Cc: [email protected] Subject: Re: [netsaint] Problem sending SMS Dear Sir, On Fri, Aug 30, 2002 at 03:01:22PM +0700, Didi Setiadi wrote: > I would like to know is there any other linux software which handle SMS > device like Nokia 30 or Siemens TC35. For alerting purpose? > I am unfamilair with the devices you mention but there are at least three (3) good aproaches for having Netsaint send alerts by SMS 1 A TAP compliant SMS provider and TAP software like Qpage. This has been discussed quit a lot on this list 2 GSM modems (Falcon, Wavecomm) and 'SMS Link' (see SourceForge) You need a special modem but you get lots of benefits. For example, in Australia, VodaPhones modem SMS gateway - outsourced - went away for over a fortnight. My employer bought a GSM modem ($100-150 US 12-18 months ago). 3 plain old modem interface to providers SMS gateway using Angelos 'SMS Client' (see SF again). You probably want an email interface because that is fast - doesn't hang Netsaint - and easy to use. I think that options 1 and 2 do so. > Appreciated to whom may share with me. > > > DIDI > HTH, Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. --__--__-- Message: 3 From: "Darrin Owen" To: Date: Fri, 30 Aug 2002 19:28:55 +1000 Subject: [netsaint] Problems accessing Netsaint I have just configured Netsaint 0.0.7 onto linux Red Hat 7.2 and I can not view the pages. I changed the httpd.conf file to read Server 10.1.1.1 Alias /netsaint/ /usr/local/netsaint/share/ AllowOverride AuthConfig order allow,deny allow from all ScriptAlias /cgi-bin/netsaint/ /usr/local/netsaint/sbin/ AllowOverride AuthConfig order allow,deny allow from all restarted the httpd service, all ok there, the logged in, the Authentication into netsaint worked fine with the access.conf file. Then clicked on the links for each page and the error is 404 unable to locate /var/www/cgi-bin/netsaint/file.cgi for this server Checked the netsaint.cfg and nscgi.cfg and seems to be in order according to the documentation. Been working on the for close to 2 weeks now and no luck. The apache user is part of the netsaint group and the permissions to netsaint directory and sub is set to 755. Tried moving the cgi files to the cgi-bin/netsaint directory but it did not work, not like iis. HELP!!!!! Any ideas on this? --__--__-- Message: 4 Date: Fri, 30 Aug 2002 11:36:00 +0200 From: Giulius To: [email protected] Subject: [netsaint] SMS + GNOKII For people using gnokii, i finally find the solution about uncorrect sms send. If you vant to know mail me. Bye. Giulius. > --__--__-- Message: 5 Date: Fri, 30 Aug 2002 11:48:17 +0200 From: "Tom DE BLENDE" Organization: DHL GCC To: Giulius CC: [email protected] Subject: Re: [netsaint] SMS + GNOKII Please send this too the list. It is of no interest to me, but it might help others using this mailing archive in the future. Giulius wrote: For people using gnokii, i finally find the solution about uncorrect sms send. If you vant to know mail me. Bye. Giulius. > ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Netsaint-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/netsaint-users --__--__-- Message: 6 Date: Fri, 30 Aug 2002 12:25:22 +0200 From: Giulius To: [email protected], [email protected] Subject: [netsaint] HOW TO USE SMS NOTIFICATION + GNOKII This is a little HOWTO that help who try to run gnokii with netsaint on unix systems for sms notification: TO use gnokii with netasint you "must" know 3 things: 1)Netsaint cannot understand any replay output/error given by gnokii; 2)Netsaint user (process owner) must have the ability to read/write on the serial (or any other device like irda) connected to the gsm sender 3)Netsaint user (process owner) must read/write on lock directory 1) add this command to netsaint host.cfg command[sms]=/path/to/printf "MESSAGE+VARIABLE" | /path/to/gnokii --sendsms [gsm number] -C0 2>/dev/null add olso the contact information about sms like this: contact[netsaint]=Netsaint User;24x7;24x7;1;1;1;1;1;1;notify-by-email,notify-by-epager,notify-by-sms; host-notify-by-email,host-notify-by-epager,host-notify-by-sms;netsaint;netsaint Remember: if you forget to add "2>/dev/null" on the end of the command line, the result was a broken pipe and netsaint cannot go over, freezing all the netsaint process. 2)Remember to set permission RW on serial (or any other device like irda) device to user netsaint (or process owner). This to permit Read Write on device attached to gsm cel. There are differently method to do this based on type of unix you own. You must find this on yourself. 3)Now you must configure gnokii in order to use lock files (to avoid conflict with other devices that use serial/usb). On gnokii/etc directory un can find a file called gnokiirc. Make sure that contain this: port = /dev/ (device attached to gsm) model = (the model number of your nokia gsm like 6210) connection = serial (or you connection to gsm cel. like irda, ecc.) use_locking = yes Now you are ready to receive sms about notification of netsaint. Bye. Giulius. --__--__-- Message: 7 From: John Doak To: [email protected] Date: Fri, 30 Aug 2002 10:41:25 -0700 Subject: [netsaint] Timing issue This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C2504C.76573B00 Content-Type: text/plain I've migrated my netsaint installation from RedHat 7.2 to RedHat 7.3 running on a new system. With the help of many kind folks on this list, I have been able to get add the paging service to my netsaint installation. Durring this transfer, though, I have become aware that netsaint isn't updating as often as it should. I've checked the interval_length variable is set to 60, and all my service checks are set to check_interval=1. Does anyone know why netsaint would be delaying the checks, I am monitoring 59 hosts, 126 services. Thanks, __________________________________________ John G. Doak Jr. Network Administrator [email protected] 415-444-8787 ------_=_NextPart_001_01C2504C.76573B00 Content-Type: text/html I've migrated my netsaint installation from RedHat 7.2 to RedHat 7.3 running on a new system. With the help of many kind folks on this list, I have been able to get add the paging service to my netsaint installation. Durring this transfer, though, I have become aware that netsaint isn't updating as often as it should. I've checked the interval_length variable is set to 60, and all my service checks are set to check_interval=1. Does anyone know why netsaint would be delaying the checks, I am monitoring 59 hosts, 126 services. size=2> size=2>Thanks, size=2>__________________________________________ John G. Doak Jr. Network Administrator href="mailto:[email protected]">[email protected] 415-444-8787 ------_=_NextPart_001_01C2504C.76573B00-- --__--__-- Message: 8 To: [email protected] From: "Shawn Jones" Date: Fri, 30 Aug 2002 14:19:56 -0400 Subject: [netsaint] check_http Does anyone know how to explicitly tell the check_http command to follow a redirect when you are trying to read content from a page using the -r option? The content of this email message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. --__--__-- _______________________________________________ Netsaint-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/netsaint-users End of Netsaint-users Digest --------------------------------- Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes