Error log Checking

Tyson Harker <[email protected]>
Newsgroups gmane.network.netsaint.user
Message-ID <90830E6818F0D411B880000629D54CEC03B91477@sym_ntfs1.symitar.com>
Has anyone had any luck in setting up a more robust error logging setup?  I
need to check the error logs on about 14 AIX servers and I would like to
search for about 100 different error codes.  I really don't want to have to
set up 100 different checks.  Does anyone have any ideas on how this could
be solved?



-----Original Message-----
From: [email protected]
[mailto:[email protected]]
Sent: Tuesday, September 03, 2002 9:46 AM
To: [email protected]
Subject: Netsaint-users digest, Vol 1 #1458 - 5 msgs


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: help me !!!! (Subhendu Ghosh)
   2. Mysql (Fabio Cerqueira de Oliveira)
   3. Re: help me !!!! (Edgard =?iso-8859-1?Q?Dap=E1s?=)
   4. Odd behaviour of Netsaint 0.0.7 (Jason Ahrens)
   5. Re: Netsaint-users digest, Vol 1 #1454 - 8 msgs (amol sapkal)

--__--__--

Message: 1
Date: Mon, 2 Sep 2002 21:27:53 -0400 (EDT)
From: Subhendu Ghosh <[email protected]>
To: [email protected]
Subject: Re: [netsaint] help me !!!!


Are you sure that the configuration points to the correct host ( that is=20
the the configuration points to 10.74.72.43)?

-sg


On Mon, 2 Sep 2002, Edgard Dap=E1s wrote:

>=20
>=20
> I answer yours question
>=20
> Q: Do you mean that the service check does not return CRITICAL when the
> Lotus
> Notes service is down?
>=20
> A: When the Lotus is down the check return "Critical"
> example: # /opt/sfw/lib/netsaint/plugins/check_nrpe 10.74.72.43 -c
> check_notes
>          Critical
>=20
>=20
> Q: Sorry - what do you mean by current status?  the host status or the
> service status?
>=20
> A:Service State Information
> Variable Value
> Current Status   OK
> Status Information Critical
> Current Attempt 1/3
> State Type HARD
> Last Check Type ACTIVE
>=20
> The Current status always is in OK
> and the Current Attempt in 1/3, never change
>=20
> Thanks
>=20
>=20
>=20
>=20
>=20
> Subhendu Ghosh <[email protected]> con fecha 02/09/2002 18:25:47
>=20
> Destinatarios:    Edgard Dap=E1s <[email protected]>
> CC:         [email protected]
> Asunto:     Re: [netsaint] help me !!!!
>=20
>=20
> On Mon, 2 Sep 2002, Edgard Dap=E1s wrote:
>=20
> >
> > I setup an alarm to check the Lotus Notes service
> >
> >  When the notes service is down and the message is "Critical",  the
> Status
> > Information change to "Critical", but the current status keep in OK a=
nd
> the
> > system doesn't send any notification
> >
> > What's it  wrong?
> >
> > I setup:
> >
> > I configured the service  in the hosts.cfg
> >
> >
> service[dsl102]=3DNOTES;0;24x7;3;2;1;webpin;120;24x7;1;1;0;;check_nrpe!=
check_notes
>=20
> >
> >
> > I tested the command
> >
> > When the services is down I got this message
> > # /opt/sfw/lib/netsaint/plugins/check_nrpe 10.74.72.43 -c check_notes
> > Critical
> >
> > and when the service is up I got this message
> > # /opt/sfw/lib/netsaint/plugins/check_nrpe 10.74.72.43 -c check_notes
> > OK
> >
> > In the status.log I have the following message (with the service down=
):
> >
> > [1030998545]
> SERVICE;dsl102;NOTES;OK;1/3;HARD;1030998479;1030998599;ACTIVE;1;1;1;103=
0991486;0;OK;6009;0;0;0;0;0;1;0;0;1;0;0.00;0;Critical
>=20
> >
> >
> > Thanks and sorry for my English
>=20
>=20
> Sorry - what do you mean by current status?  the host status or the
> service status?
>=20
> Do you mean that the service check does not return CRITICAL when the Lo=
tus
> Notes service is down?
>=20
> Regarding notification, if the service check is reporting the correct
> value, does the timeperiod assigned to the contactgroup/contacts allow
> notifications to be sent out?
>=20
>=20
>=20
> --
> -sg
>=20
> (See attached file: pic11622.pcx)
>=20
>=20
>=20
> ScanMail has blocked a file during a real-time scan of the email traffi=
c.
> Date:       9/2/2002 18:23:49
> Event:     (File Type Blocking)
> File:         pic11622.pcx
> Action:     delete
>=20
>=20

--=20




--__--__--

Message: 2
From: Fabio Cerqueira de Oliveira <[email protected]>
To: [email protected]
Date: Mon, 02 Sep 2002 22:55:21 -0300
Subject: [netsaint] Mysql

Hi,

I'm trying to store log data in mysql server, and i need to know what's 
the fields how i want to create in the required tables for my sucesso 
with this configuration.

Thanks.


Fabio



--__--__--

Message: 3
Subject: Re: [netsaint] help me !!!!
To: [email protected]
From: "Edgard =?iso-8859-1?Q?Dap=E1s?=" <[email protected]>
Date: Tue, 3 Sep 2002 09:00:28 -0300


Yes,the configuration points to 10.74.72.43

