[XML] ISDN Call Stats Query

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Deano
Cacti User
Posts: 101
Joined: Wed Oct 29, 2003 7:08 am
Contact:

[XML] ISDN Call Stats Query

Post by Deano »

A script based query to give ISDN Calls In and Out from the SNMP Transmission MIB. I've successfully used this for with Cisco 7206 with PRI and 1603 with BRI.

Available Graphs are for ISDN Calls In & Out and Connected ISDN Calls In & Out expressed in Calls per Minute.

Full Details

ZIP of XML for Query and Tempate Import + Script

The script file (query_host_isdncalls.php) should be copied to cacti/scripts directory.
The query xml (host_isdncalls.xml) should be copied to cacti/resource/script_query directory.

Example Query Output...
Image

Deano
boots
Cacti User
Posts: 55
Joined: Wed Jan 07, 2004 4:59 am
Location: Melbourne Australia

Post by boots »

I'm having trouble getting this working on a Windows Server.

The Data Query debug indicates

+ Running data query [10].
+ Found type = '4 '[script query].
+ Found data query XML file at 'C:\Websites\Cacti/resource/script_queries/host_isdncalls.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'c:\php\php.exe -q C:\Websites\Cacti\scripts\query_host_isdncalls.php XXX.XXX.XXX.XXX XXXX 1 index'
+ Executing script query 'c:\php\php.exe -q C:\Websites\Cacti\scripts\query_host_isdncalls.php XXX.XXX.XXX.XXX XXXX 1 query index'
+ Executing script query 'c:\php\php.exe -q C:\Websites\Cacti\scripts\query_host_isdncalls.php XXX.XXX.XXX.XXX XXXX 1 query chcount'
+ Executing script query 'c:\php\php.exe -q C:\Websites\Cacti\scripts\query_host_isdncalls.php XXX.XXX.XXX.XXX XXXX 1 query status'
+ Executing script query 'c:\php\php.exe -q C:\Websites\Cacti\scripts\query_host_isdncalls.php XXX.XXX.XXX.XXX XXXX 1 query ifDescr'
+ Executing script query 'c:\php\php.exe -q C:\Websites\Cacti\scripts\query_host_isdncalls.php XXX.XXX.XXX.XXX XXXX 1 query ifName'
+ Executing script query 'c:\php\php.exe -q C:\Websites\Cacti\scripts\query_host_isdncalls.php XXX.XXX.XXX.XXX XXXX 1 query ifAlias'
+ Executing script query 'c:\php\php.exe -q C:\Websites\Cacti\scripts\query_host_isdncalls.php XXX.XXX.XXX.XXX XXXX 1 query ifType'
+ Executing script query 'c:\php\php.exe -q C:\Websites\Cacti\scripts\query_host_isdncalls.php XXX.XXX.XXX.XXX XXXX 1 query ifAdminStatus'
+ Executing script query 'c:\php\php.exe -q C:\Websites\Cacti\scripts\query_host_isdncalls.php XXX.XXX.XXX.XXX XXXX 1 query ifOperStatus'
+ Found data query XML file at 'C:\Websites\Cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at 'C:\Websites\Cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at 'C:\Websites\Cacti/resource/script_queries/host_isdncalls.xml'

but with no items or rows discovered. This isnt creating a RRD file nor resulting in any data be displayed in the Data query section of create graphs.

Any ideas on how to troubleshoot this? Some feedback would be greatly appreciated.

Thanks in advance
Seal

Problem

Post by Seal »

My script discover ISDN correctly:

+ Running data query [10].
+ Found type = '4 '[script query].
+ Found data query XML file at '/var/www/localhost/htdocs/cacti/resource/script_queries/host_isdncalls.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/localhost/htdocs/cacti/scripts/query_host_isdncalls.php 192.168.X.X XXXX 1 index'
+ Executing script query '/usr/bin/php -q /var/www/localhost/htdocs/cacti/scripts/query_host_isdncalls.php 192.168.X.X XXXX 1 query index'
+ Found item [isdnSignalingifIndex='0'] index: 0
+ Found item [isdnSignalingifIndex='1'] index: 1
+ Found item [isdnSignalingifIndex='2'] index: 2
+ Found item [isdnSignalingifIndex='3'] index: 3
+ Executing script query '/usr/bin/php -q /var/www/localhost/htdocs/cacti/scripts/query_host_isdncalls.php 192.168.X.X XXXX 1 query chcount'
+ Found item [isdnSignalingBchannelCount='2'] index: 0
+ Found item [isdnSignalingBchannelCount='2'] index: 1
+ Found item [isdnSignalingBchannelCount='2'] index: 2
+ Found item [isdnSignalingBchannelCount='2'] index: 3
+ Executing script query '/usr/bin/php -q /var/www/localhost/htdocs/cacti/scripts/query_host_isdncalls.php 192.168.X.X XXXX 1 query status'
+ Found item [isdnSignalingStatus='1'] index: 0
+ Found item [isdnSignalingStatus='1'] index: 1
+ Found item [isdnSignalingStatus='1'] index: 2
+ Found item [isdnSignalingStatus='1'] index: 3
+ Executing script query '/usr/bin/php -q /var/www/localhost/htdocs/cacti/scripts/query_host_isdncalls.php 192.168.X.X XXXX 1 query ifDescr'
+ Found item [ifDescr='BRI1/0-Signaling'] index: 0
+ Found item [ifDescr='BRI1/1-Signaling'] index: 1
+ Found item [ifDescr='BRI1/2-Signaling'] index: 2
+ Found item [ifDescr='BRI1/3-Signaling'] index: 3
+ Executing script query '/usr/bin/php -q /var/www/localhost/htdocs/cacti/scripts/query_host_isdncalls.php 192.168.X.X XXXX 1 query ifName'
+ Found item [ifName='BR1/0'] index: 0
+ Found item [ifName='BR1/1'] index: 1
+ Found item [ifName='BR1/2'] index: 2
+ Found item [ifName='BR1/3'] index: 3
+ Executing script query '/usr/bin/php -q /var/www/localhost/htdocs/cacti/scripts/query_host_isdncalls.php 192.168.X.X XXXX 1 query ifAlias'
+ Found item [ifAlias='4329650'] index: 0
+ Found item [ifAlias='4329660'] index: 1
+ Found item [ifAlias='4286960_9'] index: 2
+ Found item [ifAlias=''] index: 3
+ Executing script query '/usr/bin/php -q /var/www/localhost/htdocs/cacti/scripts/query_host_isdncalls.php 192.168.X.X XXXX 1 query ifType'
+ Found item [ifType='isdn(63)'] index: 0
+ Found item [ifType='isdn(63)'] index: 1
+ Found item [ifType='isdn(63)'] index: 2
+ Found item [ifType='isdn(63)'] index: 3
+ Executing script query '/usr/bin/php -q /var/www/localhost/htdocs/cacti/scripts/query_host_isdncalls.php 192.168.X.X XXXX 1 query ifAdminStatus'
+ Found item [ifAdminStatus='up(1)'] index: 0
+ Found item [ifAdminStatus='up(1)'] index: 1
+ Found item [ifAdminStatus='up(1)'] index: 2
+ Found item [ifAdminStatus='down(2)'] index: 3
+ Executing script query '/usr/bin/php -q /var/www/localhost/htdocs/cacti/scripts/query_host_isdncalls.php 192.168.X.X XXXX 1 query ifOperStatus'
+ Found item [ifOperStatus='dormant(5)'] index: 0
+ Found item [ifOperStatus='dormant(5)'] index: 1
+ Found item [ifOperStatus='dormant(5)'] index: 2
+ Found item [ifOperStatus='down(2)'] index: 3
+ Found data query XML file at '/var/www/localhost/htdocs/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/localhost/htdocs/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/localhost/htdocs/cacti/resource/script_queries/host_isdncalls.xml'

and when i'm trying to add monitoring then i get this message:

Notice: Undefined index: sgg_10 in /var/www/localhost/htdocs/cacti/graphs_new.php on line 71

