[Nagios-users] Problems compiling ndoutils-1.4b1

2007-01-10 Thread tom.welsh
Hi List,

My box config is as follows

SUSE Linux enterprise Server 9.2
Mysql 5.0.27
Php 5.2.0
Apache 2.0.59
Nagios 2.6
Nagios Plugins 1.4.5


Im trying to install ndoutils on my SLES 9.2 box and getting an error
whilst doing a make. I see the following in my ./configure

-< SNIP
>-

*** MySQL library could not be located... **

You chose to compile NDBXT with MySQL support, but I was unable to
locate the MySQL library on your system.  If the library is
installed,  use the --with-mysql-lib argument to specify the
location of the MySQL library.

NOTE: After you install the necessary libraries on your system:
  1. Make sure /etc/ld.so.conf has an entry for the directory in
 which the MySQL libraries are installed.
  2. Run 'ldconfig' to update the run-time linker options.
  3. Run 'make devclean' in the NDBXT distribution to clean out
 any old references to your previous compile.
  4. Rerun the configure script.

TIP: Try the following

 ./configure --with-mysql-lib=/usr/lib/mysql




checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
checking for PQconnectdb in -lpq... No

-< SNIP
>-

Now I have done everything it has said in the sections above from
./configure and I still get the error.

I compiled mysql from source and I have installed the following from
RPMs

MySQL-client-5.0.27-0.glibc23.i386.rpm
MySQL-devel-5.0.27-0.glibc23.i386.rpm
MySQL-shared-5.0.27-0.glibc23.i386.rpm

If I run a 'make' I get the following before it bombs out