The point is , why  Current Status keep OK , and the only thing that ch=
ange
is Status Information.

Thanks





Subhendu Ghosh <[email protected]>@lists.sourceforge.net con fecha
02/09/2002 22:27:53

Enviado por:      [email protected]


Destinatarios:    [email protected]
CC:
Asunto:     Re: [netsaint] help me !!!!



Are you sure that the configuration points to the correct host ( that i=
s
the the configuration points to 10.74.72.43)?

-sg


On Mon, 2 Sep 2002, Edgard Dap=E1s wrote:

>
>
> I answer yours question
>
> Q: Do you mean that the service check does not return CRITICAL when t=
he
> Lotus
> Notes service is down?
>
> A: When the Lotus is down the check return "Critical"
> example: # /opt/sfw/lib/netsaint/plugins/check_nrpe 10.74.72.43 -c
> check_notes
>          Critical
>
>
> Q: Sorry - what do you mean by current status?  the host status or th=
e
> service status?
>
> A:Service State Information
> Variable Value
> Current Status   OK
> Status Information Critical
> Current Attempt 1/3
> State Type HARD
> Last Check Type ACTIVE
>
> The Current status always is in OK
> and the Current Attempt in 1/3, never change
>
> Thanks
>
>
>
>
>
> Subhendu Ghosh <[email protected]> con fecha 02/09/2002 18:25:47
>
> Destinatarios:    Edgard Dap=E1s <[email protected]>
> CC:         [email protected]
> Asunto:     Re: [netsaint] help me !!!!
>
>
> On Mon, 2 Sep 2002, Edgard Dap=E1s wrote:
>
> >
> > I setup an alarm to check the Lotus Notes service
> >
> >  When the notes service is down and the message is "Critical",  the=

> Status
> > Information change to "Critical", but the current status keep in OK=
 and
> the
> > system doesn't send any notification
> >
> > What's it  wrong?
> >
> > I setup:
> >
> > I configured the service  in the hosts.cfg
> >
> >
>
service[dsl102]=3DNOTES;0;24x7;3;2;1;webpin;120;24x7;1;1;0;;check_nrpe!=
check_notes

>
> >
> >
> > I tested the command
> >
> > When the services is down I got this message
> > # /opt/sfw/lib/netsaint/plugins/check_nrpe 10.74.72.43 -c check_not=
es
> > Critical
> >
> > and when the service is up I got this message
> > # /opt/sfw/lib/netsaint/plugins/check_nrpe 10.74.72.43 -c check_not=
es
> > OK
> >
> > In the status.log I have the following message (with the service do=
wn):
> >
> > [1030998545]
>
SERVICE;dsl102;NOTES;OK;1/3;HARD;1030998479;1030998599;ACTIVE;1;1;1;103=
0991486;0;OK;6009;0;0;0;0;0;1;0;0;1;0;0.00;0;Critical

>
> >
> >
> > Thanks and sorry for my English
>
>
> Sorry - what do you mean by current status?  the host status or the
> service status?
>
> Do you mean that the service check does not return CRITICAL when the
Lotus
> Notes service is down?
>
> Regarding notification, if the service check is reporting the correct=

> value, does the timeperiod assigned to the contactgroup/contacts allo=
w
> notifications to be sent out?
>
>
>
> --
> -sg
>
> (See attached file: pic11622.pcx)
>
>
>
> ScanMail has blocked a file during a real-time scan of the email traf=
fic.
> Date:       9/2/2002 18:23:49
> Event:     (File Type Blocking)
> File:         pic11622.pcx
> Action:     delete
>
>

--




-------------------------------------------------------
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?rsourceforge1&refcode1vs3390
_______________________________________________
Netsaint-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netsaint-users


=




--__--__--

Message: 4
From: "Jason Ahrens" <[email protected]>
To: [email protected]
Date: Tue, 3 Sep 2002 08:06:05 -0600
Subject: [netsaint] Odd behaviour of Netsaint 0.0.7

We've been trying to set up a system to upgrade to 0.0.7, but have come
across a couple of oddities.

1) When the "aggregate write" option is on, NetSaint seems to "forget" to
write out the status.log file. I set the aggregate write delay to 10
seconds, but then after a couple of minutes NetSaint starts not updating the
status.log file at all. With aggregate writes turned off, status.log
updating happens normally. But extremely often (3000 checks configured)

2) With the option of "-1" for external command read (i.e.: immediate read)
NetSaint runs off and consumes all available memory. After an hour or two
NetSaint has used up 3.5GB of swap and 900MB of real memory. With the read
interval set to positive values (1) this does not happen but the delay in
reading the external command pipe can sometimes be a significant length.

Anyone else noticed this behaviour? Ways to correct it?

Thanks

Jason

--
Jason Ahrens, System Analyst
TELUS Enterprise Solutions
http://www.telus.com




--__--__--

Message: 5
Date: Tue, 3 Sep 2002 09:45:20 -0700 (PDT)
From: amol sapkal <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: [netsaint] Re: Netsaint-users digest, Vol 1 #1454 - 8 msgs

--0-1162910759-1031071520=:95446
Content-Type: text/plain; charset=us-ascii


###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;netsa
int

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
--0-1162910759-1031071520=:95446
Content-Type: text/html; charset=us-ascii

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



--__--__--

_______________________________________________
Netsaint-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netsaint-users


End of Netsaint-users Digest


-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.