Search found 16 matches

by mentasm
Tue Jun 10, 2008 9:43 pm
Forum: Scripts and Templates
Topic: Exchange 2003 scripts from Windows Cacti
Replies: 107
Views: 160832

Does anyone have any ideas why I would not be able to find the Win32_PerfRawData_MSExchangeIS_MSExchangeISMailbox class on my exchange server? I can see the Win32_PerfRawData_SMTPSVC_SMTPServer class and return data from it fine. Server is Server 2003 R2 SP2 running Exchange 2003. Also in the Exchan...
by mentasm
Tue Jun 10, 2008 2:27 am
Forum: Help: Windows Specific
Topic: [SOLVED] monitor windows servers from windows cacti install
Replies: 12
Views: 5209

That works beautifully. Thank you.

I need to put some time into understanding the regular expression stuff.

I've had lots of success today. Managed to get all my perfmon queries working in cacti. Looks like cpu will work via that script now too.
by mentasm
Mon Jun 09, 2008 10:36 pm
Forum: Help: Windows Specific
Topic: [SOLVED] monitor windows servers from windows cacti install
Replies: 12
Views: 5209

no, if I run the check_nt command manually it spits out a result. ie CPU Load (5 min. 8) If I run the perl script (which executes the check_nt command then parses the result, it outputs nothing but a blank line. This: chomp $response; ($load) = ($response =~ /Load (\d+)\%/); is what is broken and wh...
by mentasm
Mon Jun 09, 2008 9:35 pm
Forum: Help: Windows Specific
Topic: [SOLVED] monitor windows servers from windows cacti install
Replies: 12
Views: 5209

If I manually run the scripts on all of my boxes I get responses in the form:

Code: Select all

CPU Load (5 min. 8)


Obviously the '8' value varies per box.

However, running the perl script for that still simply produces an empty line, regardless of the value of the cpu load.
by mentasm
Thu Jun 05, 2008 10:42 pm
Forum: Help: Windows Specific
Topic: [SOLVED] monitor windows servers from windows cacti install
Replies: 12
Views: 5209

OK, I would have expected it to actually print '0' then instead of nothing. Running a disk check script on the server returns total:12.00 used:10.63 which I assume is correct format. so nsclient is running fine. If I run the check_nt on a server with CPU activity: $ ./check_nt.exe -H 192.168.21.221 ...
by mentasm
Thu Jun 05, 2008 6:51 pm
Forum: Help: Windows Specific
Topic: [SOLVED] monitor windows servers from windows cacti install
Replies: 12
Views: 5209

OK, I understand that now. Thanks.

What I still don't get is why in the above script the line:

($load) = ($response =~ /Load (\d+)\%/);

seems to produce no value for the variable $load

ie when you print $load/n it prints nothing.

Is it a peculiarity of cygwin's perl environment?
by mentasm
Thu Jun 05, 2008 1:42 am
Forum: Help: Windows Specific
Topic: [SOLVED] monitor windows servers from windows cacti install
Replies: 12
Views: 5209

You lost me a little there. The script I used as a base there is one that works under a linux install. I believe the data returned by check_nt is the same for both the linux and win32 versions of check_nt. The perl script *should* be modifying the data in the same way to return it in the same way. W...
by mentasm
Thu Jun 05, 2008 12:43 am
Forum: Help: Windows Specific
Topic: [SOLVED] monitor windows servers from windows cacti install
Replies: 12
Views: 5209

[SOLVED] monitor windows servers from windows cacti install

Hi, Not sure if I'm the only person to have tried this, but in an afternoon of searching this and other sites I haven't managed to find a solution. I have a windows 2000 server with a functioning cacti install obtained using the Beta installer from this forum (nice job on that by the way) What I am ...
by mentasm
Wed Jun 04, 2008 8:54 pm
Forum: Help: Windows Specific
Topic: [Solved] Blank Page after installing Cacti (IIS)
Replies: 18
Views: 7141

I have this identical issue, but haven't been able to resolve it as yet

edit: I got around the issue by installing via the Beta installer, but I have kept a VM snapshot from that point and would be interested to work through why it was not working.
by mentasm
Fri May 02, 2008 1:58 am
Forum: Help: General
Topic: Issue getting data from server 2003
Replies: 4
Views: 1376

the net-snmp is as default in the install of cacti I haven't added any additional stuff.

I can snmpwalk the OID
by mentasm
Thu May 01, 2008 6:38 pm
Forum: Help: General
Topic: Issue getting data from server 2003
Replies: 4
Views: 1376

On the R2 server if I set it to V2 I get the following: System: No Such Object available on this agent at this OID Uptime: No Such Object available on this agent at this OID (0 days, 0 hours, 0 minutes) Hostname: No Such Object available on this agent at this OID Location: No Such Object available o...
by mentasm
Thu May 01, 2008 2:10 am
Forum: Help: General
Topic: Issue getting data from server 2003
Replies: 4
Views: 1376

Issue getting data from server 2003

Hi, I have a strange issue. If I try and add the windows server as a device, I get SNMP error displayed at the top of the device screen. I have tried using fully qualified host name and IP address. Now for the wierd bit. If I go to network tools in my Cacti install and put in either the FQDN or the ...
by mentasm
Wed Jul 11, 2007 11:34 pm
Forum: Help: Windows Specific
Topic: Help me About W2K3 ..... "snmp error"
Replies: 19
Views: 12927

I used the following command: C:\>snmpwalk -v 1 -c public localhost .1 I got pages of info back as you would expect. The Server is plugged directly into a cisco managed switch along with all of our other servers and as many client PCs as fit. No VLANs or special port configs. This site sits on a sin...
by mentasm
Wed Jul 11, 2007 7:22 pm
Forum: Help: Windows Specific
Topic: Help me About W2K3 ..... "snmp error"
Replies: 19
Views: 12927

Thanks for the reply. I grabbed Openxtra snmp tools and was able to snmp walk locally. Looking into it a bit further with netsh C:\>netsh firewall show state Firewall status: ------------------------------------------------------------------- Profile = Standard Operational mode = Disable Exception m...
by mentasm
Tue Jul 10, 2007 8:26 pm
Forum: Help: Windows Specific
Topic: Help me About W2K3 ..... "snmp error"
Replies: 19
Views: 12927

I am having very similar issues. I have two 2003 R2 boxes on my network amongst a few other non-R2 boxes. I cannot get cacti to pull any SNMP data from them the R2 boxes, the others work fine. I have tried the advice in this thread. Unchecked the send auth trap box. Community was already set at publ...