Desc and Cmd poller problem

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
tulga
Posts: 3
Joined: Thu Sep 01, 2011 10:23 pm

Desc and Cmd poller problem

Post by tulga »

1. Is it possible to add both Name(IF-MIB) and Alies(IF-MIB) showing on the graph desc? also
2. I can't scan whole subnet? it is not possible?
3. Php poller cmd is not hiding?! even showing 4 windows, by invisible.vbs
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Desc and Cmd poller problem

Post by noname »

1. Edit graph template: http://forums.cacti.net/viewtopic.php?p=216301#p216301
2. Use discovery plugin
3. What is "invisible.vbs" ?
tulga
Posts: 3
Joined: Thu Sep 01, 2011 10:23 pm

Re: Desc and Cmd poller problem

Post by tulga »

Thanks for the reply

Q: How do I stop the command windows from opening every 5 minutes?
A: This is occurring because your Cacti scheduled task is using the same user name you've logged onto the computer with. There are two possible fixes:

Use a different user name to run the Cacti scheduled task
Use a windows script to hide the command windows. Only do this after your cacti installation is fully functional!
Create a file called invisible.vbs. Place it where ever you like.
Edit invisible.vbs and paste the following

Set objWSHShell = WScript.CreateObject("WScript.Shell")
objWSHShell.Run "poller.php", 0, False

Edit the Cacti scheduled task and change the Run to:

C:\Windows\system32\wscript.exe "C:\invisible.vbs" "C:\Inetpub\wwwroot\cacti\poller.php"
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests