Win32 - Monitor running processes
Moderators: Developers, Moderators
-
- Posts: 23
- Joined: Mon Jun 06, 2005 11:15 am
I'm not an expert, but I don't think finding the mib will help you with this.CactiPadawan wrote:My problem is the following :
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.25.4.2.1.1'
+ No SNMP data returned
It seems i havent the right mib ... how to fix that ?
The mib will help you translate the textual name to numbers.
Above it seems like you already have the numbers but your SNMP agent do not support the data that you are requesting...
Are you using the Microsoft or Net-SNMP SNMP agent on windows?
I can sucessfully walk the OID the script uses on a WinXP or Win2K3 host with net-snmp 5.2.1.
Can you sucessfully get other OIDs off the host?
Are other SNMP scripts in cacti working on that host?
I can sucessfully walk the OID the script uses on a WinXP or Win2K3 host with net-snmp 5.2.1.
Can you sucessfully get other OIDs off the host?
Are other SNMP scripts in cacti working on that host?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 23
- Joined: Mon Jun 06, 2005 11:15 am
Hi,
I am using Net SNMP agent on Windows XP SP2
I can't sucessfully walk the OID the script uses on a WinXP or Win2K3 host with net-snmp 5.2.1.
As i said befor :
"From what i can read here : http://www.net-snmp.org/docs/README.agent-mibs.html
UCD-SNMP-MIB and HOST-RESSOURCES-MIB
(the mibs you are using with your scripts)
are not working for Win32 based Platforms . . ."
I can succesfully get OIDs from that host :
- OIDs from SNMPv2-MIB, IF-MIB, RFC1213,IP-MIB,TCP-MIB,UDP-MIB...
But not any from HOST-RESSOURCE MIB or UCD-SNMP-MIB ...
I am using Net SNMP agent on Windows XP SP2
I can't sucessfully walk the OID the script uses on a WinXP or Win2K3 host with net-snmp 5.2.1.
As i said befor :
"From what i can read here : http://www.net-snmp.org/docs/README.agent-mibs.html
UCD-SNMP-MIB and HOST-RESSOURCES-MIB
(the mibs you are using with your scripts)
are not working for Win32 based Platforms . . ."
I can succesfully get OIDs from that host :
- OIDs from SNMPv2-MIB, IF-MIB, RFC1213,IP-MIB,TCP-MIB,UDP-MIB...
But not any from HOST-RESSOURCE MIB or UCD-SNMP-MIB ...
[My config :
Windows XP Service Pack 2
ActivePerl-5.8.6.811-MSWin32-x86-122208
cacti-0.8.6d
mysql-4.1.12-win32
php-5.0.4-Win32
rrdtool-cygwin-1.2.9
net-snmp-5.2.1
apache_2.0.54-win32-x86-no_ssl]
Windows XP Service Pack 2
ActivePerl-5.8.6.811-MSWin32-x86-122208
cacti-0.8.6d
mysql-4.1.12-win32
php-5.0.4-Win32
rrdtool-cygwin-1.2.9
net-snmp-5.2.1
apache_2.0.54-win32-x86-no_ssl]
This script was written around the Microsoft SNMP Agent. Install that and it will work fine.
As you've already pointed out, the net-snmp agent does not work with the OID my script uses.
As you've already pointed out, the net-snmp agent does not work with the OID my script uses.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 23
- Joined: Mon Jun 06, 2005 11:15 am
I have a little problem with the Windows Agent, after i install it, i go in the service management window and then i go in the properties of the snmp service but there i cant define any community ... buttons like "add community" are in grey and i cant use them ....
Anyone already had this problem ? or maybe i missed something ...
Thank you anyway.
Anyone already had this problem ? or maybe i missed something ...
Thank you anyway.
[My config :
Windows XP Service Pack 2
ActivePerl-5.8.6.811-MSWin32-x86-122208
cacti-0.8.6d
mysql-4.1.12-win32
php-5.0.4-Win32
rrdtool-cygwin-1.2.9
net-snmp-5.2.1
apache_2.0.54-win32-x86-no_ssl]
Windows XP Service Pack 2
ActivePerl-5.8.6.811-MSWin32-x86-122208
cacti-0.8.6d
mysql-4.1.12-win32
php-5.0.4-Win32
rrdtool-cygwin-1.2.9
net-snmp-5.2.1
apache_2.0.54-win32-x86-no_ssl]
I don't believe you can have the MS agent running along side the net-snmp one, since they operate on the same port. Looked in the event log if the MS agent even started?
You're doing the configurating as an admin, right?
You're doing the configurating as an admin, right?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 23
- Joined: Mon Jun 06, 2005 11:15 am
When i tried the MS Agent i had uninstalled NET-SNMP and yes MS AGENT was running, you can see it easily in the service manager or in the task manager.
My question is :
Is there a place where you can define options for the MS-Agent (and that is not the service properties présent in the service manager ... i dont understand why buttons are in grey >< , ill retry it and reboot ...)
Do you know how to verify if MS Agent is listening on the right port ? or define the port MS Agent is listening on ?
My question is :
Is there a place where you can define options for the MS-Agent (and that is not the service properties présent in the service manager ... i dont understand why buttons are in grey >< , ill retry it and reboot ...)
Do you know how to verify if MS Agent is listening on the right port ? or define the port MS Agent is listening on ?
[My config :
Windows XP Service Pack 2
ActivePerl-5.8.6.811-MSWin32-x86-122208
cacti-0.8.6d
mysql-4.1.12-win32
php-5.0.4-Win32
rrdtool-cygwin-1.2.9
net-snmp-5.2.1
apache_2.0.54-win32-x86-no_ssl]
Windows XP Service Pack 2
ActivePerl-5.8.6.811-MSWin32-x86-122208
cacti-0.8.6d
mysql-4.1.12-win32
php-5.0.4-Win32
rrdtool-cygwin-1.2.9
net-snmp-5.2.1
apache_2.0.54-win32-x86-no_ssl]
1) Is the MS agent service started?
2) You're in the Security tab, trying to add an accepted community name, right?
3) You can use TCPView from sysinternals.com to see if the snmp service is truely listening on a port.
2) You're in the Security tab, trying to add an accepted community name, right?
3) You can use TCPView from sysinternals.com to see if the snmp service is truely listening on a port.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 23
- Joined: Mon Jun 06, 2005 11:15 am
As you can see , services are running and in the properties i can't add anything . . .
(yes i am admin on the machine :'( )
( in the above 2nd screenshot on the right you can see that services are running ... "Démarré" means running. )
/cry
(yes i am admin on the machine :'( )
( in the above 2nd screenshot on the right you can see that services are running ... "Démarré" means running. )
/cry
- Attachments
-
- As you can see i can't add anything . . .
- greybox.JPG (41.34 KiB) Viewed 9438 times
-
- same ..
- greybox2.JPG (32.82 KiB) Viewed 9438 times
[My config :
Windows XP Service Pack 2
ActivePerl-5.8.6.811-MSWin32-x86-122208
cacti-0.8.6d
mysql-4.1.12-win32
php-5.0.4-Win32
rrdtool-cygwin-1.2.9
net-snmp-5.2.1
apache_2.0.54-win32-x86-no_ssl]
Windows XP Service Pack 2
ActivePerl-5.8.6.811-MSWin32-x86-122208
cacti-0.8.6d
mysql-4.1.12-win32
php-5.0.4-Win32
rrdtool-cygwin-1.2.9
net-snmp-5.2.1
apache_2.0.54-win32-x86-no_ssl]
Did you look in the event log to see if there are any error messages?
My only guess is that the net-snmp agent some how messed up the MS one. Tried reinstalling the MS agent?
My only guess is that the net-snmp agent some how messed up the MS one. Tried reinstalling the MS agent?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 23
- Joined: Mon Jun 06, 2005 11:15 am
I did not see any error message in the event log ... just :
Information : SNMP service is running correctly.
Actually netsnmp agent is stopped but i didnt uninstalled it via the install programs menu because in cacti configuration i need to give a path to snmpget and snmpwalk ....
in fact i used the unregisteragent.bat.
dont know how to solve the problem ....
If someone has a link where i can have informations on the MS SnmpAgent , files where properties are saved, mibs he can handle , i would like it.
I used TCPview :
while using net-snmp here are the processes running :
snmpd.exe:2792 UDP hostname:snmp *:*
snmpd.exe:2792 UDP hostname:1721 *:*
snmpd.exe:2792 UDP hostname:1717 *:*
snmpd.exe:2792 UDP hostname:1719 *:*
snmpd.exe:2792 UDP hostname:1720 *:*
snmpd.exe:2792 UDP hostname:1718 *:*
snmpd.exe:2792 UDP hostname:1723 *:*
snmpd.exe:2792 UDP hostname:1722 *:*
snmptrapd.exe:4036 UDP hostname:snmptrap *:*
while using ms-agend , here are the processes running :
snmp.exe:4056 UDP hostname:snmp *:*
snmptrap.exe:3632 UDP hostname:snmptrap *:*
notice that while using Net-snmp or MS agent the state column
is empty for all those processes.
(i have other processes whose state column value is time_wait/listening/established)
Thank you.
(sorry about my english)
Information : SNMP service is running correctly.
Actually netsnmp agent is stopped but i didnt uninstalled it via the install programs menu because in cacti configuration i need to give a path to snmpget and snmpwalk ....
in fact i used the unregisteragent.bat.
dont know how to solve the problem ....
If someone has a link where i can have informations on the MS SnmpAgent , files where properties are saved, mibs he can handle , i would like it.
I used TCPview :
while using net-snmp here are the processes running :
snmpd.exe:2792 UDP hostname:snmp *:*
snmpd.exe:2792 UDP hostname:1721 *:*
snmpd.exe:2792 UDP hostname:1717 *:*
snmpd.exe:2792 UDP hostname:1719 *:*
snmpd.exe:2792 UDP hostname:1720 *:*
snmpd.exe:2792 UDP hostname:1718 *:*
snmpd.exe:2792 UDP hostname:1723 *:*
snmpd.exe:2792 UDP hostname:1722 *:*
snmptrapd.exe:4036 UDP hostname:snmptrap *:*
while using ms-agend , here are the processes running :
snmp.exe:4056 UDP hostname:snmp *:*
snmptrap.exe:3632 UDP hostname:snmptrap *:*
notice that while using Net-snmp or MS agent the state column
is empty for all those processes.
(i have other processes whose state column value is time_wait/listening/established)
Thank you.
(sorry about my english)
[My config :
Windows XP Service Pack 2
ActivePerl-5.8.6.811-MSWin32-x86-122208
cacti-0.8.6d
mysql-4.1.12-win32
php-5.0.4-Win32
rrdtool-cygwin-1.2.9
net-snmp-5.2.1
apache_2.0.54-win32-x86-no_ssl]
Windows XP Service Pack 2
ActivePerl-5.8.6.811-MSWin32-x86-122208
cacti-0.8.6d
mysql-4.1.12-win32
php-5.0.4-Win32
rrdtool-cygwin-1.2.9
net-snmp-5.2.1
apache_2.0.54-win32-x86-no_ssl]
-
- Posts: 23
- Joined: Mon Jun 06, 2005 11:15 am
No idea dude.
Using GetIf locally on the computer does not work either with the MS agent running?
Using GetIf locally on the computer does not work either with the MS agent running?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 3 guests