can not make scipt works with cacti

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

Moderators: Developers, Moderators

Post Reply
krpaum
Posts: 13
Joined: Mon Apr 21, 2008 2:09 am

can not make scipt works with cacti

Post by krpaum »

I have scrpits for monitor session but I can't make this script works.
rrd file doesn't return any value plese hel me(It would be great if provide an instruction) I use php to call vbscript
Attachments
monitor session.rar
thi is my script
(2.82 KiB) Downloaded 106 times
krpaum
Posts: 13
Joined: Mon Apr 21, 2008 2:09 am

no value in rrd file

Post by krpaum »

I got this when I fetch rrd file I got all NAN. How can I solve this problem or I set something wrong in setting
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please see instructions at the first link of my sig. There's a whole chapter on creating own scripts
Reinhard
krpaum
Posts: 13
Joined: Mon Apr 21, 2008 2:09 am

Post by krpaum »

I think the poller did not run myscript because I haven't seen any myscript on poller cache and cacti log file page and I have this on cacti log page

05/13/2008 02:56:04 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
05/13/2008 02:51:04 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
05/13/2008 02:46:04 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
05/13/2008 02:41:04 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
05/13/2008 02:36:04 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
05/13/2008 02:31:04 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
05/13/2008 02:26:03 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
05/13/2008 02:21:03 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
05/13/2008 02:16:03 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
05/13/2008 02:11:04 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
05/13/2008 02:06:03 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
05/13/2008 02:01:04 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
05/13/2008 01:56:04 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
05/13/2008 01:51:04 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
05/13/2008 01:46:03 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
05/13/2008 01:41:04 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
05/13/2008 01:36:04 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
05/13/2008 01:31:03 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
05/13/2008 01:26:03 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
05/13/2008 01:21:03 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
05/13/2008 01:16:04 PM - CMDPHP: Poller[0] Host[2] DS[199] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
krpaum
Posts: 13
Joined: Mon Apr 21, 2008 2:09 am

Post by krpaum »

and also this


05/13/2008 03:01:04 PM - PHPSVR: Poller[0] WARNING: Function does not exist
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I already answered to your other thread. Please do not crosspost
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest