Server Management - Systems Insight Manager
1833760 Members
2170 Online
110063 Solutions
New Discussion

SIM agent ver 7.0 and snmp

 
Andy Milewski
Frequent Advisor

SIM agent ver 7.0 and snmp

having a problem with my IM agents after minimal usage. SNMP is not being read for config info although community string hasn't changed. When I first launched agent homepage, all info, categories existed. Now after several reboots of the system and even trying to login and go to snmp setting only the vc info comes up. homepage loads slow and navigation is slow. java 1.4.2_01 on the system. is there a file that I an verify/edit that holds the snmp info?
26 REPLIES 26
David Claypool
Honored Contributor

Re: SIM agent ver 7.0 and snmp

If I understand you properly, you go to the device's web page at http://SERVERNAME:2301 (or https://SERVERNAME:2381) and the only thing you see is the version control info.

Have you checked to make sure that the Insight agent services are running? (Foundation agent, NIC agent, etc) That is what will account for the missing categories, not SNMP. Also check the Windows event log for evidence on why they aren't starting.
Rob Buxton
Honored Contributor

Re: SIM agent ver 7.0 and snmp

Also, what is the OS?
"Reading a config file for SNMP" sounds a bit like Unix.

Andy Milewski
Frequent Advisor

Re: SIM agent ver 7.0 and snmp

agents are running;
w2k sp4.
wondering if IM agents have a config file that would maintain info around snmp community string
Rob Buxton
Honored Contributor

Re: SIM agent ver 7.0 and snmp

No, the SNMP stuff is quite separate from the Agents, but the Agents rely on SNMP connectivity. All SNMP stuff is configured from the SNMP Service in Windows.

I've overcome some issues by restarting SNMP and all dependent Services, which restarts all of the Agent Services. Once done, try browsing to http://Server:2301 which should then flip you to https://server:2381.
Andy Milewski
Frequent Advisor

Re: SIM agent ver 7.0 and snmp

back on this issue after a bit of a delay.
I have added a new community string entry to the SNMP service on the Windows 2000 node. Done a restart of the service which also restarts the IM agents. I still have not data other than the VC agent. I have also manually restarted all services for IM: server agent,web agent, etc. If I am understanding one of the responses, the community string is not stored in any files used by the IM agents. Is that correct? seeems that if there is a choice for setting the community string when in the Homepage, that it is stored either in registry or in a file. any other ideas.
Rob Buxton
Honored Contributor

Re: SIM agent ver 7.0 and snmp

Andy,
I guess it's stored in the Registry. SNMP is totally separate from IM and teh agents in this respect. You can change the SNMP Settings from the IM Agent.

On a W2000 Server SNMP is configured from the Services GUI, the last three tabs in the Properties box.

There needs to be a matching community name on the Client end, and to provide full functionality this needs to be read / write as a minimum.
Andy Milewski
Frequent Advisor

Re: SIM agent ver 7.0 and snmp

Rob,

the service tabs is where I have made my changes. This is a real show stopper for me. I am an internal HP Openview employee who develops and runs a demo center in FC Colorado. Is there somewhere internally I can turn for help. My community strings have at least read/write access. I have restarted agents after making changes to SNMP but am not really making any progress.
Any suggests?
Andy Milewski
Frequent Advisor

Re: SIM agent ver 7.0 and snmp

Rob,

looks like if I use a community string of public things work as expected. As soon as I make a change, SIM and its agents no longer like the SNMP. I can not add additional community strings in addition to public to the service either. I need to use something other than public since other software I am running requires different strings.
Rob Buxton
Honored Contributor

Re: SIM agent ver 7.0 and snmp

You can have multiple Community Strings on the SNMP Agent.
I'm trying to remove the Public one from my Servers, but in some cases I have that and the additional Read/Write Community string.

I'm not sure if they're case sensitive or not. You also need to configure HPSIM to communicate on different Community Strings, it's under Options / Protcol Settings / Global Protocol Settings.
Andy Milewski
Frequent Advisor

Re: SIM agent ver 7.0 and snmp

If I set to public, the homepage works. If I add an additional community string or change to something other than public, homepage no longer works. I am always using at least Read-write. I will be interested in the outcome of your changing your community string to something other than public
Rob Buxton
Honored Contributor

Re: SIM agent ver 7.0 and snmp

Andy,
I've already done it and it works.
You just need to ensure the Community name is set up on both Servers.
On Servers in our DMZ, I've removed the Public Community name.
I've added a new Community name for IM on to the SNMP Client. I also configured HPSIM with that community name. So that still has public as one of the Community names plus my additional ones.

I can't recall if I needed to rerun the Discovery or Identification tasks, but it's always worth a go.
Andy Milewski
Frequent Advisor

Re: SIM agent ver 7.0 and snmp

strange. I am in a HPQnet DMZ and am not having the same results. DNS works fine(I have full control over DNS) In fact, if I change the community string to public and log on for the first page to the agent homepage, I get info as expected. If I log off and log back in, the info is not displayed properly until I restart the SNMP service. If I have any other community string things don't work and if I have the public default string and another community string things also fail. any ideas how I can troubleshoot this further
Andy Milewski
Frequent Advisor

Re: SIM agent ver 7.0 and snmp

Rob,

what happens if you log in to the agent homepage, log out and then log back in to the agent homepage again after changing the community string?

looks like discovery and SIM are working for me but not the agent Homepage.
Rob Buxton
Honored Contributor

Re: SIM agent ver 7.0 and snmp

Andy,
I've not tried that but access to the Web Page is independent. The SNMP connectivity allows IM to establish connections and get data but simply logging directly onto the Agents Web Page will always ask you for the credentials as it's not from a trusted source.
Chris Zehr
Visitor

Re: SIM agent ver 7.0 and snmp

I'm also having the exact same error. I removed IM reninstalled reconfig the snmp info and all I can display is the version control information
Andy Milewski
Frequent Advisor

Re: SIM agent ver 7.0 and snmp

Chris,

I still don't have resolution to this issue. I do have a call in with HP support. Do you have any Openview apps on your system? any apps that are heavy SNMP users?
Chris Zehr
Visitor

Re: SIM agent ver 7.0 and snmp

currently I'm using SNMPc from Castlerock Software to manage about a 100 devices.

Chris Zehr
Visitor

Re: SIM agent ver 7.0 and snmp

I went into snmp service
Security tab
selected accept snmp from any host

it begin to work

I then added 127.0.0.1
and my nms

after I updated the VC
it stopped working again

so I selected accept from any hosts and it begins to work again.

Andy Milewski
Frequent Advisor

Re: SIM agent ver 7.0 and snmp

if life were so easy for me. unfortunately whether I allow all or set loopback and even local IP like you did mine still does not work. what happens if you log out, then back in to the homepage. On mine, I get access one time before I have to restart one of the snmp related agents
Rob Buxton
Honored Contributor

Re: SIM agent ver 7.0 and snmp

Andy,
What happens when you just log into the home page of the Agent.
I don't think the SNMP Settings have much impact at this point. You should get challenged for Account / Password details for the Agent.
Are you saying that if you browse to http://Server:2301 you end up on the VCAgent Page?
If this is the case I do not believe SNMP has anything to do with it. This is all about the Web Agent handling the http request.
Chris Zehr
Visitor

Re: SIM agent ver 7.0 and snmp

I did have the problem for a while that I wasn't beeing challange for a user profile and password. I need to reinstall the current support pack for windows and add passwords to the administrator, operator and guest accounts.
Andy Milewski
Frequent Advisor

Re: SIM agent ver 7.0 and snmp

rob,

I have just been dealing with launching the homepage local to the system, not going thru SIM at all. If I use community string=public the page will load properly 1 time and I see details around VC, NIC, Performance etc. If I log out I have to restart SNMP or Web agent to see all the details again. If not I only get VC info. Page is loading fine from a web perspective. Available content is what is at issue. If I use something other than public, only the VC info is displayed. again, I have been local to the system in all my tests. My belief is that If I can get info properly locally then there is a good chance that SIM will get info properly. screenshot attached
Rob Buxton
Honored Contributor

Re: SIM agent ver 7.0 and snmp

Andy,
I've just done the following.
All connections done from my Workstation which is not the CMS.
Server is W2003 DL380 with 7.00A Agents. SNMP Set to only allow selected hosts, the CMS Server and itself. Only one Community Name and that is XXxxxx and is Read/Write. That same Community name is added into HPSIM.
Connected to https://Server:2381 - all displays okay, logged out / in no problems.
Deleted the XXXxxxx Community name and added a test Community name, not in HPSIM and Read Only.
Rebrowsed to the Server, logged in / out and again all is okay.
I still don't think this is an SNMP issue, it seems as though the Web Agent is screwed. You may want to consider removing all of the Web Agents and then removing the directories and then reinstalling them.
Andy Milewski
Frequent Advisor

Re: SIM agent ver 7.0 and snmp

removed all agents, deleted folders and modified registry, rebooted, reinstalled sp4, PSP 7.0 same results