[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing Software support and information 2008-09-14T19:58:00+13:00 http://steveshipway.org/forum/feed.php?f=22&t=723 2008-09-14T19:58:00+13:00 2008-09-14T19:58:00+13:00 http://steveshipway.org/forum/viewtopic.php?t=723&p=8216#p8216 <![CDATA[Re: nagios server is getting Incorrect number of arguments suppl]]> Statistics: Posted by stevesh — Sun Sep 14, 2008 7:58 pm


]]>
2008-09-12T20:35:06+13:00 2008-09-12T20:35:06+13:00 http://steveshipway.org/forum/viewtopic.php?t=723&p=8213#p8213 <![CDATA[Re: nagios server is getting Incorrect number of arguments suppl]]> i just working the first time with nsca
and i just configured the server is like the doc of nagios describes
i get following error in the nagios server "Incorrect number of arguments supplied "

from windows Eventlog agent, i can send a test with out any problems
here is a copy of the msg:
msg files
Sep 12 07:10:40 winnagios2 nsca[12935]: SERVICE CHECK -> Host Name: 'ICCREACRMDB_FM', Service Description: 'Application EventLog', Return Code: '2', Output: 'Application [error] [NagiosEventLog Test #12]: prova '

and, i can send true problems
here is a copy of the msg:
msg files

Sep 12 07:48:53 winnagios2 nsca[12722]: SERVICE CHECK -> Host Name: 'ICCREACRMDB_FM', Service Description: 'Event Viewer Application', Return Code: '2', Output: 'Application [warning] [VxSvc_PercPro #571]: PERC 4/SC Controller 0, Array Disk 0:1 Sense Key = 4, Sense Code = 44, Sense Qualifier = 92. Please refer to the Array Manager Documentation for details. '

but i recived this problem
Host Service Status Last Check Duration Attempt Status Information
ICCREACRMDB_FM
Event Viewer Application
UNKNOWN 12-09-2008 09:03:03 0d 0h 57m 49s 1/1 Incorrect number of arguments supplied
Event Viewer System
UNKNOWN 12-09-2008 09:03:03 0d 0h 57m 49s 1/1 Incorrect number of arguments supplied
EventLog Agent
UNKNOWN 12-09-2008 09:03:03 0d 21h 29m 27s 1/1 Incorrect number of arguments supplied

My configs:
define service{
use EventLog
service_description Event Viewer Application
host_name ICCREACRMDB_FM
active_checks_enabled 0
passive_checks_enabled 1
flap_detection_enabled 0
register 0
is_volatile 0
check_period 24x7
max_check_attempts 1
normal_check_interval 5
retry_check_interval 1
check_freshness 1
freshness_threshold 1800
check_command check_dummy!0!No messages in last 30mins
notification_interval 120
contact_groups admins
notification_period 24x7
notification_options w,u,c,r
stalking_options w,c,u
name EventLog
register 0
}

define service{

use EventLog
service_description EventLog Agent
host_name ICCREACRMDB_FM
active_checks_enabled 0
passive_checks_enabled 1
flap_detection_enabled 0
check_period 24x7
max_check_attempts 1
normal_check_interval 10
retry_check_interval 1
check_command check_dummy!3!Check agent is running
contact_groups admins
notification_interval 120
notification_period 24x7
notification_options c,r
}

define service{
contact_groups admins
use EventLog
service_description Event Viewer Application
host_name ICCREACRMDB_FM
}
define service{
contact_groups admins
use EventLog
service_description Event Viewer System
host_name ICCREACRMDB_FM
}

My filter

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Cheshire Cat]

[HKEY_LOCAL_MACHINE\SOFTWARE\Cheshire Cat\Nagios]
"nscaPassword"="nagios"
"MyHostname"="ICCREACRMDB_FM"
"NSCAD"="10.104.1.14"
"Port"=dword:00001623
"encryptionMethod"=dword:00000001
"DEBUG"=dword:00000000
"logAlerts"=dword:00000000
"maxFilter"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Cheshire Cat\Nagios\Filter0]
"filterDesc"="System Log"
"eventLog"=dword:00000002
"eventLogName"="Security"
"serviceName"="System EventLog"
"ID"=""
"matchString"=""
"source"=""
"Information"=dword:00000000
"status"=dword:00000002
"Warning"=dword:00000000
"Error"=dword:00000001
"Audit Success"=dword:00000000
"Audit Failure"=dword:00000000
"notID"=dword:00000000
"notMatch"=dword:00000000
"notSource"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Cheshire Cat\Nagios\Filter1]
"filterDesc"="Application Eventlog"
"eventLog"=dword:00000001
"eventLogName"="Application"
"serviceName"="Application EventLog"
"ID"=""
"matchString"=""
"source"=""
"Information"=dword:00000000
"status"=dword:00000002
"Warning"=dword:00000000
"Error"=dword:00000001
"Audit Success"=dword:00000000
"Audit Failure"=dword:00000000
"notID"=dword:00000000
"notMatch"=dword:00000000
"notSource"=dword:00000000

Thanks very much
Diego

Statistics: Posted by Italydiego — Fri Sep 12, 2008 8:35 pm


]]>
2005-09-22T11:54:59+13:00 2005-09-22T11:54:59+13:00 http://steveshipway.org/forum/viewtopic.php?t=723&p=5514#p5514 <![CDATA[nagios server is getting Incorrect number of arguments suppl]]>
From your posted logs, you have configured the agent to send an alert to a service called 'Test'. However, the service you have defined on the Nagios host is 'System EventLog'. This doesn't match, so nothing will happen.

Either send the alert to your defined service, or change the name of the service to match what you are sending alerts to.

Statistics: Posted by stevesh — Thu Sep 22, 2005 11:54 am


]]>
2005-09-22T03:21:38+13:00 2005-09-22T03:21:38+13:00 http://steveshipway.org/forum/viewtopic.php?t=723&p=5511#p5511 <![CDATA[i dont get any test or update]]> Statistics: Posted by ron — Thu Sep 22, 2005 3:21 am


]]>
2005-09-21T22:36:38+13:00 2005-09-21T22:36:38+13:00 http://steveshipway.org/forum/viewtopic.php?t=723&p=5510#p5510 <![CDATA[nagios server is getting Incorrect number of arguments suppl]]> Statistics: Posted by ron — Wed Sep 21, 2005 10:36 pm


]]>
2005-09-21T11:30:08+13:00 2005-09-21T11:30:08+13:00 http://steveshipway.org/forum/viewtopic.php?t=723&p=5506#p5506 <![CDATA[Re: :( no changes ,]]> Statistics: Posted by stevesh — Wed Sep 21, 2005 11:30 am


]]>
2005-09-21T04:56:54+13:00 2005-09-21T04:56:54+13:00 http://steveshipway.org/forum/viewtopic.php?t=723&p=5502#p5502 <![CDATA[:( no changes ,]]> Statistics: Posted by ron — Wed Sep 21, 2005 4:56 am


]]>
2005-09-20T10:18:07+13:00 2005-09-20T10:18:07+13:00 http://steveshipway.org/forum/viewtopic.php?t=723&p=5500#p5500 <![CDATA[nagios server is getting Incorrect number of arguments suppl]]> Statistics: Posted by stevesh — Tue Sep 20, 2005 10:18 am


]]>
2005-09-19T22:53:38+13:00 2005-09-19T22:53:38+13:00 http://steveshipway.org/forum/viewtopic.php?t=723&p=5498#p5498 <![CDATA[nagios server is getting Incorrect number of arguments suppl]]> Statistics: Posted by ron — Mon Sep 19, 2005 10:53 pm


]]>