Notice: Undefined index: sgg_10 in /var/www/localhost/htdocs/cacti/graphs_new.php on line 71

Notice: Undefined index: sgg_10 in /var/www/localhost/htdocs/cacti/graphs_new.php on line 71

Warning: Cannot modify header information - headers already sent by (output started at /var/www/localhost/htdocs/cacti/graphs_new.php:71) in /var/www/localhost/htdocs/cacti/graphs_new.php on line 310

What can be wrong???
User avatar
Pumpi
Cacti User
Posts: 259
Joined: Wed Jan 14, 2004 3:23 am
Location: Germany

Post by Pumpi »

Hi,

I'm using this script for a Cisco 2600 with an E1 interface and I get following graphs.

Are these values correct or how should I interpret this output ?
Attachments
ScreenShot001.jpg
ScreenShot001.jpg (54.93 KiB) Viewed 38718 times
ScreenShot002.jpg
ScreenShot002.jpg (57.84 KiB) Viewed 38718 times
royce
Cacti User
Posts: 79
Joined: Wed Dec 29, 2004 7:37 am
Location: Sweden

Post by royce »

Pumpi wrote:Hi,

I'm using this script for a Cisco 2600 with an E1 interface and I get following graphs.

Are these values correct or how should I interpret this output ?

Screenshot002.jpg looks right if you have 1 call every 20 minute or so.

Change values to Exact Numbers, to get a real number 0.003 instead of a 3micro minutes.


/Christofer
justin911
Posts: 21
Joined: Sun Sep 03, 2006 12:16 am

Post by justin911 »

hey :)

thanks for the script it works well. Just wondering though how do i automaticaly get the graph to divide each value by 200 to get the correct value ? i.e 200 = 1 call on the graph ?

thanks
wudu
Posts: 1
Joined: Thu Oct 12, 2006 8:04 am

Post by wudu »

I'm having the same problem. Cacti shows one call at 200m?! Does anyone have a solution for this problem?
coolhand1977
Posts: 1
Joined: Wed Oct 18, 2006 7:24 pm

Cisco 2800 Series Routers

Post by coolhand1977 »

Hi,
I'm using a Cisco 2800 (2821 with a dual PRI) Series Integrated Services Router, the initial query works fine.

+ Running data query [12].
+ Found type = '4 '[script query].
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 1 index'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 1 query index'
+ Found item [isdnSignalingifIndex='0'] index: 0
+ Found item [isdnSignalingifIndex='1'] index: 1
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 1 query chcount'
+ Found item [isdnSignalingBchannelCount='23'] index: 0
+ Found item [isdnSignalingBchannelCount='23'] index: 1
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 1 query status'
+ Found item [isdnSignalingStatus='1'] index: 0
+ Found item [isdnSignalingStatus='1'] index: 1
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 1 query ifDescr'
+ Found item [ifDescr='Serial0/0/0:23-Signaling'] index: 0
+ Found item [ifDescr='Serial0/0/1:23-Signaling'] index: 1
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 1 query ifName'
+ Found item [ifName='Se0/0/0:23'] index: 0
+ Found item [ifName='Se0/0/1:23'] index: 1
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 1 query ifAlias'
+ Found item [ifAlias=''] index: 0
+ Found item [ifAlias=''] index: 1
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 1 query ifType'
+ Found item [ifType='isdn(63)'] index: 0
+ Found item [ifType='isdn(63)'] index: 1
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 1 query ifAdminStatus'
+ Found item [ifAdminStatus='up(1)'] index: 0
+ Found item [ifAdminStatus='up(1)'] index: 1
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 1 query ifOperStatus'
+ Found item [ifOperStatus='dormant(5)'] index: 0
+ Found item [ifOperStatus='dormant(5)'] index: 1
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'

However the polling get method does not work, it returns a U? I started with v1 then switch to v2 which gave me a little bit more info.