make[2]: Entering directory
`/home/welsht2/downloads/nagios/ndoutils-1.4b1/src'
gcc -O0 -g -DHAVE_CONFIG_H -c -o db.o db.c
gcc -O0 -g -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -c -o dbhandlers-2x.o
dbhandlers.c
gcc -O0 -g -DHAVE_CONFIG_H  -D BUILD_NAGIOS_2X -o ndo2db-2x ndo2db.c
dbhandlers-2x.o io.o utils.o db.o  -L/usr/lib/mysql  -lnsl
utils.o(.text+0x131): In function `ndo_dbuf_strcat':
/home/welsht2/downloads/nagios/ndoutils-1.4b1/src/utils.c:67: undefined
reference to `ceil'
collect2: ld returned 1 exit status
make[2]: *** [ndo2db-2x] Error 1
make[2]: Leaving directory
`/home/welsht2/downloads/nagios/ndoutils-1.4b1/src'
make[1]: *** [ndo2db] Error 2
make[1]: Leaving directory
`/home/welsht2/downloads/nagios/ndoutils-1.4b1/src'

Anyone any ideas what ive done wrong. All help gratefully received.

Regards

Tom Welsh
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] FreeBSD could not get group entry for Nagios

2007-01-10 Thread Andy Shellam (Mailing Lists)
Personally I prefer to compile from source as I know exactly what it 
does and where things go.

I sorted it anyway, it was basically a config item that still read 
"nagios_group=nagios" - I changed that to "nagios_group=localservice" 
and the warning went away.

Thanks

Andy

Dan Langille wrote:
> On 9 Jan 2007 at 22:36, Andy Shellam (Mailing Lists) wrote:
>
>   
>> Hi Dan,
>>
>> Thanks for the reply (answers inline below)
>>
>> Dan Langille wrote:
>> 
>>> Did you install via ports?
>>>   
>>>   
>> No - downloaded 2.6 and compiled from source.
>> 
>>> Are you missing this?
>>>
>>> $ grep nagios /etc/group
>>> nagios:*:1005:
>>>   
>>>   
>> I don't think so - I configured Nagios with:
>>
>> ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin 
>> --with-htmurl=/nagios --with-nagios-user=nagios 
>> --with-nagios-group=localservice --with-command-group=webservice
>>
>> so this should say the Nagios group is "localservice" - right?
>> The Nagios user has "localservice" set as it's default group, and it's 
>> also a member of "webservice" - the command group.
>> 
>
> Sorry, I don' t know.  I always use the port, and let it do what it 
> does.  :(  By using the port, it trivializes upgrades and removals,  
> and makes security notices easier (e.g. security/portaudit).
>
> cd /usr/port/net-mgtm/nagios
> make install
>
> pretty easy... and if you need/want special config items, you can 
> still do them, plus you get the benefits of packaging.
>
> My recommendation: remove what you installed, and use the port.
>
>   


-- 
Andy Shellam
NetServe Support Team

the Mail Network
"an alternative in a standardised world"

p: +44 (0) 121 288 0832/0839
m: +44 (0) 7818 000834


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] NAGIOS 3.0

2007-01-10 Thread Andreas Ericsson
Lacayo, Luis F wrote:
> Thanks, 
> 
> I am currently monitoring 534 active devices and over 2100 services. I am 
> thinking of a dell 2950, Dual Core Intel® Xeon® 5140, 4MB Cache, 2.33GHz, 
> 1333MHz FSB with 4G or RAM. 
> 
> I think that should do it.  I might add cacti to this same server. 
> 

You should have no problems what so ever. Nagios doesn't consume a lot 
of memory (as it doesn't use a database or something else that stays 
resident for a long time in memory), but having loads of it will let the 
kernel cache all the files it uses instead, which is a Good Thing(tm).

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] NAGIOS - check_by_ssh failed

2007-01-10 Thread Andreas Ericsson
[EMAIL PROTECTED] wrote:
> Hey Guys,
> 
> I am having an issue with the check_by_ssh plugin and was wondering if 
> someone could lend a hand.  I have compiled and installed both NAGIOS 
> version  2.5 and the nagios-plugins 1.4.4 on EL4.
> 
> When trying to execute the check_by_ssh_plugin  and telling it to run just 
> a basic file listing command on a HPUX 11.11 host I receive the following 
> error:
> 
> ./check_by_ssh -v -H 10.1.9.21 -t 60 -n hpux2 -C '/usr/bin/ll /tmp'
> /usr/bin/ssh 10.1.9.21 '/usr/bin/ll /tmp'

Are you absolutely sure that "/usr/bin/ll" exists on hpux?
On fedora core 5, "ll" is an alias for "/bin/ls -l --color=tty -F".

Try running

/usr/bin/ssh 10.1.9.21 'ls /tmp'

I can guarantee you that "ls" exists and is in the path. Not even HP-UX 
diverges from that convention.

> Remote command execution failed:
> 
> However If I just cut and past the verbose output from the command calling 
> ssh directly I have no problems:
> 
> /usr/bin/ssh 10.1.9.21 '/usr/bin/ll /tmp'
> 

Sounds very odd indeed. What happens if you do

echo $?

after running the command manually? If it says anything other than "0" 
(or possibly provides a long listing of /tmp), the command actually 
failed to run, although you didn't get an error message, or the HP-UX 
version of sshd didn't forward stderr to you.

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Plugin to check mail throughput?

2007-01-10 Thread Peter Edmonds
> >Wasn't there, at one time, a plugin to SEND an outbound mail, then CHECK
> >for that mail on a pop3 box within a certain timeframe?

This might do the job. IMAP only though.

http://lopsa.org/node/625

http://www.nebrwesleyan.edu/people/stpierre/mailping.pl

Peter

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] need help

2007-01-10 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Nedim Bicic
> Sent: Tuesday, January 09, 2007 11:37 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] need help
> 
> I am running Nagios version 2.4
> I set them up by simply going to nagios.cfg edited out # for each
object
> file ex: cfg_file=etc/nagios/host.cfg and so on then created the file
in
> the nagios directory using touch and chown for full permission
> 
> now when i add hosts and serives for each file and then go to
webinterface
> nagios it works
> i can see several hosts and they are shown as being up
> 
> but when i try editing out # next to conacts group and dependencies
and
> try to restart nagios it keeps giving me an error " Reading etc/nagios
> main config file line 31 Null variable" soemthing like this.

This is like saying "I have a cough or something like that. Do I have
the flu?" What's the _exact_ error and what is line 31 of the file the
error references?

--
Marc

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] general

2007-01-10 Thread Nedim Bicic

ok here is exactly what i get when i run the folwing command when i try to
restart nagios
I guess this mean its working when i restart it using follwing command

*> /etc/rc.d/init.d/nagios restart*
Running configuration check...done
Stopping network monitor: nagios
Waiting for nagios to exit . done.
Starting network monitor: nagios

Then i try to run this bellow is it set up right i dont know you tell me
guys

*> nagios -v /etc/rc.d/init.d/nagios restart*

Nagios 2.4
Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
Last Modified: 05-31-2006
License: GPL

Reading configuration data...

Error in configuration file '/etc/rc.d/init.d/nagios' - Line 31 (NULL
variable)

***> The name of the main configuration file looks suspicious...

Make sure you are specifying the name of the MAIN configuration file on
the command line and not the name of another configuration file.  The
main configuration file is typically '/usr/local/nagios/etc/nagios.cfg'

***> One or more problems was encountered while processing the config
files...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions.  If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version.  Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.

Nagios 2.4
Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
Last Modified: 05-31-2006
License: GPL

Reading configuration data...

Error: Cannot open main configuration file '/etc/nagios' for reading!

***> The name of the main configuration file looks suspicious...

Make sure you are specifying the name of the MAIN configuration file on
the command line and not the name of another configuration file.  The
main configuration file is typically '/usr/local/nagios/etc/nagios.cfg'

***> One or more problems was encountered while processing the config
files...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions.  If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version.  Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed


thanks



On 1/10/07, Jim Perrin <[EMAIL PROTECTED]> wrote:


Be sure to copy the nagios list in your replies, not just me.

On 1/9/07, Nedim Bicic <[EMAIL PROTECTED]> wrote:
> I am running Nagios version 2.4
> I set them up by simply going to nagios.cfg edited out # for each object
> file ex: cfg_file=etc/nagios/host.cfg and so on then
> created the file in the nagios directory using touch and chown for full
> permission
>
> now when i add hosts and serives for each file and then go to
webinterface
> nagios it works
> i can see several hosts and they are shown as being up
>
> but when i try editing out # next to conacts group and dependencies and
try
> to restart nagios it keeps giving me an error " Reading etc/nagios main
> config file line 31 Null variable" soemthing like this.

Then you're not doing something properly. Without seeing the config
file you're talking about, I have no way of knowing what you're
screwing up.

running nagios -v /path/to/your/nagios/etc/nagios.cfg is a good way to
help figure out what you're screwing up.


--
During times of universal deceit, telling the truth becomes a
revolutionary act.
George Orwell

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] general

2007-01-10 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Nedim Bicic
> Sent: Wednesday, January 10, 2007 9:06 AM
> To: Jim Perrin
> Cc: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] general
> 
> 
> ok here is exactly what i get when i run the folwing command when i
try to
> restart nagios
> I guess this mean its working when i restart it using follwing command
> 
> > /etc/rc.d/init.d/nagios restart
> Running configuration check...done
> Stopping network monitor: nagios
> Waiting for nagios to exit . done.
> Starting network monitor: nagios

Looks like nagios started successfully. Is it running? If not, look in
your nagios.log file for error output.
 
> Then i try to run this bellow is it set up right i dont know you tell
me
> guys
> 
> > nagios -v /etc/rc.d/init.d/nagios restart

'nagios -v' verifies the current nagios configuration. It's not a way to
start nagios. Additionally, it expect its argument to be the path to
nagios.cfg. It's complaining because /etc/rc.d/init.d/nagios isn't the
nagios config file.

Try --

'/path/to/nagios -v /path/to/nagios.cfg', substituting the correct path,
of course.

--
Marc

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] Debian Bug #401738: statuswml.cgi cannot schedule check commands

2007-01-10 Thread Marc Haber
Hi,

this is from the Debian BTS, http://bugs.debian.org/401738:

| When trying to re-schedule a check for a service from the wml pages I
| get the following error message: "Start time must be non-zero". If I
| manually submit start_time= to cmd.cgi the commands works fine.
| The same method works fine from the normal status.cgi.

The bug submitter confirms that this still holds for Nagios 2.6.

I report this bug here because the Nagios project does not seem to
have a publicly visible bug tracker.

Greetings
Marc

-- 
-
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] general

2007-01-10 Thread Andreas Ericsson
Nedim Bicic wrote:
> ok here is exactly what i get when i run the folwing command when i try to
> restart nagios
> I guess this mean its working when i restart it using follwing command
> 
> *> /etc/rc.d/init.d/nagios restart*
> Running configuration check...done
> Stopping network monitor: nagios
> Waiting for nagios to exit . done.
> Starting network monitor: nagios
> 
> Then i try to run this bellow is it set up right i dont know you tell me
> guys
> 
> *> nagios -v /etc/rc.d/init.d/nagios restart*
> 

RTFM. Twice.

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Debian Bug #401738: statuswml.cgi cannot schedule check commands

2007-01-10 Thread Andreas Ericsson
Marc Haber wrote:
> Hi,
> 
> this is from the Debian BTS, http://bugs.debian.org/401738:
> 
> | When trying to re-schedule a check for a service from the wml pages I
> | get the following error message: "Start time must be non-zero". If I
> | manually submit start_time= to cmd.cgi the commands works fine.
> | The same method works fine from the normal status.cgi.
> 
> The bug submitter confirms that this still holds for Nagios 2.6.
> 
> I report this bug here because the Nagios project does not seem to
> have a publicly visible bug tracker.
> 

The nagios-devel mailing list would be a better place, I think, although 
I'm not sure how maintained the wml-pages are.

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] general

2007-01-10 Thread Nedim Bicic

*> nagios -v /etc/nagios/nagios.cfg*

Nagios 2.4
Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
Last Modified: 05-31-2006
License: GPL

Reading configuration data...

Running pre-flight check on configuration data...

Checking services...
Checked 7 services.
Checking hosts...
Checked 3 hosts.
Checking host groups...
Checked 1 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 22 commands.
Checking time periods...
Checked 1 time periods.
Checking extended host info definitions...
Checked 0 extended host info definitions.
Checking extended service info definitions...
Checked 0 extended service info definitions.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   0

Things look okay - No serious problems were detected during the pre-flight
check



ok i guess everything is ok here i can access the the webinterface and see
my my hosts and servfices but i cant edit out # in nagios.cfg for other
objects


On 1/10/07, Marc Powell <[EMAIL PROTECTED]> wrote:




> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Nedim Bicic
> Sent: Wednesday, January 10, 2007 9:06 AM
> To: Jim Perrin
> Cc: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] general
>
>
> ok here is exactly what i get when i run the folwing command when i
try to
> restart nagios
> I guess this mean its working when i restart it using follwing command
>
> > /etc/rc.d/init.d/nagios restart
> Running configuration check...done
> Stopping network monitor: nagios
> Waiting for nagios to exit . done.
> Starting network monitor: nagios

Looks like nagios started successfully. Is it running? If not, look in
your nagios.log file for error output.

> Then i try to run this bellow is it set up right i dont know you tell
me
> guys
>
> > nagios -v /etc/rc.d/init.d/nagios restart

'nagios -v' verifies the current nagios configuration. It's not a way to
start nagios. Additionally, it expect its argument to be the path to
nagios.cfg. It's complaining because /etc/rc.d/init.d/nagios isn't the
nagios config file.

Try --

'/path/to/nagios -v /path/to/nagios.cfg', substituting the correct path,
of course.

--
Marc

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] general

2007-01-10 Thread Jim Perrin
Top posting is bad. Please use inline comments to only relevant
material to make archiving easier, and threading more sane.

> ok i guess everything is ok here i can access the the webinterface and see
> my my hosts and servfices but i cant edit out # in nagios.cfg for other
> objects
>

As has been stated already in the thread. PLEASE READ THE NAGIOS DOCUMENTATION.

After each change you make, run nagios -v, so that you can see if
things are formatted properly and are considered sane by nagios. If
you're having problems, then you're doing something wrong. If you're
not sharing the info here, then there's no way we can assist.

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] Bandwidth

2007-01-10 Thread Luc MAIGNAN
Hi all,

I need to monitor the evolution of my internet connection (evolution of
the bandwidth available). How it is possible with Nagios ?

Thanks for any help

BR
-- 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] general

2007-01-10 Thread Josh Yost
Nedim Bicic wrote:
> *> nagios -v /etc/nagios/nagios.cfg*
> ok i guess everything is ok here i can access the the webinterface and see
> my my hosts and servfices but i cant edit out # in nagios.cfg for other
> objects
> 

My guess would be you didn't put the '#' at the very beginning of the
line, but like everyone else said - a little info would help.

/* shrug */
- Josh


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Bandwidth

2007-01-10 Thread Hugo van der Kooij
On Wed, 10 Jan 2007, Luc MAIGNAN wrote:

> I need to monitor the evolution of my internet connection (evolution of
> the bandwidth available). How it is possible with Nagios ?

Can you slam a nail into the wall with a screwdriver? Sure. But a hammer 
is a much better tool.

Monitoring bandwidth is something you should propably do with a tool like 
cacti.

Hugo.

-- 
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
This message is using 100% recycled electrons.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] email help

2007-01-10 Thread Nedim Bicic

Hey how do you get the notifications to work and send emails it doesnt work
i put in my email address in the conacts.cfg file i restart the server where
nagios is installed but i dont get any emails
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] email help

2007-01-10 Thread Jim Perrin
On 1/10/07, Nedim Bicic <[EMAIL PROTECTED]> wrote:
> Hey how do you get the notifications to work and send emails it doesnt work
> i put in my email address in the conacts.cfg file i restart the server where
> nagios is installed but i dont get any emails

Read The Fine Manual. Check your MTA for proper configuration and
email handling. Ensure nagios is configured correctly.



-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] check_mrtgtraf question

2007-01-10 Thread Israel Brewster
On Jan 8, 2007, at 8:44 AM, Cook, Garry wrote:

> -Original Message-
>> Quick question- I currently use MRTG to monitor the traffic on a  
>> number
> of my routers, and
> [snip]
>> I have been considering switching MRTG over to a RRD logging  
>> format, so
> I can use things
> [snip]
>> what other options might I have so as to not lose the monitoring
> functionality of the check_mrtgtraf plug-in? Thanks!
>
> There might be other plugins out there that monitor RRDs, I'm not  
> sure.
> I wrote one a while back for use on datacenter switch uplinks. It's a
> simple shell script plugin, but you might find it useful. Feel free to
> hack away and release it if you and/or others might find it useful.
[snip]

Yeah, I can probably make that work. Course, I was hoping for a  
lazier solution :p :D. On the other hand, right now this may all be a  
moot point, as I can't get routers2 to run under my chrooted apache-  
it wants to access /usr/bin/perl, which, of course, can't be accessed  
from within the chroot. Thanks for the script though- I may be able  
to make use of it anyway.

---
Israel Brewster
Computer Support Technician
Frontier Flying Service INC.
5245 Airport Industrial Rd
Fairbanks, AK 99709
---


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] email help

2007-01-10 Thread Andy Shellam (Mailing Lists)
Jim Perrin wrote:
> On 1/10/07, Nedim Bicic <[EMAIL PROTECTED]> wrote:
>   
>> Hey how do you get the notifications to work and send emails it doesnt work
>> i put in my email address in the conacts.cfg file i restart the server where
>> nagios is installed but i dont get any emails
>> 
>
> Read The Fine Manual. Check your MTA for proper configuration and
> email handling. Ensure nagios is configured correctly.
>
>
>
>   
AFAIK Nagios doesn't include a send e-mail command - you need to 
configure your own Nagios command to pipe the required details to your MTA.
And yes - read the manual ;)


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] email help

2007-01-10 Thread Nedim Bicic

I get emails on my local machine its a sendmail option on the linux box
whenever a host goes down it sends it to nagios mailbox on the local
server cant i somehow redirect it so it can send it to [EMAIL PROTECTED]
i tried adding myself to the contact group but says i am not part of the
group

and there is nothing in the manual or creating seprate pipes for email just
says add email under contacts

do you guys have a link that shows how to set this up
thanks


On 1/10/07, Lacayo, Luis F <[EMAIL PROTECTED]> wrote:


 Before you have nagios send emails, make sure that your mailer is working
(sendmail, or whatever you have installed).  If you are able to send mail
from the command prompt look at your maillog.





Luis Lacayo
 --

*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Nedim Bicic
*Sent:* Wednesday, January 10, 2007 12:25 PM
*To:* nagios-users@lists.sourceforge.net
*Subject:* [Nagios-users] email help



Hey how do you get the notifications to work and send emails it doesnt
work i put in my email address in the conacts.cfg file i restart the
server where nagios is installed but i dont get any emails

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] email help

2007-01-10 Thread Jim Perrin
To repeat myself from your other thread, please do not top post. It's
bad manners, and makes for unreadable archives of the mailing list.

On 1/10/07, Nedim Bicic <[EMAIL PROTECTED]> wrote:
> I get emails on my local machine its a sendmail option on the linux box
> whenever a host goes down it sends it to nagios mailbox on the local server
> cant i somehow redirect it so it can send it to [EMAIL PROTECTED]
> i tried adding myself to the contact group but says i am not part of the
> group

Then you have not configured your contacts and groups correctly.


> and there is nothing in the manual or creating seprate pipes for email just
> says add email under contacts

You don't need to create pipes. You need a properly configured mail
server. The inter-tubes will take care of it from there.

> do you guys have a link that shows how to set this up

Yes. In the documentation, that stuff we keep recommending that you
read -> http://nagios.sourceforge.net/docs/2_0/xodtemplate.html



-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] no libexec after intalling plugins!

2007-01-10 Thread Sam Fraser
Hello All, could someone please advise me where I've gone wrong installing my 
plugins?

The problem is with this installation step

Install the compiled plugins and plugin scripts with the following command:

make install

   The installation procedure will attempt to place the plugins in a 
   'libexec/' subdirectory in the base directory you specified with
   the --prefix argument to the configure script.

The problem is that this folder never turns up in 

ls -l /usr/local/nagios/
total 40
drwxrwxrwx 2 samfraser nagcmd 4096 Dec  7 16:52 bin
drwxrwxr-x 2 samfraser nagcmd 4096 Jan 10 19:32 etc
drwxrwxrwx 2 samfraser nagcmd 4096 Jan 10 18:55 sbin
drwxrwxrwx 8 samfraser nagcmd 4096 Jan 10 18:54 share
drwxrwxrwx 3 samfraser nagcmd 4096 Jan 10 19:51 var

even though I specified /usr/local/nagios in the ./configure statement

this is the output from make install.

make install
Making install in lib
make[1]: Entering directory `/root/nagios-plugins-1.4.5/lib'
make  install-recursive
make[2]: Entering directory `/root/nagios-plugins-1.4.5/lib'
Making install in tests
make[3]: Entering directory `/root/nagios-plugins-1.4.5/lib/tests'
make[4]: Entering directory `/root/nagios-plugins-1.4.5/lib/tests'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/nagios-plugins-1.4.5/lib/tests'
make[3]: Leaving directory `/root/nagios-plugins-1.4.5/lib/tests'
make[3]: Entering directory `/root/nagios-plugins-1.4.5/lib'
make[4]: Entering directory `/root/nagios-plugins-1.4.5/lib'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/nagios-plugins-1.4.5/lib'
make[3]: Leaving directory `/root/nagios-plugins-1.4.5/lib'
make[2]: Leaving directory `/root/nagios-plugins-1.4.5/lib'
make[1]: Leaving directory `/root/nagios-plugins-1.4.5/lib'
Making install in plugins
make[1]: Entering directory `/root/nagios-plugins-1.4.5/plugins'
if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. 
-I.. -I.. -I../lib -I../intl -I/usr/include/ldap  -I/u
sr/include -I/usr/include/mysql  -I/usr/include/mysql -g -pipe 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-bu
ffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -g -O2 -MT che
ck_mysql-check_mysql.o -MD -MP -MF ".deps/check_mysql-check_mysql.Tpo" -c -o 
check_mysql-check_mysql.o `test -f 'check_mysql.c' || e
cho './'`check_mysql.c; \
then mv -f ".deps/check_mysql-check_mysql.Tpo" 
".deps/check_mysql-check_mysql.Po"; else rm -f ".deps/check_mysql-check_mysql
.Tpo"; exit 1; fi
check_mysql.c:51:19: error: mysql.h: No such file or directory
check_mysql.c:52:20: error: errmsg.h: No such file or directory
check_mysql.c:58: error: ΓÇÿMYSQL_PORTΓÇÖ undeclared here (not in a function)
check_mysql.c: In function ΓÇÿmainΓÇÖ:
check_mysql.c:73: error: ΓÇÿMYSQLΓÇÖ undeclared (first use in this function)
check_mysql.c:73: error: (Each undeclared identifier is reported only once
check_mysql.c:73: error: for each function it appears in.)
check_mysql.c:73: error: expected ΓÇÿ;ΓÇÖ before ΓÇÿmysqlΓÇÖ
check_mysql.c:74: error: ΓÇÿMYSQL_RESΓÇÖ undeclared (first use in this function)
check_mysql.c:74: error: ΓÇÿresΓÇÖ undeclared (first use in this function)
check_mysql.c:75: error: ΓÇÿMYSQL_ROWΓÇÖ undeclared (first use in this function)
check_mysql.c:75: error: expected ΓÇÿ;ΓÇÖ before ΓÇÿrowΓÇÖ
check_mysql.c:91: error: ΓÇÿmysqlΓÇÖ undeclared (first use in this function)
check_mysql.c:93: error: ΓÇÿMYSQL_READ_DEFAULT_GROUPΓÇÖ undeclared (first use 
in this function)
check_mysql.c:97: error: ΓÇÿCR_UNKNOWN_HOSTΓÇÖ undeclared (first use in this 
function)
check_mysql.c:99: error: ΓÇÿCR_VERSION_ERRORΓÇÖ undeclared (first use in this 
function)
check_mysql.c:101: error: ΓÇÿCR_OUT_OF_MEMORYΓÇÖ undeclared (first use in this 
function)
check_mysql.c:103: error: ΓÇÿCR_IPSOCK_ERRORΓÇÖ undeclared (first use in this 
function)
check_mysql.c:105: error: ΓÇÿCR_SOCKET_CREATE_ERRORΓÇÖ undeclared (first use in 
this function)
check_mysql.c:112: warning: cast to pointer from integer of different size
check_mysql.c:112: warning: cast to pointer from integer of different size
check_mysql.c:112: warning: cast to pointer from integer of different size
check_mysql.c:112: warning: passing argument 1 of ΓÇÿstrlenΓÇÖ makes pointer 
from integer without a cast
check_mysql.c:112: warning: passing argument 2 of ΓÇÿ__builtin___memcpy_chkΓÇÖ 
makes pointer from integer without a cast
check_mysql.c:112: warning: passing argument 2 of ΓÇÿ__memcpy_ichkΓÇÖ makes 
pointer from integer without a cast
check_mysql.c:112: warning: passing argument 1 of ΓÇÿ__strdupΓÇÖ makes pointer 
from integer without a cast
check_mysql.c:116: error: ΓÇÿCR_SERVER_GONE_ERRORΓÇÖ undeclared (first use in 
this function)
check_mysql.c:118: error: ΓÇÿCR_SERVER_LOSTΓÇÖ undeclared (first use 

Re: [Nagios-users] no libexec after intalling plugins!

2007-01-10 Thread Andy Shellam (Mailing Lists)
Sam Fraser wrote:
> Hello All, could someone please advise me where I've gone wrong
> installing my plugins?
>
> The problem is with this installation step
>
> Install the compiled plugins and plugin scripts with the following
> command:
>
> make install
>
> The installation procedure will attempt to place the plugins in a
> 'libexec/' subdirectory in the base directory you specified with
> the --prefix argument to the configure script.
>
> The problem is that this folder never turns up in
The problem is you've got a lot of MySQL errors - have you specified the
correct path to MySQL in the ./configure statement?
(--with-mysql=/usr/local/mysql).

> make[1]: *** [check_mysql-check_mysql.o] Error 1
> make[1]: Leaving directory `/root/nagios-plugins-1.4.5/plugins'
> make: *** [install-recursive] Error 1
This indicates the "make" operation failed - which is why you don't have
a libexec directory yet. Sort your MySQL errors out and you should be OK
then.

Regards

Andy

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] Fw: Fw: Fw: Fw: nagios alerts to pc

2007-01-10 Thread Dhaval Thakar
Dear All,
My problem got resolved with monor changes in the contact

define contact{
contact_namenagios-bsupport
alias   Nagios bsupport
service_notification_period 24x7
host_notification_period24x7
service_notification_optionsw,u,c,r
host_notification_options   d,r
service_notification_commands   notify-by-email,notify-by-smbclient
host_notification_commands  host-notify-by-email
email   [EMAIL PROTECTED]
address1dhaval
address2192.168.10.5
}

- Original Message - 
From: Dhaval Thakar 
To: nagios-users@lists.sourceforge.net 
Sent: Tuesday, January 09, 2007 8:44 PM
Subject: [Nagios-users] Fw: Fw: Fw: nagios alerts to pc


contact config

define contact{
contact_namenagios-bsupport
alias   Nagios bsupport
service_notification_period 24x7
host_notification_period24x7
service_notification_optionsw,u,c,r
host_notification_options   d,r
service_notification_commands   notify-by-email
host_notification_commands  host-notify-by-email
email   [EMAIL PROTECTED]
address1dhaval
address2192.168.10.5
}

define contactgroup{
contactgroup_name   fw
alias   Administrators
members nagios-fw
}



Host config

#BackFW
define host{
use generic-host; Name of host template 
to use
host_name   BackFW
alias   BackFW
address 172.20.20.7
check_command   check-host-alive
max_check_attempts  10
check_period24x7
notification_interval   120
notification_period 24x7
notification_optionsd,r
contact_groups  fw
}

#ping
define service{
use generic-service ; Name of 
service template to use
host_name   BackFW
service_description PING
is_volatile 0
check_period24x7
max_check_attempts  4
normal_check_interval   5
retry_check_interval1
contact_groups  fw
notification_optionsw,u,c,r
notification_interval   960
notification_period 24x7
check_command   check_ping!100.0,20%!500.0,60%
}


service config

# 'service-notify-by-smbclient' command definition
define command{
command_namenotify-by-smbclient
command_line/bin/echo '$SERVICESTATE$ alert for 
$HOSTALIAS$/$SERVICEDESC$' | /usr/bin/sm
bclient -M $CONTACTADDRESS1$  -I $CONTACTADDRESS2$ -U NAGIOS >> 
/tmp/smbconfig.log
}













- Original Message - 
From: "Andy Shellam (Mailing Lists)" <[EMAIL PROTECTED]>
To: "Dhaval Thakar" <[EMAIL PROTECTED]>
Cc: 
Sent: Tuesday, January 09, 2007 8:00 PM
Subject: Re: [Nagios-users] Fw: Fw: nagios alerts to pc


> Post your configuration for the service, host, command and contact in 
> question - we're just stabbing in the dark without it.
> 
> Andy.
> 
> Dhaval Thakar wrote:
>> Andy,
>>
>> Same command (smbclient -M adminmachine -I adminip) I checked with nagios
>> user, it is working.
>>
>> I created "/tmp/smbclient.log" file with nagios user, but still there is no 
>> input in the file
>>
>> - Original Message - 
>> From: "Andy Shellam (Mailing Lists)" <[EMAIL PROTECTED]>
>> To: "Dhaval Thakar" <[EMAIL PROTECTED]>; "Nagios Users mailinglist"
>> 
>> Sent: Tuesday, January 09, 2007 7:04 PM
>> Subject: Re: [Nagios-users] Fw: nagios alerts to pc
>>
>>
>>   
>>> Dhaval Thakar wrote:
>>> 
 the reason to redirect to logs was to ensure execution of the command,
 but log is not created. i tried with mentioned command from shell using
 root. it is working hence communication to windows machine is ok.
   
>>> There could be your problem - test the plugin running as the "nagios"
>>> user.
>>> 
 i have not created file "/tmp/smbclient.log", just mentioned in
 commands.cfg
 nagios user has the rights to write to /tmp dir
   
>>> Don't forget to copy the list in on your replies as it could help somebody
>>> else in the future when searching the archives.
>>>
>>>
>>> Andy.
>>>
>>> 
>>
>>