Windows XP New Install
Moderators: Developers, Moderators
hmm.. mystery,
yes... send me an email with your ip adress and a time where i can connect.
my email is:
rene.pauly@bfi-stmk.at
greetings..
yes... send me an email with your ip adress and a time where i can connect.
my email is:
rene.pauly@bfi-stmk.at
greetings..
If you are using the SNMP version that Ghandi linked to earlier in this thread, then you should have Cacti set to UCD-SNMP and not NET-SNMP. There isn't a major difference between the two, but some of the command options are different.
Once you get this working, don't forget to uncheck atleast the SNMP logging option. This will very quickly fill up your HD (I had over a 500MB log file before I discovered this....).
Also, what version of Cacti are you running? I had loads of problems with 0.8.5 (I always received the red SNMP ERROR message when I added a device), but 0.8.5a seemed to fix everything.
Are you certain that you have the correct community string for the devices that you are trying to poll? If you are infact using public as the read community string on that device, then change it as soon as possible. It simply isn't secure (not that SNMP is secure, but using the default community strings is sloppy). Also check to make sure that your cacti station is allowed to poll that device. Windows servers allow you to input a list of addresses that can poll it with SNMP.
I hope this helps.
Mike
Once you get this working, don't forget to uncheck atleast the SNMP logging option. This will very quickly fill up your HD (I had over a 500MB log file before I discovered this....).
Also, what version of Cacti are you running? I had loads of problems with 0.8.5 (I always received the red SNMP ERROR message when I added a device), but 0.8.5a seemed to fix everything.
Are you certain that you have the correct community string for the devices that you are trying to poll? If you are infact using public as the read community string on that device, then change it as soon as possible. It simply isn't secure (not that SNMP is secure, but using the default community strings is sloppy). Also check to make sure that your cacti station is allowed to poll that device. Windows servers allow you to input a list of addresses that can poll it with SNMP.
I hope this helps.
Mike
Hey!
I'm in the GMT timezone (UK) so let me know when it's convinient.
the cacti is @ http://premgi99.plus.com/cacti user/pass admin
I'm in the GMT timezone (UK) so let me know when it's convinient.
the cacti is @ http://premgi99.plus.com/cacti user/pass admin
DJPrem, I've taken a look at your installation (sorry, I know I wasn't exactly invited....). However, I have found something interesting for you. When you turn on graph debugging in the graph management screen you get the following error:
Warning: popen(c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="DAN-NET Server - Traffic" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" DEF:a="c\:\inetpub\wwwroot\cacti/rra/main_traffic_in_54.rrd":traffic_in:AVERAGE DEF:b="c\:\inetpub\wwwroot\cacti/rra/main_traffic_in_54.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s" 2>&1,rb): No error in c:\inetpub\wwwroot\cacti\lib\rrd.php on line 58
Warning: fgets(): supplied argument is not a valid stream resource in c:\inetpub\wwwroot\cacti\lib\rrd.php on line 72
A quick search of the Cacti board turned up a similar issue posted by Dieter at:
http://www.raxnet.net/board/viewtopic.p ... ight=popen
In short, he had a permissions problem between IIS and PHP. He didn't post a detailed description of his solution, but I'm certain that he would be willing to give you some help if you need it.
Mike
Warning: popen(c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="DAN-NET Server - Traffic" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" DEF:a="c\:\inetpub\wwwroot\cacti/rra/main_traffic_in_54.rrd":traffic_in:AVERAGE DEF:b="c\:\inetpub\wwwroot\cacti/rra/main_traffic_in_54.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s" 2>&1,rb): No error in c:\inetpub\wwwroot\cacti\lib\rrd.php on line 58
Warning: fgets(): supplied argument is not a valid stream resource in c:\inetpub\wwwroot\cacti\lib\rrd.php on line 72
A quick search of the Cacti board turned up a similar issue posted by Dieter at:
http://www.raxnet.net/board/viewtopic.p ... ight=popen
In short, he had a permissions problem between IIS and PHP. He didn't post a detailed description of his solution, but I'm certain that he would be willing to give you some help if you need it.
Mike
Oops, I answered the wrong solution to the PM. Hadn't read this thread yet.
Not sure what helped because it has been a while that I met this problem. You can try 2 things.
1. giving rights to cmd.php to everyone. Right click, sharing and security and add the user Everyone giving read and execute privileges. (note that this is safe as far as you don't share your windows folder. Nobody can access the file cmd.exe although they COULD use it given that they could access it, which is not the case)
2. Let the website use another user then the standard IUSR_yourcomputername. This is how you do this: On the My Computer icon right click and choose manage. Go to services and applications -> internet information service. Now go to your virtual directory of the website and right click -> properties. Go to the Directory Security tab. There you find Anonymous Access and authentication control. Press edit and check the anonymous acces button. Use the button browse to enter the admin account. This should solve your problem.
Not sure what helped because it has been a while that I met this problem. You can try 2 things.
1. giving rights to cmd.php to everyone. Right click, sharing and security and add the user Everyone giving read and execute privileges. (note that this is safe as far as you don't share your windows folder. Nobody can access the file cmd.exe although they COULD use it given that they could access it, which is not the case)
2. Let the website use another user then the standard IUSR_yourcomputername. This is how you do this: On the My Computer icon right click and choose manage. Go to services and applications -> internet information service. Now go to your virtual directory of the website and right click -> properties. Go to the Directory Security tab. There you find Anonymous Access and authentication control. Press edit and check the anonymous acces button. Use the button browse to enter the admin account. This should solve your problem.
Who is online
Users browsing this forum: No registered users and 0 guests