10/18/2006 07:38:42 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (50, 'isdn_callsout', '2006-10-18 19:38:41', 'U')"
10/18/2006 07:38:42 PM - CMDPHP: Poller[0] Host[6] DS[50] CMD: /usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 2 get calls_out 1, output: U
10/18/2006 07:38:42 PM - CMDPHP: Poller[0] Host[6] DS[50] WARNING: Result from CMD not valid. Partial Result: No Such Instance cur

I spent several hours teaching myself what I can about all of this (to no avail) and it appears that the 2800 series does not use SNMP Transmission MIB (.1.3.6.1.2.1.10.20.1.3.2.1). I am going through the Cisco documentation attempting to find out the new oid's. I am curious is anyone else has successful manipulated this to work with a 2800? Any hints or help would be very appreciated.
heckler40
Posts: 21
Joined: Mon Oct 02, 2006 5:36 pm
Location: bash

Post by heckler40 »

What's the difference between In/Out and In/Out connected? Seems a bit odd to me. If the call isn't connected...it's....not connected. :)
howard.yuen
Posts: 3
Joined: Sun Mar 06, 2005 9:31 pm

Re: Cisco 2800 Series Routers

Post by howard.yuen »

Coolhand,

I have ran into the same issue. Did you find out the correct OID for 2821 to poll from?

Thx.
coolhand1977 wrote:Hi,
I'm using a Cisco 2800 (2821 with a dual PRI) Series Integrated Services Router, the initial query works fine.

+ Running data query [12].
+ Found type = '4 '[script query].
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 1 index'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 1 query index'
+ Found item [isdnSignalingifIndex='0'] index: 0
+ Found item [isdnSignalingifIndex='1'] index: 1
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 1 query chcount'
+ Found item [isdnSignalingBchannelCount='23'] index: 0
+ Found item [isdnSignalingBchannelCount='23'] index: 1
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 1 query status'
+ Found item [isdnSignalingStatus='1'] index: 0
+ Found item [isdnSignalingStatus='1'] index: 1
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 1 query ifDescr'
+ Found item [ifDescr='Serial0/0/0:23-Signaling'] index: 0
+ Found item [ifDescr='Serial0/0/1:23-Signaling'] index: 1
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 1 query ifName'
+ Found item [ifName='Se0/0/0:23'] index: 0
+ Found item [ifName='Se0/0/1:23'] index: 1
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 1 query ifAlias'
+ Found item [ifAlias=''] index: 0
+ Found item [ifAlias=''] index: 1
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 1 query ifType'
+ Found item [ifType='isdn(63)'] index: 0
+ Found item [ifType='isdn(63)'] index: 1
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 1 query ifAdminStatus'
+ Found item [ifAdminStatus='up(1)'] index: 0
+ Found item [ifAdminStatus='up(1)'] index: 1
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 1 query ifOperStatus'
+ Found item [ifOperStatus='dormant(5)'] index: 0
+ Found item [ifOperStatus='dormant(5)'] index: 1
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_queries/host_isdncalls.xml'

However the polling get method does not work, it returns a U? I started with v1 then switch to v2 which gave me a little bit more info.

10/18/2006 07:38:42 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (50, 'isdn_callsout', '2006-10-18 19:38:41', 'U')"
10/18/2006 07:38:42 PM - CMDPHP: Poller[0] Host[6] DS[50] CMD: /usr/bin/php -q /var/www/html/cacti/scripts/query_host_isdncalls.php 192.168.1.1 public 2 get calls_out 1, output: U
10/18/2006 07:38:42 PM - CMDPHP: Poller[0] Host[6] DS[50] WARNING: Result from CMD not valid. Partial Result: No Such Instance cur

I spent several hours teaching myself what I can about all of this (to no avail) and it appears that the 2800 series does not use SNMP Transmission MIB (.1.3.6.1.2.1.10.20.1.3.2.1). I am going through the Cisco documentation attempting to find out the new oid's. I am curious is anyone else has successful manipulated this to work with a 2800? Any hints or help would be very appreciated.
densky
Posts: 2
Joined: Thu Mar 06, 2008 3:55 am

Post by densky »

Script update for cacti-0.8.7a

begin 644 query_host_isdncalls.php-0.8.7a.diff
M+2TM("]T;7`O<75E<GE?:&]S=%]I<V1N8V%L;',N<&AP"3(P,#@M,#,M,#8@
M,3$Z,S<Z,#(N,#`P,#`P,#`P("LP-C`P"BLK*R!Q=65R>5]H;W-T7VES9&YC
M86QL<RYP:'`),C`P."TP,RTP-B`Q-#HT-CHP."XP,#`P,#`P,#`@*S`V,#`*
M0$`@+3$L-R`K,2PW($!`"B`\/W!H<`H@"B`D;F]?:'1T<%]H96%D97)S(#T@
M=')U93L*+6EN8VQU9&4H9&ER;F%M92A?7T9)3$5?7RD@+B`B+RXN+VEN8VQU
M9&4O8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2`]/B`D=F%L
M=65<;B([?0H@"21R971U<FY?87)R(#T@87)R87DH*3L*(`D*0$`@+3$V,"PW
M("LQ-C`L-R!`0`H@9G5N8W1I;VX@9V5T7VEN9&5X97,H)&AO<W1N86UE+"`D
M<VYM<%]C;VUM=6YI='DL("1S;FUP7W9E<G-I;VXI('L*(`EG;&]B86P@)&]I
M9',["B`O+PEP<FEN="`H(F=E=%]I;F1E>&5S7&XB*3L*+0DD87)R(#T@<F5I
M;F1E>"AC86-T:5]S;FUP7W=A;&LH)&AO<W1N86UE+"`D<VYM<%]C;VUM=6YI
M='DL("1O:61S6R)I;F1E>")=+"`D<VYM<%]V97)S:6]N+"`B(BP@(B(L(#$V
M,2P@,3`P,"DI.PHK"21A<G(@/2!R96EN9&5X*&-A8W1I7W-N;7!?=V%L:R@D
M:&]S=&YA;64L("1S;FUP7V-O;6UU;FET>2P@)&]I9'-;(FEN9&5X(ETL("1S
M;FUP7W9E<G-I;VXL("(B+"`B(BP@(B(L("(B+"`B(BP@(B(L("(B+"`Q-C$L
M(#$P,#`I*3L*("\O"7!R:6YT(")!<G)A>3H@87)R7&XB.R!F;W)E86-H*"1A
M<G(@87,@)&ME>2`]/B`D=F%L=64I('MP<FEN="`B)&ME>2`]/B`D=F%L=65<
A;B([?0H@"21R971U<FY?87)R(#T@87)R87DH*3L*(`D*
`
end

Can't attach file :(
mpspind
Posts: 8
Joined: Thu Jan 10, 2008 12:46 pm

Updated Script

Post by mpspind »

After finding this wouldn't work for me on the newer Cacti version, I did more searching to find someone took this script and updated it in another post. The link is here: http://forums.cacti.net/about26940.html&highlight=isdn

Seems to work better for me. Working out the "normal" vs. "exact number" kinks since 5.11 calls in the past 5 minutes isn't very realistic... :wink:

Mike
bodyakov
Posts: 3
Joined: Wed Oct 01, 2008 5:51 am

Post by bodyakov »

lsmc
Posts: 4
Joined: Tue Nov 06, 2007 6:48 pm

With lastest ver and spine I get the following from the poll

Post by lsmc »

01/19/2009 02:43:19 PM - SPINE: Poller[0] Host[149] DS[759] WARNING: Result from SCRIPT not valid. Partial Result: ...

Debugging the graph and datasource, everything appears ok.
This is on a 3825 with 2port T1 Wics.

Anyone have an idea, I have looked through all the forums and tried multiple things.
lsmc
Posts: 4
Joined: Tue Nov 06, 2007 6:48 pm

With lastest ver and spine I get the following from the poll

Post by lsmc »

01/19/2009 02:43:19 PM - SPINE: Poller[0] Host[149] DS[759] WARNING: Result from SCRIPT not valid. Partial Result: ...

Debugging the graph and datasource, everything appears ok.
This is on a 3825 with 2port T1 Wics.

Anyone have an idea, I have looked through all the forums and tried multiple things.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests